Lines Matching full:decoder

3  * saa7110 - Philips SAA7110(A) video decoder driver
27 MODULE_DESCRIPTION("Philips SAA7110 video decoder driver");
70 struct saa7110 *decoder = to_saa7110(sd); in saa7110_write() local
72 decoder->reg[reg] = value; in saa7110_write()
79 struct saa7110 *decoder = to_saa7110(sd); in saa7110_write_block() local
93 memcpy(decoder->reg + reg, data + 1, len - 1); in saa7110_write_block()
151 struct saa7110 *decoder = to_saa7110(sd); in saa7110_selmux() local
162 decoder->input = chan; in saa7110_selmux()
180 struct saa7110 *decoder = to_saa7110(sd); in determine_norm() local
185 saa7110_selmux(sd, decoder->input); in determine_norm()
186 prepare_to_wait(&decoder->wq, &wait, TASK_UNINTERRUPTIBLE); in determine_norm()
188 finish_wait(&decoder->wq, &wait); in determine_norm()
221 prepare_to_wait(&decoder->wq, &wait, TASK_UNINTERRUPTIBLE); in determine_norm()
223 finish_wait(&decoder->wq, &wait); in determine_norm()
237 struct saa7110 *decoder = to_saa7110(sd); in saa7110_g_input_status() local
242 status, (unsigned long long)decoder->norm); in saa7110_g_input_status()
260 struct saa7110 *decoder = to_saa7110(sd); in saa7110_s_std() local
262 if (decoder->norm != std) { in saa7110_s_std()
263 decoder->norm = std; in saa7110_s_std()
293 struct saa7110 *decoder = to_saa7110(sd); in saa7110_s_routing() local
299 if (decoder->input != input) { in saa7110_s_routing()
308 struct saa7110 *decoder = to_saa7110(sd); in saa7110_s_stream() local
310 if (decoder->enable != enable) { in saa7110_s_stream()
311 decoder->enable = enable; in saa7110_s_stream()
363 struct saa7110 *decoder; in saa7110_probe() local
375 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in saa7110_probe()
376 if (!decoder) in saa7110_probe()
378 sd = &decoder->sd; in saa7110_probe()
380 decoder->norm = V4L2_STD_PAL; in saa7110_probe()
381 decoder->input = 0; in saa7110_probe()
382 decoder->enable = 1; in saa7110_probe()
383 v4l2_ctrl_handler_init(&decoder->hdl, 2); in saa7110_probe()
384 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops, in saa7110_probe()
386 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops, in saa7110_probe()
388 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops, in saa7110_probe()
390 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops, in saa7110_probe()
392 sd->ctrl_handler = &decoder->hdl; in saa7110_probe()
393 if (decoder->hdl.error) { in saa7110_probe()
394 int err = decoder->hdl.error; in saa7110_probe()
396 v4l2_ctrl_handler_free(&decoder->hdl); in saa7110_probe()
399 v4l2_ctrl_handler_setup(&decoder->hdl); in saa7110_probe()
401 init_waitqueue_head(&decoder->wq); in saa7110_probe()
433 struct saa7110 *decoder = to_saa7110(sd); in saa7110_remove() local
436 v4l2_ctrl_handler_free(&decoder->hdl); in saa7110_remove()