Searched refs:MOD_INC (Results 1 – 1 of 1) sorted by relevance
59 #define MOD_INC(a, s, m) (((a) + (s)) % ((m) * (s))) macro293 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()