Lines Matching refs:lbcc
170 #define PHY_CLKHS2LP_TIME(lbcc) (((lbcc) & 0x3ff) << 16) argument
171 #define PHY_CLKLP2HS_TIME(lbcc) ((lbcc) & 0x3ff) argument
174 #define PHY_HS2LP_TIME(lbcc) (((lbcc) & 0xff) << 24) argument
175 #define PHY_LP2HS_TIME(lbcc) (((lbcc) & 0xff) << 16) argument
176 #define MAX_RD_TIME(lbcc) ((lbcc) & 0x7fff) argument
177 #define PHY_HS2LP_TIME_V131(lbcc) (((lbcc) & 0x3ff) << 16) argument
178 #define PHY_LP2HS_TIME_V131(lbcc) ((lbcc) & 0x3ff) argument
219 #define MAX_RD_TIME_V131(lbcc) ((lbcc) & 0x7fff) argument
668 u32 frac, lbcc; in dw_mipi_dsi_get_hcomponent_lbcc() local
670 lbcc = hcomponent * dsi->lane_mbps * MSEC_PER_SEC / 8; in dw_mipi_dsi_get_hcomponent_lbcc()
672 frac = lbcc % mode->clock; in dw_mipi_dsi_get_hcomponent_lbcc()
673 lbcc = lbcc / mode->clock; in dw_mipi_dsi_get_hcomponent_lbcc()
675 lbcc++; in dw_mipi_dsi_get_hcomponent_lbcc()
677 return lbcc; in dw_mipi_dsi_get_hcomponent_lbcc()
683 u32 htotal, hsa, hbp, lbcc; in dw_mipi_dsi_line_timer_config() local
693 lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, htotal); in dw_mipi_dsi_line_timer_config()
694 dsi_write(dsi, DSI_VID_HLINE_TIME, lbcc); in dw_mipi_dsi_line_timer_config()
696 lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, hsa); in dw_mipi_dsi_line_timer_config()
697 dsi_write(dsi, DSI_VID_HSA_TIME, lbcc); in dw_mipi_dsi_line_timer_config()
699 lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, hbp); in dw_mipi_dsi_line_timer_config()
700 dsi_write(dsi, DSI_VID_HBP_TIME, lbcc); in dw_mipi_dsi_line_timer_config()