Home
last modified time | relevance | path

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

/linux-4.1.27/fs/notify/fanotify/
Dfanotify.h14 struct fsnotify_event fse; member
38 FANOTIFY_PE(struct fsnotify_event *fse) in FANOTIFY_PE() argument
40 return container_of(fse, struct fanotify_perm_event_info, fae.fse); in FANOTIFY_PE()
44 static inline struct fanotify_event_info *FANOTIFY_E(struct fsnotify_event *fse) in FANOTIFY_E() argument
46 return container_of(fse, struct fanotify_event_info, fse); in FANOTIFY_E()
Dfanotify.c79 fsnotify_remove_event(group, &event->fae.fse); in fanotify_get_response()
175 fsnotify_init_event(&event->fse, inode, mask); in fanotify_alloc_event()
220 fsn_event = &event->fse; in fanotify_handle_event()
Dfanotify_user.c126 event = container_of(fsn_event, struct fanotify_event_info, fse); in fill_event_metadata()
152 fae.fse.list) { in dequeue_event()
156 list_del_init(&event->fae.fse.list); in dequeue_event()
372 fae.fse.list) { in fanotify_release()
376 list_del_init(&event->fae.fse.list); in fanotify_release()
745 group->overflow_event = &oevent->fse; in SYSCALL_DEFINE2()
/linux-4.1.27/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 …]
Dxilinx-vip.h136 struct v4l2_subdev_frame_size_enum *fse);
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_hsit.c77 struct v4l2_subdev_frame_size_enum *fse) in hsit_enum_frame_size() argument
82 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fse->pad, in hsit_enum_frame_size()
83 fse->which); in hsit_enum_frame_size()
85 if (fse->index || fse->code != format->code) in hsit_enum_frame_size()
88 if (fse->pad == HSIT_PAD_SINK) { in hsit_enum_frame_size()
89 fse->min_width = HSIT_MIN_SIZE; in hsit_enum_frame_size()
90 fse->max_width = HSIT_MAX_SIZE; in hsit_enum_frame_size()
91 fse->min_height = HSIT_MIN_SIZE; in hsit_enum_frame_size()
92 fse->max_height = HSIT_MAX_SIZE; in hsit_enum_frame_size()
97 fse->min_width = format->width; in hsit_enum_frame_size()
[all …]
Dvsp1_lut.c118 struct v4l2_subdev_frame_size_enum *fse) in lut_enum_frame_size() argument
124 fse->pad, fse->which); in lut_enum_frame_size()
126 if (fse->index || fse->code != format->code) in lut_enum_frame_size()
129 if (fse->pad == LUT_PAD_SINK) { in lut_enum_frame_size()
130 fse->min_width = LUT_MIN_SIZE; in lut_enum_frame_size()
131 fse->max_width = LUT_MAX_SIZE; in lut_enum_frame_size()
132 fse->min_height = LUT_MIN_SIZE; in lut_enum_frame_size()
133 fse->max_height = LUT_MAX_SIZE; in lut_enum_frame_size()
138 fse->min_width = format->width; in lut_enum_frame_size()
139 fse->max_width = format->width; in lut_enum_frame_size()
[all …]
Dvsp1_rwpf.c46 struct v4l2_subdev_frame_size_enum *fse) in vsp1_rwpf_enum_frame_size() argument
51 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fse->pad, in vsp1_rwpf_enum_frame_size()
52 fse->which); in vsp1_rwpf_enum_frame_size()
54 if (fse->index || fse->code != format->code) in vsp1_rwpf_enum_frame_size()
57 if (fse->pad == RWPF_PAD_SINK) { in vsp1_rwpf_enum_frame_size()
58 fse->min_width = RWPF_MIN_WIDTH; in vsp1_rwpf_enum_frame_size()
59 fse->max_width = rwpf->max_width; in vsp1_rwpf_enum_frame_size()
60 fse->min_height = RWPF_MIN_HEIGHT; in vsp1_rwpf_enum_frame_size()
61 fse->max_height = rwpf->max_height; in vsp1_rwpf_enum_frame_size()
66 fse->min_width = format->width; in vsp1_rwpf_enum_frame_size()
[all …]
Dvsp1_lif.c110 struct v4l2_subdev_frame_size_enum *fse) in lif_enum_frame_size() argument
116 fse->which); in lif_enum_frame_size()
118 if (fse->index || fse->code != format->code) in lif_enum_frame_size()
121 if (fse->pad == LIF_PAD_SINK) { in lif_enum_frame_size()
122 fse->min_width = LIF_MIN_SIZE; in lif_enum_frame_size()
123 fse->max_width = LIF_MAX_SIZE; in lif_enum_frame_size()
124 fse->min_height = LIF_MIN_SIZE; in lif_enum_frame_size()
125 fse->max_height = LIF_MAX_SIZE; in lif_enum_frame_size()
127 fse->min_width = format->width; in lif_enum_frame_size()
128 fse->max_width = format->width; in lif_enum_frame_size()
[all …]
Dvsp1_sru.c201 struct v4l2_subdev_frame_size_enum *fse) in sru_enum_frame_size() argument
207 SRU_PAD_SINK, fse->which); in sru_enum_frame_size()
209 if (fse->index || fse->code != format->code) in sru_enum_frame_size()
212 if (fse->pad == SRU_PAD_SINK) { in sru_enum_frame_size()
213 fse->min_width = SRU_MIN_SIZE; in sru_enum_frame_size()
214 fse->max_width = SRU_MAX_SIZE; in sru_enum_frame_size()
215 fse->min_height = SRU_MIN_SIZE; in sru_enum_frame_size()
216 fse->max_height = SRU_MAX_SIZE; in sru_enum_frame_size()
218 fse->min_width = format->width; in sru_enum_frame_size()
219 fse->min_height = format->height; in sru_enum_frame_size()
[all …]
Dvsp1_uds.c205 struct v4l2_subdev_frame_size_enum *fse) in uds_enum_frame_size() argument
211 UDS_PAD_SINK, fse->which); in uds_enum_frame_size()
213 if (fse->index || fse->code != format->code) in uds_enum_frame_size()
216 if (fse->pad == UDS_PAD_SINK) { in uds_enum_frame_size()
217 fse->min_width = UDS_MIN_SIZE; in uds_enum_frame_size()
218 fse->max_width = UDS_MAX_SIZE; in uds_enum_frame_size()
219 fse->min_height = UDS_MIN_SIZE; in uds_enum_frame_size()
220 fse->max_height = UDS_MAX_SIZE; in uds_enum_frame_size()
222 uds_output_limits(format->width, &fse->min_width, in uds_enum_frame_size()
223 &fse->max_width); in uds_enum_frame_size()
[all …]
Dvsp1_bru.c215 struct v4l2_subdev_frame_size_enum *fse) in bru_enum_frame_size() argument
217 if (fse->index) in bru_enum_frame_size()
220 if (fse->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in bru_enum_frame_size()
221 fse->code != MEDIA_BUS_FMT_AYUV8_1X32) in bru_enum_frame_size()
224 fse->min_width = BRU_MIN_SIZE; in bru_enum_frame_size()
225 fse->max_width = BRU_MAX_SIZE; in bru_enum_frame_size()
226 fse->min_height = BRU_MIN_SIZE; in bru_enum_frame_size()
227 fse->max_height = BRU_MAX_SIZE; in bru_enum_frame_size()
Dvsp1_rwpf.h58 struct v4l2_subdev_frame_size_enum *fse);
/linux-4.1.27/fs/notify/inotify/
Dinotify.h6 struct fsnotify_event fse; member
18 static inline struct inotify_event_info *INOTIFY_E(struct fsnotify_event *fse) in INOTIFY_E() argument
20 return container_of(fse, struct inotify_event_info, fse); in INOTIFY_E()
Dinotify_fsnotify.c103 fsn_event = &event->fse; in inotify_handle_event()
Dinotify_user.c646 group->overflow_event = &oevent->fse; in inotify_new_group()
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss_ipipe.c272 struct v4l2_subdev_frame_size_enum *fse) in ipipe_enum_frame_size() argument
277 if (fse->index != 0) in ipipe_enum_frame_size()
280 format.code = fse->code; in ipipe_enum_frame_size()
283 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
284 fse->min_width = format.width; in ipipe_enum_frame_size()
285 fse->min_height = format.height; in ipipe_enum_frame_size()
287 if (format.code != fse->code) in ipipe_enum_frame_size()
290 format.code = fse->code; in ipipe_enum_frame_size()
293 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
294 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.c546 struct v4l2_subdev_frame_size_enum *fse) in resizer_enum_frame_size() argument
551 if (fse->index != 0) in resizer_enum_frame_size()
554 format.code = fse->code; in resizer_enum_frame_size()
557 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
558 fse->min_width = format.width; in resizer_enum_frame_size()
559 fse->min_height = format.height; in resizer_enum_frame_size()
561 if (format.code != fse->code) in resizer_enum_frame_size()
564 format.code = fse->code; in resizer_enum_frame_size()
567 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
568 fse->max_width = format.width; in resizer_enum_frame_size()
[all …]
Diss_csi2.c935 struct v4l2_subdev_frame_size_enum *fse) in csi2_enum_frame_size() argument
940 if (fse->index != 0) in csi2_enum_frame_size()
943 format.code = fse->code; in csi2_enum_frame_size()
946 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); in csi2_enum_frame_size()
947 fse->min_width = format.width; in csi2_enum_frame_size()
948 fse->min_height = format.height; in csi2_enum_frame_size()
950 if (format.code != fse->code) in csi2_enum_frame_size()
953 format.code = fse->code; in csi2_enum_frame_size()
956 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); in csi2_enum_frame_size()
957 fse->max_width = format.width; in csi2_enum_frame_size()
[all …]
/linux-4.1.27/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1225 struct v4l2_subdev_frame_size_enum *fse) in s5c73m3_enum_frame_size() argument
1229 if (fse->pad == S5C73M3_ISP_PAD) { in s5c73m3_enum_frame_size()
1230 if (fse->code != S5C73M3_ISP_FMT) in s5c73m3_enum_frame_size()
1234 if (fse->code != S5C73M3_JPEG_FMT) in s5c73m3_enum_frame_size()
1239 if (fse->index >= s5c73m3_resolutions_len[idx]) in s5c73m3_enum_frame_size()
1242 fse->min_width = s5c73m3_resolutions[idx][fse->index].width; in s5c73m3_enum_frame_size()
1243 fse->max_width = fse->min_width; in s5c73m3_enum_frame_size()
1244 fse->max_height = s5c73m3_resolutions[idx][fse->index].height; in s5c73m3_enum_frame_size()
1245 fse->min_height = fse->max_height; in s5c73m3_enum_frame_size()
1252 struct v4l2_subdev_frame_size_enum *fse) in s5c73m3_oif_enum_frame_size() argument
[all …]
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispccp2.c715 struct v4l2_subdev_frame_size_enum *fse) in ccp2_enum_frame_size() argument
720 if (fse->index != 0) in ccp2_enum_frame_size()
723 format.code = fse->code; in ccp2_enum_frame_size()
726 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
727 fse->min_width = format.width; in ccp2_enum_frame_size()
728 fse->min_height = format.height; in ccp2_enum_frame_size()
730 if (format.code != fse->code) in ccp2_enum_frame_size()
733 format.code = fse->code; in ccp2_enum_frame_size()
736 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
737 fse->max_width = format.width; in ccp2_enum_frame_size()
[all …]
Dispcsi2.c942 struct v4l2_subdev_frame_size_enum *fse) in csi2_enum_frame_size() argument
947 if (fse->index != 0) in csi2_enum_frame_size()
950 format.code = fse->code; in csi2_enum_frame_size()
953 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); in csi2_enum_frame_size()
954 fse->min_width = format.width; in csi2_enum_frame_size()
955 fse->min_height = format.height; in csi2_enum_frame_size()
957 if (format.code != fse->code) in csi2_enum_frame_size()
960 format.code = fse->code; in csi2_enum_frame_size()
963 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); in csi2_enum_frame_size()
964 fse->max_width = format.width; in csi2_enum_frame_size()
[all …]
Dispresizer.c1443 struct v4l2_subdev_frame_size_enum *fse) in resizer_enum_frame_size() argument
1448 if (fse->index != 0) in resizer_enum_frame_size()
1451 format.code = fse->code; in resizer_enum_frame_size()
1454 resizer_try_format(res, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
1455 fse->min_width = format.width; in resizer_enum_frame_size()
1456 fse->min_height = format.height; in resizer_enum_frame_size()
1458 if (format.code != fse->code) in resizer_enum_frame_size()
1461 format.code = fse->code; in resizer_enum_frame_size()
1464 resizer_try_format(res, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
1465 fse->max_width = format.width; in resizer_enum_frame_size()
[all …]
Disppreview.c1897 struct v4l2_subdev_frame_size_enum *fse) in preview_enum_frame_size() argument
1902 if (fse->index != 0) in preview_enum_frame_size()
1905 format.code = fse->code; in preview_enum_frame_size()
1908 preview_try_format(prev, cfg, fse->pad, &format, fse->which); in preview_enum_frame_size()
1909 fse->min_width = format.width; in preview_enum_frame_size()
1910 fse->min_height = format.height; in preview_enum_frame_size()
1912 if (format.code != fse->code) in preview_enum_frame_size()
1915 format.code = fse->code; in preview_enum_frame_size()
1918 preview_try_format(prev, cfg, fse->pad, &format, fse->which); in preview_enum_frame_size()
1919 fse->max_width = format.width; in preview_enum_frame_size()
[all …]
Dispccdc.c2187 struct v4l2_subdev_frame_size_enum *fse) in ccdc_enum_frame_size() argument
2192 if (fse->index != 0) in ccdc_enum_frame_size()
2195 format.code = fse->code; in ccdc_enum_frame_size()
2198 ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which); in ccdc_enum_frame_size()
2199 fse->min_width = format.width; in ccdc_enum_frame_size()
2200 fse->min_height = format.height; in ccdc_enum_frame_size()
2202 if (format.code != fse->code) in ccdc_enum_frame_size()
2205 format.code = fse->code; in ccdc_enum_frame_size()
2208 ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which); in ccdc_enum_frame_size()
2209 fse->max_width = format.width; in ccdc_enum_frame_size()
[all …]
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Ddm365_ipipeif.c645 struct v4l2_subdev_frame_size_enum *fse) in ipipeif_enum_frame_size() argument
650 if (fse->index != 0) in ipipeif_enum_frame_size()
653 format.code = fse->code; in ipipeif_enum_frame_size()
656 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
657 fse->min_width = format.width; in ipipeif_enum_frame_size()
658 fse->min_height = format.height; in ipipeif_enum_frame_size()
660 if (format.code != fse->code) in ipipeif_enum_frame_size()
663 format.code = fse->code; in ipipeif_enum_frame_size()
666 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
667 fse->max_width = format.width; in ipipeif_enum_frame_size()
[all …]
Ddm365_ipipe.c1540 struct v4l2_subdev_frame_size_enum *fse) in ipipe_enum_frame_size() argument
1545 if (fse->index != 0) in ipipe_enum_frame_size()
1548 format.code = fse->code; in ipipe_enum_frame_size()
1551 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
1552 fse->min_width = format.width; in ipipe_enum_frame_size()
1553 fse->min_height = format.height; in ipipe_enum_frame_size()
1555 if (format.code != fse->code) in ipipe_enum_frame_size()
1558 format.code = fse->code; in ipipe_enum_frame_size()
1561 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
1562 fse->max_width = format.width; in ipipe_enum_frame_size()
[all …]
Ddm365_isif.c1480 struct v4l2_subdev_frame_size_enum *fse) in isif_enum_frame_size() argument
1485 if (fse->index != 0) in isif_enum_frame_size()
1488 format.pad = fse->pad; in isif_enum_frame_size()
1489 format.format.code = fse->code; in isif_enum_frame_size()
1492 format.which = fse->which; in isif_enum_frame_size()
1494 fse->min_width = format.format.width; in isif_enum_frame_size()
1495 fse->min_height = format.format.height; in isif_enum_frame_size()
1497 if (format.format.code != fse->code) in isif_enum_frame_size()
1500 format.pad = fse->pad; in isif_enum_frame_size()
1501 format.format.code = fse->code; in isif_enum_frame_size()
[all …]
Ddm365_resizer.c1476 struct v4l2_subdev_frame_size_enum *fse) in resizer_enum_frame_size() argument
1480 if (fse->index != 0) in resizer_enum_frame_size()
1483 format.code = fse->code; in resizer_enum_frame_size()
1486 resizer_try_format(sd, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
1487 fse->min_width = format.width; in resizer_enum_frame_size()
1488 fse->min_height = format.height; in resizer_enum_frame_size()
1490 if (format.code != fse->code) in resizer_enum_frame_size()
1493 format.code = fse->code; in resizer_enum_frame_size()
1496 resizer_try_format(sd, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
1497 fse->max_width = format.width; in resizer_enum_frame_size()
[all …]
/linux-4.1.27/drivers/media/i2c/
Dov2659.c1019 struct v4l2_subdev_frame_size_enum *fse) in ov2659_enum_frame_sizes() argument
1026 if (fse->index >= ARRAY_SIZE(ov2659_framesizes)) in ov2659_enum_frame_sizes()
1030 if (fse->code == ov2659_formats[i].code) in ov2659_enum_frame_sizes()
1033 fse->code = ov2659_formats[i].code; in ov2659_enum_frame_sizes()
1035 fse->min_width = ov2659_framesizes[fse->index].width; in ov2659_enum_frame_sizes()
1036 fse->max_width = fse->min_width; in ov2659_enum_frame_sizes()
1037 fse->max_height = ov2659_framesizes[fse->index].height; in ov2659_enum_frame_sizes()
1038 fse->min_height = fse->max_height; in ov2659_enum_frame_sizes()
Dmt9t001.c342 struct v4l2_subdev_frame_size_enum *fse) in mt9t001_enum_frame_size() argument
344 if (fse->index >= 8 || fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in mt9t001_enum_frame_size()
347 fse->min_width = (MT9T001_WINDOW_WIDTH_DEF + 1) / fse->index; in mt9t001_enum_frame_size()
348 fse->max_width = fse->min_width; in mt9t001_enum_frame_size()
349 fse->min_height = (MT9T001_WINDOW_HEIGHT_DEF + 1) / fse->index; in mt9t001_enum_frame_size()
350 fse->max_height = fse->min_height; in mt9t001_enum_frame_size()
Dmt9v032.c466 struct v4l2_subdev_frame_size_enum *fse) in mt9v032_enum_frame_size() argument
468 if (fse->index >= 3 || fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) in mt9v032_enum_frame_size()
471 fse->min_width = MT9V032_WINDOW_WIDTH_DEF / (1 << fse->index); in mt9v032_enum_frame_size()
472 fse->max_width = fse->min_width; in mt9v032_enum_frame_size()
473 fse->min_height = MT9V032_WINDOW_HEIGHT_DEF / (1 << fse->index); in mt9v032_enum_frame_size()
474 fse->max_height = fse->min_height; in mt9v032_enum_frame_size()
Dmt9p031.c491 struct v4l2_subdev_frame_size_enum *fse) in mt9p031_enum_frame_size() argument
495 if (fse->index >= 8 || fse->code != mt9p031->format.code) in mt9p031_enum_frame_size()
498 fse->min_width = MT9P031_WINDOW_WIDTH_DEF in mt9p031_enum_frame_size()
499 / min_t(unsigned int, 7, fse->index + 1); in mt9p031_enum_frame_size()
500 fse->max_width = fse->min_width; in mt9p031_enum_frame_size()
501 fse->min_height = MT9P031_WINDOW_HEIGHT_DEF / (fse->index + 1); in mt9p031_enum_frame_size()
502 fse->max_height = fse->min_height; in mt9p031_enum_frame_size()
Dmt9m032.c332 struct v4l2_subdev_frame_size_enum *fse) in mt9m032_enum_frame_size() argument
334 if (fse->index != 0 || fse->code != MEDIA_BUS_FMT_Y8_1X8) in mt9m032_enum_frame_size()
337 fse->min_width = MT9M032_COLUMN_SIZE_DEF; in mt9m032_enum_frame_size()
338 fse->max_width = MT9M032_COLUMN_SIZE_DEF; in mt9m032_enum_frame_size()
339 fse->min_height = MT9M032_ROW_SIZE_DEF; in mt9m032_enum_frame_size()
340 fse->max_height = MT9M032_ROW_SIZE_DEF; in mt9m032_enum_frame_size()
Dov9650.c1082 struct v4l2_subdev_frame_size_enum *fse) in ov965x_enum_frame_sizes() argument
1086 if (fse->index >= ARRAY_SIZE(ov965x_framesizes)) in ov965x_enum_frame_sizes()
1090 if (fse->code == ov965x_formats[i].code) in ov965x_enum_frame_sizes()
1093 fse->code = ov965x_formats[i].code; in ov965x_enum_frame_sizes()
1095 fse->min_width = ov965x_framesizes[fse->index].width; in ov965x_enum_frame_sizes()
1096 fse->max_width = fse->min_width; in ov965x_enum_frame_sizes()
1097 fse->max_height = ov965x_framesizes[fse->index].height; in ov965x_enum_frame_sizes()
1098 fse->min_height = fse->max_height; in ov965x_enum_frame_sizes()
Ds5k5baf.c1225 struct v4l2_subdev_frame_size_enum *fse) in s5k5baf_enum_frame_size() argument
1229 if (fse->index > 0) in s5k5baf_enum_frame_size()
1232 if (fse->pad == PAD_CIS) { in s5k5baf_enum_frame_size()
1233 fse->code = MEDIA_BUS_FMT_FIXED; in s5k5baf_enum_frame_size()
1234 fse->min_width = S5K5BAF_CIS_WIDTH; in s5k5baf_enum_frame_size()
1235 fse->max_width = S5K5BAF_CIS_WIDTH; in s5k5baf_enum_frame_size()
1236 fse->min_height = S5K5BAF_CIS_HEIGHT; in s5k5baf_enum_frame_size()
1237 fse->max_height = S5K5BAF_CIS_HEIGHT; in s5k5baf_enum_frame_size()
1243 if (fse->code == s5k5baf_formats[i].code) in s5k5baf_enum_frame_size()
1245 fse->code = s5k5baf_formats[i].code; in s5k5baf_enum_frame_size()
[all …]
Dov7670.c1090 struct v4l2_subdev_frame_size_enum *fse) in ov7670_enum_frame_size() argument
1095 __u32 index = fse->index; in ov7670_enum_frame_size()
1098 if (fse->pad) in ov7670_enum_frame_size()
1112 fse->min_width = fse->max_width = win->width; in ov7670_enum_frame_size()
1113 fse->min_height = fse->max_height = win->height; in ov7670_enum_frame_size()
Ds5k6aa.c1038 struct v4l2_subdev_frame_size_enum *fse) in s5k6aa_enum_frame_size() argument
1042 if (fse->index > 0) in s5k6aa_enum_frame_size()
1046 if (fse->code == s5k6aa_formats[i].code) in s5k6aa_enum_frame_size()
1049 fse->code = s5k6aa_formats[i].code; in s5k6aa_enum_frame_size()
1050 fse->min_width = S5K6AA_WIN_WIDTH_MIN; in s5k6aa_enum_frame_size()
1051 fse->max_width = S5K6AA_WIN_WIDTH_MAX; in s5k6aa_enum_frame_size()
1052 fse->max_height = S5K6AA_WIN_HEIGHT_MIN; in s5k6aa_enum_frame_size()
1053 fse->min_height = S5K6AA_WIN_HEIGHT_MAX; in s5k6aa_enum_frame_size()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-subdev.c335 struct v4l2_subdev_frame_size_enum *fse = arg; in subdev_do_ioctl() local
337 if (fse->which != V4L2_SUBDEV_FORMAT_TRY && in subdev_do_ioctl()
338 fse->which != V4L2_SUBDEV_FORMAT_ACTIVE) in subdev_do_ioctl()
341 if (fse->pad >= sd->entity.num_pads) in subdev_do_ioctl()
345 fse); in subdev_do_ioctl()
/linux-4.1.27/drivers/media/platform/marvell-ccic/
Dmcam-core.c1572 struct v4l2_subdev_frame_size_enum fse = { in mcam_vidioc_enum_framesizes() local
1581 fse.code = f->mbus_code; in mcam_vidioc_enum_framesizes()
1583 ret = sensor_call(cam, pad, enum_frame_size, NULL, &fse); in mcam_vidioc_enum_framesizes()
1587 if (fse.min_width == fse.max_width && in mcam_vidioc_enum_framesizes()
1588 fse.min_height == fse.max_height) { in mcam_vidioc_enum_framesizes()
1590 sizes->discrete.width = fse.min_width; in mcam_vidioc_enum_framesizes()
1591 sizes->discrete.height = fse.min_height; in mcam_vidioc_enum_framesizes()
1595 sizes->stepwise.min_width = fse.min_width; in mcam_vidioc_enum_framesizes()
1596 sizes->stepwise.max_width = fse.max_width; in mcam_vidioc_enum_framesizes()
1597 sizes->stepwise.min_height = fse.min_height; in mcam_vidioc_enum_framesizes()
[all …]
/linux-4.1.27/drivers/media/platform/soc_camera/
Dsoc_camera.c1902 struct v4l2_subdev_frame_size_enum fse = { in default_enum_framesizes() local
1910 fse.code = xlate->code; in default_enum_framesizes()
1912 ret = v4l2_subdev_call(sd, pad, enum_frame_size, NULL, &fse); in default_enum_framesizes()
1916 if (fse.min_width == fse.max_width && in default_enum_framesizes()
1917 fse.min_height == fse.max_height) { in default_enum_framesizes()
1919 fsize->discrete.width = fse.min_width; in default_enum_framesizes()
1920 fsize->discrete.height = fse.min_height; in default_enum_framesizes()
1924 fsize->stepwise.min_width = fse.min_width; in default_enum_framesizes()
1925 fsize->stepwise.max_width = fse.max_width; in default_enum_framesizes()
1926 fsize->stepwise.min_height = fse.min_height; in default_enum_framesizes()
[all …]
/linux-4.1.27/drivers/media/platform/am437x/
Dam437x-vpfe.c1622 struct v4l2_subdev_frame_size_enum fse; in vpfe_enum_size() local
1654 memset(&fse, 0x0, sizeof(fse)); in vpfe_enum_size()
1655 fse.index = fsize->index; in vpfe_enum_size()
1656 fse.pad = 0; in vpfe_enum_size()
1657 fse.code = mbus.code; in vpfe_enum_size()
1658 fse.which = V4L2_SUBDEV_FORMAT_ACTIVE; in vpfe_enum_size()
1659 ret = v4l2_subdev_call(sdinfo->sd, pad, enum_frame_size, NULL, &fse); in vpfe_enum_size()
1664 fse.index, fse.code, fse.min_width, fse.max_width, in vpfe_enum_size()
1665 fse.min_height, fse.max_height); in vpfe_enum_size()
1668 fsize->discrete.width = fse.max_width; in vpfe_enum_size()
[all …]
/linux-4.1.27/include/media/
Dv4l2-subdev.h507 struct v4l2_subdev_frame_size_enum *fse);