Home
last modified time | relevance | path

Searched refs:v4l2_subdev_call (Results 1 – 25 of 115) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-subdev.c432 return v4l2_subdev_call(sd, core, subscribe_event, vfh, arg); in subdev_do_ioctl()
435 return v4l2_subdev_call(sd, core, unsubscribe_event, vfh, arg); in subdev_do_ioctl()
444 return v4l2_subdev_call(sd, core, g_register, p); in subdev_do_ioctl()
452 return v4l2_subdev_call(sd, core, s_register, p); in subdev_do_ioctl()
474 ret = v4l2_subdev_call(sd, core, log_status); in subdev_do_ioctl()
485 return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
496 return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
509 rval = v4l2_subdev_call( in subdev_do_ioctl()
531 rval = v4l2_subdev_call( in subdev_do_ioctl()
543 return v4l2_subdev_call(sd, pad, enum_mbus_code, subdev_fh->pad, in subdev_do_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-input.c45 v4l2_subdev_call(dev->sd_ir, ir, rx_read, (u8 *) ir_core_event, in cx23885_input_process_measurements()
106 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); in cx23885_input_rx_work_handler()
110 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_rx_work_handler()
121 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_rx_work_handler()
134 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); in cx23885_input_ir_start()
208 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_ir_start()
237 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); in cx23885_input_ir_stop()
242 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_ir_stop()
243 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); in cx23885_input_ir_stop()
Dcx23885-av.c20 v4l2_subdev_call(dev->sd_cx25840, core, interrupt_service_routine, in cx23885_av_work_handler()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dcxusb-analog.c756 ret = v4l2_subdev_call(cxdev->cx25840, video, g_std, &norm); in cxusb_medion_field_order()
791 ret = v4l2_subdev_call(cxdev->cx25840, video, s_stream, 1); in cxusb_medion_v_start_streaming()
890 v4l2_subdev_call(cxdev->cx25840, video, s_stream, 0); in cxusb_medion_v_start_streaming()
914 ret = v4l2_subdev_call(cxdev->cx25840, video, s_stream, 0); in cxusb_medion_v_stop_streaming()
1036 ret = v4l2_subdev_call(cxdev->cx25840, pad, set_fmt, NULL, &subfmt); in cxusb_medion_try_s_fmt_vid_cap()
1105 ret = v4l2_subdev_call(cxdev->cx25840, video, g_input_status, in cxusb_medion_enum_input()
1146 ret = v4l2_subdev_call(cxdev->cx25840, video, s_std, norm); in cxusb_medion_set_norm()
1157 ret = v4l2_subdev_call(cxdev->tda9887, video, s_std, norm); in cxusb_medion_set_norm()
1165 ret = v4l2_subdev_call(cxdev->tuner, video, s_std, norm); in cxusb_medion_set_norm()
1173 ret = v4l2_subdev_call(cxdev->cx25840, video, s_std, norm); in cxusb_medion_set_norm()
[all …]
/kernel/linux/linux-5.10/drivers/media/radio/
Dradio-timb.c44 return v4l2_subdev_call(tr->sd_tuner, tuner, g_tuner, v); in timbradio_vidioc_g_tuner()
51 return v4l2_subdev_call(tr->sd_tuner, tuner, s_tuner, v); in timbradio_vidioc_s_tuner()
58 return v4l2_subdev_call(tr->sd_tuner, tuner, s_frequency, f); in timbradio_vidioc_s_frequency()
65 return v4l2_subdev_call(tr->sd_tuner, tuner, g_frequency, f); in timbradio_vidioc_g_frequency()
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/
Drcar-v4l2.c219 ret = v4l2_subdev_call(vin_to_source(vin), pad, get_fmt, NULL, &fmt); in rvin_reset_format()
276 ret = v4l2_subdev_call(sd, pad, set_fmt, pad_cfg, &format); in rvin_try_format()
542 return v4l2_subdev_call(sd, video, g_pixelaspect, f); in rvin_g_pixelaspect()
555 ret = v4l2_subdev_call(sd, video, g_input_status, &i->status); in rvin_enum_input()
592 return v4l2_subdev_call(sd, video, querystd, a); in rvin_querystd()
600 ret = v4l2_subdev_call(vin_to_source(vin), video, s_std, a); in rvin_s_std()
644 ret = v4l2_subdev_call(sd, pad, enum_dv_timings, timings); in rvin_enum_dv_timings()
658 ret = v4l2_subdev_call(sd, video, s_dv_timings, timings); in rvin_s_dv_timings()
672 return v4l2_subdev_call(sd, video, g_dv_timings, timings); in rvin_g_dv_timings()
681 return v4l2_subdev_call(sd, video, query_dv_timings, timings); in rvin_query_dv_timings()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/
Dcobalt-v4l2.c177 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, &sd_fmt); in cobalt_enable_output()
228 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, in cobalt_enable_input()
235 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, in cobalt_enable_input()
243 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, in cobalt_enable_input()
588 v4l2_subdev_call(s->sd, core, log_status); in cobalt_log_status()
618 return v4l2_subdev_call(s->sd, in cobalt_enum_dv_timings()
639 err = v4l2_subdev_call(s->sd, in cobalt_s_dv_timings()
659 return v4l2_subdev_call(s->sd, in cobalt_g_dv_timings()
672 return v4l2_subdev_call(s->sd, in cobalt_query_dv_timings()
682 return v4l2_subdev_call(s->sd, in cobalt_dv_timings_cap()
[all …]
Dcobalt-driver.c519 err = v4l2_subdev_call(s[i].sd, video, s_routing, in cobalt_subdevs_init()
523 err = v4l2_subdev_call(s[i].sd, pad, set_edid, in cobalt_subdevs_init()
527 err = v4l2_subdev_call(s[i].sd, pad, set_fmt, NULL, in cobalt_subdevs_init()
607 int err = v4l2_subdev_call(s->sd, pad, set_edid, &cobalt_edid); in cobalt_subdevs_hsma_init()
611 err = v4l2_subdev_call(s->sd, pad, set_fmt, NULL, in cobalt_subdevs_hsma_init()
643 v4l2_subdev_call(s->sd, core, s_power, 1); in cobalt_subdevs_hsma_init()
644 v4l2_subdev_call(s->sd, video, s_stream, 1); in cobalt_subdevs_hsma_init()
645 v4l2_subdev_call(s->sd, audio, s_stream, 1); in cobalt_subdevs_hsma_init()
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx-media-capture.c100 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_size, NULL, &fse); in capture_enum_framesizes()
142 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_interval, in capture_enum_frameintervals()
164 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_enum_fmt_vid_cap()
276 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_try_fmt_vid_cap()
297 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_s_fmt_vid_cap()
315 return v4l2_subdev_call(priv->src_sd, video, querystd, std); in capture_querystd()
322 return v4l2_subdev_call(priv->src_sd, video, g_std, std); in capture_g_std()
332 return v4l2_subdev_call(priv->src_sd, video, s_std, std); in capture_s_std()
377 ret = v4l2_subdev_call(priv->src_sd, video, g_frame_interval, &fi); in capture_g_parm()
400 ret = v4l2_subdev_call(priv->src_sd, video, s_frame_interval, &fi); in capture_s_parm()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_drm.c89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif()
95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif()
140 ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf()
156 ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_selection, NULL, in vsp1_du_pipeline_setup_rpf()
172 ret = v4l2_subdev_call(&rpf->entity.subdev, pad, get_fmt, NULL, in vsp1_du_pipeline_setup_rpf()
184 ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf()
198 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf()
211 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL, in vsp1_du_pipeline_setup_rpf()
343 ret = v4l2_subdev_call(&brx->subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_brx()
490 ret = v4l2_subdev_call(&pipe->output->entity.subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_output()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dzoran_device.h60 v4l2_subdev_call(zr->decoder, o, f, ##args)
62 v4l2_subdev_call(zr->encoder, o, f, ##args)
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-routing.c37 v4l2_subdev_call(itv->sd_muxer, audio, s_routing, in ivtv_audio_set_io()
56 v4l2_subdev_call(itv->sd_video, video, s_routing, in ivtv_video_set_io()
Divtv-vbi.c350 v4l2_subdev_call(itv->sd_video, vbi, decode_vbi_line, &vbi); in compress_sliced_buf()
474 if (v4l2_subdev_call(itv->sd_video, vbi, g_vbi_data, &data) == 0) { in ivtv_vbi_work_handler()
488 if (v4l2_subdev_call(itv->sd_video, vbi, g_vbi_data, &data) == 0) { in ivtv_vbi_work_handler()
494 if (v4l2_subdev_call(itv->sd_video, vbi, g_vbi_data, &data) == 0) { in ivtv_vbi_work_handler()
/kernel/linux/linux-5.10/drivers/media/pci/saa7146/
Dmxb.c163 v4l2_subdev_call(mxb->saa7111a, o, f, ##args)
165 v4l2_subdev_call(mxb->tda9840, o, f, ##args)
167 v4l2_subdev_call(mxb->tea6415c, o, f, ##args)
169 v4l2_subdev_call(mxb->tuner, o, f, ##args)
184 v4l2_subdev_call(mxb->tea6420_1, audio, s_routing, in tea6420_route()
186 v4l2_subdev_call(mxb->tea6420_2, audio, s_routing, in tea6420_route()
188 v4l2_subdev_call(mxb->tea6420_1, audio, s_routing, in tea6420_route()
190 v4l2_subdev_call(mxb->tea6420_2, audio, s_routing, in tea6420_route()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
Dvi.c203 ret = v4l2_subdev_call(csi_subdev, video, s_stream, true); in tegra_channel_enable_stream()
221 ret = v4l2_subdev_call(src_subdev, video, s_stream, true); in tegra_channel_enable_stream()
234 v4l2_subdev_call(csi_subdev, video, s_stream, false); in tegra_channel_enable_stream()
248 ret = v4l2_subdev_call(subdev, video, s_stream, false); in tegra_channel_disable_stream()
256 ret = v4l2_subdev_call(subdev, video, s_stream, false); in tegra_channel_disable_stream()
387 ret = v4l2_subdev_call(subdev, pad, enum_frame_size, NULL, &fse); in tegra_channel_enum_framesizes()
419 ret = v4l2_subdev_call(subdev, pad, enum_frame_interval, NULL, &fie); in tegra_channel_enum_frameintervals()
534 ret = v4l2_subdev_call(subdev, pad, enum_frame_size, pad_cfg, &fse); in __tegra_channel_try_format()
536 ret = v4l2_subdev_call(subdev, pad, get_selection, NULL, &sdsel); in __tegra_channel_try_format()
546 ret = v4l2_subdev_call(subdev, pad, set_fmt, pad_cfg, &fmt); in __tegra_channel_try_format()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/
Drenesas-ceu.c692 ret = v4l2_subdev_call(v4l2_sd, video, s_stream, 1); in ceu_start_streaming()
726 v4l2_subdev_call(v4l2_sd, video, s_stream, 0); in ceu_start_streaming()
751 v4l2_subdev_call(v4l2_sd, video, s_stream, 0); in ceu_stop_streaming()
853 ret = v4l2_subdev_call(v4l2_sd, pad, set_fmt, &pad_cfg, &sd_format); in __ceu_try_fmt()
858 ret = v4l2_subdev_call(v4l2_sd, pad, set_fmt, in __ceu_try_fmt()
912 ret = v4l2_subdev_call(v4l2_sd, pad, set_fmt, NULL, &format); in ceu_set_fmt()
988 !v4l2_subdev_call(v4l2_sd, pad, enum_mbus_code, in ceu_init_mbus_fmt()
1065 v4l2_subdev_call(v4l2_sd, core, s_power, 1); in ceu_runtime_resume()
1081 v4l2_subdev_call(v4l2_sd, core, s_power, 0); in ceu_runtime_suspend()
1252 v4l2_subdev_call(ceu_sd_old->v4l2_sd, core, s_power, 0); in ceu_s_input()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/atmel/
Datmel-isi.c429 ret = v4l2_subdev_call(isi->entity.subdev, video, s_stream, 1); in start_streaming()
457 v4l2_subdev_call(isi->entity.subdev, video, s_stream, 0); in start_streaming()
483 ret = v4l2_subdev_call(isi->entity.subdev, video, s_stream, 0); in stop_streaming()
567 ret = v4l2_subdev_call(isi->entity.subdev, pad, enum_frame_size, in isi_try_fse()
607 ret = v4l2_subdev_call(isi->entity.subdev, pad, set_fmt, in isi_try_fmt()
638 ret = v4l2_subdev_call(isi->entity.subdev, pad, in isi_set_fmt()
744 ret = v4l2_subdev_call(isi->entity.subdev, pad, enum_frame_size, in isi_enum_framesizes()
775 ret = v4l2_subdev_call(isi->entity.subdev, pad, in isi_enum_frameintervals()
881 ret = v4l2_subdev_call(sd, core, s_power, 1); in isi_open()
887 v4l2_subdev_call(sd, core, s_power, 0); in isi_open()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
Dvimc-streamer.c62 v4l2_subdev_call(sd, video, s_stream, 0); in vimc_streamer_pipeline_terminate()
97 ret = v4l2_subdev_call(sd, video, s_stream, 1); in vimc_streamer_pipeline_init()
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
Dcal-camerarx.c248 ret = v4l2_subdev_call(phy->sensor, core, s_power, 1); in cal_camerarx_start()
340 ret = v4l2_subdev_call(phy->sensor, video, s_stream, 1); in cal_camerarx_start()
342 v4l2_subdev_call(phy->sensor, core, s_power, 0); in cal_camerarx_start()
394 if (v4l2_subdev_call(phy->sensor, video, s_stream, 0)) in cal_camerarx_stop()
397 ret = v4l2_subdev_call(phy->sensor, core, s_power, 0); in cal_camerarx_stop()
Dcal-video.c218 ret = v4l2_subdev_call(ctx->phy->sensor, pad, get_fmt, NULL, &sd_fmt); in __subdev_get_format()
241 ret = v4l2_subdev_call(ctx->phy->sensor, pad, set_fmt, NULL, &sd_fmt); in __subdev_set_format()
322 ret = v4l2_subdev_call(ctx->phy->sensor, pad, enum_frame_size, in cal_try_fmt_vid_cap()
420 ret = v4l2_subdev_call(ctx->phy->sensor, pad, enum_frame_size, NULL, in cal_enum_framesizes()
477 ret = v4l2_subdev_call(ctx->phy->sensor, pad, enum_frame_interval, in cal_enum_frameintervals()
738 ret = v4l2_subdev_call(ctx->phy->sensor, pad, enum_mbus_code, in cal_ctx_v4l2_init_formats()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-video.c16 v4l2_subdev_call(cx->sd_av, video, s_routing, in cx18_video_set_io()
Dcx18-audio.c36 v4l2_subdev_call(cx->sd_extmux, audio, s_routing, in cx18_audio_set_io()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c717 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_s_input()
727 ret = v4l2_subdev_call(isp->inputs[input].camera, core, s_power, 1); in atomisp_s_input()
739 ret = v4l2_subdev_call(isp->inputs[input].camera, video, s_routing, in atomisp_s_input()
751 ret = v4l2_subdev_call(motor, core, s_power, 1); in atomisp_s_input()
755 ret = v4l2_subdev_call(motor, core, init, 1); in atomisp_s_input()
798 rval = v4l2_subdev_call(camera, pad, enum_mbus_code, NULL, &code); in atomisp_enum_fmt_cap()
1648 ret = v4l2_subdev_call(isp->inputs[master].camera, core, in atomisp_stream_on_master_slave_sensor()
1656 ret = v4l2_subdev_call(isp->inputs[master].camera, in atomisp_stream_on_master_slave_sensor()
1667 ret = v4l2_subdev_call(isp->inputs[slave].camera, in atomisp_stream_on_master_slave_sensor()
1672 v4l2_subdev_call(isp->inputs[master].camera, video, s_stream, 0); in atomisp_stream_on_master_slave_sensor()
[all …]
/kernel/linux/linux-5.10/drivers/media/radio/si4713/
Dradio-usb-si4713.c81 return v4l2_subdev_call(radio->v4l2_subdev, tuner, g_modulator, vm); in vidioc_g_modulator()
89 return v4l2_subdev_call(radio->v4l2_subdev, tuner, s_modulator, vm); in vidioc_s_modulator()
97 return v4l2_subdev_call(radio->v4l2_subdev, tuner, s_frequency, vf); in vidioc_s_frequency()
105 return v4l2_subdev_call(radio->v4l2_subdev, tuner, g_frequency, vf); in vidioc_g_frequency()
/kernel/linux/linux-5.10/drivers/media/platform/stm32/
Dstm32-dcmi.c652 ret = v4l2_subdev_call(subdev, pad, set_fmt, pad_cfg, &fmt); in dcmi_pipeline_s_fmt()
701 ret = v4l2_subdev_call(subdev, video, s_stream, state); in dcmi_pipeline_s_stream()
1004 ret = v4l2_subdev_call(dcmi->entity.source, pad, set_fmt, in dcmi_try_fmt()
1137 ret = v4l2_subdev_call(dcmi->entity.source, pad, get_fmt, NULL, &fmt); in dcmi_get_sensor_format()
1166 ret = v4l2_subdev_call(dcmi->entity.source, pad, set_fmt, in dcmi_set_sensor_format()
1189 ret = v4l2_subdev_call(dcmi->entity.source, pad, get_selection, in dcmi_get_sensor_bounds()
1370 ret = v4l2_subdev_call(dcmi->entity.source, pad, enum_frame_size, in dcmi_enum_framesizes()
1417 ret = v4l2_subdev_call(dcmi->entity.source, pad, in dcmi_enum_frameintervals()
1450 ret = v4l2_subdev_call(sd, core, s_power, 1); in dcmi_open()
1456 v4l2_subdev_call(sd, core, s_power, 0); in dcmi_open()
[all …]

12345