Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/time/
Dtimer.c516 static inline unsigned calc_index(unsigned long expires, unsigned lvl, in calc_index() function
540 idx = calc_index(expires, 0, bucket_expiry); in calc_wheel_index()
542 idx = calc_index(expires, 1, bucket_expiry); in calc_wheel_index()
544 idx = calc_index(expires, 2, bucket_expiry); in calc_wheel_index()
546 idx = calc_index(expires, 3, bucket_expiry); in calc_wheel_index()
548 idx = calc_index(expires, 4, bucket_expiry); in calc_wheel_index()
550 idx = calc_index(expires, 5, bucket_expiry); in calc_wheel_index()
552 idx = calc_index(expires, 6, bucket_expiry); in calc_wheel_index()
554 idx = calc_index(expires, 7, bucket_expiry); in calc_wheel_index()
566 idx = calc_index(expires, LVL_DEPTH - 1, bucket_expiry); in calc_wheel_index()
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dhandlers.c878 static unsigned int calc_index(unsigned int offset, unsigned int start, in calc_index() function
892 calc_index(offset, _FDI_RXA_CTL, _FDI_RXB_CTL, 0, FDI_RX_CTL(PIPE_C))
895 calc_index(offset, _FDI_TXA_CTL, _FDI_TXB_CTL, 0, FDI_TX_CTL(PIPE_C))
898 calc_index(offset, _FDI_RXA_IMR, _FDI_RXB_IMR, 0, FDI_RX_IMR(PIPE_C))
942 calc_index(offset, _DP_TP_CTL_A, _DP_TP_CTL_B, 0, DP_TP_CTL(PORT_E))
1006 calc_index(offset, _DSPASURF, _DSPBSURF, 0, DSPSURF(PIPE_C))
1029 calc_index(offset, _SPRA_SURF, _SPRB_SURF, 0, SPRSURF(PIPE_C))