Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmain.c62 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG)) in mt7601u_add_interface()
64 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG); in mt7601u_add_interface()
78 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG); in mt7601u_remove_interface()
191 for (i = 0; i < ARRAY_SIZE(dev->wcid_mask); i++) { in mt76_wcid_alloc()
192 idx = ffs(~dev->wcid_mask[i]); in mt76_wcid_alloc()
197 dev->wcid_mask[i] |= BIT(idx); in mt76_wcid_alloc()
250 dev->wcid_mask[idx / BITS_PER_LONG] &= ~BIT(idx % BITS_PER_LONG); in mt7601u_sta_remove()
H A Dmt7601u.h160 unsigned long wcid_mask[N_WCIDS / BITS_PER_LONG]; member
H A Dinit.c583 dev->wcid_mask[0] |= 1; in mt7601u_register_device()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_init.c58 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7615_WTBL_STA - 1); in mt7615_init_hardware()
H A Dusb_sdio.c295 idx = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7615_WTBL_STA - 1); in mt7663_usb_sdio_init_hardware()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c1474 memset(dev->mt76.wcid_mask, 0, sizeof(dev->mt76.wcid_mask)); in mt7915_mac_full_reset()
1480 i = mt76_wcid_alloc(dev->mt76.wcid_mask, MT7915_WTBL_STA); in mt7915_mac_full_reset()