Lines Matching full:decoder
3 * adv7183.c Analog Devices ADV7183 video decoder driver
110 struct adv7183 *decoder = to_adv7183(sd); in adv7183_log_status() local
185 v4l2_ctrl_handler_log_status(&decoder->hdl, sd->name); in adv7183_log_status()
191 struct adv7183 *decoder = to_adv7183(sd); in adv7183_g_std() local
193 *std = decoder->std; in adv7183_g_std()
199 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_std() local
223 decoder->std = std; in adv7183_s_std()
242 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_routing() local
248 if (input != decoder->input) { in adv7183_s_routing()
249 decoder->input = input; in adv7183_s_routing()
303 if (output != decoder->output) { in adv7183_s_routing()
304 decoder->output = output; in adv7183_s_routing()
351 struct adv7183 *decoder = to_adv7183(sd); in adv7183_querystd() local
394 adv7183_s_std(sd, decoder->std); in adv7183_querystd()
426 struct adv7183 *decoder = to_adv7183(sd); in adv7183_set_fmt() local
434 if (decoder->std & V4L2_STD_525_60) { in adv7183_set_fmt()
444 decoder->fmt = *fmt; in adv7183_set_fmt()
452 struct adv7183 *decoder = to_adv7183(sd); in adv7183_get_fmt() local
457 format->format = decoder->fmt; in adv7183_get_fmt()
463 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_stream() local
466 gpiod_set_value(decoder->oe_pin, 1); in adv7183_s_stream()
468 gpiod_set_value(decoder->oe_pin, 0); in adv7183_s_stream()
524 struct adv7183 *decoder; in adv7183_probe() local
539 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in adv7183_probe()
540 if (decoder == NULL) in adv7183_probe()
547 decoder->reset_pin = devm_gpiod_get(&client->dev, "reset", in adv7183_probe()
549 if (IS_ERR(decoder->reset_pin)) in adv7183_probe()
550 return PTR_ERR(decoder->reset_pin); in adv7183_probe()
551 gpiod_set_consumer_name(decoder->reset_pin, "ADV7183 Reset"); in adv7183_probe()
556 decoder->oe_pin = devm_gpiod_get(&client->dev, "oe", in adv7183_probe()
558 if (IS_ERR(decoder->oe_pin)) in adv7183_probe()
559 return PTR_ERR(decoder->oe_pin); in adv7183_probe()
560 gpiod_set_consumer_name(decoder->reset_pin, "ADV7183 Output Enable"); in adv7183_probe()
562 sd = &decoder->sd; in adv7183_probe()
565 hdl = &decoder->hdl; in adv7183_probe()
585 decoder->std = V4L2_STD_PAL; in adv7183_probe()
586 decoder->input = ADV7183_COMPOSITE4; in adv7183_probe()
587 decoder->output = ADV7183_8BIT_OUT; in adv7183_probe()
593 gpiod_set_value(decoder->reset_pin, 0); in adv7183_probe()
598 adv7183_s_std(sd, decoder->std); in adv7183_probe()
639 MODULE_DESCRIPTION("Analog Devices ADV7183 video decoder driver");