Searched refs:calc_index (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/kernel/time/ |
D | timer.c | 516 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.1.9/tools/lib/traceevent/ |
D | kbuffer-parse.c | 150 static int calc_index(struct kbuffer *kbuf, void *ptr) in calc_index() function 324 kbuf->index = calc_index(kbuf, ptr); in old_update_pointers() 402 kbuf->index = calc_index(kbuf, ptr); in update_pointers()
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | handlers.c | 872 static unsigned int calc_index(unsigned int offset, unsigned int start, in calc_index() function 886 calc_index(offset, _FDI_RXA_CTL, _FDI_RXB_CTL, 0, FDI_RX_CTL(PIPE_C)) 889 calc_index(offset, _FDI_TXA_CTL, _FDI_TXB_CTL, 0, FDI_TX_CTL(PIPE_C)) 892 calc_index(offset, _FDI_RXA_IMR, _FDI_RXB_IMR, 0, FDI_RX_IMR(PIPE_C)) 936 calc_index(offset, _DP_TP_CTL_A, _DP_TP_CTL_B, 0, DP_TP_CTL(PORT_E)) 1000 calc_index(offset, _DSPASURF, _DSPBSURF, 0, DSPSURF(PIPE_C)) 1023 calc_index(offset, _SPRA_SURF, _SPRB_SURF, 0, SPRSURF(PIPE_C))
|