Home
last modified time | relevance | path

Searched refs:MT_SKEY_MODE_SHIFT (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmac.c588 val &= ~(MT_SKEY_MODE_MASK << MT_SKEY_MODE_SHIFT(vif_idx, key_idx)); in mt76_mac_shared_key_setup()
589 val |= cipher << MT_SKEY_MODE_SHIFT(vif_idx, key_idx); in mt76_mac_shared_key_setup()
H A Dregs.h608 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * (_bss & 1))) macro
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_regs.h678 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * ((_bss) & 1))) macro
H A Dmt76x02_mac.c70 val &= ~(MT_SKEY_MODE_MASK << MT_SKEY_MODE_SHIFT(vif_idx, key_idx)); in mt76x02_mac_shared_key_setup()
71 val |= cipher << MT_SKEY_MODE_SHIFT(vif_idx, key_idx); in mt76x02_mac_shared_key_setup()