Lines Matching refs:decoder

72 	struct vpx3220 *decoder = i2c_get_clientdata(client);  in vpx3220_write()  local
74 decoder->reg[reg] = value; in vpx3220_write()
280 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_init() local
284 if (decoder->norm & V4L2_STD_NTSC) in vpx3220_init()
286 else if (decoder->norm & V4L2_STD_PAL) in vpx3220_init()
288 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()
475 struct vpx3220 *decoder; in vpx3220_probe() local
486 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in vpx3220_probe()
487 if (decoder == NULL) in vpx3220_probe()
489 sd = &decoder->sd; in vpx3220_probe()
491 decoder->norm = V4L2_STD_PAL; in vpx3220_probe()
492 decoder->input = 0; in vpx3220_probe()
493 decoder->enable = 1; in vpx3220_probe()
494 v4l2_ctrl_handler_init(&decoder->hdl, 4); 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 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
501 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
503 sd->ctrl_handler = &decoder->hdl; in vpx3220_probe()
504 if (decoder->hdl.error) { in vpx3220_probe()
505 int err = decoder->hdl.error; in vpx3220_probe()
507 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_probe()
510 v4l2_ctrl_handler_setup(&decoder->hdl); in vpx3220_probe()
545 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_remove() local
548 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_remove()