| /Linux-v5.4/drivers/media/platform/xilinx/ |
| D | xilinx-vip.c | 288 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 …]
|
| D | xilinx-tpg.c | 322 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 …]
|
| /Linux-v5.4/fs/notify/fanotify/ |
| D | fanotify.h | 62 struct fsnotify_event fse; member 126 FANOTIFY_PE(struct fsnotify_event *fse) in FANOTIFY_PE() argument 128 return container_of(fse, struct fanotify_perm_event, fae.fse); in FANOTIFY_PE() 137 static inline struct fanotify_event *FANOTIFY_E(struct fsnotify_event *fse) in FANOTIFY_E() argument 139 return container_of(fse, struct fanotify_event, fse); in FANOTIFY_E()
|
| /Linux-v5.4/drivers/media/platform/vsp1/ |
| D | vsp1_sru.c | 123 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 …]
|
| D | vsp1_uds.c | 128 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 …]
|
| D | vsp1_entity.c | 294 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 …]
|
| D | vsp1_brx.c | 82 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-v5.4/fs/notify/inotify/ |
| D | inotify.h | 7 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()
|
| /Linux-v5.4/drivers/staging/media/omap4iss/ |
| D | iss_ipipe.c | 274 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 …]
|
| D | iss_ipipeif.c | 480 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 …]
|
| D | iss_resizer.c | 541 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 …]
|
| /Linux-v5.4/drivers/media/platform/vimc/ |
| D | vimc-scaler.c | 86 struct v4l2_subdev_frame_size_enum *fse) in vimc_sca_enum_frame_size() argument 90 if (fse->index) in vimc_sca_enum_frame_size() 94 vpix = vimc_pix_map_by_code(fse->code); in vimc_sca_enum_frame_size() 98 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_sca_enum_frame_size() 99 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_sca_enum_frame_size() 101 if (IS_SINK(fse->pad)) { in vimc_sca_enum_frame_size() 102 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_sca_enum_frame_size() 103 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_sca_enum_frame_size() 105 fse->max_width = VIMC_FRAME_MAX_WIDTH * MAX_ZOOM; in vimc_sca_enum_frame_size() 106 fse->max_height = VIMC_FRAME_MAX_HEIGHT * MAX_ZOOM; in vimc_sca_enum_frame_size()
|
| D | vimc-debayer.c | 181 struct v4l2_subdev_frame_size_enum *fse) in vimc_deb_enum_frame_size() argument 185 if (fse->index) in vimc_deb_enum_frame_size() 188 if (IS_SINK(fse->pad)) { in vimc_deb_enum_frame_size() 190 vimc_deb_pix_map_by_code(fse->code); in vimc_deb_enum_frame_size() 194 } else if (fse->code != vdeb->src_code) { in vimc_deb_enum_frame_size() 198 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_deb_enum_frame_size() 199 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_deb_enum_frame_size() 200 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_deb_enum_frame_size() 201 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_deb_enum_frame_size()
|
| D | vimc-sensor.c | 74 struct v4l2_subdev_frame_size_enum *fse) in vimc_sen_enum_frame_size() argument 78 if (fse->index) in vimc_sen_enum_frame_size() 82 vpix = vimc_pix_map_by_code(fse->code); in vimc_sen_enum_frame_size() 86 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_sen_enum_frame_size() 87 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_sen_enum_frame_size() 88 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_sen_enum_frame_size() 89 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_sen_enum_frame_size()
|
| /Linux-v5.4/drivers/media/i2c/s5c73m3/ |
| D | s5c73m3-core.c | 1218 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 …]
|
| /Linux-v5.4/drivers/media/platform/qcom/camss/ |
| D | camss-csiphy.c | 416 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 …]
|
| /Linux-v5.4/drivers/media/i2c/ |
| D | imx258.c | 806 struct v4l2_subdev_frame_size_enum *fse) in imx258_enum_frame_size() argument 808 if (fse->index >= ARRAY_SIZE(supported_modes)) in imx258_enum_frame_size() 811 if (fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in imx258_enum_frame_size() 814 fse->min_width = supported_modes[fse->index].width; in imx258_enum_frame_size() 815 fse->max_width = fse->min_width; in imx258_enum_frame_size() 816 fse->min_height = supported_modes[fse->index].height; in imx258_enum_frame_size() 817 fse->max_height = fse->min_height; in imx258_enum_frame_size()
|
| D | ov5645.c | 853 struct v4l2_subdev_frame_size_enum *fse) in ov5645_enum_frame_size() argument 855 if (fse->code != MEDIA_BUS_FMT_UYVY8_2X8) in ov5645_enum_frame_size() 858 if (fse->index >= ARRAY_SIZE(ov5645_mode_info_data)) in ov5645_enum_frame_size() 861 fse->min_width = ov5645_mode_info_data[fse->index].width; in ov5645_enum_frame_size() 862 fse->max_width = ov5645_mode_info_data[fse->index].width; in ov5645_enum_frame_size() 863 fse->min_height = ov5645_mode_info_data[fse->index].height; in ov5645_enum_frame_size() 864 fse->max_height = ov5645_mode_info_data[fse->index].height; in ov5645_enum_frame_size()
|
| D | ov5670.c | 2157 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()
|
| D | ov5675.c | 932 struct v4l2_subdev_frame_size_enum *fse) in ov5675_enum_frame_size() argument 934 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5675_enum_frame_size() 937 if (fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in ov5675_enum_frame_size() 940 fse->min_width = supported_modes[fse->index].width; in ov5675_enum_frame_size() 941 fse->max_width = fse->min_width; in ov5675_enum_frame_size() 942 fse->min_height = supported_modes[fse->index].height; in ov5675_enum_frame_size() 943 fse->max_height = fse->min_height; in ov5675_enum_frame_size()
|
| D | ov5695.c | 882 struct v4l2_subdev_frame_size_enum *fse) in ov5695_enum_frame_sizes() argument 884 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5695_enum_frame_sizes() 887 if (fse->code != MEDIA_BUS_FMT_SBGGR10_1X10) in ov5695_enum_frame_sizes() 890 fse->min_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes() 891 fse->max_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes() 892 fse->max_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes() 893 fse->min_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes()
|
| D | ov8856.c | 1023 struct v4l2_subdev_frame_size_enum *fse) in ov8856_enum_frame_size() argument 1025 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov8856_enum_frame_size() 1028 if (fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in ov8856_enum_frame_size() 1031 fse->min_width = supported_modes[fse->index].width; in ov8856_enum_frame_size() 1032 fse->max_width = fse->min_width; in ov8856_enum_frame_size() 1033 fse->min_height = supported_modes[fse->index].height; in ov8856_enum_frame_size() 1034 fse->max_height = fse->min_height; in ov8856_enum_frame_size()
|
| /Linux-v5.4/drivers/staging/media/imx/ |
| D | imx-media-capture.c | 85 struct v4l2_subdev_frame_size_enum fse = { in capture_enum_framesizes() local 96 fse.code = cc->codes[0]; in capture_enum_framesizes() 98 ret = v4l2_subdev_call(priv->src_sd, pad, enum_frame_size, NULL, &fse); in capture_enum_framesizes() 102 if (fse.min_width == fse.max_width && in capture_enum_framesizes() 103 fse.min_height == fse.max_height) { in capture_enum_framesizes() 105 fsize->discrete.width = fse.min_width; in capture_enum_framesizes() 106 fsize->discrete.height = fse.min_height; in capture_enum_framesizes() 109 fsize->stepwise.min_width = fse.min_width; in capture_enum_framesizes() 110 fsize->stepwise.max_width = fse.max_width; in capture_enum_framesizes() 111 fsize->stepwise.min_height = fse.min_height; in capture_enum_framesizes() [all …]
|
| /Linux-v5.4/drivers/media/platform/omap3isp/ |
| D | ispccp2.c | 716 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 …]
|
| /Linux-v5.4/drivers/media/platform/ti-vpe/ |
| D | cal.c | 1017 struct v4l2_subdev_frame_size_enum fse; in cal_try_fmt_vid_cap() local 1035 fse.pad = 0; in cal_try_fmt_vid_cap() 1036 fse.code = fmt->code; in cal_try_fmt_vid_cap() 1037 fse.which = V4L2_SUBDEV_FORMAT_ACTIVE; in cal_try_fmt_vid_cap() 1038 for (fse.index = 0; ; fse.index++) { in cal_try_fmt_vid_cap() 1040 NULL, &fse); in cal_try_fmt_vid_cap() 1044 if ((f->fmt.pix.width == fse.max_width) && in cal_try_fmt_vid_cap() 1045 (f->fmt.pix.height == fse.max_height)) { in cal_try_fmt_vid_cap() 1048 } else if ((f->fmt.pix.width >= fse.min_width) && in cal_try_fmt_vid_cap() 1049 (f->fmt.pix.width <= fse.max_width) && in cal_try_fmt_vid_cap() [all …]
|