Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/time/
Dtimer.c488 static inline unsigned calc_index(unsigned expires, unsigned lvl) in calc_index() function
500 idx = calc_index(expires, 0); in calc_wheel_index()
502 idx = calc_index(expires, 1); in calc_wheel_index()
504 idx = calc_index(expires, 2); in calc_wheel_index()
506 idx = calc_index(expires, 3); in calc_wheel_index()
508 idx = calc_index(expires, 4); in calc_wheel_index()
510 idx = calc_index(expires, 5); in calc_wheel_index()
512 idx = calc_index(expires, 6); in calc_wheel_index()
514 idx = calc_index(expires, 7); in calc_wheel_index()
525 idx = calc_index(expires, LVL_DEPTH - 1); in calc_wheel_index()
/Linux-v4.19/tools/lib/traceevent/
Dkbuffer-parse.c150 static int calc_index(struct kbuffer *kbuf, void *ptr) in calc_index() function
324 kbuf->index = calc_index(kbuf, ptr); in old_update_pointers()
401 kbuf->index = calc_index(kbuf, ptr); in update_pointers()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dhandlers.c618 static unsigned int calc_index(unsigned int offset, unsigned int start, in calc_index() function
632 calc_index(offset, _FDI_RXA_CTL, _FDI_RXB_CTL, 0, FDI_RX_CTL(PIPE_C))
635 calc_index(offset, _FDI_TXA_CTL, _FDI_TXB_CTL, 0, FDI_TX_CTL(PIPE_C))
638 calc_index(offset, _FDI_RXA_IMR, _FDI_RXB_IMR, 0, FDI_RX_IMR(PIPE_C))
682 calc_index(offset, _DP_TP_CTL_A, _DP_TP_CTL_B, 0, DP_TP_CTL(PORT_E))
746 calc_index(offset, _DSPASURF, _DSPBSURF, 0, DSPSURF(PIPE_C))
768 calc_index(offset, _SPRA_SURF, _SPRB_SURF, 0, SPRSURF(PIPE_C))