Searched refs:NS_TO_CYCLE (Results 1 – 1 of 1) sorted by relevance
149 #define NS_TO_CYCLE(n, c) ((n) / (c) + (((n) % (c)) ? 1 : 0)) macro220 timcon2 = ((NS_TO_CYCLE(0x64, cycle_time) + 0xa) << 24) | in mtk_dsi_phy_timconfig()221 (NS_TO_CYCLE(0x150, cycle_time) << 16); in mtk_dsi_phy_timconfig()222 timcon3 = NS_TO_CYCLE(0x40, cycle_time) | (2 * T_LPX) << 16 | in mtk_dsi_phy_timconfig()223 NS_TO_CYCLE(80 + 52 * ui, cycle_time) << 8; in mtk_dsi_phy_timconfig()