Home
last modified time | relevance | path

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

/drivers/net/ethernet/mediatek/
A Dmtk_eth_path.c18 int (*set_path)(struct mtk_eth *eth, u64 path);
45 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path) in set_mux_gdm1_to_gmac1_esw()
78 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, u64 path) in set_mux_gmac2_gmac0_to_gephy()
101 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, u64 path) in set_mux_u3_gmac2_to_qphy()
132 static int set_mux_gmac2_to_2p5gphy(struct mtk_eth *eth, u64 path) in set_mux_gmac2_to_2p5gphy()
193 static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac12_to_gephy_sgmii()
252 static int mtk_eth_mux_setup(struct mtk_eth *eth, u64 path) in mtk_eth_mux_setup()
281 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_path_setup()
292 int mtk_gmac_2p5gphy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_2p5gphy_path_setup()
306 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup()
[all …]
A Dmtk_ppe.h325 struct mtk_eth *eth;
348 void mtk_ppe_deinit(struct mtk_eth *eth);
375 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry,
378 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth,
380 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth,
384 int mtk_foe_entry_set_ipv6_tuple(struct mtk_eth *eth,
388 int mtk_foe_entry_set_dsa(struct mtk_eth *eth, struct mtk_foe_entry *entry,
390 int mtk_foe_entry_set_vlan(struct mtk_eth *eth, struct mtk_foe_entry *entry,
392 int mtk_foe_entry_set_pppoe(struct mtk_eth *eth, struct mtk_foe_entry *entry,
394 int mtk_foe_entry_set_wdma(struct mtk_eth *eth, struct mtk_foe_entry *entry,
[all …]
A Dmtk_eth_soc.h688 struct mtk_eth;
1292 struct mtk_eth { struct
1375 struct mtk_eth *hw; argument
1386 static inline bool mtk_is_netsys_v1(struct mtk_eth *eth) in mtk_is_netsys_v1()
1409 static inline u32 mtk_get_ib1_ts_mask(struct mtk_eth *eth) in mtk_get_ib1_ts_mask()
1417 static inline u32 mtk_get_ib1_ppoe_mask(struct mtk_eth *eth) in mtk_get_ib1_ppoe_mask()
1501 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg);
1502 u32 mtk_r32(struct mtk_eth *eth, unsigned reg);
1505 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id);
1507 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id);
[all …]
A Dmtk_eth_soc.c522 struct mtk_eth *eth = mac->hw; in mtk_mac_select_pcs()
2565 struct mtk_eth *eth = container_of(napi, struct mtk_eth, tx_napi); in mtk_napi_tx()
2595 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); in mtk_napi_rx()
3390 struct mtk_eth *eth = _eth; in mtk_handle_irq_rx()
3403 struct mtk_eth *eth = _eth; in mtk_handle_irq_tx()
3416 struct mtk_eth *eth = _eth; in mtk_handle_irq()
3806 struct mtk_eth *eth = container_of(dim, struct mtk_eth, rx_dim); in mtk_dim_rx()
3837 struct mtk_eth *eth = container_of(dim, struct mtk_eth, tx_dim); in mtk_dim_tx()
4061 struct mtk_eth *eth = container_of(del_work, struct mtk_eth, in mtk_hw_reset_monitor_work()
4360 struct mtk_eth *eth = container_of(work, struct mtk_eth, pending_work); in mtk_pending_work()
[all …]
A DMakefile6 obj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth.o
7 mtk_eth-y := mtk_eth_soc.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_ppe_offload.c57 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv4_addr()
66 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr()
189 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device()
246 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f, in mtk_flow_offload_replace()
500 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy()
520 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats()
546 int mtk_flow_offload_cmd(struct mtk_eth *eth, struct flow_cls_offload *cls, in mtk_flow_offload_cmd()
577 struct mtk_eth *eth; in mtk_eth_setup_tc_block_cb()
595 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block()
651 int mtk_eth_offload_init(struct mtk_eth *eth, u8 id) in mtk_eth_offload_init()
A Dmtk_ppe.c61 static u32 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp()
144 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry()
185 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2()
199 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2()
212 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_prepare()
279 int mtk_foe_entry_set_pse_port(struct mtk_eth *eth, in mtk_foe_entry_set_pse_port()
297 int mtk_foe_entry_set_ipv4_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv4_tuple()
337 int mtk_foe_entry_set_ipv6_tuple(struct mtk_eth *eth, in mtk_foe_entry_set_ipv6_tuple()
483 mtk_flow_entry_match(struct mtk_eth *eth, struct mtk_flow_entry *entry, in mtk_flow_entry_match()
620 struct mtk_eth *eth = ppe->eth; in __mtk_foe_entry_commit()
[all …]
A Dmtk_wed.h14 struct mtk_eth;
36 struct mtk_eth *eth;
182 void mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth,
192 mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth, in mtk_wed_add_hw()
A Dmtk_wed.c1951 struct mtk_eth *eth = dev->hw->eth; in mtk_wed_ppe_check()
2676 struct mtk_eth *eth = hw->eth; in mtk_wed_setup_tc_block()
2747 void mtk_wed_add_hw(struct device_node *np, struct mtk_eth *eth, in mtk_wed_add_hw()

Completed in 39 milliseconds