Lines Matching full:bitmask
114 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) argument
116 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) argument
118 #define xxx_enable(mode, bitmask, xxx) \ argument
120 bitmask |= xxx; \
124 #define xxx_disable(mode, bitmask, xxx) \ argument
126 bitmask |= xxx; \
130 #define xxx_inactive(mode, bitmask, xxx) \ argument
132 bitmask &= ~xxx; \
136 #define is_promisc_enable(mode, bitmask) \ argument
137 is_xxx_enable(mode, bitmask, BNA_RXMODE_PROMISC)
139 #define is_promisc_disable(mode, bitmask) \ argument
140 is_xxx_disable(mode, bitmask, BNA_RXMODE_PROMISC)
142 #define promisc_enable(mode, bitmask) \ argument
143 xxx_enable(mode, bitmask, BNA_RXMODE_PROMISC)
145 #define promisc_disable(mode, bitmask) \ argument
146 xxx_disable(mode, bitmask, BNA_RXMODE_PROMISC)
148 #define promisc_inactive(mode, bitmask) \ argument
149 xxx_inactive(mode, bitmask, BNA_RXMODE_PROMISC)
151 #define is_default_enable(mode, bitmask) \ argument
152 is_xxx_enable(mode, bitmask, BNA_RXMODE_DEFAULT)
154 #define is_default_disable(mode, bitmask) \ argument
155 is_xxx_disable(mode, bitmask, BNA_RXMODE_DEFAULT)
157 #define default_enable(mode, bitmask) \ argument
158 xxx_enable(mode, bitmask, BNA_RXMODE_DEFAULT)
160 #define default_disable(mode, bitmask) \ argument
161 xxx_disable(mode, bitmask, BNA_RXMODE_DEFAULT)
163 #define default_inactive(mode, bitmask) \ argument
164 xxx_inactive(mode, bitmask, BNA_RXMODE_DEFAULT)
166 #define is_allmulti_enable(mode, bitmask) \ argument
167 is_xxx_enable(mode, bitmask, BNA_RXMODE_ALLMULTI)
169 #define is_allmulti_disable(mode, bitmask) \ argument
170 is_xxx_disable(mode, bitmask, BNA_RXMODE_ALLMULTI)
172 #define allmulti_enable(mode, bitmask) \ argument
173 xxx_enable(mode, bitmask, BNA_RXMODE_ALLMULTI)
175 #define allmulti_disable(mode, bitmask) \ argument
176 xxx_disable(mode, bitmask, BNA_RXMODE_ALLMULTI)
178 #define allmulti_inactive(mode, bitmask) \ argument
179 xxx_inactive(mode, bitmask, BNA_RXMODE_ALLMULTI)
369 enum bna_rxmode bitmask);