Searched refs:byte_clk (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/sprd/ |
D | sprd_dsi.c | 386 #define ns_to_cycle(ns, byte_clk) \ argument 387 DIV_ROUND_UP((ns) * (byte_clk), 1000000) 392 u32 byte_clk = dsi->slave->hs_rate / 8; in sprd_dsi_init() local 409 div = DIV_ROUND_UP(byte_clk, dsi->slave->lp_rate); in sprd_dsi_init() 412 max_rd_time = ns_to_cycle(ctx->max_rd_time, byte_clk); in sprd_dsi_init() 415 data_hs2lp = ns_to_cycle(ctx->data_hs2lp, byte_clk); in sprd_dsi_init() 416 data_lp2hs = ns_to_cycle(ctx->data_lp2hs, byte_clk); in sprd_dsi_init() 417 clk_hs2lp = ns_to_cycle(ctx->clk_hs2lp, byte_clk); in sprd_dsi_init() 418 clk_lp2hs = ns_to_cycle(ctx->clk_lp2hs, byte_clk); in sprd_dsi_init() 451 u32 byte_clk = dsi->slave->hs_rate / 8; in sprd_dsi_dpi_video() local [all …]
|
/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 118 struct clk *byte_clk; member 304 msm_host->byte_clk = msm_clk_get(pdev, "byte"); in dsi_clk_init() 305 if (IS_ERR(msm_host->byte_clk)) { in dsi_clk_init() 306 ret = PTR_ERR(msm_host->byte_clk); in dsi_clk_init() 309 msm_host->byte_clk = NULL; in dsi_clk_init() 408 ret = clk_prepare_enable(msm_host->byte_clk); in dsi_link_clk_enable_6g() 432 clk_disable_unprepare(msm_host->byte_clk); in dsi_link_clk_enable_6g() 447 ret = clk_set_rate(msm_host->byte_clk, msm_host->byte_clk_rate); in dsi_link_clk_set_rate_v2() 478 ret = clk_prepare_enable(msm_host->byte_clk); in dsi_link_clk_enable_v2() 509 clk_disable_unprepare(msm_host->byte_clk); in dsi_link_clk_enable_v2() [all …]
|
/drivers/gpu/drm/bridge/ |
D | samsung-dsim.c | 673 unsigned long hs_clk, byte_clk, esc_clk, pix_clk; in samsung_dsim_enable_clock() local 693 byte_clk = hs_clk / 8; in samsung_dsim_enable_clock() 694 esc_div = DIV_ROUND_UP(byte_clk, dsi->esc_clk_rate); in samsung_dsim_enable_clock() 695 esc_clk = byte_clk / esc_div; in samsung_dsim_enable_clock() 699 esc_clk = byte_clk / esc_div; in samsung_dsim_enable_clock() 703 hs_clk, byte_clk, esc_clk); in samsung_dsim_enable_clock()
|