Lines Matching refs:decoder

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()
461 struct vpx3220 *decoder; in vpx3220_probe() local
472 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in vpx3220_probe()
473 if (decoder == NULL) in vpx3220_probe()
475 sd = &decoder->sd; in vpx3220_probe()
477 decoder->norm = V4L2_STD_PAL; in vpx3220_probe()
478 decoder->input = 0; in vpx3220_probe()
479 decoder->enable = 1; in vpx3220_probe()
480 v4l2_ctrl_handler_init(&decoder->hdl, 4); in vpx3220_probe()
481 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
483 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
485 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
487 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
489 sd->ctrl_handler = &decoder->hdl; in vpx3220_probe()
490 if (decoder->hdl.error) { in vpx3220_probe()
491 int err = decoder->hdl.error; in vpx3220_probe()
493 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_probe()
496 v4l2_ctrl_handler_setup(&decoder->hdl); in vpx3220_probe()
531 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_remove() local
534 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_remove()