Lines Matching full:decoder
3 * vpx3220a, vpx3216b & vpx3214c video decoder driver version 0.0.1
19 MODULE_DESCRIPTION("vpx3220a/vpx3216b/vpx3214c video decoder driver");
59 struct vpx3220 *decoder = i2c_get_clientdata(client); in vpx3220_write() local
61 decoder->reg[reg] = value; in vpx3220_write()
267 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_init() local
271 if (decoder->norm & V4L2_STD_NTSC) in vpx3220_init()
273 else if (decoder->norm & V4L2_STD_PAL) in vpx3220_init()
275 else if (decoder->norm & V4L2_STD_SECAM) in vpx3220_init()
339 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_s_std() local
361 decoder->norm = std; in vpx3220_s_std()
462 struct vpx3220 *decoder; in vpx3220_probe() local
473 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in vpx3220_probe()
474 if (decoder == NULL) in vpx3220_probe()
476 sd = &decoder->sd; in vpx3220_probe()
478 decoder->norm = V4L2_STD_PAL; in vpx3220_probe()
479 decoder->input = 0; in vpx3220_probe()
480 decoder->enable = 1; in vpx3220_probe()
481 v4l2_ctrl_handler_init(&decoder->hdl, 4); in vpx3220_probe()
482 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
484 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
486 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
488 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
490 sd->ctrl_handler = &decoder->hdl; in vpx3220_probe()
491 if (decoder->hdl.error) { in vpx3220_probe()
492 int err = decoder->hdl.error; in vpx3220_probe()
494 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_probe()
497 v4l2_ctrl_handler_setup(&decoder->hdl); in vpx3220_probe()
532 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_remove() local
535 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_remove()