Home
last modified time | relevance | path

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

12345

/openbmc/qemu/fsdev/
H A Dqemu-fsdev.c41 FsDriverEntry fse; member
164 fsle->fse.fsdev_id = g_strdup(fsdev_id); in qemu_fsdev_add()
165 fsle->fse.ops = FsDrivers[i].ops; in qemu_fsdev_add()
168 fsle->fse.export_flags |= V9FS_IMMEDIATE_WRITEOUT; in qemu_fsdev_add()
172 fsle->fse.export_flags |= V9FS_RDONLY; in qemu_fsdev_add()
174 fsle->fse.export_flags &= ~V9FS_RDONLY; in qemu_fsdev_add()
177 if (fsle->fse.ops->parse_opts) { in qemu_fsdev_add()
178 if (fsle->fse.ops->parse_opts(opts, &fsle->fse, errp)) { in qemu_fsdev_add()
179 g_free(fsle->fse.fsdev_id); in qemu_fsdev_add()
195 if (strcmp(fsle->fse.fsdev_id, id) == 0) { in get_fsdev_fsentry()
[all …]
/openbmc/linux/drivers/media/platform/xilinx/
H A Dxilinx-vip.c288 struct v4l2_subdev_frame_size_enum *fse) in xvip_enum_frame_size() argument
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()
313 fse->max_width = format->width; in xvip_enum_frame_size()
314 fse->min_height = format->height; in xvip_enum_frame_size()
[all …]
H A Dxilinx-tpg.c325 struct v4l2_subdev_frame_size_enum *fse) in xtpg_enum_frame_size() argument
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()
345 fse->min_height = format->height; in xtpg_enum_frame_size()
[all …]
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_sru.c131 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()
157 fse->max_width = format->width; in sru_enum_frame_size()
[all …]
H A Dvsp1_uds.c128 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 …]
H A Dvsp1_entity.c296 struct v4l2_subdev_frame_size_enum *fse, in vsp1_subdev_enum_frame_size() argument
313 if (fse->index || fse->code != format->code) { in vsp1_subdev_enum_frame_size()
318 if (fse->pad == 0) { in vsp1_subdev_enum_frame_size()
319 fse->min_width = min_width; in vsp1_subdev_enum_frame_size()
320 fse->max_width = max_width; in vsp1_subdev_enum_frame_size()
321 fse->min_height = min_height; in vsp1_subdev_enum_frame_size()
322 fse->max_height = max_height; in vsp1_subdev_enum_frame_size()
328 fse->min_width = format->width; in vsp1_subdev_enum_frame_size()
329 fse->max_width = format->width; in vsp1_subdev_enum_frame_size()
330 fse->min_height = format->height; 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()
/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss_ipipe.c276 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 …]
H A 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, 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 …]
H A Diss_resizer.c544 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 …]
/openbmc/linux/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()
/openbmc/linux/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c1236 fse->min_width = s5c73m3_resolutions[idx][fse->index].width; in s5c73m3_enum_frame_size()
1237 fse->max_width = fse->min_width; in s5c73m3_enum_frame_size()
1238 fse->max_height = s5c73m3_resolutions[idx][fse->index].height; in s5c73m3_enum_frame_size()
1239 fse->min_height = fse->max_height; in s5c73m3_enum_frame_size()
1275 fse->max_width = fse->min_width = w; in s5c73m3_oif_enum_frame_size()
1276 fse->max_height = fse->min_height = h; in s5c73m3_oif_enum_frame_size()
1284 if (fse->code != s5c73m3_oif_get_pad_code(fse->pad, 0)) in s5c73m3_oif_enum_frame_size()
1295 fse->min_width = s5c73m3_resolutions[idx][fse->index].width; in s5c73m3_oif_enum_frame_size()
1296 fse->max_width = fse->min_width; in s5c73m3_oif_enum_frame_size()
1297 fse->max_height = s5c73m3_resolutions[idx][fse->index].height; in s5c73m3_oif_enum_frame_size()
[all …]
/openbmc/linux/drivers/media/platform/ti/cal/
H A Dcal-video.c213 fse.pad = 0; in cal_legacy_try_fmt_vid_cap()
214 fse.code = fmtinfo->code; in cal_legacy_try_fmt_vid_cap()
215 for (fse.index = 0; ; fse.index++) { in cal_legacy_try_fmt_vid_cap()
219 NULL, &fse); in cal_legacy_try_fmt_vid_cap()
228 (f->fmt.pix.width <= fse.max_width) && in cal_legacy_try_fmt_vid_cap()
322 fse.code = fmtinfo->code; in cal_legacy_enum_framesizes()
325 &fse); in cal_legacy_enum_framesizes()
330 __func__, fse.index, fse.code, fse.min_width, fse.max_width, in cal_legacy_enum_framesizes()
331 fse.min_height, fse.max_height); in cal_legacy_enum_framesizes()
334 fsize->discrete.width = fse.max_width; in cal_legacy_enum_framesizes()
[all …]
H A Dcal-camerarx.c648 struct v4l2_subdev_frame_size_enum *fse) in cal_camerarx_sd_enum_frame_size() argument
652 if (fse->index > 0) in cal_camerarx_sd_enum_frame_size()
656 if (cal_rx_pad_is_source(fse->pad)) { in cal_camerarx_sd_enum_frame_size()
661 if (fse->code != fmt->code) in cal_camerarx_sd_enum_frame_size()
664 fse->min_width = fmt->width; in cal_camerarx_sd_enum_frame_size()
665 fse->max_width = fmt->width; in cal_camerarx_sd_enum_frame_size()
666 fse->min_height = fmt->height; in cal_camerarx_sd_enum_frame_size()
667 fse->max_height = fmt->height; in cal_camerarx_sd_enum_frame_size()
669 fmtinfo = cal_format_by_code(fse->code); in cal_camerarx_sd_enum_frame_size()
675 fse->min_height = CAL_MIN_HEIGHT_LINES; in cal_camerarx_sd_enum_frame_size()
[all …]
/openbmc/linux/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-ip.c155 struct v4l2_subdev_frame_size_enum *fse) in rzg2l_cru_ip_enum_frame_size() argument
157 if (fse->index != 0) in rzg2l_cru_ip_enum_frame_size()
160 if (fse->code != MEDIA_BUS_FMT_UYVY8_1X16) in rzg2l_cru_ip_enum_frame_size()
163 fse->min_width = RZG2L_CRU_MIN_INPUT_WIDTH; in rzg2l_cru_ip_enum_frame_size()
164 fse->min_height = RZG2L_CRU_MIN_INPUT_HEIGHT; in rzg2l_cru_ip_enum_frame_size()
165 fse->max_width = RZG2L_CRU_MAX_INPUT_WIDTH; in rzg2l_cru_ip_enum_frame_size()
166 fse->max_height = RZG2L_CRU_MAX_INPUT_HEIGHT; in rzg2l_cru_ip_enum_frame_size()
/openbmc/linux/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy.c423 struct v4l2_subdev_frame_size_enum *fse) in csiphy_enum_frame_size() argument
428 if (fse->index != 0) in csiphy_enum_frame_size()
431 format.code = fse->code; in csiphy_enum_frame_size()
434 csiphy_try_format(csiphy, sd_state, fse->pad, &format, fse->which); in csiphy_enum_frame_size()
435 fse->min_width = format.width; in csiphy_enum_frame_size()
436 fse->min_height = format.height; in csiphy_enum_frame_size()
438 if (format.code != fse->code) in csiphy_enum_frame_size()
441 format.code = fse->code; in csiphy_enum_frame_size()
444 csiphy_try_format(csiphy, sd_state, fse->pad, &format, fse->which); in csiphy_enum_frame_size()
445 fse->max_width = format.width; in csiphy_enum_frame_size()
[all …]
H A Dcamss-csid.c402 struct v4l2_subdev_frame_size_enum *fse) in csid_enum_frame_size() argument
407 if (fse->index != 0) in csid_enum_frame_size()
410 format.code = fse->code; in csid_enum_frame_size()
413 csid_try_format(csid, sd_state, fse->pad, &format, fse->which); in csid_enum_frame_size()
414 fse->min_width = format.width; in csid_enum_frame_size()
415 fse->min_height = format.height; in csid_enum_frame_size()
417 if (format.code != fse->code) in csid_enum_frame_size()
420 format.code = fse->code; in csid_enum_frame_size()
423 csid_try_format(csid, sd_state, fse->pad, &format, fse->which); in csid_enum_frame_size()
424 fse->max_width = format.width; in csid_enum_frame_size()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dov2680.c772 struct v4l2_subdev_frame_size_enum *fse) in ov2680_enum_frame_size() argument
777 if (fse->index >= OV2680_FRAME_SIZES) in ov2680_enum_frame_size()
780 crop = __ov2680_get_pad_crop(sensor, sd_state, fse->pad, fse->which); in ov2680_enum_frame_size()
784 fse->min_width = crop->width / (fse->index + 1); in ov2680_enum_frame_size()
785 fse->min_height = crop->height / (fse->index + 1); in ov2680_enum_frame_size()
786 fse->max_width = fse->min_width; in ov2680_enum_frame_size()
787 fse->max_height = fse->min_height; in ov2680_enum_frame_size()
796 struct v4l2_subdev_frame_size_enum fse = { in ov2680_valid_frame_size() local
803 fse.index = i; in ov2680_valid_frame_size()
808 if (fie->width == fse.min_width && in ov2680_valid_frame_size()
[all …]
H A Dog01a1b.c877 struct v4l2_subdev_frame_size_enum *fse) in og01a1b_enum_frame_size() argument
879 if (fse->index >= ARRAY_SIZE(supported_modes)) in og01a1b_enum_frame_size()
882 if (fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in og01a1b_enum_frame_size()
885 fse->min_width = supported_modes[fse->index].width; in og01a1b_enum_frame_size()
886 fse->max_width = fse->min_width; in og01a1b_enum_frame_size()
887 fse->min_height = supported_modes[fse->index].height; in og01a1b_enum_frame_size()
888 fse->max_height = fse->min_height; in og01a1b_enum_frame_size()
H A Dov9734.c803 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()
/openbmc/linux/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c114 struct v4l2_subdev_frame_size_enum *fse) in vimc_scaler_enum_frame_size() argument
118 if (fse->index) in vimc_scaler_enum_frame_size()
122 vpix = vimc_pix_map_by_code(fse->code); in vimc_scaler_enum_frame_size()
126 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_scaler_enum_frame_size()
127 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_scaler_enum_frame_size()
129 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_scaler_enum_frame_size()
130 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_scaler_enum_frame_size()
H A Dvimc-debayer.c193 struct v4l2_subdev_frame_size_enum *fse) in vimc_debayer_enum_frame_size() argument
195 if (fse->index) in vimc_debayer_enum_frame_size()
198 if (VIMC_IS_SINK(fse->pad)) { in vimc_debayer_enum_frame_size()
200 vimc_debayer_pix_map_by_code(fse->code); in vimc_debayer_enum_frame_size()
204 } else if (!vimc_debayer_src_code_is_valid(fse->code)) { in vimc_debayer_enum_frame_size()
208 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_debayer_enum_frame_size()
209 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_debayer_enum_frame_size()
210 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_debayer_enum_frame_size()
211 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_debayer_enum_frame_size()
H A Dvimc-sensor.c75 struct v4l2_subdev_frame_size_enum *fse) in vimc_sensor_enum_frame_size() argument
79 if (fse->index) in vimc_sensor_enum_frame_size()
83 vpix = vimc_pix_map_by_code(fse->code); in vimc_sensor_enum_frame_size()
87 fse->min_width = VIMC_FRAME_MIN_WIDTH; in vimc_sensor_enum_frame_size()
88 fse->max_width = VIMC_FRAME_MAX_WIDTH; in vimc_sensor_enum_frame_size()
89 fse->min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_sensor_enum_frame_size()
90 fse->max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_sensor_enum_frame_size()
/openbmc/linux/drivers/staging/media/tegra-video/
H A Dcsi.c130 struct v4l2_subdev_frame_size_enum *fse) in csi_enum_framesizes() argument
137 if (fse->index >= ARRAY_SIZE(tegra_csi_tpg_sizes)) in csi_enum_framesizes()
141 if (fse->code == tegra_csi_tpg_fmts[i].code) in csi_enum_framesizes()
147 fse->min_width = tegra_csi_tpg_sizes[fse->index].width; in csi_enum_framesizes()
148 fse->max_width = tegra_csi_tpg_sizes[fse->index].width; in csi_enum_framesizes()
149 fse->min_height = tegra_csi_tpg_sizes[fse->index].height; in csi_enum_framesizes()
150 fse->max_height = tegra_csi_tpg_sizes[fse->index].height; in csi_enum_framesizes()
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Dispccp2.c722 struct v4l2_subdev_frame_size_enum *fse) in ccp2_enum_frame_size() argument
727 if (fse->index != 0) in ccp2_enum_frame_size()
730 format.code = fse->code; in ccp2_enum_frame_size()
733 ccp2_try_format(ccp2, sd_state, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
734 fse->min_width = format.width; in ccp2_enum_frame_size()
735 fse->min_height = format.height; in ccp2_enum_frame_size()
737 if (format.code != fse->code) in ccp2_enum_frame_size()
740 format.code = fse->code; in ccp2_enum_frame_size()
743 ccp2_try_format(ccp2, sd_state, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
744 fse->max_width = format.width; in ccp2_enum_frame_size()
[all …]

12345