Home
last modified time | relevance | path

Searched refs:wcid_mask (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dmain.c68 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG)) in mt7601u_add_interface()
70 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG); in mt7601u_add_interface()
84 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG); in mt7601u_remove_interface()
197 for (i = 0; i < ARRAY_SIZE(dev->wcid_mask); i++) { in mt76_wcid_alloc()
198 idx = ffs(~dev->wcid_mask[i]); in mt76_wcid_alloc()
203 dev->wcid_mask[i] |= BIT(idx); in mt76_wcid_alloc()
256 dev->wcid_mask[idx / BITS_PER_LONG] &= ~BIT(idx % BITS_PER_LONG); in mt7601u_sta_remove()
Dmt7601u.h164 unsigned long wcid_mask[N_WCIDS / BITS_PER_LONG]; member
Dinit.c586 dev->wcid_mask[0] |= 1; in mt7601u_register_device()