Lines Matching full:decoder
2 * vpx3220a, vpx3216b & vpx3214c video decoder driver version 0.0.1
33 MODULE_DESCRIPTION("vpx3220a/vpx3216b/vpx3214c video decoder driver");
74 struct vpx3220 *decoder = i2c_get_clientdata(client); in vpx3220_write() local
76 decoder->reg[reg] = value; in vpx3220_write()
282 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_init() local
286 if (decoder->norm & V4L2_STD_NTSC) in vpx3220_init()
288 else if (decoder->norm & V4L2_STD_PAL) in vpx3220_init()
290 else if (decoder->norm & V4L2_STD_SECAM) in vpx3220_init()
352 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_s_std() local
374 decoder->norm = std; in vpx3220_s_std()
447 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_g_chip_ident() local
450 return v4l2_chip_ident_i2c_client(client, chip, decoder->ident, 0); in vpx3220_g_chip_ident()
491 struct vpx3220 *decoder; in vpx3220_probe() local
502 decoder = kzalloc(sizeof(struct vpx3220), GFP_KERNEL); in vpx3220_probe()
503 if (decoder == NULL) in vpx3220_probe()
505 sd = &decoder->sd; in vpx3220_probe()
507 decoder->norm = V4L2_STD_PAL; in vpx3220_probe()
508 decoder->input = 0; in vpx3220_probe()
509 decoder->enable = 1; in vpx3220_probe()
510 v4l2_ctrl_handler_init(&decoder->hdl, 4); in vpx3220_probe()
511 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
513 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
515 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
517 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
519 sd->ctrl_handler = &decoder->hdl; in vpx3220_probe()
520 if (decoder->hdl.error) { in vpx3220_probe()
521 int err = decoder->hdl.error; in vpx3220_probe()
523 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_probe()
524 kfree(decoder); in vpx3220_probe()
527 v4l2_ctrl_handler_setup(&decoder->hdl); in vpx3220_probe()
532 decoder->ident = V4L2_IDENT_VPX3220A; in vpx3220_probe()
540 decoder->ident = V4L2_IDENT_VPX3216B; in vpx3220_probe()
544 decoder->ident = V4L2_IDENT_VPX3214C; in vpx3220_probe()
565 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_remove() local
568 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_remove()
569 kfree(decoder); in vpx3220_remove()