Home
last modified time | relevance | path

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

/linux-6.15/kernel/time/
H A Dtimer.c566 static inline unsigned calc_index(unsigned long expires, unsigned lvl, in calc_index() function
590 idx = calc_index(expires, 0, bucket_expiry); in calc_wheel_index()
592 idx = calc_index(expires, 1, bucket_expiry); in calc_wheel_index()
594 idx = calc_index(expires, 2, bucket_expiry); in calc_wheel_index()
596 idx = calc_index(expires, 3, bucket_expiry); in calc_wheel_index()
598 idx = calc_index(expires, 4, bucket_expiry); in calc_wheel_index()
600 idx = calc_index(expires, 5, bucket_expiry); in calc_wheel_index()
602 idx = calc_index(expires, 6, bucket_expiry); in calc_wheel_index()
604 idx = calc_index(expires, 7, bucket_expiry); in calc_wheel_index()
616 idx = calc_index(expires, LVL_DEPTH - 1, bucket_expiry); in calc_wheel_index()
/linux-6.15/drivers/gpu/drm/i915/gvt/
H A Dhandlers.c888 static unsigned int calc_index(unsigned int offset, i915_reg_t _start, in calc_index() function
903 calc_index(offset, FDI_RX_CTL(PIPE_A), FDI_RX_CTL(PIPE_B), FDI_RX_CTL(PIPE_C))
906 calc_index(offset, FDI_TX_CTL(PIPE_A), FDI_TX_CTL(PIPE_B), FDI_TX_CTL(PIPE_C))
909 calc_index(offset, FDI_RX_IMR(PIPE_A), FDI_RX_IMR(PIPE_B), FDI_RX_IMR(PIPE_C))
953 calc_index(offset, DP_TP_CTL(PORT_A), DP_TP_CTL(PORT_B), DP_TP_CTL(PORT_E))
1017 calc_index(offset, DSPSURF(display, PIPE_A), DSPSURF(display, PIPE_B), DSPSURF(display, PIPE_C))
1041 calc_index(offset, SPRSURF(PIPE_A), SPRSURF(PIPE_B), SPRSURF(PIPE_C))