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()
482 struct vpx3220 *decoder; in vpx3220_probe() local
493 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in vpx3220_probe()
494 if (decoder == NULL) in vpx3220_probe()
496 sd = &decoder->sd; in vpx3220_probe()
498 decoder->norm = V4L2_STD_PAL; in vpx3220_probe()
499 decoder->input = 0; in vpx3220_probe()
500 decoder->enable = 1; in vpx3220_probe()
501 v4l2_ctrl_handler_init(&decoder->hdl, 4); in vpx3220_probe()
502 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
504 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
506 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
508 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe()
510 sd->ctrl_handler = &decoder->hdl; in vpx3220_probe()
511 if (decoder->hdl.error) { in vpx3220_probe()
512 int err = decoder->hdl.error; in vpx3220_probe()
514 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_probe()
517 v4l2_ctrl_handler_setup(&decoder->hdl); in vpx3220_probe()
552 struct vpx3220 *decoder = to_vpx3220(sd); in vpx3220_remove() local
555 v4l2_ctrl_handler_free(&decoder->hdl); in vpx3220_remove()