Searched refs:total_ticks (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-riic.c | 286 int total_ticks, cks, brl, brh; in riic_init_hw() local 317 total_ticks = DIV_ROUND_UP(rate, t->bus_freq_hz); in riic_init_hw() 324 brl = ((total_ticks * 6) / 10); in riic_init_hw() 328 total_ticks /= 2; in riic_init_hw() 339 brh = total_ticks - brl; in riic_init_hw() 364 rate / total_ticks, ((brl + 3) * 100) / (brl + brh + 6), in riic_init_hw()
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 3214 unsigned long total_ticks; in dsi_set_lp_rx_timeout() local 3229 total_ticks = ticks * (x16 ? 16 : 1) * (x4 ? 4 : 1); in dsi_set_lp_rx_timeout() 3232 total_ticks, in dsi_set_lp_rx_timeout() 3234 (total_ticks * 1000) / (fck / 1000 / 1000)); in dsi_set_lp_rx_timeout() 3241 unsigned long total_ticks; in dsi_set_ta_timeout() local 3256 total_ticks = ticks * (x16 ? 16 : 1) * (x8 ? 8 : 1); in dsi_set_ta_timeout() 3259 total_ticks, in dsi_set_ta_timeout() 3261 (total_ticks * 1000) / (fck / 1000 / 1000)); in dsi_set_ta_timeout() 3268 unsigned long total_ticks; in dsi_set_stop_state_counter() local 3283 total_ticks = ticks * (x16 ? 16 : 1) * (x4 ? 4 : 1); in dsi_set_stop_state_counter() [all …]
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 3237 unsigned long total_ticks; in dsi_set_lp_rx_timeout() local 3252 total_ticks = ticks * (x16 ? 16 : 1) * (x4 ? 4 : 1); in dsi_set_lp_rx_timeout() 3255 total_ticks, in dsi_set_lp_rx_timeout() 3257 (total_ticks * 1000) / (fck / 1000 / 1000)); in dsi_set_lp_rx_timeout() 3264 unsigned long total_ticks; in dsi_set_ta_timeout() local 3279 total_ticks = ticks * (x16 ? 16 : 1) * (x8 ? 8 : 1); in dsi_set_ta_timeout() 3282 total_ticks, in dsi_set_ta_timeout() 3284 (total_ticks * 1000) / (fck / 1000 / 1000)); in dsi_set_ta_timeout() 3291 unsigned long total_ticks; in dsi_set_stop_state_counter() local 3306 total_ticks = ticks * (x16 ? 16 : 1) * (x4 ? 4 : 1); in dsi_set_stop_state_counter() [all …]
|