Searched refs:mtk_eth (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/mediatek/ |
| A D | mtk_eth_path.c | 18 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 D | mtk_eth_soc.c | 218 struct mtk_eth *eth = mac->hw; in mtk_mac_config() 1261 struct mtk_eth *eth) in mtk_poll_rx() 1527 struct mtk_eth *eth = container_of(napi, struct mtk_eth, tx_napi); in mtk_napi_tx() 1556 struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi); in mtk_napi_rx() 2170 struct mtk_eth *eth = _eth; in mtk_handle_irq_rx() 2183 struct mtk_eth *eth = _eth; in mtk_handle_irq_tx() 2196 struct mtk_eth *eth = _eth; in mtk_handle_irq() 2428 struct mtk_eth *eth = container_of(dim, struct mtk_eth, rx_dim); in mtk_dim_rx() 2458 struct mtk_eth *eth = container_of(dim, struct mtk_eth, tx_dim); in mtk_dim_tx() 2659 struct mtk_eth *eth = container_of(work, struct mtk_eth, pending_work); in mtk_pending_work() [all …]
|
| A D | mtk_ppe_offload.c | 52 mtk_eth_timestamp(struct mtk_eth *eth) in mtk_eth_timestamp() 151 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() 173 mtk_flow_offload_replace(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_replace() 360 mtk_flow_offload_destroy(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_destroy() 378 mtk_flow_offload_stats(struct mtk_eth *eth, struct flow_cls_offload *f) in mtk_flow_offload_stats() 407 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block_cb() 440 struct mtk_eth *eth = mac->hw; in mtk_eth_setup_tc_block() 492 int mtk_eth_offload_init(struct mtk_eth *eth) in mtk_eth_offload_init()
|
| A D | mtk_eth_soc.h | 539 struct mtk_eth; 917 struct mtk_eth { struct 988 struct mtk_eth *hw; argument 1000 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg); 1001 u32 mtk_r32(struct mtk_eth *eth, unsigned reg); 1008 void mtk_sgmii_restart_an(struct mtk_eth *eth, int mac_id); 1010 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id); 1011 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id); 1012 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id); 1014 int mtk_eth_offload_init(struct mtk_eth *eth);
|
| A D | Makefile | 6 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
|
| A D | mtk_sgmii.c | 111 void mtk_sgmii_restart_an(struct mtk_eth *eth, int mac_id) in mtk_sgmii_restart_an()
|
Completed in 17 milliseconds