Searched refs:MUX (Results 1 – 1 of 1) sorted by relevance
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmutils.h | 682 #define MUX(pred, true, false) ((pred) ? (true) : (false)) macro 685 #define MODDEC(x, bound) MUX((x) == 0, (bound) - 1, (x) - 1) 686 #define MODINC(x, bound) MUX((x) == (bound) - 1, 0, (x) + 1) 694 MUX((x) + (y) >= (bound), (x) + (y) - (bound), (x) + (y)) 696 MUX(((int)(x)) - ((int)(y)) < 0, (x) - (y) + (bound), (x) - (y))
|