Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/time/
Dtimer.c491 static inline unsigned calc_index(unsigned expires, unsigned lvl) in calc_index() function
503 idx = calc_index(expires, 0); in calc_wheel_index()
505 idx = calc_index(expires, 1); in calc_wheel_index()
507 idx = calc_index(expires, 2); in calc_wheel_index()
509 idx = calc_index(expires, 3); in calc_wheel_index()
511 idx = calc_index(expires, 4); in calc_wheel_index()
513 idx = calc_index(expires, 5); in calc_wheel_index()
515 idx = calc_index(expires, 6); in calc_wheel_index()
517 idx = calc_index(expires, 7); in calc_wheel_index()
528 idx = calc_index(expires, LVL_DEPTH - 1); in calc_wheel_index()
/Linux-v5.4/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-v5.4/drivers/gpu/drm/i915/gvt/
Dhandlers.c621 static unsigned int calc_index(unsigned int offset, unsigned int start, in calc_index() function
635 calc_index(offset, _FDI_RXA_CTL, _FDI_RXB_CTL, 0, FDI_RX_CTL(PIPE_C))
638 calc_index(offset, _FDI_TXA_CTL, _FDI_TXB_CTL, 0, FDI_TX_CTL(PIPE_C))
641 calc_index(offset, _FDI_RXA_IMR, _FDI_RXB_IMR, 0, FDI_RX_IMR(PIPE_C))
685 calc_index(offset, _DP_TP_CTL_A, _DP_TP_CTL_B, 0, DP_TP_CTL(PORT_E))
749 calc_index(offset, _DSPASURF, _DSPBSURF, 0, DSPSURF(PIPE_C))
772 calc_index(offset, _SPRA_SURF, _SPRB_SURF, 0, SPRSURF(PIPE_C))