Searched refs:_bss (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wireless/mediatek/mt7601u/ |
D | regs.h | 592 #define MT_SKEY_0(_bss, _idx) \ argument 593 (MT_SKEY_BASE_0 + (4 * (_bss) + _idx) * 32) 594 #define MT_SKEY_1(_bss, _idx) \ argument 595 (MT_SKEY_BASE_1 + (4 * ((_bss) & 7) + _idx) * 32) 596 #define MT_SKEY(_bss, _idx) \ argument 597 ((_bss & 8) ? MT_SKEY_1(_bss, _idx) : MT_SKEY_0(_bss, _idx)) 601 #define MT_SKEY_MODE_0(_bss) \ argument 602 (MT_SKEY_MODE_BASE_0 + ((_bss / 2) << 2)) 603 #define MT_SKEY_MODE_1(_bss) \ argument 604 (MT_SKEY_MODE_BASE_1 + ((((_bss) & 7) / 2) << 2)) [all …]
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_regs.h | 672 #define MT_SKEY_0(_bss, _idx) (MT_SKEY_BASE_0 + (4 * (_bss) + (_idx)) * 32) argument 673 #define MT_SKEY_1(_bss, _idx) (MT_SKEY_BASE_1 + (4 * ((_bss) & 7) + (_idx)) * 32) argument 674 #define MT_SKEY(_bss, _idx) (((_bss) & 8) ? MT_SKEY_1(_bss, _idx) : MT_SKEY_0(_bss, _idx)) argument 678 #define MT_SKEY_MODE_0(_bss) (MT_SKEY_MODE_BASE_0 + (((_bss) / 2) << 2)) argument 679 #define MT_SKEY_MODE_1(_bss) (MT_SKEY_MODE_BASE_1 + ((((_bss) & 7) / 2) << 2)) argument 680 #define MT_SKEY_MODE(_bss) (((_bss) & 8) ? MT_SKEY_MODE_1(_bss) : MT_SKEY_MODE_0(_bss)) argument 682 #define MT_SKEY_MODE_SHIFT(_bss, _idx) (4 * ((_idx) + 4 * ((_bss) & 1))) argument
|