Home
last modified time | relevance | path

Searched refs:airoha_eth (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/airoha/
H A Dairoha_eth.h522 struct airoha_eth *eth;
556 struct airoha_eth *eth;
582 struct airoha_eth { struct
639 static inline bool airoha_is_7581(struct airoha_eth *eth) in airoha_is_7581()
644 static inline bool airoha_is_7583(struct airoha_eth *eth) in airoha_is_7583()
649 bool airoha_is_valid_gdm_port(struct airoha_eth *eth,
652 bool airoha_ppe_is_enabled(struct airoha_eth *eth, int index);
656 int airoha_ppe_init(struct airoha_eth *eth);
657 void airoha_ppe_deinit(struct airoha_eth *eth);
H A Dairoha_ppe.c51 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_num_stats_entries()
61 struct airoha_eth *eth = ppe->eth; in airoha_ppe_get_total_sram_num_entries()
73 bool airoha_ppe_is_enabled(struct airoha_eth *eth, int index) in airoha_ppe_is_enabled()
92 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init()
271 static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth, in airoha_ppe_foe_entry_prepare()
614 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_get_entry_locked()
693 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_commit_entry()
1004 static int airoha_ppe_flow_offload_replace(struct airoha_eth *eth, in airoha_ppe_flow_offload_replace()
1204 static int airoha_ppe_flow_offload_destroy(struct airoha_eth *eth, in airoha_ppe_flow_offload_destroy()
1225 struct airoha_eth *eth = ppe->eth; in airoha_ppe_foe_entry_get_stats()
[all …]
H A Dairoha_eth.c76 struct airoha_eth *eth = port->qdma->eth; in airoha_set_macaddr()
91 static void airoha_set_gdm_port_fwd_cfg(struct airoha_eth *eth, u32 addr, in airoha_set_gdm_port_fwd_cfg()
107 struct airoha_eth *eth = port->qdma->eth; in airoha_set_vip_for_gdm_port()
134 static void airoha_fe_maccr_init(struct airoha_eth *eth) in airoha_fe_maccr_init()
149 static void airoha_fe_vip_setup(struct airoha_eth *eth) in airoha_fe_vip_setup()
213 static u32 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_get_pse_queue_rsv_pages()
227 static void airoha_fe_set_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_set_pse_queue_rsv_pages()
240 static u32 airoha_fe_get_pse_all_rsv(struct airoha_eth *eth) in airoha_fe_get_pse_all_rsv()
247 static int airoha_fe_set_pse_oq_rsv(struct airoha_eth *eth, in airoha_fe_set_pse_oq_rsv()
281 static void airoha_fe_pse_ports_init(struct airoha_eth *eth) in airoha_fe_pse_ports_init()
[all …]
H A DMakefile7 airoha-eth-y := airoha_eth.o airoha_ppe.o