Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/media/platform/xilinx/
Dxilinx-vip.c291 struct v4l2_subdev_frame_size_enum *fse) in xvip_enum_frame_size() argument
298 if (fse->which == V4L2_SUBDEV_FORMAT_ACTIVE) in xvip_enum_frame_size()
301 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xvip_enum_frame_size()
303 if (fse->index || fse->code != format->code) in xvip_enum_frame_size()
306 if (fse->pad == XVIP_PAD_SINK) { in xvip_enum_frame_size()
307 fse->min_width = XVIP_MIN_WIDTH; in xvip_enum_frame_size()
308 fse->max_width = XVIP_MAX_WIDTH; in xvip_enum_frame_size()
309 fse->min_height = XVIP_MIN_HEIGHT; in xvip_enum_frame_size()
310 fse->max_height = XVIP_MAX_HEIGHT; in xvip_enum_frame_size()
315 fse->min_width = format->width; in xvip_enum_frame_size()
[all …]
Dxilinx-tpg.c325 struct v4l2_subdev_frame_size_enum *fse) in xtpg_enum_frame_size() argument
329 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xtpg_enum_frame_size()
331 if (fse->index || fse->code != format->code) in xtpg_enum_frame_size()
337 if (fse->pad == 0) { in xtpg_enum_frame_size()
338 fse->min_width = XVIP_MIN_WIDTH; in xtpg_enum_frame_size()
339 fse->max_width = XVIP_MAX_WIDTH; in xtpg_enum_frame_size()
340 fse->min_height = XVIP_MIN_HEIGHT; in xtpg_enum_frame_size()
341 fse->max_height = XVIP_MAX_HEIGHT; in xtpg_enum_frame_size()
343 fse->min_width = format->width; in xtpg_enum_frame_size()
344 fse->max_width = format->width; in xtpg_enum_frame_size()
[all …]
/Linux-v4.19/fs/notify/fanotify/
Dfanotify.h16 struct fsnotify_event fse; member
39 FANOTIFY_PE(struct fsnotify_event *fse) in FANOTIFY_PE() argument
41 return container_of(fse, struct fanotify_perm_event_info, fae.fse); in FANOTIFY_PE()
50 static inline struct fanotify_event_info *FANOTIFY_E(struct fsnotify_event *fse) in FANOTIFY_E() argument
52 return container_of(fse, struct fanotify_event_info, fse); in FANOTIFY_E()
/Linux-v4.19/drivers/media/platform/vsp1/
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 …]
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 …]
Dvsp1_entity.c293 struct v4l2_subdev_frame_size_enum *fse, in vsp1_subdev_enum_frame_size() argument
302 config = vsp1_entity_get_pad_config(entity, cfg, fse->which); in vsp1_subdev_enum_frame_size()
306 format = vsp1_entity_get_pad_format(entity, config, fse->pad); in vsp1_subdev_enum_frame_size()
310 if (fse->index || fse->code != format->code) { in vsp1_subdev_enum_frame_size()
315 if (fse->pad == 0) { in vsp1_subdev_enum_frame_size()
316 fse->min_width = min_width; in vsp1_subdev_enum_frame_size()
317 fse->max_width = max_width; in vsp1_subdev_enum_frame_size()
318 fse->min_height = min_height; in vsp1_subdev_enum_frame_size()
319 fse->max_height = max_height; in vsp1_subdev_enum_frame_size()
325 fse->min_width = format->width; in vsp1_subdev_enum_frame_size()
[all …]
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()
/Linux-v4.19/fs/notify/inotify/
Dinotify.h7 struct fsnotify_event fse; member
19 static inline struct inotify_event_info *INOTIFY_E(struct fsnotify_event *fse) in INOTIFY_E() argument
21 return container_of(fse, struct inotify_event_info, fse); in INOTIFY_E()
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss_ipipe.c278 struct v4l2_subdev_frame_size_enum *fse) in ipipe_enum_frame_size() argument
283 if (fse->index != 0) in ipipe_enum_frame_size()
286 format.code = fse->code; in ipipe_enum_frame_size()
289 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
290 fse->min_width = format.width; in ipipe_enum_frame_size()
291 fse->min_height = format.height; in ipipe_enum_frame_size()
293 if (format.code != fse->code) in ipipe_enum_frame_size()
296 format.code = fse->code; in ipipe_enum_frame_size()
299 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
300 fse->max_width = format.width; in ipipe_enum_frame_size()
[all …]
Diss_ipipeif.c484 struct v4l2_subdev_frame_size_enum *fse) in ipipeif_enum_frame_size() argument
489 if (fse->index != 0) in ipipeif_enum_frame_size()
492 format.code = fse->code; in ipipeif_enum_frame_size()
495 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
496 fse->min_width = format.width; in ipipeif_enum_frame_size()
497 fse->min_height = format.height; in ipipeif_enum_frame_size()
499 if (format.code != fse->code) in ipipeif_enum_frame_size()
502 format.code = fse->code; in ipipeif_enum_frame_size()
505 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
506 fse->max_width = format.width; in ipipeif_enum_frame_size()
[all …]
Diss_resizer.c545 struct v4l2_subdev_frame_size_enum *fse) in resizer_enum_frame_size() argument
550 if (fse->index != 0) in resizer_enum_frame_size()
553 format.code = fse->code; in resizer_enum_frame_size()
556 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
557 fse->min_width = format.width; in resizer_enum_frame_size()
558 fse->min_height = format.height; in resizer_enum_frame_size()
560 if (format.code != fse->code) in resizer_enum_frame_size()
563 format.code = fse->code; in resizer_enum_frame_size()
566 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
567 fse->max_width = format.width; in resizer_enum_frame_size()
[all …]
/Linux-v4.19/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1226 struct v4l2_subdev_frame_size_enum *fse) in s5c73m3_enum_frame_size() argument
1230 if (fse->pad == S5C73M3_ISP_PAD) { in s5c73m3_enum_frame_size()
1231 if (fse->code != S5C73M3_ISP_FMT) in s5c73m3_enum_frame_size()
1235 if (fse->code != S5C73M3_JPEG_FMT) in s5c73m3_enum_frame_size()
1240 if (fse->index >= s5c73m3_resolutions_len[idx]) in s5c73m3_enum_frame_size()
1243 fse->min_width = s5c73m3_resolutions[idx][fse->index].width; in s5c73m3_enum_frame_size()
1244 fse->max_width = fse->min_width; in s5c73m3_enum_frame_size()
1245 fse->max_height = s5c73m3_resolutions[idx][fse->index].height; in s5c73m3_enum_frame_size()
1246 fse->min_height = fse->max_height; in s5c73m3_enum_frame_size()
1253 struct v4l2_subdev_frame_size_enum *fse) in s5c73m3_oif_enum_frame_size() argument
[all …]
/Linux-v4.19/drivers/media/platform/vimc/
Dvimc-scaler.c96 struct v4l2_subdev_frame_size_enum *fse) in vimc_sca_enum_frame_size() argument
100 if (fse->index) in vimc_sca_enum_frame_size()
104 vpix = vimc_pix_map_by_code(fse->code); in vimc_sca_enum_frame_size()
108 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_sca_enum_frame_size()
109 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_sca_enum_frame_size()
111 if (IS_SINK(fse->pad)) { in vimc_sca_enum_frame_size()
112 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_sca_enum_frame_size()
113 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_sca_enum_frame_size()
115 fse->max_width = VIMC_FRAME_MAX_WIDTH * MAX_ZOOM; in vimc_sca_enum_frame_size()
116 fse->max_height = VIMC_FRAME_MAX_HEIGHT * MAX_ZOOM; in vimc_sca_enum_frame_size()
Dvimc-debayer.c191 struct v4l2_subdev_frame_size_enum *fse) in vimc_deb_enum_frame_size() argument
195 if (fse->index) in vimc_deb_enum_frame_size()
198 if (IS_SINK(fse->pad)) { in vimc_deb_enum_frame_size()
200 vimc_deb_pix_map_by_code(fse->code); in vimc_deb_enum_frame_size()
204 } else if (fse->code != vdeb->src_code) { in vimc_deb_enum_frame_size()
208 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_deb_enum_frame_size()
209 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_deb_enum_frame_size()
210 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_deb_enum_frame_size()
211 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_deb_enum_frame_size()
Dvimc-sensor.c86 struct v4l2_subdev_frame_size_enum *fse) in vimc_sen_enum_frame_size() argument
90 if (fse->index) in vimc_sen_enum_frame_size()
94 vpix = vimc_pix_map_by_code(fse->code); in vimc_sen_enum_frame_size()
98 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_sen_enum_frame_size()
99 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_sen_enum_frame_size()
100 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_sen_enum_frame_size()
101 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_sen_enum_frame_size()
/Linux-v4.19/drivers/media/platform/qcom/camss/
Dcamss-csiphy.c416 struct v4l2_subdev_frame_size_enum *fse) in csiphy_enum_frame_size() argument
421 if (fse->index != 0) in csiphy_enum_frame_size()
424 format.code = fse->code; in csiphy_enum_frame_size()
427 csiphy_try_format(csiphy, cfg, fse->pad, &format, fse->which); in csiphy_enum_frame_size()
428 fse->min_width = format.width; in csiphy_enum_frame_size()
429 fse->min_height = format.height; in csiphy_enum_frame_size()
431 if (format.code != fse->code) in csiphy_enum_frame_size()
434 format.code = fse->code; in csiphy_enum_frame_size()
437 csiphy_try_format(csiphy, cfg, fse->pad, &format, fse->which); in csiphy_enum_frame_size()
438 fse->max_width = format.width; in csiphy_enum_frame_size()
[all …]
Dcamss-csid.c891 struct v4l2_subdev_frame_size_enum *fse) in csid_enum_frame_size() argument
896 if (fse->index != 0) in csid_enum_frame_size()
899 format.code = fse->code; in csid_enum_frame_size()
902 csid_try_format(csid, cfg, fse->pad, &format, fse->which); in csid_enum_frame_size()
903 fse->min_width = format.width; in csid_enum_frame_size()
904 fse->min_height = format.height; in csid_enum_frame_size()
906 if (format.code != fse->code) in csid_enum_frame_size()
909 format.code = fse->code; in csid_enum_frame_size()
912 csid_try_format(csid, cfg, fse->pad, &format, fse->which); in csid_enum_frame_size()
913 fse->max_width = format.width; in csid_enum_frame_size()
[all …]
/Linux-v4.19/drivers/staging/media/imx/
Dimx-media-capture.c89 struct v4l2_subdev_frame_size_enum fse = { in capture_enum_framesizes() local
100 fse.code = cc->codes[0]; in capture_enum_framesizes()
102 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_size, NULL, &fse); in capture_enum_framesizes()
106 if (fse.min_width == fse.max_width && in capture_enum_framesizes()
107 fse.min_height == fse.max_height) { in capture_enum_framesizes()
109 fsize->discrete.width = fse.min_width; in capture_enum_framesizes()
110 fsize->discrete.height = fse.min_height; in capture_enum_framesizes()
113 fsize->stepwise.min_width = fse.min_width; in capture_enum_framesizes()
114 fsize->stepwise.max_width = fse.max_width; in capture_enum_framesizes()
115 fsize->stepwise.min_height = fse.min_height; in capture_enum_framesizes()
[all …]
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispccp2.c719 struct v4l2_subdev_frame_size_enum *fse) in ccp2_enum_frame_size() argument
724 if (fse->index != 0) in ccp2_enum_frame_size()
727 format.code = fse->code; in ccp2_enum_frame_size()
730 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
731 fse->min_width = format.width; in ccp2_enum_frame_size()
732 fse->min_height = format.height; in ccp2_enum_frame_size()
734 if (format.code != fse->code) in ccp2_enum_frame_size()
737 format.code = fse->code; in ccp2_enum_frame_size()
740 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
741 fse->max_width = format.width; in ccp2_enum_frame_size()
[all …]
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Ddm365_ipipeif.c646 struct v4l2_subdev_frame_size_enum *fse) in ipipeif_enum_frame_size() argument
651 if (fse->index != 0) in ipipeif_enum_frame_size()
654 format.code = fse->code; in ipipeif_enum_frame_size()
657 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
658 fse->min_width = format.width; in ipipeif_enum_frame_size()
659 fse->min_height = format.height; in ipipeif_enum_frame_size()
661 if (format.code != fse->code) in ipipeif_enum_frame_size()
664 format.code = fse->code; in ipipeif_enum_frame_size()
667 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
668 fse->max_width = format.width; in ipipeif_enum_frame_size()
[all …]
/Linux-v4.19/drivers/media/platform/ti-vpe/
Dcal.c1024 struct v4l2_subdev_frame_size_enum fse; in cal_try_fmt_vid_cap() local
1042 fse.pad = 0; in cal_try_fmt_vid_cap()
1043 fse.code = fmt->code; in cal_try_fmt_vid_cap()
1044 fse.which = V4L2_SUBDEV_FORMAT_ACTIVE; in cal_try_fmt_vid_cap()
1045 for (fse.index = 0; ; fse.index++) { in cal_try_fmt_vid_cap()
1047 NULL, &fse); in cal_try_fmt_vid_cap()
1051 if ((f->fmt.pix.width == fse.max_width) && in cal_try_fmt_vid_cap()
1052 (f->fmt.pix.height == fse.max_height)) { in cal_try_fmt_vid_cap()
1055 } else if ((f->fmt.pix.width >= fse.min_width) && in cal_try_fmt_vid_cap()
1056 (f->fmt.pix.width <= fse.max_width) && in cal_try_fmt_vid_cap()
[all …]
/Linux-v4.19/drivers/media/i2c/
Dov5670.c2157 struct v4l2_subdev_frame_size_enum *fse) in ov5670_enum_frame_size() argument
2159 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5670_enum_frame_size()
2162 if (fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in ov5670_enum_frame_size()
2165 fse->min_width = supported_modes[fse->index].width; in ov5670_enum_frame_size()
2166 fse->max_width = fse->min_width; in ov5670_enum_frame_size()
2167 fse->min_height = supported_modes[fse->index].height; in ov5670_enum_frame_size()
2168 fse->max_height = fse->min_height; in ov5670_enum_frame_size()
Dimx258.c822 struct v4l2_subdev_frame_size_enum *fse) in imx258_enum_frame_size() argument
824 if (fse->index >= ARRAY_SIZE(supported_modes)) in imx258_enum_frame_size()
827 if (fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in imx258_enum_frame_size()
830 fse->min_width = supported_modes[fse->index].width; in imx258_enum_frame_size()
831 fse->max_width = fse->min_width; in imx258_enum_frame_size()
832 fse->min_height = supported_modes[fse->index].height; in imx258_enum_frame_size()
833 fse->max_height = fse->min_height; in imx258_enum_frame_size()
Dov5695.c885 struct v4l2_subdev_frame_size_enum *fse) in ov5695_enum_frame_sizes() argument
887 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5695_enum_frame_sizes()
890 if (fse->code != MEDIA_BUS_FMT_SBGGR10_1X10) in ov5695_enum_frame_sizes()
893 fse->min_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes()
894 fse->max_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes()
895 fse->max_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes()
896 fse->min_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes()
Dov2659.c1015 struct v4l2_subdev_frame_size_enum *fse) in ov2659_enum_frame_sizes() argument
1022 if (fse->index >= ARRAY_SIZE(ov2659_framesizes)) in ov2659_enum_frame_sizes()
1026 if (fse->code == ov2659_formats[i].code) in ov2659_enum_frame_sizes()
1029 fse->code = ov2659_formats[i].code; in ov2659_enum_frame_sizes()
1031 fse->min_width = ov2659_framesizes[fse->index].width; in ov2659_enum_frame_sizes()
1032 fse->max_width = fse->min_width; in ov2659_enum_frame_sizes()
1033 fse->max_height = ov2659_framesizes[fse->index].height; in ov2659_enum_frame_sizes()
1034 fse->min_height = fse->max_height; in ov2659_enum_frame_sizes()

1234