Home
last modified time | relevance | path

Searched refs:fie (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v6.6/drivers/media/i2c/
Dimx214.c815 struct v4l2_subdev_frame_interval_enum *fie) in imx214_enum_frame_interval() argument
819 if (fie->index != 0) in imx214_enum_frame_interval()
824 fie->width, fie->height); in imx214_enum_frame_interval()
826 fie->code = IMX214_MBUS_CODE; in imx214_enum_frame_interval()
827 fie->width = mode->width; in imx214_enum_frame_interval()
828 fie->height = mode->height; in imx214_enum_frame_interval()
829 fie->interval.numerator = 1; in imx214_enum_frame_interval()
830 fie->interval.denominator = IMX214_FPS; in imx214_enum_frame_interval()
Dov6650.c769 struct v4l2_subdev_frame_interval_enum *fie) in ov6650_enum_frame_interval() argument
774 if (fie->index > CLKRC_DIV_MASK || in ov6650_enum_frame_interval()
775 GET_CLKRC_DIV(fie->index) > FRAME_RATE_MAX) in ov6650_enum_frame_interval()
779 if (fie->code == ov6650_codes[i]) in ov6650_enum_frame_interval()
784 if (!fie->width || fie->width > W_CIF || in ov6650_enum_frame_interval()
785 !fie->height || fie->height > H_CIF) in ov6650_enum_frame_interval()
788 fie->interval.numerator = GET_CLKRC_DIV(fie->index); in ov6650_enum_frame_interval()
789 fie->interval.denominator = FRAME_RATE_MAX; in ov6650_enum_frame_interval()
Dov772x.c1324 struct v4l2_subdev_frame_interval_enum *fie) in ov772x_enum_frame_interval() argument
1326 if (fie->pad || fie->index >= ARRAY_SIZE(ov772x_frame_intervals)) in ov772x_enum_frame_interval()
1329 if (fie->width != VGA_WIDTH && fie->width != QVGA_WIDTH) in ov772x_enum_frame_interval()
1331 if (fie->height != VGA_HEIGHT && fie->height != QVGA_HEIGHT) in ov772x_enum_frame_interval()
1334 fie->interval.numerator = 1; in ov772x_enum_frame_interval()
1335 fie->interval.denominator = ov772x_frame_intervals[fie->index]; in ov772x_enum_frame_interval()
Dmt9v111.c826 struct v4l2_subdev_frame_interval_enum *fie) in mt9v111_enum_frame_interval() argument
830 if (fie->pad || fie->index >= ARRAY_SIZE(mt9v111_frame_intervals)) in mt9v111_enum_frame_interval()
834 if (fie->width == mt9v111_frame_sizes[i].width && in mt9v111_enum_frame_interval()
835 fie->height == mt9v111_frame_sizes[i].height) in mt9v111_enum_frame_interval()
841 fie->interval.numerator = 1; in mt9v111_enum_frame_interval()
842 fie->interval.denominator = mt9v111_frame_intervals[fie->index]; in mt9v111_enum_frame_interval()
Dov2680.c794 struct v4l2_subdev_frame_interval_enum *fie) in ov2680_valid_frame_size() argument
797 .pad = fie->pad, in ov2680_valid_frame_size()
798 .which = fie->which, in ov2680_valid_frame_size()
808 if (fie->width == fse.min_width && in ov2680_valid_frame_size()
809 fie->height == fse.min_height) in ov2680_valid_frame_size()
818 struct v4l2_subdev_frame_interval_enum *fie) in ov2680_enum_frame_interval() argument
823 if (fie->index || !ov2680_valid_frame_size(sd, sd_state, fie)) in ov2680_enum_frame_interval()
826 fie->interval = sensor->mode.frame_interval; in ov2680_enum_frame_interval()
Dov7740.c723 struct v4l2_subdev_frame_interval_enum *fie) in ov7740_enum_frame_interval() argument
725 if (fie->pad) in ov7740_enum_frame_interval()
728 if (fie->index >= 1) in ov7740_enum_frame_interval()
731 if ((fie->width != VGA_WIDTH) || (fie->height != VGA_HEIGHT)) in ov7740_enum_frame_interval()
734 fie->interval.numerator = 1; in ov7740_enum_frame_interval()
735 fie->interval.denominator = 60; in ov7740_enum_frame_interval()
Dov7670.c1206 struct v4l2_subdev_frame_interval_enum *fie) in ov7670_enum_frame_interval() argument
1212 if (fie->pad) in ov7670_enum_frame_interval()
1214 if (fie->index >= ARRAY_SIZE(ov7670_frame_rates)) in ov7670_enum_frame_interval()
1230 if (fie->width == win->width && fie->height == win->height) in ov7670_enum_frame_interval()
1235 fie->interval.numerator = 1; in ov7670_enum_frame_interval()
1236 fie->interval.denominator = ov7670_frame_rates[fie->index]; in ov7670_enum_frame_interval()
Ds5k5baf.c1174 struct v4l2_subdev_frame_interval_enum *fie) in s5k5baf_enum_frame_interval() argument
1176 if (fie->index > S5K5BAF_MAX_FR_TIME - S5K5BAF_MIN_FR_TIME || in s5k5baf_enum_frame_interval()
1177 fie->pad != PAD_CIS) in s5k5baf_enum_frame_interval()
1180 v4l_bound_align_image(&fie->width, S5K5BAF_WIN_WIDTH_MIN, in s5k5baf_enum_frame_interval()
1182 &fie->height, S5K5BAF_WIN_HEIGHT_MIN, in s5k5baf_enum_frame_interval()
1185 fie->interval.numerator = S5K5BAF_MIN_FR_TIME + fie->index; in s5k5baf_enum_frame_interval()
1186 fie->interval.denominator = 10000; in s5k5baf_enum_frame_interval()
Dov7251.c1115 struct v4l2_subdev_frame_interval_enum *fie) in ov7251_enum_frame_ival() argument
1117 unsigned int index = fie->index; in ov7251_enum_frame_ival()
1121 if (fie->width != ov7251_mode_info_data[i].width || in ov7251_enum_frame_ival()
1122 fie->height != ov7251_mode_info_data[i].height) in ov7251_enum_frame_ival()
1126 fie->interval = ov7251_mode_info_data[i].timeperframe; in ov7251_enum_frame_ival()
Dov5640.c3572 struct v4l2_subdev_frame_interval_enum *fie) in ov5640_enum_frame_interval() argument
3579 if (fie->pad != 0) in ov5640_enum_frame_interval()
3581 if (fie->index >= OV5640_NUM_FRAMERATES) in ov5640_enum_frame_interval()
3584 mode = ov5640_find_mode(sensor, fie->width, fie->height, false); in ov5640_enum_frame_interval()
3589 tpf.denominator = ov5640_framerates[fie->index]; in ov5640_enum_frame_interval()
3595 fie->interval = tpf; in ov5640_enum_frame_interval()
/Linux-v6.6/drivers/staging/media/tegra-video/
Dcsi.c157 struct v4l2_subdev_frame_interval_enum *fie) in csi_enum_frameintervals() argument
168 if (fie->index > 0) in csi_enum_frameintervals()
171 index = csi_get_frmrate_table_index(csi_chan->csi, fie->code, in csi_enum_frameintervals()
172 fie->width, fie->height); in csi_enum_frameintervals()
176 fie->interval.numerator = 1; in csi_enum_frameintervals()
177 fie->interval.denominator = frmrate[index].framerate; in csi_enum_frameintervals()
Dvi.c369 struct v4l2_subdev_frame_interval_enum fie = { in tegra_channel_enum_frameintervals() local
380 fie.code = fmtinfo->code; in tegra_channel_enum_frameintervals()
383 ret = v4l2_subdev_call(subdev, pad, enum_frame_interval, NULL, &fie); in tegra_channel_enum_frameintervals()
388 ivals->discrete.numerator = fie.interval.numerator; in tegra_channel_enum_frameintervals()
389 ivals->discrete.denominator = fie.interval.denominator; in tegra_channel_enum_frameintervals()
/Linux-v6.6/drivers/staging/media/imx/
Dimx-media-csi.c1308 struct v4l2_subdev_frame_interval_enum *fie) in csi_enum_frame_interval() argument
1315 if (fie->pad >= CSI_NUM_PADS || in csi_enum_frame_interval()
1316 fie->index >= (fie->pad != CSI_SRC_PAD_IDMAC ? in csi_enum_frame_interval()
1323 crop = __csi_get_crop(priv, sd_state, fie->which); in csi_enum_frame_interval()
1325 if ((fie->width != crop->width && fie->width != crop->width / 2) || in csi_enum_frame_interval()
1326 (fie->height != crop->height && fie->height != crop->height / 2)) { in csi_enum_frame_interval()
1331 fie->interval = *input_fi; in csi_enum_frame_interval()
1333 if (fie->pad == CSI_SRC_PAD_IDMAC) in csi_enum_frame_interval()
1334 csi_apply_skip_interval(&csi_skip[fie->index], in csi_enum_frame_interval()
1335 &fie->interval); in csi_enum_frame_interval()
Dimx-media-capture.c324 struct v4l2_subdev_frame_interval_enum fie = { in capture_legacy_enum_frameintervals() local
337 fie.code = cc->codes ? cc->codes[0] : 0; in capture_legacy_enum_frameintervals()
340 NULL, &fie); in capture_legacy_enum_frameintervals()
345 fival->discrete = fie.interval; in capture_legacy_enum_frameintervals()
/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-subdev.c272 struct v4l2_subdev_frame_interval_enum *fie) in call_enum_frame_interval() argument
274 if (!fie) in call_enum_frame_interval()
277 return check_which(fie->which) ? : check_pad(sd, fie->pad) ? : in call_enum_frame_interval()
278 check_state(sd, state, fie->which, fie->pad, fie->stream) ? : in call_enum_frame_interval()
279 sd->ops->pad->enum_frame_interval(sd, state, fie); in call_enum_frame_interval()
748 struct v4l2_subdev_frame_interval_enum *fie = arg; in subdev_do_ioctl() local
751 fie->stream = 0; in subdev_do_ioctl()
753 memset(fie->reserved, 0, sizeof(fie->reserved)); in subdev_do_ioctl()
755 fie); in subdev_do_ioctl()
/Linux-v6.6/drivers/media/i2c/et8ek8/
Det8ek8_driver.c962 struct v4l2_subdev_frame_interval_enum *fie) in et8ek8_enum_frame_ival() argument
967 int index = fie->index; in et8ek8_enum_frame_ival()
976 if (fie->code != format.code) in et8ek8_enum_frame_ival()
979 if (fie->width != format.width || fie->height != format.height) in et8ek8_enum_frame_ival()
983 fie->interval = mode->timeperframe; in et8ek8_enum_frame_ival()
/Linux-v6.6/drivers/staging/media/atomisp/pci/
Datomisp_tpg.c85 struct v4l2_subdev_frame_interval_enum *fie) in tpg_enum_frame_ival() argument
Datomisp_ioctl.c808 struct v4l2_subdev_frame_interval_enum fie = { in atomisp_enum_frameintervals() local
819 &fie); in atomisp_enum_frameintervals()
824 fival->discrete = fie.interval; in atomisp_enum_frameintervals()
/Linux-v6.6/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c948 struct v4l2_subdev_frame_interval_enum *fie) in s5c73m3_oif_enum_frame_interval() argument
954 if (fie->pad != OIF_SOURCE_PAD) in s5c73m3_oif_enum_frame_interval()
956 if (fie->index >= ARRAY_SIZE(s5c73m3_intervals)) in s5c73m3_oif_enum_frame_interval()
960 fi = &s5c73m3_intervals[fie->index]; in s5c73m3_oif_enum_frame_interval()
961 if (fie->width > fi->size.width || fie->height > fi->size.height) in s5c73m3_oif_enum_frame_interval()
964 fie->interval = fi->interval; in s5c73m3_oif_enum_frame_interval()
/Linux-v6.6/drivers/media/platform/ti/cal/
Dcal-video.c368 struct v4l2_subdev_frame_interval_enum fie = { in cal_legacy_enum_frameintervals() local
380 fie.code = fmtinfo->code; in cal_legacy_enum_frameintervals()
382 NULL, &fie); in cal_legacy_enum_frameintervals()
386 fival->discrete = fie.interval; in cal_legacy_enum_frameintervals()
/Linux-v6.6/drivers/media/platform/atmel/
Datmel-isi.c765 struct v4l2_subdev_frame_interval_enum fie = { in isi_enum_frameintervals() local
777 fie.code = isi_fmt->mbus_code; in isi_enum_frameintervals()
780 enum_frame_interval, NULL, &fie); in isi_enum_frameintervals()
785 fival->discrete = fie.interval; in isi_enum_frameintervals()
/Linux-v6.6/drivers/media/platform/via/
Dvia-camera.c959 struct v4l2_subdev_frame_interval_enum fie = { in viacam_enum_frameintervals() local
977 ret = sensor_call(cam, pad, enum_frame_interval, NULL, &fie); in viacam_enum_frameintervals()
981 interval->discrete = fie.interval; in viacam_enum_frameintervals()
/Linux-v6.6/drivers/media/platform/renesas/
Drenesas-ceu.c1308 struct v4l2_subdev_frame_interval_enum fie = { in ceu_enum_frameintervals() local
1322 &fie); in ceu_enum_frameintervals()
1327 fival->discrete = fie.interval; in ceu_enum_frameintervals()
/Linux-v6.6/drivers/media/platform/marvell/
Dmcam-core.c1529 struct v4l2_subdev_frame_interval_enum fie = { in mcam_vidioc_enum_frameintervals() local
1540 fie.code = f->mbus_code; in mcam_vidioc_enum_frameintervals()
1541 ret = sensor_call(cam, pad, enum_frame_interval, NULL, &fie); in mcam_vidioc_enum_frameintervals()
1545 interval->discrete = fie.interval; in mcam_vidioc_enum_frameintervals()
/Linux-v6.6/drivers/media/platform/st/stm32/
Dstm32-dcmi.c1395 struct v4l2_subdev_frame_interval_enum fie = { in dcmi_enum_frameintervals() local
1407 fie.code = sd_fmt->mbus_code; in dcmi_enum_frameintervals()
1410 enum_frame_interval, NULL, &fie); in dcmi_enum_frameintervals()
1415 fival->discrete = fie.interval; in dcmi_enum_frameintervals()

12