Searched refs:mtk_ppe (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_ppe.h | 324 struct mtk_ppe { struct 346 struct mtk_ppe *mtk_ppe_init(struct mtk_eth *eth, void __iomem *base, int index); argument 349 void mtk_ppe_start(struct mtk_ppe *ppe); 350 int mtk_ppe_stop(struct mtk_ppe *ppe); 351 int mtk_ppe_prepare_reset(struct mtk_ppe *ppe); 353 void __mtk_ppe_check_skb(struct mtk_ppe *ppe, struct sk_buff *skb, u16 hash); 356 mtk_ppe_check_skb(struct mtk_ppe *ppe, struct sk_buff *skb, u16 hash) in mtk_ppe_check_skb() 399 int mtk_foe_entry_commit(struct mtk_ppe *ppe, struct mtk_flow_entry *entry); 400 void mtk_foe_entry_clear(struct mtk_ppe *ppe, struct mtk_flow_entry *entry); 401 int mtk_foe_entry_idle_time(struct mtk_ppe *ppe, struct mtk_flow_entry *entry); [all …]
|
D | mtk_ppe.c | 29 static void ppe_w32(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_w32() 34 static u32 ppe_r32(struct mtk_ppe *ppe, u32 reg) in ppe_r32() 39 static u32 ppe_m32(struct mtk_ppe *ppe, u32 reg, u32 mask, u32 set) in ppe_m32() 51 static u32 ppe_set(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_set() 56 static u32 ppe_clear(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_clear() 66 static int mtk_ppe_wait_busy(struct mtk_ppe *ppe) in mtk_ppe_wait_busy() 81 static int mtk_ppe_mib_wait_busy(struct mtk_ppe *ppe) in mtk_ppe_mib_wait_busy() 96 static int mtk_mib_entry_read(struct mtk_ppe *ppe, u16 index, u64 *bytes, u64 *packets) in mtk_mib_entry_read() 130 static void mtk_ppe_cache_clear(struct mtk_ppe *ppe) in mtk_ppe_cache_clear() 136 static void mtk_ppe_cache_enable(struct mtk_ppe *ppe, bool enable) in mtk_ppe_cache_enable() [all …]
|
D | Makefile | 7 mtk_eth-y := mtk_eth_soc.o mtk_eth_path.o mtk_ppe.o mtk_ppe_debugfs.o mtk_ppe_offload.o
|
D | mtk_ppe_debugfs.c | 79 struct mtk_ppe *ppe = m->private; in mtk_ppe_debugfs_foe_show() 184 int mtk_ppe_debugfs_init(struct mtk_ppe *ppe, int index) in mtk_ppe_debugfs_init()
|
D | mtk_eth_soc.h | 1284 struct mtk_ppe *ppe[3]; 1341 mtk_foe_get_entry(struct mtk_ppe *ppe, u16 hash) in mtk_foe_get_entry()
|