Home
last modified time | relevance | path

Searched refs:lane_mbps (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c421 unsigned int *lane_mbps) in dw_mipi_dsi_get_lane_mbps() argument
458 *lane_mbps = pll_out_khz / 1000; in dw_mipi_dsi_get_lane_mbps()
461 pll_in_khz, pll_out_khz, *lane_mbps); in dw_mipi_dsi_get_lane_mbps()
469 dw_mipi_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in dw_mipi_dsi_phy_get_timing() argument
479 timing->clk_hs2lp = DSI_PHY_DELAY(272, 136, lane_mbps); in dw_mipi_dsi_phy_get_timing()
480 timing->clk_lp2hs = DSI_PHY_DELAY(512, 40, lane_mbps); in dw_mipi_dsi_phy_get_timing()
481 timing->data_hs2lp = DSI_PHY_DELAY(192, 64, lane_mbps); in dw_mipi_dsi_phy_get_timing()
482 timing->data_lp2hs = DSI_PHY_DELAY(256, 32, lane_mbps); in dw_mipi_dsi_phy_get_timing()
528 unsigned int px_clock_hz, target_px_clock_hz, lane_mbps; in dw_mipi_dsi_stm_mode_valid() local
566 lane_mbps = pll_out_khz / 1000; in dw_mipi_dsi_stm_mode_valid()
[all …]
/linux-6.12.1/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c288 unsigned int lane_mbps; /* per lane */ member
400 return DIV_ROUND_UP(ns * dsi->lane_mbps / 8, 1000); in ns2bc()
408 return DIV_ROUND_UP(ns * dsi->lane_mbps, 1000); in ns2ui()
431 vco = (dsi->lane_mbps < 200) ? 0 : (dsi->lane_mbps + 100) / 200; in dw_mipi_dsi_phy_init()
433 i = max_mbps_to_parameter(dsi->lane_mbps); in dw_mipi_dsi_phy_init()
437 dsi->lane_mbps); in dw_mipi_dsi_phy_init()
552 unsigned int *lane_mbps) in dw_mipi_dsi_get_lane_mbps() argument
591 dsi->lane_mbps = target_mbps; in dw_mipi_dsi_get_lane_mbps()
592 *lane_mbps = dsi->lane_mbps; in dw_mipi_dsi_get_lane_mbps()
640 dsi->lane_mbps = DIV_ROUND_UP(best_freq, USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps()
[all …]
/linux-6.12.1/include/drm/bridge/
Ddw_mipi_dsi.h40 unsigned int *lane_mbps);
41 int (*get_timing)(void *priv_data, unsigned int lane_mbps,
/linux-6.12.1/drivers/gpu/drm/bridge/imx/
Dimx93-mipi-dsi.c679 unsigned int *lane_mbps) in imx93_dsi_get_lane_mbps() argument
693 *lane_mbps = DIV_ROUND_UP(phy_cfg.mipi_dphy.hs_clk_rate, USEC_PER_SEC); in imx93_dsi_get_lane_mbps()
698 *lane_mbps, DRM_MODE_ARG(mode)); in imx93_dsi_get_lane_mbps()
787 static int imx93_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in imx93_dsi_phy_get_timing() argument
795 if (lane_mbps <= hstt_table[i].maxfreq) in imx93_dsi_phy_get_timing()
800 lane_mbps); in imx93_dsi_phy_get_timing()
807 lane_mbps, hstt_table[i].maxfreq); in imx93_dsi_phy_get_timing()
/linux-6.12.1/drivers/gpu/drm/meson/
Dmeson_dw_mipi_dsi.c160 unsigned int *lane_mbps) in dw_mipi_dsi_get_lane_mbps() argument
173 *lane_mbps = DIV_ROUND_UP(mipi_dsi->phy_opts.mipi_dphy.hs_clk_rate, USEC_PER_SEC); in dw_mipi_dsi_get_lane_mbps()
179 dw_mipi_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in dw_mipi_dsi_phy_get_timing() argument
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c252 unsigned int lane_mbps; /* per lane */ member
680 esc_clk_division = (dsi->lane_mbps >> 3) / esc_rate + 1; in dw_mipi_dsi_init()
784 lbcc = hcomponent * dsi->lane_mbps * MSEC_PER_SEC / 8; in dw_mipi_dsi_get_hcomponent_lbcc()
856 dsi->lane_mbps, &timing); in dw_mipi_dsi_dphy_timing_config()
989 lanes, dsi->format, &dsi->lane_mbps); in dw_mipi_dsi_mode_set()