Searched refs:NBBY (Results 1 – 2 of 2) sorted by relevance
34 #ifndef NBBY /* the BSD family defines NBBY */35 #define NBBY 8 /* 8 bits per byte */ macro37 #define setbit(a, i) (((u8 *)a)[(i)/NBBY] |= 1<<((i)%NBBY))38 #define clrbit(a, i) (((u8 *)a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))39 #define isset(a, i) (((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY)))40 #define isclr(a, i) ((((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
150 u8 vec[MAXCHANNEL / NBBY];