Searched refs:calc_index (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/kernel/time/ |
D | timer.c | 493 static inline unsigned calc_index(unsigned long expires, unsigned lvl, in calc_index() function 517 idx = calc_index(expires, 0, bucket_expiry); in calc_wheel_index() 519 idx = calc_index(expires, 1, bucket_expiry); in calc_wheel_index() 521 idx = calc_index(expires, 2, bucket_expiry); in calc_wheel_index() 523 idx = calc_index(expires, 3, bucket_expiry); in calc_wheel_index() 525 idx = calc_index(expires, 4, bucket_expiry); in calc_wheel_index() 527 idx = calc_index(expires, 5, bucket_expiry); in calc_wheel_index() 529 idx = calc_index(expires, 6, bucket_expiry); in calc_wheel_index() 531 idx = calc_index(expires, 7, bucket_expiry); in calc_wheel_index() 543 idx = calc_index(expires, LVL_DEPTH - 1, bucket_expiry); in calc_wheel_index()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | handlers.c | 627 static unsigned int calc_index(unsigned int offset, unsigned int start, in calc_index() function 641 calc_index(offset, _FDI_RXA_CTL, _FDI_RXB_CTL, 0, FDI_RX_CTL(PIPE_C)) 644 calc_index(offset, _FDI_TXA_CTL, _FDI_TXB_CTL, 0, FDI_TX_CTL(PIPE_C)) 647 calc_index(offset, _FDI_RXA_IMR, _FDI_RXB_IMR, 0, FDI_RX_IMR(PIPE_C)) 691 calc_index(offset, _DP_TP_CTL_A, _DP_TP_CTL_B, 0, DP_TP_CTL(PORT_E)) 755 calc_index(offset, _DSPASURF, _DSPBSURF, 0, DSPSURF(PIPE_C)) 778 calc_index(offset, _SPRA_SURF, _SPRB_SURF, 0, SPRSURF(PIPE_C))
|