Home
last modified time | relevance | path

Searched refs:fse (Results 1 – 25 of 212) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/drivers/media/platform/xilinx/
H A Dxilinx-vip.c288 struct v4l2_subdev_frame_size_enum *fse) in xvip_enum_frame_size() argument
295 if (fse->which == V4L2_SUBDEV_FORMAT_ACTIVE) in xvip_enum_frame_size()
298 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xvip_enum_frame_size()
300 if (fse->index || fse->code != format->code) in xvip_enum_frame_size()
303 if (fse->pad == XVIP_PAD_SINK) { in xvip_enum_frame_size()
304 fse->min_width = XVIP_MIN_WIDTH; in xvip_enum_frame_size()
305 fse->max_width = XVIP_MAX_WIDTH; in xvip_enum_frame_size()
306 fse->min_height = XVIP_MIN_HEIGHT; in xvip_enum_frame_size()
307 fse->max_height = XVIP_MAX_HEIGHT; in xvip_enum_frame_size()
312 fse->min_width = format->width; in xvip_enum_frame_size()
[all …]
H A Dxilinx-tpg.c322 struct v4l2_subdev_frame_size_enum *fse) in xtpg_enum_frame_size() argument
326 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xtpg_enum_frame_size()
328 if (fse->index || fse->code != format->code) in xtpg_enum_frame_size()
334 if (fse->pad == 0) { in xtpg_enum_frame_size()
335 fse->min_width = XVIP_MIN_WIDTH; in xtpg_enum_frame_size()
336 fse->max_width = XVIP_MAX_WIDTH; in xtpg_enum_frame_size()
337 fse->min_height = XVIP_MIN_HEIGHT; in xtpg_enum_frame_size()
338 fse->max_height = XVIP_MAX_HEIGHT; in xtpg_enum_frame_size()
340 fse->min_width = format->width; in xtpg_enum_frame_size()
341 fse->max_width = format->width; in xtpg_enum_frame_size()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A Dvsp1_sru.c123 struct v4l2_subdev_frame_size_enum *fse) in sru_enum_frame_size() argument
130 config = vsp1_entity_get_pad_config(&sru->entity, cfg, fse->which); in sru_enum_frame_size()
138 if (fse->index || fse->code != format->code) { in sru_enum_frame_size()
143 if (fse->pad == SRU_PAD_SINK) { in sru_enum_frame_size()
144 fse->min_width = SRU_MIN_SIZE; in sru_enum_frame_size()
145 fse->max_width = SRU_MAX_SIZE; in sru_enum_frame_size()
146 fse->min_height = SRU_MIN_SIZE; in sru_enum_frame_size()
147 fse->max_height = SRU_MAX_SIZE; in sru_enum_frame_size()
149 fse->min_width = format->width; in sru_enum_frame_size()
150 fse->min_height = format->height; in sru_enum_frame_size()
[all …]
H A Dvsp1_uds.c128 struct v4l2_subdev_frame_size_enum *fse) in uds_enum_frame_size() argument
135 config = vsp1_entity_get_pad_config(&uds->entity, cfg, fse->which); in uds_enum_frame_size()
144 if (fse->index || fse->code != format->code) { in uds_enum_frame_size()
149 if (fse->pad == UDS_PAD_SINK) { in uds_enum_frame_size()
150 fse->min_width = UDS_MIN_SIZE; in uds_enum_frame_size()
151 fse->max_width = UDS_MAX_SIZE; in uds_enum_frame_size()
152 fse->min_height = UDS_MIN_SIZE; in uds_enum_frame_size()
153 fse->max_height = UDS_MAX_SIZE; in uds_enum_frame_size()
155 uds_output_limits(format->width, &fse->min_width, in uds_enum_frame_size()
156 &fse->max_width); in uds_enum_frame_size()
[all …]
H A Dvsp1_entity.c294 struct v4l2_subdev_frame_size_enum *fse, in vsp1_subdev_enum_frame_size() argument
303 config = vsp1_entity_get_pad_config(entity, cfg, fse->which); in vsp1_subdev_enum_frame_size()
307 format = vsp1_entity_get_pad_format(entity, config, fse->pad); in vsp1_subdev_enum_frame_size()
311 if (fse->index || fse->code != format->code) { in vsp1_subdev_enum_frame_size()
316 if (fse->pad == 0) { in vsp1_subdev_enum_frame_size()
317 fse->min_width = min_width; in vsp1_subdev_enum_frame_size()
318 fse->max_width = max_width; in vsp1_subdev_enum_frame_size()
319 fse->min_height = min_height; in vsp1_subdev_enum_frame_size()
320 fse->max_height = max_height; in vsp1_subdev_enum_frame_size()
326 fse->min_width = format->width; in vsp1_subdev_enum_frame_size()
[all …]
H A Dvsp1_brx.c82 struct v4l2_subdev_frame_size_enum *fse) in brx_enum_frame_size() argument
84 if (fse->index) in brx_enum_frame_size()
87 if (fse->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in brx_enum_frame_size()
88 fse->code != MEDIA_BUS_FMT_AYUV8_1X32) in brx_enum_frame_size()
91 fse->min_width = BRX_MIN_SIZE; in brx_enum_frame_size()
92 fse->max_width = BRX_MAX_SIZE; in brx_enum_frame_size()
93 fse->min_height = BRX_MIN_SIZE; in brx_enum_frame_size()
94 fse->max_height = BRX_MAX_SIZE; in brx_enum_frame_size()
/OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/
H A Dcal-video.c300 struct v4l2_subdev_frame_size_enum fse; in cal_try_fmt_vid_cap() local
318 fse.pad = 0; in cal_try_fmt_vid_cap()
319 fse.code = fmt->code; in cal_try_fmt_vid_cap()
320 fse.which = V4L2_SUBDEV_FORMAT_ACTIVE; in cal_try_fmt_vid_cap()
321 for (fse.index = 0; ; fse.index++) { in cal_try_fmt_vid_cap()
323 NULL, &fse); in cal_try_fmt_vid_cap()
327 if ((f->fmt.pix.width == fse.max_width) && in cal_try_fmt_vid_cap()
328 (f->fmt.pix.height == fse.max_height)) { in cal_try_fmt_vid_cap()
331 } else if ((f->fmt.pix.width >= fse.min_width) && in cal_try_fmt_vid_cap()
332 (f->fmt.pix.width <= fse.max_width) && in cal_try_fmt_vid_cap()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/omap4iss/
H A Diss_ipipe.c274 struct v4l2_subdev_frame_size_enum *fse) in ipipe_enum_frame_size() argument
279 if (fse->index != 0) in ipipe_enum_frame_size()
282 format.code = fse->code; in ipipe_enum_frame_size()
285 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
286 fse->min_width = format.width; in ipipe_enum_frame_size()
287 fse->min_height = format.height; in ipipe_enum_frame_size()
289 if (format.code != fse->code) in ipipe_enum_frame_size()
292 format.code = fse->code; in ipipe_enum_frame_size()
295 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
296 fse->max_width = format.width; in ipipe_enum_frame_size()
[all …]
H A Diss_ipipeif.c480 struct v4l2_subdev_frame_size_enum *fse) in ipipeif_enum_frame_size() argument
485 if (fse->index != 0) in ipipeif_enum_frame_size()
488 format.code = fse->code; in ipipeif_enum_frame_size()
491 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
492 fse->min_width = format.width; in ipipeif_enum_frame_size()
493 fse->min_height = format.height; in ipipeif_enum_frame_size()
495 if (format.code != fse->code) in ipipeif_enum_frame_size()
498 format.code = fse->code; in ipipeif_enum_frame_size()
501 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
502 fse->max_width = format.width; in ipipeif_enum_frame_size()
[all …]
H A Diss_resizer.c541 struct v4l2_subdev_frame_size_enum *fse) in resizer_enum_frame_size() argument
546 if (fse->index != 0) in resizer_enum_frame_size()
549 format.code = fse->code; in resizer_enum_frame_size()
552 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
553 fse->min_width = format.width; in resizer_enum_frame_size()
554 fse->min_height = format.height; in resizer_enum_frame_size()
556 if (format.code != fse->code) in resizer_enum_frame_size()
559 format.code = fse->code; in resizer_enum_frame_size()
562 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
563 fse->max_width = format.width; in resizer_enum_frame_size()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c1218 struct v4l2_subdev_frame_size_enum *fse) in s5c73m3_enum_frame_size() argument
1222 if (fse->pad == S5C73M3_ISP_PAD) { in s5c73m3_enum_frame_size()
1223 if (fse->code != S5C73M3_ISP_FMT) in s5c73m3_enum_frame_size()
1227 if (fse->code != S5C73M3_JPEG_FMT) in s5c73m3_enum_frame_size()
1232 if (fse->index >= s5c73m3_resolutions_len[idx]) in s5c73m3_enum_frame_size()
1235 fse->min_width = s5c73m3_resolutions[idx][fse->index].width; in s5c73m3_enum_frame_size()
1236 fse->max_width = fse->min_width; in s5c73m3_enum_frame_size()
1237 fse->max_height = s5c73m3_resolutions[idx][fse->index].height; in s5c73m3_enum_frame_size()
1238 fse->min_height = fse->max_height; in s5c73m3_enum_frame_size()
1245 struct v4l2_subdev_frame_size_enum *fse) in s5c73m3_oif_enum_frame_size() argument
[all …]
/OK3568_Linux_fs/kernel/fs/notify/inotify/
H A Dinotify.h7 struct fsnotify_event fse; member
20 static inline struct inotify_event_info *INOTIFY_E(struct fsnotify_event *fse) in INOTIFY_E() argument
22 return container_of(fse, struct inotify_event_info, fse); in INOTIFY_E()
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy.c418 struct v4l2_subdev_frame_size_enum *fse) in csiphy_enum_frame_size() argument
423 if (fse->index != 0) in csiphy_enum_frame_size()
426 format.code = fse->code; in csiphy_enum_frame_size()
429 csiphy_try_format(csiphy, cfg, fse->pad, &format, fse->which); in csiphy_enum_frame_size()
430 fse->min_width = format.width; in csiphy_enum_frame_size()
431 fse->min_height = format.height; in csiphy_enum_frame_size()
433 if (format.code != fse->code) in csiphy_enum_frame_size()
436 format.code = fse->code; in csiphy_enum_frame_size()
439 csiphy_try_format(csiphy, cfg, fse->pad, &format, fse->which); in csiphy_enum_frame_size()
440 fse->max_width = format.width; in csiphy_enum_frame_size()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c132 struct v4l2_subdev_frame_size_enum *fse) in vimc_sca_enum_frame_size() argument
136 if (fse->index) in vimc_sca_enum_frame_size()
140 vpix = vimc_pix_map_by_code(fse->code); in vimc_sca_enum_frame_size()
144 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_sca_enum_frame_size()
145 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_sca_enum_frame_size()
147 if (VIMC_IS_SINK(fse->pad)) { in vimc_sca_enum_frame_size()
148 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_sca_enum_frame_size()
149 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_sca_enum_frame_size()
151 fse->max_width = VIMC_FRAME_MAX_WIDTH * MAX_ZOOM; in vimc_sca_enum_frame_size()
152 fse->max_height = VIMC_FRAME_MAX_HEIGHT * MAX_ZOOM; in vimc_sca_enum_frame_size()
H A Dvimc-debayer.c192 struct v4l2_subdev_frame_size_enum *fse) in vimc_deb_enum_frame_size() argument
194 if (fse->index) in vimc_deb_enum_frame_size()
197 if (VIMC_IS_SINK(fse->pad)) { in vimc_deb_enum_frame_size()
199 vimc_deb_pix_map_by_code(fse->code); in vimc_deb_enum_frame_size()
203 } else if (!vimc_deb_src_code_is_valid(fse->code)) { in vimc_deb_enum_frame_size()
207 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_deb_enum_frame_size()
208 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_deb_enum_frame_size()
209 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_deb_enum_frame_size()
210 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_deb_enum_frame_size()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dvirtual-camera.c290 struct v4l2_subdev_frame_size_enum *fse) in vcamera_enum_frame_sizes() argument
292 unsigned int index = fse->index; in vcamera_enum_frame_sizes()
299 if (fse->code == supported_formats[i].code) in vcamera_enum_frame_sizes()
302 fse->code = supported_formats[i].code; in vcamera_enum_frame_sizes()
304 fse->min_width = supported_modes[index].width; in vcamera_enum_frame_sizes()
305 fse->max_width = fse->min_width; in vcamera_enum_frame_sizes()
306 fse->max_height = supported_modes[index].height; in vcamera_enum_frame_sizes()
307 fse->min_height = fse->max_height; in vcamera_enum_frame_sizes()
H A Dgc0312.c602 struct v4l2_subdev_frame_size_enum *fse) in gc0312_enum_frame_sizes() argument
609 if (fse->index >= ARRAY_SIZE(gc0312_framesizes)) in gc0312_enum_frame_sizes()
613 if (fse->code == gc0312_formats[i].code) in gc0312_enum_frame_sizes()
616 fse->code = gc0312_formats[i].code; in gc0312_enum_frame_sizes()
618 fse->min_width = gc0312_framesizes[fse->index].width; in gc0312_enum_frame_sizes()
619 fse->max_width = fse->min_width; in gc0312_enum_frame_sizes()
620 fse->max_height = gc0312_framesizes[fse->index].height; in gc0312_enum_frame_sizes()
621 fse->min_height = fse->max_height; in gc0312_enum_frame_sizes()
H A Dgc032a.c609 struct v4l2_subdev_frame_size_enum *fse) in gc032a_enum_frame_sizes() argument
616 if (fse->index >= ARRAY_SIZE(gc032a_framesizes)) in gc032a_enum_frame_sizes()
620 if (fse->code == gc032a_formats[i].code) in gc032a_enum_frame_sizes()
623 fse->code = gc032a_formats[i].code; in gc032a_enum_frame_sizes()
625 fse->min_width = gc032a_framesizes[fse->index].width; in gc032a_enum_frame_sizes()
626 fse->max_width = fse->min_width; in gc032a_enum_frame_sizes()
627 fse->max_height = gc032a_framesizes[fse->index].height; in gc032a_enum_frame_sizes()
628 fse->min_height = fse->max_height; in gc032a_enum_frame_sizes()
H A Dimx290.c532 struct v4l2_subdev_frame_size_enum *fse) in imx290_enum_frame_size() argument
537 if ((fse->code != imx290_formats[0].code) && in imx290_enum_frame_size()
538 (fse->code != imx290_formats[1].code)) in imx290_enum_frame_size()
541 if (fse->index >= imx290_modes_num(imx290)) in imx290_enum_frame_size()
544 fse->min_width = imx290_modes[fse->index].width; in imx290_enum_frame_size()
545 fse->max_width = imx290_modes[fse->index].width; in imx290_enum_frame_size()
546 fse->min_height = imx290_modes[fse->index].height; in imx290_enum_frame_size()
547 fse->max_height = imx290_modes[fse->index].height; in imx290_enum_frame_size()
H A Dadv7181.c197 struct v4l2_subdev_frame_size_enum *fse) in adv7181_enum_frame_sizes() argument
199 u32 index = fse->index; in adv7181_enum_frame_sizes()
204 fse->code = MEDIA_BUS_FMT_UYVY8_2X8; in adv7181_enum_frame_sizes()
206 fse->min_width = supported_modes[index].width; in adv7181_enum_frame_sizes()
207 fse->max_width = supported_modes[index].width; in adv7181_enum_frame_sizes()
208 fse->max_height = supported_modes[index].height; in adv7181_enum_frame_sizes()
209 fse->min_height = supported_modes[index].height; in adv7181_enum_frame_sizes()
H A Dgc2035.c912 struct v4l2_subdev_frame_size_enum *fse) in gc2035_enum_frame_sizes() argument
919 if (fse->index >= ARRAY_SIZE(gc2035_framesizes)) in gc2035_enum_frame_sizes()
923 if (fse->code == gc2035_formats[i].code) in gc2035_enum_frame_sizes()
926 fse->code = gc2035_formats[i].code; in gc2035_enum_frame_sizes()
928 fse->min_width = gc2035_framesizes[fse->index].width; in gc2035_enum_frame_sizes()
929 fse->max_width = fse->min_width; in gc2035_enum_frame_sizes()
930 fse->max_height = gc2035_framesizes[fse->index].height; in gc2035_enum_frame_sizes()
931 fse->min_height = fse->max_height; in gc2035_enum_frame_sizes()
/OK3568_Linux_fs/kernel/fs/notify/fanotify/
H A Dfanotify.h141 struct fsnotify_event fse; member
150 fsnotify_init_event(&event->fse, id); in fanotify_init_event()
267 static inline struct fanotify_event *FANOTIFY_E(struct fsnotify_event *fse) in FANOTIFY_E() argument
269 return container_of(fse, struct fanotify_event, fse); in FANOTIFY_E()
/OK3568_Linux_fs/kernel/drivers/staging/media/tegra-video/
H A Dcsi.c131 struct v4l2_subdev_frame_size_enum *fse) in csi_enum_framesizes() argument
138 if (fse->index >= ARRAY_SIZE(tegra_csi_tpg_sizes)) in csi_enum_framesizes()
142 if (fse->code == tegra_csi_tpg_fmts[i].code) in csi_enum_framesizes()
148 fse->min_width = tegra_csi_tpg_sizes[fse->index].width; in csi_enum_framesizes()
149 fse->max_width = tegra_csi_tpg_sizes[fse->index].width; in csi_enum_framesizes()
150 fse->min_height = tegra_csi_tpg_sizes[fse->index].height; in csi_enum_framesizes()
151 fse->max_height = tegra_csi_tpg_sizes[fse->index].height; in csi_enum_framesizes()
/OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/
H A Dispccp2.c716 struct v4l2_subdev_frame_size_enum *fse) in ccp2_enum_frame_size() argument
721 if (fse->index != 0) in ccp2_enum_frame_size()
724 format.code = fse->code; in ccp2_enum_frame_size()
727 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
728 fse->min_width = format.width; in ccp2_enum_frame_size()
729 fse->min_height = format.height; in ccp2_enum_frame_size()
731 if (format.code != fse->code) in ccp2_enum_frame_size()
734 format.code = fse->code; in ccp2_enum_frame_size()
737 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
738 fse->max_width = format.width; in ccp2_enum_frame_size()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/imx/
H A Dimx-media-capture.c87 struct v4l2_subdev_frame_size_enum fse = { in capture_enum_framesizes() local
98 fse.code = cc->codes ? cc->codes[0] : 0; in capture_enum_framesizes()
100 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_size, NULL, &fse); in capture_enum_framesizes()
104 if (fse.min_width == fse.max_width && in capture_enum_framesizes()
105 fse.min_height == fse.max_height) { in capture_enum_framesizes()
107 fsize->discrete.width = fse.min_width; in capture_enum_framesizes()
108 fsize->discrete.height = fse.min_height; in capture_enum_framesizes()
111 fsize->stepwise.min_width = fse.min_width; in capture_enum_framesizes()
112 fsize->stepwise.max_width = fse.max_width; in capture_enum_framesizes()
113 fsize->stepwise.min_height = fse.min_height; in capture_enum_framesizes()
[all …]

123456789