Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Damdvi_hw.c59 #define MOD_INC(a, s, m) (((a) + (s)) % ((m) * (s))) macro
293 ctrl->cmd_tail = MOD_INC(ctrl->cmd_tail, size, softc->cmd_max); in amdvi_update_cmd_tail()
513 off = MOD_INC(off, sizeof(struct amdvi_cmd), softc->cmd_max); in amdvi_dump_cmds()
699 ctrl->evt_head = MOD_INC(ctrl->evt_head, size, in amdvi_print_events()