/Linux-v5.10/drivers/media/i2c/ |
D | imx214.c | 814 struct v4l2_subdev_frame_interval_enum *fie) in imx214_enum_frame_interval() argument 818 if (fie->index != 0) in imx214_enum_frame_interval() 823 fie->width, fie->height); in imx214_enum_frame_interval() 825 fie->code = IMX214_MBUS_CODE; in imx214_enum_frame_interval() 826 fie->width = mode->width; in imx214_enum_frame_interval() 827 fie->height = mode->height; in imx214_enum_frame_interval() 828 fie->interval.numerator = 1; in imx214_enum_frame_interval() 829 fie->interval.denominator = IMX214_FPS; in imx214_enum_frame_interval()
|
D | ov772x.c | 1303 struct v4l2_subdev_frame_interval_enum *fie) in ov772x_enum_frame_interval() argument 1305 if (fie->pad || fie->index >= ARRAY_SIZE(ov772x_frame_intervals)) in ov772x_enum_frame_interval() 1308 if (fie->width != VGA_WIDTH && fie->width != QVGA_WIDTH) in ov772x_enum_frame_interval() 1310 if (fie->height != VGA_HEIGHT && fie->height != QVGA_HEIGHT) in ov772x_enum_frame_interval() 1313 fie->interval.numerator = 1; in ov772x_enum_frame_interval() 1314 fie->interval.denominator = ov772x_frame_intervals[fie->index]; in ov772x_enum_frame_interval()
|
D | mt9v111.c | 826 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()
|
D | ov7740.c | 725 struct v4l2_subdev_frame_interval_enum *fie) in ov7740_enum_frame_interval() argument 727 if (fie->pad) in ov7740_enum_frame_interval() 730 if (fie->index >= 1) in ov7740_enum_frame_interval() 733 if ((fie->width != VGA_WIDTH) || (fie->height != VGA_HEIGHT)) in ov7740_enum_frame_interval() 736 fie->interval.numerator = 1; in ov7740_enum_frame_interval() 737 fie->interval.denominator = 60; in ov7740_enum_frame_interval()
|
D | ov2680.c | 779 struct v4l2_subdev_frame_interval_enum *fie) in ov2680_enum_frame_interval() argument 783 if (fie->index >= OV2680_MODE_MAX || fie->width > OV2680_WIDTH_MAX || in ov2680_enum_frame_interval() 784 fie->height > OV2680_HEIGHT_MAX || in ov2680_enum_frame_interval() 785 fie->which > V4L2_SUBDEV_FORMAT_ACTIVE) in ov2680_enum_frame_interval() 791 fie->interval = tpf; in ov2680_enum_frame_interval()
|
D | s5k6aa.c | 1001 struct v4l2_subdev_frame_interval_enum *fie) in s5k6aa_enum_frame_interval() argument 1007 if (fie->index >= ARRAY_SIZE(s5k6aa_intervals)) in s5k6aa_enum_frame_interval() 1010 v4l_bound_align_image(&fie->width, S5K6AA_WIN_WIDTH_MIN, in s5k6aa_enum_frame_interval() 1012 &fie->height, S5K6AA_WIN_HEIGHT_MIN, in s5k6aa_enum_frame_interval() 1016 fi = &s5k6aa_intervals[fie->index]; in s5k6aa_enum_frame_interval() 1017 if (fie->width > fi->size.width || fie->height > fi->size.height) in s5k6aa_enum_frame_interval() 1020 fie->interval = fi->interval; in s5k6aa_enum_frame_interval()
|
D | ov7670.c | 1192 struct v4l2_subdev_frame_interval_enum *fie) in ov7670_enum_frame_interval() argument 1198 if (fie->pad) in ov7670_enum_frame_interval() 1200 if (fie->index >= ARRAY_SIZE(ov7670_frame_rates)) in ov7670_enum_frame_interval() 1216 if (fie->width == win->width && fie->height == win->height) in ov7670_enum_frame_interval() 1221 fie->interval.numerator = 1; in ov7670_enum_frame_interval() 1222 fie->interval.denominator = ov7670_frame_rates[fie->index]; in ov7670_enum_frame_interval()
|
D | ov7251.c | 932 struct v4l2_subdev_frame_interval_enum *fie) in ov7251_enum_frame_ival() argument 934 unsigned int index = fie->index; in ov7251_enum_frame_ival() 938 if (fie->width != ov7251_mode_info_data[i].width || in ov7251_enum_frame_ival() 939 fie->height != ov7251_mode_info_data[i].height) in ov7251_enum_frame_ival() 943 fie->interval = ov7251_mode_info_data[i].timeperframe; in ov7251_enum_frame_ival()
|
D | s5k5baf.c | 1184 struct v4l2_subdev_frame_interval_enum *fie) in s5k5baf_enum_frame_interval() argument 1186 if (fie->index > S5K5BAF_MAX_FR_TIME - S5K5BAF_MIN_FR_TIME || in s5k5baf_enum_frame_interval() 1187 fie->pad != PAD_CIS) in s5k5baf_enum_frame_interval() 1190 v4l_bound_align_image(&fie->width, S5K5BAF_WIN_WIDTH_MIN, in s5k5baf_enum_frame_interval() 1192 &fie->height, S5K5BAF_WIN_HEIGHT_MIN, in s5k5baf_enum_frame_interval() 1195 fie->interval.numerator = S5K5BAF_MIN_FR_TIME + fie->index; in s5k5baf_enum_frame_interval() 1196 fie->interval.denominator = 10000; in s5k5baf_enum_frame_interval()
|
D | ov5640.c | 2808 struct v4l2_subdev_frame_interval_enum *fie) in ov5640_enum_frame_interval() argument 2814 if (fie->pad != 0) in ov5640_enum_frame_interval() 2816 if (fie->index >= OV5640_NUM_FRAMERATES) in ov5640_enum_frame_interval() 2820 tpf.denominator = ov5640_framerates[fie->index]; in ov5640_enum_frame_interval() 2823 fie->width, fie->height); in ov5640_enum_frame_interval() 2827 fie->interval = tpf; in ov5640_enum_frame_interval()
|
/Linux-v5.10/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 233 struct v4l2_subdev_frame_interval_enum *fie) in call_enum_frame_interval() argument 235 if (!fie) in call_enum_frame_interval() 238 return check_which(fie->which) ? : check_pad(sd, fie->pad) ? : in call_enum_frame_interval() 239 check_cfg(fie->which, cfg) ? : in call_enum_frame_interval() 240 sd->ops->pad->enum_frame_interval(sd, cfg, fie); in call_enum_frame_interval() 597 struct v4l2_subdev_frame_interval_enum *fie = arg; in subdev_do_ioctl() local 599 memset(fie->reserved, 0, sizeof(fie->reserved)); in subdev_do_ioctl() 601 fie); in subdev_do_ioctl()
|
/Linux-v5.10/drivers/staging/media/tegra-video/ |
D | csi.c | 158 struct v4l2_subdev_frame_interval_enum *fie) in csi_enum_frameintervals() argument 169 if (fie->index > 0) in csi_enum_frameintervals() 172 index = csi_get_frmrate_table_index(csi_chan->csi, fie->code, in csi_enum_frameintervals() 173 fie->width, fie->height); in csi_enum_frameintervals() 177 fie->interval.numerator = 1; in csi_enum_frameintervals() 178 fie->interval.denominator = frmrate[index].framerate; in csi_enum_frameintervals()
|
D | vi.c | 405 struct v4l2_subdev_frame_interval_enum fie = { in tegra_channel_enum_frameintervals() local 416 fie.code = fmtinfo->code; in tegra_channel_enum_frameintervals() 419 ret = v4l2_subdev_call(subdev, pad, enum_frame_interval, NULL, &fie); in tegra_channel_enum_frameintervals() 424 ivals->discrete.numerator = fie.interval.numerator; in tegra_channel_enum_frameintervals() 425 ivals->discrete.denominator = fie.interval.denominator; in tegra_channel_enum_frameintervals()
|
/Linux-v5.10/drivers/staging/media/imx/ |
D | imx-media-csi.c | 1312 struct v4l2_subdev_frame_interval_enum *fie) in csi_enum_frame_interval() argument 1319 if (fie->pad >= CSI_NUM_PADS || in csi_enum_frame_interval() 1320 fie->index >= (fie->pad != CSI_SRC_PAD_IDMAC ? in csi_enum_frame_interval() 1327 crop = __csi_get_crop(priv, cfg, fie->which); in csi_enum_frame_interval() 1329 if ((fie->width != crop->width && fie->width != crop->width / 2) || in csi_enum_frame_interval() 1330 (fie->height != crop->height && fie->height != crop->height / 2)) { in csi_enum_frame_interval() 1335 fie->interval = *input_fi; in csi_enum_frame_interval() 1337 if (fie->pad == CSI_SRC_PAD_IDMAC) in csi_enum_frame_interval() 1338 csi_apply_skip_interval(&csi_skip[fie->index], in csi_enum_frame_interval() 1339 &fie->interval); in csi_enum_frame_interval()
|
D | imx-media-capture.c | 127 struct v4l2_subdev_frame_interval_enum fie = { in capture_enum_frameintervals() local 140 fie.code = cc->codes ? cc->codes[0] : 0; in capture_enum_frameintervals() 143 NULL, &fie); in capture_enum_frameintervals() 148 fival->discrete = fie.interval; in capture_enum_frameintervals()
|
/Linux-v5.10/drivers/media/i2c/et8ek8/ |
D | et8ek8_driver.c | 962 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-v5.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_tpg.c | 85 struct v4l2_subdev_frame_interval_enum *fie) in tpg_enum_frame_ival() argument
|
D | atomisp_file.c | 151 *fie) in file_input_enum_frame_ival()
|
/Linux-v5.10/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-core.c | 950 struct v4l2_subdev_frame_interval_enum *fie) in s5c73m3_oif_enum_frame_interval() argument 956 if (fie->pad != OIF_SOURCE_PAD) in s5c73m3_oif_enum_frame_interval() 958 if (fie->index >= ARRAY_SIZE(s5c73m3_intervals)) in s5c73m3_oif_enum_frame_interval() 962 fi = &s5c73m3_intervals[fie->index]; in s5c73m3_oif_enum_frame_interval() 963 if (fie->width > fi->size.width || fie->height > fi->size.height) in s5c73m3_oif_enum_frame_interval() 966 fie->interval = fi->interval; in s5c73m3_oif_enum_frame_interval()
|
/Linux-v5.10/drivers/media/platform/ti-vpe/ |
D | cal-video.c | 464 struct v4l2_subdev_frame_interval_enum fie = { in cal_enum_frameintervals() local 476 fie.code = fmt->code; in cal_enum_frameintervals() 478 NULL, &fie); in cal_enum_frameintervals() 482 fival->discrete = fie.interval; in cal_enum_frameintervals()
|
/Linux-v5.10/drivers/media/platform/atmel/ |
D | atmel-isi.c | 761 struct v4l2_subdev_frame_interval_enum fie = { in isi_enum_frameintervals() local 773 fie.code = isi_fmt->mbus_code; in isi_enum_frameintervals() 776 enum_frame_interval, NULL, &fie); in isi_enum_frameintervals() 781 fival->discrete = fie.interval; in isi_enum_frameintervals()
|
/Linux-v5.10/drivers/media/platform/ |
D | via-camera.c | 967 struct v4l2_subdev_frame_interval_enum fie = { in viacam_enum_frameintervals() local 985 ret = sensor_call(cam, pad, enum_frame_interval, NULL, &fie); in viacam_enum_frameintervals() 989 interval->discrete = fie.interval; in viacam_enum_frameintervals()
|
D | renesas-ceu.c | 1315 struct v4l2_subdev_frame_interval_enum fie = { in ceu_enum_frameintervals() local 1329 &fie); in ceu_enum_frameintervals() 1334 fival->discrete = fie.interval; in ceu_enum_frameintervals()
|
/Linux-v5.10/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 1521 struct v4l2_subdev_frame_interval_enum fie = { in mcam_vidioc_enum_frameintervals() local 1532 fie.code = f->mbus_code; in mcam_vidioc_enum_frameintervals() 1533 ret = sensor_call(cam, pad, enum_frame_interval, NULL, &fie); in mcam_vidioc_enum_frameintervals() 1537 interval->discrete = fie.interval; in mcam_vidioc_enum_frameintervals()
|
/Linux-v5.10/drivers/media/platform/stm32/ |
D | stm32-dcmi.c | 1402 struct v4l2_subdev_frame_interval_enum fie = { in dcmi_enum_frameintervals() local 1414 fie.code = sd_fmt->mbus_code; in dcmi_enum_frameintervals() 1417 enum_frame_interval, NULL, &fie); in dcmi_enum_frameintervals() 1422 fival->discrete = fie.interval; in dcmi_enum_frameintervals()
|