Lines Matching refs:decoder

68 	struct vpx3220 *decoder = i2c_get_clientdata(client);  in vpx3220_write()  local
70 decoder->reg[reg] = value; in vpx3220_write()
276 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_init() local
280 if (decoder->norm & V4L2_STD_NTSC) in vpx3220_init()
282 else if (decoder->norm & V4L2_STD_PAL) in vpx3220_init()
284 else if (decoder->norm & V4L2_STD_SECAM) in vpx3220_init()
348 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_s_std() local
370 decoder->norm = std; in vpx3220_s_std()
471 struct vpx3220 *decoder; in vpx3220_probe() local
482 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in vpx3220_probe()
483 if (decoder == NULL) in vpx3220_probe()
485 sd = &decoder->sd; in vpx3220_probe()
487 decoder->norm = V4L2_STD_PAL; in vpx3220_probe()
488 decoder->input = 0; in vpx3220_probe()
489 decoder->enable = 1; in vpx3220_probe()
490 v4l2_ctrl_handler_init(&decoder->hdl, 4); in vpx3220_probe()
491 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
493 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
495 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
497 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
499 sd->ctrl_handler = &decoder->hdl; in vpx3220_probe()
500 if (decoder->hdl.error) { in vpx3220_probe()
501 int err = decoder->hdl.error; in vpx3220_probe()
503 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_probe()
506 v4l2_ctrl_handler_setup(&decoder->hdl); in vpx3220_probe()
541 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_remove() local
544 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_remove()