Lines Matching refs:mtk_ppe

26 static void ppe_w32(struct mtk_ppe *ppe, u32 reg, u32 val)  in ppe_w32()
31 static u32 ppe_r32(struct mtk_ppe *ppe, u32 reg) in ppe_r32()
36 static u32 ppe_m32(struct mtk_ppe *ppe, u32 reg, u32 mask, u32 set) in ppe_m32()
48 static u32 ppe_set(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_set()
53 static u32 ppe_clear(struct mtk_ppe *ppe, u32 reg, u32 val) in ppe_clear()
63 static int mtk_ppe_wait_busy(struct mtk_ppe *ppe) in mtk_ppe_wait_busy()
78 static int mtk_ppe_mib_wait_busy(struct mtk_ppe *ppe) in mtk_ppe_mib_wait_busy()
93 static int mtk_mib_entry_read(struct mtk_ppe *ppe, u16 index, u64 *bytes, u64 *packets) in mtk_mib_entry_read()
127 static void mtk_ppe_cache_clear(struct mtk_ppe *ppe) in mtk_ppe_cache_clear()
133 static void mtk_ppe_cache_enable(struct mtk_ppe *ppe, bool enable) in mtk_ppe_cache_enable()
499 __mtk_foe_entry_clear(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) in __mtk_foe_entry_clear()
540 static int __mtk_foe_entry_idle_time(struct mtk_ppe *ppe, u32 ib1) in __mtk_foe_entry_idle_time()
553 mtk_flow_entry_update_l2(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) in mtk_flow_entry_update_l2()
586 mtk_flow_entry_update(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) in mtk_flow_entry_update()
615 __mtk_foe_entry_commit(struct mtk_ppe *ppe, struct mtk_foe_entry *entry, in __mtk_foe_entry_commit()
651 void mtk_foe_entry_clear(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) in mtk_foe_entry_clear()
659 mtk_foe_entry_commit_l2(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) in mtk_foe_entry_commit_l2()
677 int mtk_foe_entry_commit(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) in mtk_foe_entry_commit()
696 mtk_foe_entry_commit_subflow(struct mtk_ppe *ppe, struct mtk_flow_entry *entry, in mtk_foe_entry_commit_subflow()
736 void __mtk_ppe_check_skb(struct mtk_ppe *ppe, struct sk_buff *skb, u16 hash) in __mtk_ppe_check_skb()
815 int mtk_foe_entry_idle_time(struct mtk_ppe *ppe, struct mtk_flow_entry *entry) in mtk_foe_entry_idle_time()
822 int mtk_ppe_prepare_reset(struct mtk_ppe *ppe) in mtk_ppe_prepare_reset()
849 struct mtk_foe_accounting *mtk_foe_entry_get_mib(struct mtk_ppe *ppe, u32 index, in mtk_foe_entry_get_mib()
875 struct mtk_ppe *mtk_ppe_init(struct mtk_eth *eth, void __iomem *base, int index) in mtk_ppe_init()
882 struct mtk_ppe *ppe; in mtk_ppe_init()
952 static void mtk_ppe_init_foe_table(struct mtk_ppe *ppe) in mtk_ppe_init_foe_table()
974 void mtk_ppe_start(struct mtk_ppe *ppe) in mtk_ppe_start()
1074 int mtk_ppe_stop(struct mtk_ppe *ppe) in mtk_ppe_stop()