Home
last modified time | relevance | path

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

12345

/linux-5.19.10/drivers/media/v4l2-core/
Dv4l2-subdev.c505 return v4l2_subdev_call(sd, core, subscribe_event, vfh, arg); in subdev_do_ioctl()
508 return v4l2_subdev_call(sd, core, unsubscribe_event, vfh, arg); in subdev_do_ioctl()
517 return v4l2_subdev_call(sd, core, g_register, p); in subdev_do_ioctl()
525 return v4l2_subdev_call(sd, core, s_register, p); in subdev_do_ioctl()
547 ret = v4l2_subdev_call(sd, core, log_status); in subdev_do_ioctl()
558 return v4l2_subdev_call(sd, pad, get_fmt, state, format); in subdev_do_ioctl()
569 return v4l2_subdev_call(sd, pad, set_fmt, state, format); in subdev_do_ioctl()
582 rval = v4l2_subdev_call( in subdev_do_ioctl()
604 rval = v4l2_subdev_call( in subdev_do_ioctl()
616 return v4l2_subdev_call(sd, pad, enum_mbus_code, state, in subdev_do_ioctl()
[all …]
/linux-5.19.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()
/linux-5.19.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 …]
/linux-5.19.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()
/linux-5.19.10/drivers/media/platform/renesas/rcar-vin/
Drcar-v4l2.c223 ret = v4l2_subdev_call(vin_to_source(vin), pad, get_fmt, NULL, &fmt); in rvin_reset_format()
285 ret = v4l2_subdev_call(sd, pad, set_fmt, sd_state, &format); in rvin_try_format()
565 return v4l2_subdev_call(sd, video, g_pixelaspect, f); in rvin_g_pixelaspect()
578 ret = v4l2_subdev_call(sd, video, g_input_status, &i->status); in rvin_enum_input()
615 return v4l2_subdev_call(sd, video, querystd, a); in rvin_querystd()
623 ret = v4l2_subdev_call(vin_to_source(vin), video, s_std, a); in rvin_s_std()
667 ret = v4l2_subdev_call(sd, pad, enum_dv_timings, timings); in rvin_enum_dv_timings()
681 ret = v4l2_subdev_call(sd, video, s_dv_timings, timings); in rvin_s_dv_timings()
695 return v4l2_subdev_call(sd, video, g_dv_timings, timings); in rvin_g_dv_timings()
704 return v4l2_subdev_call(sd, video, query_dv_timings, timings); in rvin_query_dv_timings()
[all …]
/linux-5.19.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()
/linux-5.19.10/drivers/staging/media/zoran/
Dzoran_device.h56 v4l2_subdev_call(zr->decoder, o, f, ##args)
58 v4l2_subdev_call(zr->encoder, o, f, ##args)
/linux-5.19.10/drivers/staging/media/imx/
Dimx-media-capture.c298 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_size, NULL, &fse); in capture_legacy_enum_framesizes()
340 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_interval, in capture_legacy_enum_frameintervals()
362 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_legacy_enum_fmt_vid_cap()
434 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_legacy_try_fmt_vid_cap()
459 ret = v4l2_subdev_call(priv->src_sd, pad, get_fmt, NULL, &fmt_src); in capture_legacy_s_fmt_vid_cap()
480 return v4l2_subdev_call(priv->src_sd, video, querystd, std); in capture_legacy_querystd()
487 return v4l2_subdev_call(priv->src_sd, video, g_std, std); in capture_legacy_g_std()
497 return v4l2_subdev_call(priv->src_sd, video, s_std, std); in capture_legacy_s_std()
512 ret = v4l2_subdev_call(priv->src_sd, video, g_frame_interval, &fi); in capture_legacy_g_parm()
535 ret = v4l2_subdev_call(priv->src_sd, video, s_frame_interval, &fi); in capture_legacy_s_parm()
[all …]
Dimx6-mipi-csi2.c310 ret = v4l2_subdev_call(csi2->remote, pad, get_mbus_config, in csi2_get_active_lanes()
366 ret = v4l2_subdev_call(csi2->src_sd, video, pre_streamon, in csi2_start()
373 ret = v4l2_subdev_call(csi2->src_sd, video, s_stream, 1); in csi2_start()
386 v4l2_subdev_call(csi2->src_sd, video, s_stream, 0); in csi2_start()
388 v4l2_subdev_call(csi2->src_sd, video, post_streamoff); in csi2_start()
399 v4l2_subdev_call(csi2->src_sd, video, s_stream, 0); in csi2_stop()
400 v4l2_subdev_call(csi2->src_sd, video, post_streamoff); in csi2_stop()
/linux-5.19.10/drivers/media/platform/renesas/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()
494 ret = v4l2_subdev_call(&pipe->output->entity.subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_output()
[all …]
/linux-5.19.10/drivers/media/platform/renesas/
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()
856 ret = v4l2_subdev_call(v4l2_sd, pad, set_fmt, &pad_state, &sd_format); in __ceu_try_fmt()
861 ret = v4l2_subdev_call(v4l2_sd, pad, set_fmt, in __ceu_try_fmt()
915 ret = v4l2_subdev_call(v4l2_sd, pad, set_fmt, NULL, &format); in ceu_set_fmt()
991 !v4l2_subdev_call(v4l2_sd, pad, enum_mbus_code, in ceu_init_mbus_fmt()
1068 v4l2_subdev_call(v4l2_sd, core, s_power, 1); in ceu_runtime_resume()
1084 v4l2_subdev_call(v4l2_sd, core, s_power, 0); in ceu_runtime_suspend()
1255 v4l2_subdev_call(ceu_sd_old->v4l2_sd, core, s_power, 0); in ceu_s_input()
[all …]
/linux-5.19.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()
386 ret = v4l2_subdev_call(subdev, pad, enum_frame_size, NULL, &fse); in tegra_channel_enum_framesizes()
418 ret = v4l2_subdev_call(subdev, pad, enum_frame_interval, NULL, &fie); in tegra_channel_enum_frameintervals()
541 ret = v4l2_subdev_call(subdev, pad, enum_frame_size, sd_state, &fse); in __tegra_channel_try_format()
547 ret = v4l2_subdev_call(subdev, pad, get_selection, in __tegra_channel_try_format()
560 ret = v4l2_subdev_call(subdev, pad, set_fmt, sd_state, &fmt); in __tegra_channel_try_format()
[all …]
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/media/platform/atmel/
Datmel-isi.c430 ret = v4l2_subdev_call(isi->entity.subdev, video, s_stream, 1); in start_streaming()
458 v4l2_subdev_call(isi->entity.subdev, video, s_stream, 0); in start_streaming()
484 ret = v4l2_subdev_call(isi->entity.subdev, video, s_stream, 0); in stop_streaming()
568 ret = v4l2_subdev_call(isi->entity.subdev, pad, enum_frame_size, in isi_try_fse()
611 ret = v4l2_subdev_call(isi->entity.subdev, pad, set_fmt, in isi_try_fmt()
642 ret = v4l2_subdev_call(isi->entity.subdev, pad, in isi_set_fmt()
748 ret = v4l2_subdev_call(isi->entity.subdev, pad, enum_frame_size, in isi_enum_framesizes()
779 ret = v4l2_subdev_call(isi->entity.subdev, pad, in isi_enum_frameintervals()
890 ret = v4l2_subdev_call(sd, core, s_power, 1); in isi_open()
896 v4l2_subdev_call(sd, core, s_power, 0); in isi_open()
[all …]
/linux-5.19.10/drivers/media/platform/ti/cal/
Dcal-video.c127 ret = v4l2_subdev_call(ctx->phy->source, pad, get_fmt, NULL, &sd_fmt); in __subdev_get_format()
150 ret = v4l2_subdev_call(ctx->phy->source, pad, set_fmt, NULL, &sd_fmt); in __subdev_set_format()
215 ret = v4l2_subdev_call(ctx->phy->source, pad, enum_frame_size, in cal_legacy_try_fmt_vid_cap()
291 v4l2_subdev_call(&ctx->phy->subdev, pad, set_fmt, NULL, &sd_fmt); in cal_legacy_s_fmt_vid_cap()
320 ret = v4l2_subdev_call(ctx->phy->source, pad, enum_frame_size, NULL, in cal_legacy_enum_framesizes()
377 ret = v4l2_subdev_call(ctx->phy->source, pad, enum_frame_interval, in cal_legacy_enum_frameintervals()
748 ret = v4l2_subdev_call(&ctx->phy->subdev, video, s_stream, 1); in cal_start_streaming()
776 v4l2_subdev_call(&ctx->phy->subdev, video, s_stream, 0); in cal_stop_streaming()
832 ret = v4l2_subdev_call(ctx->phy->source, pad, enum_mbus_code, in cal_ctx_v4l2_init_formats()
Dcal-camerarx.c297 ret = v4l2_subdev_call(phy->source, core, s_power, 1); in cal_camerarx_start()
391 ret = v4l2_subdev_call(phy->source, video, s_stream, 1); in cal_camerarx_start()
393 v4l2_subdev_call(phy->source, core, s_power, 0); in cal_camerarx_start()
447 if (v4l2_subdev_call(phy->source, video, s_stream, 0)) in cal_camerarx_stop()
450 ret = v4l2_subdev_call(phy->source, core, s_power, 0); in cal_camerarx_stop()
599 ret = v4l2_subdev_call(phy->source, pad, get_frame_desc, pad->index, in cal_camerarx_get_remote_frame_desc()
/linux-5.19.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()
/linux-5.19.10/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c716 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_s_input()
726 ret = v4l2_subdev_call(isp->inputs[input].camera, core, s_power, 1); in atomisp_s_input()
738 ret = v4l2_subdev_call(isp->inputs[input].camera, video, s_routing, in atomisp_s_input()
750 ret = v4l2_subdev_call(motor, core, s_power, 1); in atomisp_s_input()
754 ret = v4l2_subdev_call(motor, core, init, 1); in atomisp_s_input()
781 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_enum_framesizes()
808 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_enum_frameintervals()
849 rval = v4l2_subdev_call(camera, pad, enum_mbus_code, NULL, &code); in atomisp_enum_fmt_cap()
1691 ret = v4l2_subdev_call(isp->inputs[master].camera, core, in atomisp_stream_on_master_slave_sensor()
1699 ret = v4l2_subdev_call(isp->inputs[master].camera, in atomisp_stream_on_master_slave_sensor()
[all …]
/linux-5.19.10/drivers/media/pci/cx18/
Dcx18-video.c16 v4l2_subdev_call(cx->sd_av, video, s_routing, in cx18_video_set_io()
/linux-5.19.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()
/linux-5.19.10/drivers/media/platform/st/stm32/
Dstm32-dcmi.c667 ret = v4l2_subdev_call(subdev, pad, set_fmt, sd_state, &fmt); in dcmi_pipeline_s_fmt()
716 ret = v4l2_subdev_call(subdev, video, s_stream, state); in dcmi_pipeline_s_stream()
1040 ret = v4l2_subdev_call(dcmi->source, pad, set_fmt, in dcmi_try_fmt()
1174 ret = v4l2_subdev_call(dcmi->source, pad, get_fmt, NULL, &fmt); in dcmi_get_sensor_format()
1206 ret = v4l2_subdev_call(dcmi->source, pad, set_fmt, in dcmi_set_sensor_format()
1229 ret = v4l2_subdev_call(dcmi->source, pad, get_selection, in dcmi_get_sensor_bounds()
1410 ret = v4l2_subdev_call(dcmi->source, pad, enum_frame_size, in dcmi_enum_framesizes()
1457 ret = v4l2_subdev_call(dcmi->source, pad, in dcmi_enum_frameintervals()
1490 ret = v4l2_subdev_call(sd, core, s_power, 1); in dcmi_open()
1496 v4l2_subdev_call(sd, core, s_power, 0); in dcmi_open()
[all …]
/linux-5.19.10/drivers/media/platform/rockchip/rkisp1/
Drkisp1-capture.c935 v4l2_subdev_call(rkisp1->active_sensor->sd, video, s_stream, in rkisp1_pipeline_stream_disable()
937 v4l2_subdev_call(&rkisp1->isp.sd, video, s_stream, false); in rkisp1_pipeline_stream_disable()
940 v4l2_subdev_call(&rkisp1->resizer_devs[cap->id].sd, video, s_stream, in rkisp1_pipeline_stream_disable()
958 ret = v4l2_subdev_call(&rkisp1->resizer_devs[cap->id].sd, video, in rkisp1_pipeline_stream_enable()
970 ret = v4l2_subdev_call(&rkisp1->isp.sd, video, s_stream, true); in rkisp1_pipeline_stream_enable()
974 ret = v4l2_subdev_call(rkisp1->active_sensor->sd, video, s_stream, in rkisp1_pipeline_stream_enable()
982 v4l2_subdev_call(&rkisp1->isp.sd, video, s_stream, false); in rkisp1_pipeline_stream_enable()
984 v4l2_subdev_call(&rkisp1->resizer_devs[cap->id].sd, video, s_stream, in rkisp1_pipeline_stream_enable()
1299 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sd_fmt); in rkisp1_capture_link_validate()

12345