Searched refs:MT_SKEY_MODE_SHIFT (Results 1 – 4 of 4) sorted by relevance
588 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()
608 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * (_bss & 1))) macro
676 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * ((_bss) & 1))) macro
70 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()