Home
last modified time | relevance | path

Searched refs:mtk_eth (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/mediatek/
A Dmtk_eth_path.c18 int (*set_path)(struct mtk_eth *eth, int path);
43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path) in set_mux_gdm1_to_gmac1_esw()
74 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, int path) in set_mux_gmac2_gmac0_to_gephy()
97 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, int path) in set_mux_u3_gmac2_to_qphy()
120 static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, int path) in set_mux_gmac1_gmac2_to_sgmii_rgmii()
158 static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, int path) in set_mux_gmac12_to_gephy_sgmii()
213 static int mtk_eth_mux_setup(struct mtk_eth *eth, int path) in mtk_eth_mux_setup()
242 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_path_setup()
253 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup()
267 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_rgmii_path_setup()
A Dmtk_ppe.h289 struct mtk_eth *eth;
306 struct mtk_ppe *mtk_ppe_init(struct mtk_eth *eth, void __iomem *base,
308 void mtk_ppe_deinit(struct mtk_eth *eth);
335 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry,
338 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth,
340 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth,
344 int mtk_foe_entry_set_ipv6_tuple(struct mtk_eth *eth,
348 int mtk_foe_entry_set_dsa(struct mtk_eth *eth, struct mtk_foe_entry *entry,
350 int mtk_foe_entry_set_vlan(struct mtk_eth *eth, struct mtk_foe_entry *entry,
352 int mtk_foe_entry_set_pppoe(struct mtk_eth *eth, struct mtk_foe_entry *entry,
[all …]
A DMakefile6 obj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth.o
7 mtk_eth-y := mtk_eth_soc.o mtk_sgmii.o mtk_eth_path.o mtk_ppe.o mtk_ppe_debugfs.o mtk_ppe_offload.o
8 mtk_eth-$(CONFIG_NET_MEDIATEK_SOC_WED) += mtk_wed.o mtk_wed_mcu.o mtk_wed_wo.o
10 mtk_eth-$(CONFIG_NET_MEDIATEK_SOC_WED) += mtk_wed_debugfs.o
A Dmtk_eth_soc.c439 struct mtk_eth *eth = mac->hw; in mtk_mac_select_pcs()
2296 struct mtk_eth *eth = container_of(napi, struct mtk_eth, tx_napi); in mtk_napi_tx()
2326 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); in mtk_napi_rx()
3071 struct mtk_eth *eth = _eth; in mtk_handle_irq_rx()
3084 struct mtk_eth *eth = _eth; in mtk_handle_irq_tx()
3097 struct mtk_eth *eth = _eth; in mtk_handle_irq()
3462 struct mtk_eth *eth = container_of(dim, struct mtk_eth, rx_dim); in mtk_dim_rx()
3493 struct mtk_eth *eth = container_of(dim, struct mtk_eth, tx_dim); in mtk_dim_tx()
3694 struct mtk_eth *eth = container_of(del_work, struct mtk_eth, in mtk_hw_reset_monitor_work()
3968 struct mtk_eth *eth = container_of(work, struct mtk_eth, pending_work); in mtk_pending_work()
[all …]
A Dmtk_eth_soc.h627 struct mtk_eth;
1133 struct mtk_eth { struct
1213 struct mtk_eth *hw; argument
1232 static inline u32 mtk_get_ib1_ts_mask(struct mtk_eth *eth) in mtk_get_ib1_ts_mask()
1240 static inline u32 mtk_get_ib1_ppoe_mask(struct mtk_eth *eth) in mtk_get_ib1_ppoe_mask()
1307 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg);
1308 u32 mtk_r32(struct mtk_eth *eth, unsigned reg);
1314 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id);
1315 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id);
1316 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id);
[all …]
A Dmtk_wed.h12 struct mtk_eth;
17 struct mtk_eth *eth;
125 void mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth,
135 mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth, in mtk_wed_add_hw()
A Dmtk_ppe.c57 static u32 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp()
91 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry()
132 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2()
146 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2()
226 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth, in mtk_foe_entry_set_pse_port()
244 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv4_tuple()
284 int mtk_foe_entry_set_ipv6_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv6_tuple()
421 mtk_flow_entry_match(struct mtk_eth *eth, struct mtk_flow_entry *entry, in mtk_flow_entry_match()
549 struct mtk_eth *eth = ppe->eth; in __mtk_foe_entry_commit()
759 struct mtk_ppe *mtk_ppe_init(struct mtk_eth *eth, void __iomem *base, in mtk_ppe_init()
[all …]
A Dmtk_ppe_offload.c55 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv4_addr()
64 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr()
186 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device()
238 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_replace()
477 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy()
497 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats()
521 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block_cb()
554 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block()
609 int mtk_eth_offload_init(struct mtk_eth *eth) in mtk_eth_offload_init()
A Dmtk_wed.c1085 struct mtk_eth *eth = dev->hw->eth; in mtk_wed_rx_reset()
1304 struct mtk_eth *eth = dev->hw->eth; in mtk_wed_ppe_check()
1748 void mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth, in mtk_wed_add_hw()

Completed in 30 milliseconds