Home
last modified time | relevance | path

Searched refs:v4l2_subdev_state_get_format (Results 1 – 25 of 173) sorted by relevance

1234567

/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_uds.c139 format = v4l2_subdev_state_get_format(state, UDS_PAD_SINK); in uds_enum_frame_size()
186 format = v4l2_subdev_state_get_format(sd_state, UDS_PAD_SINK); in uds_try_format()
219 format = v4l2_subdev_state_get_format(state, fmt->pad); in uds_set_format()
224 format = v4l2_subdev_state_get_format(state, UDS_PAD_SOURCE); in uds_set_format()
267 input = v4l2_subdev_state_get_format(state, UDS_PAD_SINK); in uds_configure_stream()
268 output = v4l2_subdev_state_get_format(state, UDS_PAD_SOURCE); in uds_configure_stream()
331 input = v4l2_subdev_state_get_format(state, UDS_PAD_SINK); in uds_max_width()
332 output = v4l2_subdev_state_get_format(state, UDS_PAD_SOURCE); in uds_max_width()
367 input = v4l2_subdev_state_get_format(state, UDS_PAD_SINK); in uds_partition()
368 output = v4l2_subdev_state_get_format(state, UDS_PAD_SOURCE); in uds_partition()
H A Dvsp1_sru.c134 format = v4l2_subdev_state_get_format(state, SRU_PAD_SINK); in sru_enum_frame_size()
187 format = v4l2_subdev_state_get_format(sd_state, SRU_PAD_SINK); in sru_try_format()
236 format = v4l2_subdev_state_get_format(state, fmt->pad); in sru_set_format()
241 format = v4l2_subdev_state_get_format(state, SRU_PAD_SOURCE); in sru_set_format()
279 input = v4l2_subdev_state_get_format(state, SRU_PAD_SINK); in sru_configure_stream()
280 output = v4l2_subdev_state_get_format(state, SRU_PAD_SOURCE); in sru_configure_stream()
307 input = v4l2_subdev_state_get_format(state, SRU_PAD_SINK); in sru_max_width()
308 output = v4l2_subdev_state_get_format(state, SRU_PAD_SOURCE); in sru_max_width()
331 input = v4l2_subdev_state_get_format(state, SRU_PAD_SINK); in sru_partition()
332 output = v4l2_subdev_state_get_format(state, SRU_PAD_SOURCE); in sru_partition()
H A Dvsp1_brx.c115 format = v4l2_subdev_state_get_format(sd_state, in brx_try_format()
146 format = v4l2_subdev_state_get_format(state, fmt->pad); in brx_set_format()
165 format = v4l2_subdev_state_get_format(state, i); in brx_set_format()
237 format = v4l2_subdev_state_get_format(state, brx->entity.source_pad); in brx_set_selection()
245 format = v4l2_subdev_state_get_format(state, sel->pad); in brx_set_selection()
285 format = v4l2_subdev_state_get_format(state, brx->entity.source_pad); in brx_configure_stream()
H A Dvsp1_rwpf.c76 format = v4l2_subdev_state_get_format(state, fmt->pad); in vsp1_rwpf_set_format()
110 format = v4l2_subdev_state_get_format(state, RWPF_PAD_SOURCE); in vsp1_rwpf_set_format()
153 format = v4l2_subdev_state_get_format(state, RWPF_PAD_SINK); in vsp1_rwpf_get_selection()
199 format = v4l2_subdev_state_get_format(state, RWPF_PAD_SINK); in vsp1_rwpf_set_selection()
223 format = v4l2_subdev_state_get_format(state, RWPF_PAD_SOURCE); in vsp1_rwpf_set_selection()
H A Dvsp1_entity.c154 fmt->format = *v4l2_subdev_state_get_format(state, fmt->pad); in vsp1_subdev_get_pad_format()
201 format = v4l2_subdev_state_get_format(state, 0); in vsp1_subdev_enum_mbus_code()
239 format = v4l2_subdev_state_get_format(state, fse->pad); in vsp1_subdev_enum_frame_size()
309 format = v4l2_subdev_state_get_format(state, fmt->pad); in vsp1_subdev_set_pad_format()
337 format = v4l2_subdev_state_get_format(state, entity->source_pad); in vsp1_subdev_set_pad_format()
H A Dvsp1_hsit.c81 format = v4l2_subdev_state_get_format(state, fmt->pad); in hsit_set_format()
104 format = v4l2_subdev_state_get_format(state, HSIT_PAD_SOURCE); in hsit_set_format()
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-byteproc.c171 mf = v4l2_subdev_state_get_format(sd_state, i); in dcmipp_byteproc_init_state()
206 sink_fmt = v4l2_subdev_state_get_format(sd_state, 0); in dcmipp_byteproc_enum_mbus_code()
249 mf = v4l2_subdev_state_get_format(sd_state, fmt->pad); in dcmipp_byteproc_set_fmt()
255 fmt->format = *v4l2_subdev_state_get_format(sd_state, 0); in dcmipp_byteproc_set_fmt()
266 *v4l2_subdev_state_get_format(sd_state, 1) = fmt->format; in dcmipp_byteproc_set_fmt()
297 sink_fmt = v4l2_subdev_state_get_format(sd_state, 0); in dcmipp_byteproc_get_selection()
357 mf = v4l2_subdev_state_get_format(sd_state, 1); in dcmipp_byteproc_set_selection()
365 mf = v4l2_subdev_state_get_format(sd_state, 0); in dcmipp_byteproc_set_selection()
370 mf = v4l2_subdev_state_get_format(sd_state, 1); in dcmipp_byteproc_set_selection()
405 sink_fmt = v4l2_subdev_state_get_format(state, 0); in dcmipp_byteproc_configure_scale_crop()
H A Ddcmipp-parallel.c154 mf = v4l2_subdev_state_get_format(sd_state, i); in dcmipp_par_init_state()
236 mf = v4l2_subdev_state_get_format(sd_state, fmt->pad); in dcmipp_par_set_fmt()
256 mf = v4l2_subdev_state_get_format(sd_state, 1); in dcmipp_par_set_fmt()
310 sink_fmt = v4l2_subdev_state_get_format(state, 0); in dcmipp_par_configure()
311 src_fmt = v4l2_subdev_state_get_format(state, 1); in dcmipp_par_configure()
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c88 mf = v4l2_subdev_state_get_format(sd_state, i); in vimc_scaler_init_state()
153 fmt = v4l2_subdev_state_get_format(sd_state, format->pad); in vimc_scaler_set_fmt()
197 src_fmt = v4l2_subdev_state_get_format(sd_state, VIMC_SCALER_SRC); in vimc_scaler_set_fmt()
220 sink_fmt = v4l2_subdev_state_get_format(sd_state, VIMC_SCALER_SINK); in vimc_scaler_get_selection()
257 sink_fmt = v4l2_subdev_state_get_format(sd_state, VIMC_SCALER_SINK); in vimc_scaler_set_selection()
289 format = v4l2_subdev_state_get_format(state, VIMC_SCALER_SINK); in vimc_scaler_s_stream()
294 format = v4l2_subdev_state_get_format(state, VIMC_SCALER_SRC); in vimc_scaler_s_stream()
H A Dvimc-debayer.c168 mf = v4l2_subdev_state_get_format(sd_state, 0); in vimc_debayer_init_state()
171 mf = v4l2_subdev_state_get_format(sd_state, 1); in vimc_debayer_init_state()
263 format = v4l2_subdev_state_get_format(sd_state, 0); in vimc_debayer_set_fmt()
280 format = v4l2_subdev_state_get_format(sd_state, 1); in vimc_debayer_set_fmt()
331 sink_fmt = v4l2_subdev_state_get_format(state, 0); in vimc_debayer_s_stream()
332 src_fmt = v4l2_subdev_state_get_format(state, 1); in vimc_debayer_s_stream()
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-isp.c215 sink_frm = v4l2_subdev_state_get_format(sd_state, in rkisp1_config_isp()
219 src_frm = v4l2_subdev_state_get_format(sd_state, in rkisp1_config_isp()
314 src_frm = v4l2_subdev_state_get_format(sd_state, in rkisp1_config_isp()
456 src_fmt = v4l2_subdev_state_get_format(sd_state, in rkisp1_isp_start()
557 sink_fmt = v4l2_subdev_state_get_format(sd_state, in rkisp1_isp_init_state()
575 src_fmt = v4l2_subdev_state_get_format(sd_state, in rkisp1_isp_init_state()
589 sink_fmt = v4l2_subdev_state_get_format(sd_state, in rkisp1_isp_init_state()
591 src_fmt = v4l2_subdev_state_get_format(sd_state, in rkisp1_isp_init_state()
613 sink_fmt = v4l2_subdev_state_get_format(sd_state, in rkisp1_isp_set_src_fmt()
615 src_fmt = v4l2_subdev_state_get_format(sd_state, in rkisp1_isp_set_src_fmt()
[all …]
H A Drkisp1-resizer.c146 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SINK); in rkisp1_dcrop_config()
276 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SINK); in rkisp1_rsz_config()
277 src_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SRC); in rkisp1_rsz_config()
385 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SRC); in rkisp1_rsz_init_state()
401 src_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SINK); in rkisp1_rsz_init_state()
416 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SINK); in rkisp1_rsz_set_src_fmt()
417 src_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SRC); in rkisp1_rsz_set_src_fmt()
444 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SINK); in rkisp1_rsz_set_sink_crop()
480 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SINK); in rkisp1_rsz_set_sink_fmt()
481 src_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_RSZ_PAD_SRC); in rkisp1_rsz_set_sink_fmt()
[all …]
H A Drkisp1-csi.c260 sink_fmt = v4l2_subdev_state_get_format(sd_state, in rkisp1_csi_enum_mbus_code()
293 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_CSI_PAD_SINK); in rkisp1_csi_init_state()
294 src_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_CSI_PAD_SRC); in rkisp1_csi_init_state()
318 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_CSI_PAD_SINK); in rkisp1_csi_set_fmt()
338 src_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_CSI_PAD_SRC); in rkisp1_csi_set_fmt()
391 sink_fmt = v4l2_subdev_state_get_format(sd_state, RKISP1_CSI_PAD_SINK); in rkisp1_csi_s_stream()
/linux/drivers/media/i2c/adv748x/
H A Dadv748x-csi2.c87 fmt = v4l2_subdev_state_get_format(state, ADV748X_CSI2_SINK); in adv748x_csi2_init_state()
90 fmt = v4l2_subdev_state_get_format(state, ADV748X_CSI2_SOURCE); in adv748x_csi2_init_state()
198 fmt = v4l2_subdev_state_get_format(sd_state, ADV748X_CSI2_SINK); in adv748x_csi2_enum_mbus_code()
245 mbusformat = v4l2_subdev_state_get_format(sd_state, sdformat->pad); in adv748x_csi2_set_format()
249 mbusformat = v4l2_subdev_state_get_format(sd_state, ADV748X_CSI2_SOURCE); in adv748x_csi2_set_format()
/linux/drivers/media/platform/
H A Dvideo-mux.c92 source_mbusformat = v4l2_subdev_state_get_format(sd_state, in video_mux_link_setup()
94 *source_mbusformat = *v4l2_subdev_state_get_format(sd_state, in video_mux_link_setup()
157 mbusformat = v4l2_subdev_state_get_format(sd_state, sdformat->pad); in video_mux_set_format()
161 source_mbusformat = v4l2_subdev_state_get_format(sd_state, source_pad); in video_mux_set_format()
271 sdformat->format = *v4l2_subdev_state_get_format(sd_state, in video_mux_set_format()
295 mbusformat = v4l2_subdev_state_get_format(sd_state, i); in video_mux_init_state()
/linux/drivers/staging/media/starfive/camss/
H A Dstf-isp.c66 fmt = v4l2_subdev_state_get_format(sd_state, STF_ISP_PAD_SINK); in isp_set_stream()
128 sink_fmt = v4l2_subdev_state_get_format(state, in isp_enum_mbus_code()
147 format = v4l2_subdev_state_get_format(state, fmt->pad); in isp_set_format()
185 v4l2_subdev_state_get_format(state, STF_ISP_PAD_SINK); in isp_try_crop()
208 fmt.format = *v4l2_subdev_state_get_format(state, in isp_get_selection()
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-scaler.c36 v4l2_try_fmt = v4l2_subdev_state_get_format(sd_state, in isc_scaler_get_fmt()
77 v4l2_try_fmt = v4l2_subdev_state_get_format(sd_state, in isc_scaler_set_fmt()
81 v4l2_try_fmt = v4l2_subdev_state_get_format(sd_state, in isc_scaler_set_fmt()
152 v4l2_subdev_state_get_format(sd_state, 0); in isc_scaler_init_state()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp.c129 *mf = *v4l2_subdev_state_get_format(sd_state, fmt->pad); in fimc_isp_subdev_get_fmt()
175 format = v4l2_subdev_state_get_format(sd_state, in __isp_subdev_try_format()
209 mf = v4l2_subdev_state_get_format(sd_state, fmt->pad); in fimc_isp_subdev_set_fmt()
222 mf = v4l2_subdev_state_get_format(sd_state, in fimc_isp_subdev_set_fmt()
376 format = v4l2_subdev_state_get_format(fh->state, FIMC_ISP_SD_PAD_SINK); in fimc_isp_subdev_open()
379 format = v4l2_subdev_state_get_format(fh->state, in fimc_isp_subdev_open()
385 format = v4l2_subdev_state_get_format(fh->state, in fimc_isp_subdev_open()
/linux/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-ip.c43 fmt = v4l2_subdev_state_get_format(state, 1); in rzg2l_cru_ip_get_src_fmt()
103 src_format = v4l2_subdev_state_get_format(state, RZG2L_CRU_IP_SOURCE); in rzg2l_cru_ip_set_format()
109 sink_format = v4l2_subdev_state_get_format(state, fmt->pad); in rzg2l_cru_ip_set_format()
/linux/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c843 *fs = s5c73m3_find_frame_size(v4l2_subdev_state_get_format(sd_state, OIF_ISP_PAD), in s5c73m3_oif_try_format()
1006 fmt->format = *v4l2_subdev_state_get_format(sd_state, in s5c73m3_get_fmt()
1041 fmt->format = *v4l2_subdev_state_get_format(sd_state, in s5c73m3_oif_get_fmt()
1085 mf = v4l2_subdev_state_get_format(sd_state, fmt->pad); in s5c73m3_set_fmt()
1124 mf = v4l2_subdev_state_get_format(sd_state, fmt->pad); in s5c73m3_oif_set_fmt()
1127 mf = v4l2_subdev_state_get_format(sd_state, in s5c73m3_oif_set_fmt()
1276 mf = v4l2_subdev_state_get_format(sd_state, in s5c73m3_oif_enum_frame_size()
1332 mf = v4l2_subdev_state_get_format(fh->state, S5C73M3_ISP_PAD); in s5c73m3_open()
1336 mf = v4l2_subdev_state_get_format(fh->state, S5C73M3_JPEG_PAD); in s5c73m3_open()
1347 mf = v4l2_subdev_state_get_format(fh->state, OIF_ISP_PAD); in s5c73m3_oif_open()
[all …]
/linux/drivers/media/platform/nxp/
H A Dimx8mq-mipi-csi2.c299 fmt = v4l2_subdev_state_get_format(sd_state, MIPI_CSI2_PAD_SINK); in imx8mq_mipi_csi_calc_hs_settle()
446 fmt_sink = v4l2_subdev_state_get_format(sd_state, MIPI_CSI2_PAD_SINK); in imx8mq_mipi_csi_init_state()
447 fmt_source = v4l2_subdev_state_get_format(sd_state, in imx8mq_mipi_csi_init_state()
481 fmt = v4l2_subdev_state_get_format(sd_state, code->pad); in imx8mq_mipi_csi_enum_mbus_code()
518 fmt = v4l2_subdev_state_get_format(sd_state, sdformat->pad); in imx8mq_mipi_csi_set_fmt()
527 fmt = v4l2_subdev_state_get_format(sd_state, MIPI_CSI2_PAD_SOURCE); in imx8mq_mipi_csi_set_fmt()
/linux/drivers/media/platform/xilinx/
H A Dxilinx-vip.c263 format = v4l2_subdev_state_get_format(sd_state, code->pad); in xvip_enum_mbus_code()
298 format = v4l2_subdev_state_get_format(sd_state, fse->pad); in xvip_enum_frame_size()
/linux/drivers/media/i2c/
H A Dmt9m114.c799 pa_format = v4l2_subdev_state_get_format(pa_state, 0); in mt9m114_configure()
802 ifp_format = v4l2_subdev_state_get_format(ifp_state, 1); in mt9m114_configure()
1048 format = v4l2_subdev_state_get_format(state, 0); in mt9m114_pa_s_ctrl()
1168 format = v4l2_subdev_state_get_format(state, 0); in mt9m114_pa_init_state()
1224 format = v4l2_subdev_state_get_format(state, fmt->pad); in mt9m114_pa_set_fmt()
1275 format = v4l2_subdev_state_get_format(state, sel->pad); in mt9m114_pa_set_selection()
1409 format = v4l2_subdev_state_get_format(state, 0); in mt9m114_pa_init()
1655 format = v4l2_subdev_state_get_format(state, 0); in mt9m114_ifp_init_state()
1680 format = v4l2_subdev_state_get_format(state, 1); in mt9m114_ifp_init_state()
1800 format = v4l2_subdev_state_get_format(state, fmt->pad); in mt9m114_ifp_set_fmt()
[all …]
H A Dst-mipid02.c488 fmt = v4l2_subdev_state_get_format(state, MIPID02_SINK_0); in mipid02_stream_enable()
571 *v4l2_subdev_state_get_format(state, MIPID02_SINK_0) = default_fmt; in mipid02_init_state()
573 *v4l2_subdev_state_get_format(state, MIPID02_SOURCE) = default_fmt; in mipid02_init_state()
594 sink_fmt = v4l2_subdev_state_get_format(sd_state, in mipid02_enum_mbus_code()
622 pad_fmt = v4l2_subdev_state_get_format(sd_state, fmt->pad); in mipid02_set_fmt()
633 pad_fmt = v4l2_subdev_state_get_format(sd_state, in mipid02_set_fmt()
/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c274 fmt = v4l2_subdev_state_get_format(sd_state, CSI_SUBDEV_SINK); in sun4i_csi_subdev_init_state()
288 subdev_fmt = v4l2_subdev_state_get_format(sd_state, fmt->pad); in sun4i_csi_subdev_get_fmt()
305 subdev_fmt = v4l2_subdev_state_get_format(sd_state, fmt->pad); in sun4i_csi_subdev_set_fmt()

1234567