Lines Matching refs:decoder

118 	struct adv7183 *decoder = to_adv7183(sd);  in adv7183_log_status()  local
193 v4l2_ctrl_handler_log_status(&decoder->hdl, sd->name); in adv7183_log_status()
199 struct adv7183 *decoder = to_adv7183(sd); in adv7183_g_std() local
201 *std = decoder->std; in adv7183_g_std()
207 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_std() local
231 decoder->std = std; in adv7183_s_std()
250 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_routing() local
256 if (input != decoder->input) { in adv7183_s_routing()
257 decoder->input = input; in adv7183_s_routing()
311 if (output != decoder->output) { in adv7183_s_routing()
312 decoder->output = output; in adv7183_s_routing()
359 struct adv7183 *decoder = to_adv7183(sd); in adv7183_querystd() local
402 adv7183_s_std(sd, decoder->std); in adv7183_querystd()
434 struct adv7183 *decoder = to_adv7183(sd); in adv7183_set_fmt() local
442 if (decoder->std & V4L2_STD_525_60) { in adv7183_set_fmt()
452 decoder->fmt = *fmt; in adv7183_set_fmt()
462 struct adv7183 *decoder = to_adv7183(sd); in adv7183_get_fmt() local
467 format->format = decoder->fmt; in adv7183_get_fmt()
473 struct adv7183 *decoder = to_adv7183(sd); in adv7183_s_stream() local
476 gpio_set_value(decoder->oe_pin, 0); in adv7183_s_stream()
478 gpio_set_value(decoder->oe_pin, 1); in adv7183_s_stream()
535 struct adv7183 *decoder; in adv7183_probe() local
555 decoder = devm_kzalloc(&client->dev, sizeof(*decoder), GFP_KERNEL); in adv7183_probe()
556 if (decoder == NULL) in adv7183_probe()
559 decoder->reset_pin = pin_array[0]; in adv7183_probe()
560 decoder->oe_pin = pin_array[1]; in adv7183_probe()
562 if (devm_gpio_request_one(&client->dev, decoder->reset_pin, in adv7183_probe()
564 v4l_err(client, "failed to request GPIO %d\n", decoder->reset_pin); in adv7183_probe()
568 if (devm_gpio_request_one(&client->dev, decoder->oe_pin, in adv7183_probe()
571 v4l_err(client, "failed to request GPIO %d\n", decoder->oe_pin); in adv7183_probe()
575 sd = &decoder->sd; in adv7183_probe()
578 hdl = &decoder->hdl; in adv7183_probe()
598 decoder->std = V4L2_STD_PAL; in adv7183_probe()
599 decoder->input = ADV7183_COMPOSITE4; in adv7183_probe()
600 decoder->output = ADV7183_8BIT_OUT; in adv7183_probe()
605 gpio_set_value(decoder->reset_pin, 1); in adv7183_probe()
610 adv7183_s_std(sd, decoder->std); in adv7183_probe()