Lines Matching defs:mask
408 static const u64 mask = (((u64) 1) << (RATE_MAX_WINDOW - 1));
434 if (win->data & mask) {
435 win->data &= ~mask;
667 u32 mask;
669 /* Find the previous rate that is in the rate mask */
671 for (mask = (1 << i); i >= 0; i--, mask >>= 1) {
672 if (rate_mask & mask) {
678 /* Find the next rate that is in the rate mask */
680 for (mask = (1 << i); i < RATE_COUNT; i++, mask <<= 1) {
681 if (rate_mask & mask) {
1194 D_RATE("LQ: MIMO2 best rate %d mask %X\n", rate, rate_mask);
1196 D_RATE("Can't switch with idx %d rate mask %x\n", rate,
1242 D_RATE("LQ: get best rate %d mask %X\n", rate, rate_mask);
1244 D_RATE("can not switch with idx %d rate mask %x\n", rate,
1800 D_RATE("mask 0x%04X\n", rate_mask);
1802 /* mask with station rate restriction */
2311 * active_siso_rate mask includes 9 MBits (bit 5), and CCK (bits 0-3),