Searched defs:bound (Results 1 – 1 of 1) sorted by relevance
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmutils.h | 685 #define MODDEC(x, bound) MUX((x) == 0, (bound) - 1, (x) - 1) argument 686 #define MODINC(x, bound) MUX((x) == (bound) - 1, 0, (x) + 1) argument 689 #define MODDEC_POW2(x, bound) (((x) - 1) & ((bound) - 1)) argument 690 #define MODINC_POW2(x, bound) (((x) + 1) & ((bound) - 1)) argument 693 #define MODADD(x, y, bound) \ argument 695 #define MODSUB(x, y, bound) \ argument 699 #define MODADD_POW2(x, y, bound) (((x) + (y)) & ((bound) - 1)) argument 700 #define MODSUB_POW2(x, y, bound) (((x) - (y)) & ((bound) - 1)) argument
|