/Linux-v5.15/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, sd_state, 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 | 325 struct v4l2_subdev_frame_size_enum *fse) in xtpg_enum_frame_size() argument 329 format = v4l2_subdev_get_try_format(subdev, sd_state, 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-v5.15/drivers/media/platform/vsp1/ |
D | vsp1_sru.c | 123 struct v4l2_subdev_frame_size_enum *fse) in sru_enum_frame_size() argument 131 fse->which); in sru_enum_frame_size() 139 if (fse->index || fse->code != format->code) { in sru_enum_frame_size() 144 if (fse->pad == SRU_PAD_SINK) { in sru_enum_frame_size() 145 fse->min_width = SRU_MIN_SIZE; in sru_enum_frame_size() 146 fse->max_width = SRU_MAX_SIZE; in sru_enum_frame_size() 147 fse->min_height = SRU_MIN_SIZE; in sru_enum_frame_size() 148 fse->max_height = SRU_MAX_SIZE; in sru_enum_frame_size() 150 fse->min_width = format->width; in sru_enum_frame_size() 151 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 136 fse->which); in uds_enum_frame_size() 145 if (fse->index || fse->code != format->code) { in uds_enum_frame_size() 150 if (fse->pad == UDS_PAD_SINK) { in uds_enum_frame_size() 151 fse->min_width = UDS_MIN_SIZE; in uds_enum_frame_size() 152 fse->max_width = UDS_MAX_SIZE; in uds_enum_frame_size() 153 fse->min_height = UDS_MIN_SIZE; in uds_enum_frame_size() 154 fse->max_height = UDS_MAX_SIZE; in uds_enum_frame_size() 156 uds_output_limits(format->width, &fse->min_width, in uds_enum_frame_size() 157 &fse->max_width); in uds_enum_frame_size() [all …]
|
D | vsp1_entity.c | 297 struct v4l2_subdev_frame_size_enum *fse, in vsp1_subdev_enum_frame_size() argument 306 config = vsp1_entity_get_pad_config(entity, sd_state, fse->which); in vsp1_subdev_enum_frame_size() 310 format = vsp1_entity_get_pad_format(entity, config, fse->pad); in vsp1_subdev_enum_frame_size() 314 if (fse->index || fse->code != format->code) { in vsp1_subdev_enum_frame_size() 319 if (fse->pad == 0) { in vsp1_subdev_enum_frame_size() 320 fse->min_width = min_width; in vsp1_subdev_enum_frame_size() 321 fse->max_width = max_width; in vsp1_subdev_enum_frame_size() 322 fse->min_height = min_height; in vsp1_subdev_enum_frame_size() 323 fse->max_height = max_height; in vsp1_subdev_enum_frame_size() 329 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.15/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.15/drivers/staging/media/omap4iss/ |
D | iss_ipipe.c | 276 struct v4l2_subdev_frame_size_enum *fse) in ipipe_enum_frame_size() argument 281 if (fse->index != 0) in ipipe_enum_frame_size() 284 format.code = fse->code; in ipipe_enum_frame_size() 287 ipipe_try_format(ipipe, sd_state, fse->pad, &format, fse->which); in ipipe_enum_frame_size() 288 fse->min_width = format.width; in ipipe_enum_frame_size() 289 fse->min_height = format.height; in ipipe_enum_frame_size() 291 if (format.code != fse->code) in ipipe_enum_frame_size() 294 format.code = fse->code; in ipipe_enum_frame_size() 297 ipipe_try_format(ipipe, sd_state, fse->pad, &format, fse->which); in ipipe_enum_frame_size() 298 fse->max_width = format.width; in ipipe_enum_frame_size() [all …]
|
D | iss_ipipeif.c | 484 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, sd_state, 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, sd_state, fse->pad, &format, fse->which); in ipipeif_enum_frame_size() 506 fse->max_width = format.width; in ipipeif_enum_frame_size() [all …]
|
D | iss_resizer.c | 544 struct v4l2_subdev_frame_size_enum *fse) in resizer_enum_frame_size() argument 549 if (fse->index != 0) in resizer_enum_frame_size() 552 format.code = fse->code; in resizer_enum_frame_size() 555 resizer_try_format(resizer, sd_state, fse->pad, &format, fse->which); in resizer_enum_frame_size() 556 fse->min_width = format.width; in resizer_enum_frame_size() 557 fse->min_height = format.height; in resizer_enum_frame_size() 559 if (format.code != fse->code) in resizer_enum_frame_size() 562 format.code = fse->code; in resizer_enum_frame_size() 565 resizer_try_format(resizer, sd_state, fse->pad, &format, fse->which); in resizer_enum_frame_size() 566 fse->max_width = format.width; in resizer_enum_frame_size() [all …]
|
/Linux-v5.15/drivers/media/platform/ti-vpe/ |
D | cal-video.c | 197 struct v4l2_subdev_frame_size_enum fse; in cal_legacy_try_fmt_vid_cap() local 215 fse.pad = 0; in cal_legacy_try_fmt_vid_cap() 216 fse.code = fmtinfo->code; in cal_legacy_try_fmt_vid_cap() 217 fse.which = V4L2_SUBDEV_FORMAT_ACTIVE; in cal_legacy_try_fmt_vid_cap() 218 for (fse.index = 0; ; fse.index++) { in cal_legacy_try_fmt_vid_cap() 220 NULL, &fse); in cal_legacy_try_fmt_vid_cap() 224 if ((f->fmt.pix.width == fse.max_width) && in cal_legacy_try_fmt_vid_cap() 225 (f->fmt.pix.height == fse.max_height)) { in cal_legacy_try_fmt_vid_cap() 228 } else if ((f->fmt.pix.width >= fse.min_width) && in cal_legacy_try_fmt_vid_cap() 229 (f->fmt.pix.width <= fse.max_width) && in cal_legacy_try_fmt_vid_cap() [all …]
|
D | cal-camerarx.c | 667 struct v4l2_subdev_frame_size_enum *fse) in cal_camerarx_sd_enum_frame_size() argument 673 if (fse->index > 0) in cal_camerarx_sd_enum_frame_size() 679 if (cal_rx_pad_is_source(fse->pad)) { in cal_camerarx_sd_enum_frame_size() 684 fse->which); in cal_camerarx_sd_enum_frame_size() 685 if (fse->code != fmt->code) { in cal_camerarx_sd_enum_frame_size() 690 fse->min_width = fmt->width; in cal_camerarx_sd_enum_frame_size() 691 fse->max_width = fmt->width; in cal_camerarx_sd_enum_frame_size() 692 fse->min_height = fmt->height; in cal_camerarx_sd_enum_frame_size() 693 fse->max_height = fmt->height; in cal_camerarx_sd_enum_frame_size() 695 fmtinfo = cal_format_by_code(fse->code); in cal_camerarx_sd_enum_frame_size() [all …]
|
/Linux-v5.15/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-core.c | 1221 struct v4l2_subdev_frame_size_enum *fse) in s5c73m3_enum_frame_size() argument 1225 if (fse->pad == S5C73M3_ISP_PAD) { in s5c73m3_enum_frame_size() 1226 if (fse->code != S5C73M3_ISP_FMT) in s5c73m3_enum_frame_size() 1230 if (fse->code != S5C73M3_JPEG_FMT) in s5c73m3_enum_frame_size() 1235 if (fse->index >= s5c73m3_resolutions_len[idx]) in s5c73m3_enum_frame_size() 1238 fse->min_width = s5c73m3_resolutions[idx][fse->index].width; in s5c73m3_enum_frame_size() 1239 fse->max_width = fse->min_width; in s5c73m3_enum_frame_size() 1240 fse->max_height = s5c73m3_resolutions[idx][fse->index].height; in s5c73m3_enum_frame_size() 1241 fse->min_height = fse->max_height; in s5c73m3_enum_frame_size() 1248 struct v4l2_subdev_frame_size_enum *fse) in s5c73m3_oif_enum_frame_size() argument [all …]
|
/Linux-v5.15/drivers/media/platform/qcom/camss/ |
D | camss-csiphy.c | 441 struct v4l2_subdev_frame_size_enum *fse) in csiphy_enum_frame_size() argument 446 if (fse->index != 0) in csiphy_enum_frame_size() 449 format.code = fse->code; in csiphy_enum_frame_size() 452 csiphy_try_format(csiphy, sd_state, fse->pad, &format, fse->which); in csiphy_enum_frame_size() 453 fse->min_width = format.width; in csiphy_enum_frame_size() 454 fse->min_height = format.height; in csiphy_enum_frame_size() 456 if (format.code != fse->code) in csiphy_enum_frame_size() 459 format.code = fse->code; in csiphy_enum_frame_size() 462 csiphy_try_format(csiphy, sd_state, fse->pad, &format, fse->which); in csiphy_enum_frame_size() 463 fse->max_width = format.width; in csiphy_enum_frame_size() [all …]
|
D | camss-csid.c | 377 struct v4l2_subdev_frame_size_enum *fse) in csid_enum_frame_size() argument 382 if (fse->index != 0) in csid_enum_frame_size() 385 format.code = fse->code; in csid_enum_frame_size() 388 csid_try_format(csid, sd_state, fse->pad, &format, fse->which); in csid_enum_frame_size() 389 fse->min_width = format.width; in csid_enum_frame_size() 390 fse->min_height = format.height; in csid_enum_frame_size() 392 if (format.code != fse->code) in csid_enum_frame_size() 395 format.code = fse->code; in csid_enum_frame_size() 398 csid_try_format(csid, sd_state, fse->pad, &format, fse->which); in csid_enum_frame_size() 399 fse->max_width = format.width; in csid_enum_frame_size() [all …]
|
/Linux-v5.15/drivers/media/test-drivers/vimc/ |
D | vimc-scaler.c | 132 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()
|
D | vimc-debayer.c | 192 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()
|
D | vimc-sensor.c | 75 struct v4l2_subdev_frame_size_enum *fse) in vimc_sen_enum_frame_size() argument 79 if (fse->index) in vimc_sen_enum_frame_size() 83 vpix = vimc_pix_map_by_code(fse->code); in vimc_sen_enum_frame_size() 87 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_sen_enum_frame_size() 88 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_sen_enum_frame_size() 89 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_sen_enum_frame_size() 90 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_sen_enum_frame_size()
|
/Linux-v5.15/fs/notify/fanotify/ |
D | fanotify.h | 153 struct fsnotify_event fse; member 166 fsnotify_init_event(&event->fse); in fanotify_init_event() 285 static inline struct fanotify_event *FANOTIFY_E(struct fsnotify_event *fse) in FANOTIFY_E() argument 287 return container_of(fse, struct fanotify_event, fse); in FANOTIFY_E()
|
/Linux-v5.15/drivers/staging/media/tegra-video/ |
D | csi.c | 131 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()
|
/Linux-v5.15/drivers/media/i2c/ |
D | imx290.c | 532 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()
|
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 | ov9734.c | 803 struct v4l2_subdev_frame_size_enum *fse) in ov9734_enum_frame_size() argument 805 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov9734_enum_frame_size() 808 if (fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in ov9734_enum_frame_size() 811 fse->min_width = supported_modes[fse->index].width; in ov9734_enum_frame_size() 812 fse->max_width = fse->min_width; in ov9734_enum_frame_size() 813 fse->min_height = supported_modes[fse->index].height; in ov9734_enum_frame_size() 814 fse->max_height = fse->min_height; in ov9734_enum_frame_size()
|
D | ov5695.c | 883 struct v4l2_subdev_frame_size_enum *fse) in ov5695_enum_frame_sizes() argument 885 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5695_enum_frame_sizes() 888 if (fse->code != MEDIA_BUS_FMT_SBGGR10_1X10) in ov5695_enum_frame_sizes() 891 fse->min_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes() 892 fse->max_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes() 893 fse->max_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes() 894 fse->min_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes()
|
/Linux-v5.15/drivers/media/platform/omap3isp/ |
D | ispccp2.c | 720 struct v4l2_subdev_frame_size_enum *fse) in ccp2_enum_frame_size() argument 725 if (fse->index != 0) in ccp2_enum_frame_size() 728 format.code = fse->code; in ccp2_enum_frame_size() 731 ccp2_try_format(ccp2, sd_state, fse->pad, &format, fse->which); in ccp2_enum_frame_size() 732 fse->min_width = format.width; in ccp2_enum_frame_size() 733 fse->min_height = format.height; in ccp2_enum_frame_size() 735 if (format.code != fse->code) in ccp2_enum_frame_size() 738 format.code = fse->code; in ccp2_enum_frame_size() 741 ccp2_try_format(ccp2, sd_state, fse->pad, &format, fse->which); in ccp2_enum_frame_size() 742 fse->max_width = format.width; in ccp2_enum_frame_size() [all …]
|