mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt792x: introduce mt792x_irq_map
mt792x_irq_map will be use to share the irq code shared between mt7921 and mt7925 Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Deren Wu <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
0034ae2890
commit
8419c4e793
@@ -301,6 +301,25 @@
|
||||
#define MT_WFDMA0_GLO_CFG_OMIT_TX_INFO BIT(28)
|
||||
#define MT_WFDMA0_GLO_CFG_CLK_GAT_DIS BIT(30)
|
||||
|
||||
#define HOST_RX_DONE_INT_ENA0 BIT(0)
|
||||
#define HOST_RX_DONE_INT_ENA1 BIT(1)
|
||||
#define HOST_RX_DONE_INT_ENA2 BIT(2)
|
||||
#define HOST_RX_DONE_INT_ENA3 BIT(3)
|
||||
#define HOST_TX_DONE_INT_ENA0 BIT(4)
|
||||
#define HOST_TX_DONE_INT_ENA1 BIT(5)
|
||||
#define HOST_TX_DONE_INT_ENA2 BIT(6)
|
||||
#define HOST_TX_DONE_INT_ENA3 BIT(7)
|
||||
#define HOST_TX_DONE_INT_ENA4 BIT(8)
|
||||
#define HOST_TX_DONE_INT_ENA5 BIT(9)
|
||||
#define HOST_TX_DONE_INT_ENA6 BIT(10)
|
||||
#define HOST_TX_DONE_INT_ENA7 BIT(11)
|
||||
#define HOST_RX_COHERENT_EN BIT(20)
|
||||
#define HOST_TX_COHERENT_EN BIT(21)
|
||||
#define MCU2HOST_SW_INT_ENA BIT(29)
|
||||
#define HOST_TX_DONE_INT_ENA18 BIT(30)
|
||||
|
||||
#define MT_INT_MCU_CMD MCU2HOST_SW_INT_ENA
|
||||
|
||||
#define MT_WFDMA0_RST_DTX_PTR MT_WFDMA0(0x20c)
|
||||
#define MT_WFDMA0_RST_DRX_PTR MT_WFDMA0(0x280)
|
||||
#define MT_WFDMA0_GLO_CFG_EXT0 MT_WFDMA0(0x2b0)
|
||||
|
||||
Reference in New Issue
Block a user