Searched refs:hs_to (Results 1 – 1 of 1) sorted by relevance
457 u32 hs_to; in sprd_dsi_dpi_video() local497 hs_to = (hline * vm->vactive) + (2 * bpp_x100) / 100; in sprd_dsi_dpi_video()498 for (div = 0x80; (div < hs_to) && (div > 2); div--) { in sprd_dsi_dpi_video()499 if ((hs_to % div) == 0) { in sprd_dsi_dpi_video()501 writel(hs_to / div, ctx->base + LRX_H_TO_CONFIG); in sprd_dsi_dpi_video()502 writel(hs_to / div, ctx->base + HTX_TO_CONFIG); in sprd_dsi_dpi_video()