Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Dmain.c70 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG)) in mt7601u_add_interface()
72 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG); in mt7601u_add_interface()
86 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG); in mt7601u_remove_interface()
199 for (i = 0; i < ARRAY_SIZE(dev->wcid_mask); i++) { in mt76_wcid_alloc()
200 idx = ffs(~dev->wcid_mask[i]); in mt76_wcid_alloc()
205 dev->wcid_mask[i] |= BIT(idx); in mt76_wcid_alloc()
258 dev->wcid_mask[idx / BITS_PER_LONG] &= ~BIT(idx % BITS_PER_LONG); in mt7601u_sta_remove()
Dmt7601u.h168 unsigned long wcid_mask[N_WCIDS / BITS_PER_LONG]; member
Dinit.c588 dev->wcid_mask[0] |= 1; in mt7601u_register_device()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2_phy_common.c314 for (i = 0; i < ARRAY_SIZE(dev->wcid_mask); i++) { in mt76x2_phy_get_min_avg_rssi()
315 unsigned long mask = dev->wcid_mask[i]; in mt76x2_phy_get_min_avg_rssi()
Dmt76x2_common.c107 idx = mt76_wcid_alloc(dev->wcid_mask, ARRAY_SIZE(dev->wcid)); in mt76x2_sta_add()
149 mt76_wcid_free(dev->wcid_mask, idx); in mt76x2_sta_remove()
Dmt76x2.h101 unsigned long wcid_mask[128 / BITS_PER_LONG]; member
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dmain.c209 idx = mt76_wcid_alloc(dev->wcid_mask, ARRAY_SIZE(dev->wcid)); in mt76x0_sta_add()
239 dev->wcid_mask[idx / BITS_PER_LONG] &= ~BIT(idx % BITS_PER_LONG); in mt76x0_sta_remove()
Dmt76x0.h162 unsigned long wcid_mask[DIV_ROUND_UP(N_WCIDS, BITS_PER_LONG)]; member
Dinit.c666 dev->wcid_mask[0] |= 1; in mt76x0_register_device()