Home
last modified time | relevance | path

Searched refs:pixel_rate (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/media/i2c/
A Dov5647.c91 u64 pixel_rate; member
107 struct v4l2_ctrl *pixel_rate; member
508 .pixel_rate = 87500000,
529 .pixel_rate = 81666700,
550 .pixel_rate = 81666700,
571 .pixel_rate = 55000000,
998 __v4l2_ctrl_modify_range(sensor->pixel_rate, mode->pixel_rate, in ov5647_set_pad_fmt()
999 mode->pixel_rate, 1, mode->pixel_rate); in ov5647_set_pad_fmt()
1300 sensor->mode->pixel_rate, in ov5647_init_controls()
1301 sensor->mode->pixel_rate, 1, in ov5647_init_controls()
[all …]
A Dimx355.c107 struct v4l2_ctrl *pixel_rate; member
1342 u64 pixel_rate; in imx355_set_pad_format() local
1363 pixel_rate = imx355->link_def_freq * 2 * 4; in imx355_set_pad_format()
1364 do_div(pixel_rate, 10); in imx355_set_pad_format()
1365 __v4l2_ctrl_s_ctrl_int64(imx355->pixel_rate, pixel_rate); in imx355_set_pad_format()
1568 u64 pixel_rate; in imx355_init_controls() local
1587 pixel_rate = imx355->link_def_freq * 2 * 4; in imx355_init_controls()
1588 do_div(pixel_rate, 10); in imx355_init_controls()
1590 imx355->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &imx355_ctrl_ops, in imx355_init_controls()
1591 V4L2_CID_PIXEL_RATE, pixel_rate, in imx355_init_controls()
[all …]
A Dimx319.c121 struct v4l2_ctrl *pixel_rate; member
2043 u64 pixel_rate; in imx319_set_pad_format() local
2064 pixel_rate = imx319->link_def_freq * 2 * 4; in imx319_set_pad_format()
2065 do_div(pixel_rate, 10); in imx319_set_pad_format()
2066 __v4l2_ctrl_s_ctrl_int64(imx319->pixel_rate, pixel_rate); in imx319_set_pad_format()
2279 u64 pixel_rate; in imx319_init_controls() local
2298 pixel_rate = imx319->link_def_freq * 2 * 4; in imx319_init_controls()
2299 do_div(pixel_rate, 10); in imx319_init_controls()
2301 imx319->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &imx319_ctrl_ops, in imx319_init_controls()
2302 V4L2_CID_PIXEL_RATE, pixel_rate, in imx319_init_controls()
[all …]
A Dov9734.c330 struct v4l2_ctrl *pixel_rate; member
352 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV9734_DATA_LANES; in to_pixel_rate() local
354 do_div(pixel_rate, OV9734_RGB_DEPTH); in to_pixel_rate()
356 return pixel_rate; in to_pixel_rate()
544 s64 exposure_max, h_blank, pixel_rate; in ov9734_init_controls() local
563 pixel_rate = to_pixel_rate(OV9734_LINK_FREQ_180MHZ_INDEX); in ov9734_init_controls()
564 ov9734->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov9734_ctrl_ops, in ov9734_init_controls()
566 pixel_rate, 1, pixel_rate); in ov9734_init_controls()
749 __v4l2_ctrl_s_ctrl_int64(ov9734->pixel_rate, in ov9734_set_format()
A Dov5670.c82 u32 pixel_rate; member
1730 .pixel_rate = (OV5670_LINK_FREQ_422MHZ * 2 * 2) / 10,
1823 struct v4l2_ctrl *pixel_rate; member
2087 ov5670->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops, in ov5670_init_controls()
2089 link_freq_configs[0].pixel_rate, in ov5670_init_controls()
2090 link_freq_configs[0].pixel_rate, in ov5670_init_controls()
2092 link_freq_configs[0].pixel_rate); in ov5670_init_controls()
2248 ov5670->pixel_rate, in ov5670_set_pad_format()
2249 link_freq_configs[mode->link_freq_index].pixel_rate); in ov5670_set_pad_format()
A Dov2740.c332 struct v4l2_ctrl *pixel_rate; member
357 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV2740_DATA_LANES; in to_pixel_rate() local
359 do_div(pixel_rate, OV2740_RGB_DEPTH); in to_pixel_rate()
361 return pixel_rate; in to_pixel_rate()
549 s64 exposure_max, h_blank, pixel_rate; in ov2740_init_controls() local
570 pixel_rate = to_pixel_rate(OV2740_LINK_FREQ_360MHZ_INDEX); in ov2740_init_controls()
571 ov2740->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov2740_ctrl_ops, in ov2740_init_controls()
573 pixel_rate, 1, pixel_rate); in ov2740_init_controls()
854 __v4l2_ctrl_s_ctrl_int64(ov2740->pixel_rate, in ov2740_set_format()
A Dimx290.c82 struct v4l2_ctrl *pixel_rate; member
590 u64 pixel_rate; in imx290_calc_pixel_rate() local
593 pixel_rate = link_freq * 2 * nlanes; in imx290_calc_pixel_rate()
594 do_div(pixel_rate, imx290->bpp); in imx290_calc_pixel_rate()
595 return pixel_rate; in imx290_calc_pixel_rate()
636 if (imx290->pixel_rate) in imx290_set_fmt()
637 __v4l2_ctrl_s_ctrl_int64(imx290->pixel_rate, in imx290_set_fmt()
1058 imx290->pixel_rate = v4l2_ctrl_new_std(&imx290->ctrls, &imx290_ctrl_ops, in imx290_probe()
A Dov02a10.c251 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV02A10_DATA_LANES; in to_pixel_rate() local
253 do_div(pixel_rate, OV02A10_BITS_PER_SAMPLE); in to_pixel_rate()
255 return pixel_rate; in to_pixel_rate()
742 s64 pixel_rate; in ov02a10_initialize_controls() local
759 pixel_rate = to_pixel_rate(0); in ov02a10_initialize_controls()
760 v4l2_ctrl_new_std(handler, NULL, V4L2_CID_PIXEL_RATE, 0, pixel_rate, 1, in ov02a10_initialize_controls()
761 pixel_rate); in ov02a10_initialize_controls()
A Dimx258.c610 struct v4l2_ctrl *pixel_rate; member
900 s64 pixel_rate; in imx258_set_pad_format() local
920 pixel_rate = link_freq_to_pixel_rate(link_freq); in imx258_set_pad_format()
921 __v4l2_ctrl_s_ctrl_int64(imx258->pixel_rate, pixel_rate); in imx258_set_pad_format()
1178 imx258->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &imx258_ctrl_ops, in imx258_init_controls()
A Dov5675.c483 struct v4l2_ctrl *pixel_rate; member
500 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV5675_DATA_LANES; in to_pixel_rate() local
502 do_div(pixel_rate, OV5675_RGB_DEPTH); in to_pixel_rate()
504 return pixel_rate; in to_pixel_rate()
755 ov5675->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls()
945 __v4l2_ctrl_s_ctrl_int64(ov5675->pixel_rate, in ov5675_set_format()
A Dhi556.c485 struct v4l2_ctrl *pixel_rate; member
502 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * HI556_DATA_LANES; in to_pixel_rate() local
504 do_div(pixel_rate, HI556_RGB_DEPTH); in to_pixel_rate()
506 return pixel_rate; in to_pixel_rate()
704 hi556->pixel_rate = v4l2_ctrl_new_std in hi556_init_controls()
897 __v4l2_ctrl_s_ctrl_int64(hi556->pixel_rate, in hi556_set_format()
A Dov13858.c1037 struct v4l2_ctrl *pixel_rate; member
1360 s64 pixel_rate; in ov13858_set_pad_format() local
1381 pixel_rate = link_freq_to_pixel_rate(link_freq); in ov13858_set_pad_format()
1382 __v4l2_ctrl_s_ctrl_int64(ov13858->pixel_rate, pixel_rate); in ov13858_set_pad_format()
1627 ov13858->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov13858_ctrl_ops, in ov13858_init_controls()
A Dimx208.c277 struct v4l2_ctrl *pixel_rate; member
583 s64 pixel_rate; in imx208_set_pad_format() local
599 pixel_rate = link_freq_to_pixel_rate(link_freq); in imx208_set_pad_format()
600 __v4l2_ctrl_s_ctrl_int64(imx208->pixel_rate, pixel_rate); in imx208_set_pad_format()
893 imx208->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &imx208_ctrl_ops, in imx208_init_controls()
A Dov13b10.c579 struct v4l2_ctrl *pixel_rate; member
979 s64 pixel_rate; in ov13b10_set_pad_format() local
1000 pixel_rate = link_freq_to_pixel_rate(link_freq); in ov13b10_set_pad_format()
1001 __v4l2_ctrl_s_ctrl_int64(ov13b->pixel_rate, pixel_rate); in ov13b10_set_pad_format()
1228 ov13b->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov13b10_ctrl_ops, in ov13b10_init_controls()
A Dov2685.c615 u32 pixel_rate, h_blank; in ov2685_initialize_controls() local
630 pixel_rate = (link_freq_menu_items[0] * 2 * OV2685_LANES) / in ov2685_initialize_controls()
633 0, pixel_rate, 1, pixel_rate); in ov2685_initialize_controls()
A Dov8856.c1426 struct v4l2_ctrl *pixel_rate; member
1604 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * nlanes; in to_rate() local
1606 do_div(pixel_rate, OV8856_RGB_DEPTH); in to_rate()
1608 return pixel_rate; in to_rate()
1895 ov8856->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov8856_ctrl_ops, in ov8856_init_controls()
2162 __v4l2_ctrl_s_ctrl_int64(ov8856->pixel_rate, in ov8856_set_format()
/linux/drivers/gpu/drm/vc4/
A Dvc4_hdmi.c294 new_state->pixel_rate = vc4_state->pixel_rate; in vc4_hdmi_connector_duplicate_state()
905 pixel_rate = vc4_conn_state->pixel_rate; in vc4_hdmi_encoder_pre_crtc_configure()
950 if (pixel_rate > 297000000) in vc4_hdmi_encoder_pre_crtc_configure()
952 else if (pixel_rate > 148500000) in vc4_hdmi_encoder_pre_crtc_configure()
1097 tmds_rate = pixel_rate * 10; in vc4_hdmi_encoder_atomic_check()
1106 pixel_rate = pixel_rate * 150; in vc4_hdmi_encoder_atomic_check()
1107 do_div(pixel_rate, 100); in vc4_hdmi_encoder_atomic_check()
1109 pixel_rate = pixel_rate * 125; in vc4_hdmi_encoder_atomic_check()
1110 do_div(pixel_rate, 100); in vc4_hdmi_encoder_atomic_check()
1114 pixel_rate = pixel_rate * 2; in vc4_hdmi_encoder_atomic_check()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_sprite.c293 unsigned int pixel_rate; in vlv_plane_min_cdclk() local
303 pixel_rate = crtc_state->pixel_rate; in vlv_plane_min_cdclk()
307 return DIV_ROUND_UP(pixel_rate * num, den); in vlv_plane_min_cdclk()
595 unsigned int pixel_rate; in ivb_plane_min_cdclk() local
605 pixel_rate = crtc_state->pixel_rate; in ivb_plane_min_cdclk()
609 return DIV_ROUND_UP(pixel_rate * num, den); in ivb_plane_min_cdclk()
615 unsigned int src_w, dst_w, pixel_rate; in ivb_sprite_min_cdclk() local
625 pixel_rate = crtc_state->pixel_rate; in ivb_sprite_min_cdclk()
678 unsigned int pixel_rate = crtc_state->pixel_rate; in hsw_plane_min_cdclk() local
956 unsigned int hscale, pixel_rate; in g4x_sprite_min_cdclk() local
[all …]
A Dintel_atomic_plane.c177 crtc_state->pixel_rate); in intel_plane_pixel_rate()
185 unsigned int pixel_rate; in intel_plane_data_rate() local
190 pixel_rate = intel_plane_pixel_rate(crtc_state, plane_state); in intel_plane_data_rate()
203 return pixel_rate * cpp; in intel_plane_data_rate()
/linux/drivers/gpu/drm/msm/edp/
A Dedp_ctrl.c105 u32 pixel_rate; /* in kHz */ member
236 (unsigned long)ctrl->pixel_rate * 1000); in edp_clk_enable()
238 (unsigned long)ctrl->pixel_rate * 1000); in edp_clk_enable()
408 prate = ctrl->pixel_rate; in edp_fill_link_cfg()
706 prate = ctrl->pixel_rate; in edp_link_rate_down_shift()
726 ctrl->pixel_rate, in edp_link_rate_down_shift()
914 msm_edp_ctrl_pixel_clock_valid(ctrl, ctrl->pixel_rate, &m, &n); in edp_ctrl_link_enable()
1296 ctrl->pixel_rate = mode->clock; in msm_edp_ctrl_timing_cfg()
1342 u32 pixel_rate, u32 *pm, u32 *pn) in msm_edp_ctrl_pixel_clock_valid() argument
1359 clk_err = abs(divs[i].rate - pixel_rate); in msm_edp_ctrl_pixel_clock_valid()
[all …]
/linux/drivers/media/i2c/adv748x/
A Dadv748x-csi2.c269 if (!tx->pixel_rate) in adv748x_csi2_set_pixelrate()
272 return v4l2_ctrl_s_ctrl_int64(tx->pixel_rate, rate); in adv748x_csi2_set_pixelrate()
294 tx->pixel_rate = v4l2_ctrl_new_std(&tx->ctrl_hdl, in adv748x_csi2_init_controls()
/linux/drivers/media/i2c/et8ek8/
A Det8ek8_driver.c53 struct v4l2_ctrl *pixel_rate; member
703 sensor->pixel_rate = in et8ek8_init_controls()
726 u32 min, max, pixel_rate; in et8ek8_update_controls() local
739 pixel_rate = ((mode->pixel_clock + (1 << S) - 1) >> S) + mode->width; in et8ek8_update_controls()
740 pixel_rate = mode->window_width * (pixel_rate - 1) / mode->width; in et8ek8_update_controls()
743 __v4l2_ctrl_s_ctrl_int64(sensor->pixel_rate, pixel_rate << S); in et8ek8_update_controls()
/linux/drivers/gpu/drm/amd/display/dc/calcs/
A Ddce_calcs.c270 data->pixel_rate[0] = data->pixel_rate[4]; in calculate_bandwidth()
271 data->pixel_rate[1] = data->pixel_rate[4]; in calculate_bandwidth()
273 data->pixel_rate[2] = data->pixel_rate[5]; in calculate_bandwidth()
274 data->pixel_rate[3] = data->pixel_rate[5]; in calculate_bandwidth()
401 data->pixel_rate[maximum_number_of_surfaces - 2] = data->pixel_rate[5]; in calculate_bandwidth()
402 data->pixel_rate[maximum_number_of_surfaces - 1] = data->pixel_rate[5]; in calculate_bandwidth()
1194 …i] = bw_div(bw_div(data->source_width_rounded_up_to_chunks[i], data->hsr[i]), data->pixel_rate[i]); in calculate_bandwidth()
2020 …t(bw_mul(bw_div(bw_min2(bw_int_to_fixed(600), data->max_phyclk), data->pixel_rate[k]), bw_int_to_f… in calculate_bandwidth()
2022 …(bw_mul(bw_div(bw_mul(bw_int_to_fixed(270), bw_int_to_fixed(4)), data->pixel_rate[k]), bw_int_to_f… in calculate_bandwidth()
2826 data->pixel_rate[num_displays + 4] = bw_frc_to_fixed(pipe[i].stream->timing.pix_clk_100hz, 10000); in populate_initial_data()
[all …]
/linux/drivers/gpu/drm/msm/dp/
A Ddp_ctrl.h19 u32 pixel_rate; member
A Ddp_ctrl.c1329 ctrl->link->link_params.rate, ctrl->dp_ctrl.pixel_rate); in dp_ctrl_enable_mainlink_clocks()
1339 ctrl->dp_ctrl.pixel_rate * 1000); in dp_ctrl_enable_stream_clocks()
1346 ctrl->link->link_params.rate, ctrl->dp_ctrl.pixel_rate); in dp_ctrl_enable_stream_clocks()
1489 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_link_maintenance()
1673 ctrl->dp_ctrl.pixel_rate = phy_cts_pixel_clk_khz; in dp_ctrl_on_link()
1678 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_link()
1683 ctrl->link->link_params.num_lanes, ctrl->dp_ctrl.pixel_rate); in dp_ctrl_on_link()
1791 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_stream()
1795 ctrl->link->link_params.num_lanes, ctrl->dp_ctrl.pixel_rate); in dp_ctrl_on_stream()
1832 ctrl->dp_ctrl.pixel_rate, dp_ctrl_use_fixed_nvid(ctrl)); in dp_ctrl_on_stream()

Completed in 119 milliseconds

12