/linux-6.6.21/drivers/media/usb/gspca/ |
D | ov519.c | 43 static int frame_rate; variable 94 u8 frame_rate; /* current Framerate */ member 3188 if (frame_rate > 0) in ov519_set_fr() 3189 sd->frame_rate = frame_rate; in ov519_set_fr() 3190 if (sd->frame_rate >= 30) in ov519_set_fr() 3192 else if (sd->frame_rate >= 25) in ov519_set_fr() 3194 else if (sd->frame_rate >= 20) in ov519_set_fr() 3196 else if (sd->frame_rate >= 15) in ov519_set_fr() 3198 else if (sd->frame_rate >= 10) in ov519_set_fr() 3255 sd->frame_rate = 15; in sd_config() [all …]
|
D | ov534.c | 72 u8 frame_rate; member 851 if (sd->frame_rate >= r->fps) in set_frame_rate() 1118 sd->frame_rate = DEFAULT_FRAME_RATE; in sd_config() 1543 tpf->denominator = sd->frame_rate; in sd_get_streamparm() 1555 sd->frame_rate = DEFAULT_FRAME_RATE; in sd_set_streamparm() 1557 sd->frame_rate = tpf->denominator / tpf->numerator; in sd_set_streamparm() 1564 tpf->denominator = sd->frame_rate; in sd_set_streamparm()
|
/linux-6.6.21/drivers/media/platform/aspeed/ |
D | aspeed-video.c | 319 unsigned int frame_rate; member 1223 video->frame_rate); in aspeed_video_update_regs() 1237 if (video->frame_rate) in aspeed_video_update_regs() 1238 ctrl |= FIELD_PREP(VE_CTRL_FRC, video->frame_rate); in aspeed_video_update_regs() 1438 if (!video->frame_rate) in aspeed_video_get_parm() 1441 a->parm.capture.timeperframe.denominator = video->frame_rate; in aspeed_video_get_parm() 1449 unsigned int frame_rate = 0; in aspeed_video_set_parm() local 1456 frame_rate = a->parm.capture.timeperframe.denominator / in aspeed_video_set_parm() 1459 if (!frame_rate || frame_rate > MAX_FRAME_RATE) { in aspeed_video_set_parm() 1460 frame_rate = 0; in aspeed_video_set_parm() [all …]
|
/linux-6.6.21/drivers/media/platform/amphion/ |
D | venc.c | 285 timeperframe->numerator = venc->params.frame_rate.numerator; in venc_g_parm() 286 timeperframe->denominator = venc->params.frame_rate.denominator; in venc_g_parm() 309 timeperframe->numerator = venc->params.frame_rate.numerator; in venc_s_parm() 311 timeperframe->denominator = venc->params.frame_rate.denominator; in venc_s_parm() 313 venc->params.frame_rate.numerator = timeperframe->numerator; in venc_s_parm() 314 venc->params.frame_rate.denominator = timeperframe->denominator; in venc_s_parm() 316 rational_best_approximation(venc->params.frame_rate.numerator, in venc_s_parm() 317 venc->params.frame_rate.denominator, in venc_s_parm() 318 venc->params.frame_rate.numerator, in venc_s_parm() 319 venc->params.frame_rate.denominator, in venc_s_parm() [all …]
|
D | vpu_malone.c | 286 u32 frame_rate; member 894 info->frame_rate.numerator = 1000; in vpu_malone_unpack_seq_hdr() 895 info->frame_rate.denominator = pkt->data[8]; in vpu_malone_unpack_seq_hdr() 914 if (info->frame_rate.numerator && info->frame_rate.denominator) { in vpu_malone_unpack_seq_hdr() 917 rational_best_approximation(info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr() 918 info->frame_rate.denominator, in vpu_malone_unpack_seq_hdr() 919 info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr() 920 info->frame_rate.denominator, in vpu_malone_unpack_seq_hdr() 922 info->frame_rate.numerator = n; in vpu_malone_unpack_seq_hdr() 923 info->frame_rate.denominator = d; in vpu_malone_unpack_seq_hdr()
|
D | vpu_windsor.c | 402 u32 frame_rate; member 918 expert->config_param.frame_rate_num = params->frame_rate.numerator; in vpu_windsor_set_frame_rate() 919 expert->config_param.frame_rate_den = params->frame_rate.denominator; in vpu_windsor_set_frame_rate() 1137 if (!params->frame_rate.numerator) in vpu_windsor_set_params() 1139 windsor->frame_rate = params->frame_rate.denominator / params->frame_rate.numerator; in vpu_windsor_set_params()
|
D | vpu_codec.h | 15 struct v4l2_fract frame_rate; member
|
D | vpu_defs.h | 134 struct v4l2_fract frame_rate; member
|
/linux-6.6.21/include/sound/ |
D | sdw.h | 37 stream_config->frame_rate = params_rate(params); in snd_sdw_params_to_config()
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_vbif.h | 15 u32 frame_rate; member
|
D | dpu_hw_top.h | 65 u32 frame_rate; member
|
D | dpu_vbif.c | 96 pps = params->frame_rate; in _dpu_vbif_apply_dynamic_ot_limit() 112 params->width, params->height, params->frame_rate, in _dpu_vbif_apply_dynamic_ot_limit()
|
D | dpu_plane.c | 346 int frame_rate) in _dpu_plane_set_ot_limit() argument 358 ot_params.frame_rate = frame_rate; in _dpu_plane_set_ot_limit() 1017 int frame_rate, in dpu_plane_sspp_update_pipe() argument 1078 _dpu_plane_set_ot_limit(plane, pipe, pipe_cfg, frame_rate); in dpu_plane_sspp_update_pipe()
|
D | dpu_hw_top.c | 172 CALCULATE_WD_LOAD_VALUE(cfg->frame_rate)); in dpu_hw_setup_vsync_source()
|
/linux-6.6.21/drivers/staging/vc04_services/vchiq-mmal/ |
D | mmal-msg-format.h | 35 struct s32_fract frame_rate; /* Frame rate */ member
|
D | mmal-vchiq.c | 747 port->es.video.frame_rate.numerator, in dump_port_info() 748 port->es.video.frame_rate.denominator, in dump_port_info() 1552 dst->es.video.frame_rate.numerator = src->es.video.frame_rate.numerator; in vchiq_mmal_port_connect_tunnel() 1553 dst->es.video.frame_rate.denominator = src->es.video.frame_rate.denominator; in vchiq_mmal_port_connect_tunnel()
|
/linux-6.6.21/sound/soc/codecs/ |
D | sgtl5000.c | 892 static int sgtl5000_set_clock(struct snd_soc_component *component, int frame_rate) in sgtl5000_set_clock() argument 903 switch (frame_rate) { in sgtl5000_set_clock() 913 sys_fs = frame_rate; in sgtl5000_set_clock() 918 switch (sys_fs / frame_rate) { in sgtl5000_set_clock() 948 frame_rate); in sgtl5000_set_clock() 957 switch (sgtl5000->sysclk / frame_rate) { in sgtl5000_set_clock() 980 sgtl5000->sysclk / frame_rate); in sgtl5000_set_clock()
|
D | max98363.c | 230 stream_config.frame_rate = params_rate(params); in max98363_sdw_dai_hw_params()
|
/linux-6.6.21/drivers/staging/vc04_services/bcm2835-camera/ |
D | bcm2835-camera.c | 1036 preview_port->es.video.frame_rate.numerator = in mmal_setup_video_component() 1038 preview_port->es.video.frame_rate.denominator = in mmal_setup_video_component() 1087 port->es.video.frame_rate.numerator = in mmal_setup_encode_component() 1089 port->es.video.frame_rate.denominator = in mmal_setup_encode_component() 1228 camera_port->es.video.frame_rate.numerator = 0; in mmal_setup_components() 1229 camera_port->es.video.frame_rate.denominator = 1; in mmal_setup_components() 1632 format->es->video.frame_rate.numerator = 0; /* Rely on fps_range */ in mmal_init() 1633 format->es->video.frame_rate.denominator = 1; in mmal_init() 1646 format->es->video.frame_rate.numerator = 0; /* Rely on fps_range */ in mmal_init() 1647 format->es->video.frame_rate.denominator = 1; in mmal_init() [all …]
|
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-is-param.c | 51 dst = &is->is_p_region->parameter.sensor.frame_rate; in __fimc_is_hw_update_param_sensor_framerate() 52 src = &is->config[is->config_index].sensor.frame_rate; in __fimc_is_hw_update_param_sensor_framerate() 273 sensor->frame_rate.frame_rate = in __is_set_sensor() 278 sensor->frame_rate.frame_rate = fps; in __is_set_sensor()
|
D | fimc-is-param.h | 525 u32 frame_rate; member 673 struct param_sensor_framerate frame_rate; member 775 u32 frame_rate; member
|
/linux-6.6.21/include/uapi/linux/dvb/ |
D | video.h | 117 unsigned int frame_rate; /* in frames per 1000sec */ member
|
/linux-6.6.21/drivers/staging/media/av7110/ |
D | video-get-event.rst | 79 unsigned int frame_rate; /* in frames per 1000sec */
|
/linux-6.6.21/drivers/media/i2c/ |
D | ov5640.c | 3625 int frame_rate, ret = 0; in ov5640_s_frame_interval() local 3639 frame_rate = ov5640_try_frame_interval(sensor, &fi->interval, mode); in ov5640_s_frame_interval() 3640 if (frame_rate < 0) { in ov5640_s_frame_interval() 3652 if (ov5640_framerates[frame_rate] > ov5640_framerates[mode->max_fps]) { in ov5640_s_frame_interval() 3658 frame_rate != sensor->current_fr) { in ov5640_s_frame_interval() 3659 sensor->current_fr = frame_rate; in ov5640_s_frame_interval()
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
D | vidioc-enum-frameintervals.rst | 91 frame_rate = 1 / frame_interval
|