Home
last modified time | relevance | path

Searched refs:LVL_START (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/time/
H A Dtimer.c168 #define LVL_START(n) ((LVL_SIZE - 1) << (((n) - 1) * LVL_CLK_SHIFT)) macro
184 #define WHEEL_TIMEOUT_CUTOFF (LVL_START(LVL_DEPTH))
522 if (delta < LVL_START(1)) { in calc_wheel_index()
524 } else if (delta < LVL_START(2)) { in calc_wheel_index()
526 } else if (delta < LVL_START(3)) { in calc_wheel_index()
528 } else if (delta < LVL_START(4)) { in calc_wheel_index()
530 } else if (delta < LVL_START(5)) { in calc_wheel_index()
532 } else if (delta < LVL_START(6)) { in calc_wheel_index()
534 } else if (delta < LVL_START(7)) { in calc_wheel_index()
536 } else if (LVL_DEPTH > 8 && delta < LVL_START(8)) { in calc_wheel_index()