mtk_eth            18 drivers/net/ethernet/mediatek/mtk_eth_path.c 	int		(*set_path)(struct mtk_eth *eth, int path);
mtk_eth            43 drivers/net/ethernet/mediatek/mtk_eth_path.c static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path)
mtk_eth            74 drivers/net/ethernet/mediatek/mtk_eth_path.c static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, int path)
mtk_eth            97 drivers/net/ethernet/mediatek/mtk_eth_path.c static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, int path)
mtk_eth           120 drivers/net/ethernet/mediatek/mtk_eth_path.c static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, int path)
mtk_eth           158 drivers/net/ethernet/mediatek/mtk_eth_path.c static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, int path)
mtk_eth           213 drivers/net/ethernet/mediatek/mtk_eth_path.c static int mtk_eth_mux_setup(struct mtk_eth *eth, int path)
mtk_eth           242 drivers/net/ethernet/mediatek/mtk_eth_path.c int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id)
mtk_eth           257 drivers/net/ethernet/mediatek/mtk_eth_path.c int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id)
mtk_eth           275 drivers/net/ethernet/mediatek/mtk_eth_path.c int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id)
mtk_eth            58 drivers/net/ethernet/mediatek/mtk_eth_soc.c void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg)
mtk_eth            63 drivers/net/ethernet/mediatek/mtk_eth_soc.c u32 mtk_r32(struct mtk_eth *eth, unsigned reg)
mtk_eth            68 drivers/net/ethernet/mediatek/mtk_eth_soc.c u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned reg)
mtk_eth            79 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_mdio_busy_wait(struct mtk_eth *eth)
mtk_eth            95 drivers/net/ethernet/mediatek/mtk_eth_soc.c static u32 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr,
mtk_eth           114 drivers/net/ethernet/mediatek/mtk_eth_soc.c static u32 _mtk_mdio_read(struct mtk_eth *eth, int phy_addr, int phy_reg)
mtk_eth           137 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = bus->priv;
mtk_eth           144 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = bus->priv;
mtk_eth           149 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mt7621_gmac0_rgmii_adjust(struct mtk_eth *eth,
mtk_eth           174 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_gmac0_rgmii_adjust(struct mtk_eth *eth, int speed)
mtk_eth           206 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth           546 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_mdio_init(struct mtk_eth *eth)
mtk_eth           582 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_mdio_cleanup(struct mtk_eth *eth)
mtk_eth           590 drivers/net/ethernet/mediatek/mtk_eth_soc.c static inline void mtk_tx_irq_disable(struct mtk_eth *eth, u32 mask)
mtk_eth           601 drivers/net/ethernet/mediatek/mtk_eth_soc.c static inline void mtk_tx_irq_enable(struct mtk_eth *eth, u32 mask)
mtk_eth           612 drivers/net/ethernet/mediatek/mtk_eth_soc.c static inline void mtk_rx_irq_disable(struct mtk_eth *eth, u32 mask)
mtk_eth           623 drivers/net/ethernet/mediatek/mtk_eth_soc.c static inline void mtk_rx_irq_enable(struct mtk_eth *eth, u32 mask)
mtk_eth           638 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth           698 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_stats_update(struct mtk_eth *eth)
mtk_eth           776 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_init_fq_dma(struct mtk_eth *eth)
mtk_eth           847 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_tx_unmap(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf)
mtk_eth           884 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void setup_tx_buf(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf,
mtk_eth           911 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          1090 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_queue_stopped(struct mtk_eth *eth)
mtk_eth          1104 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_wake_queue(struct mtk_eth *eth)
mtk_eth          1115 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_stop_queue(struct mtk_eth *eth)
mtk_eth          1129 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          1185 drivers/net/ethernet/mediatek/mtk_eth_soc.c static struct mtk_rx_ring *mtk_get_rx_ring(struct mtk_eth *eth)
mtk_eth          1206 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_update_rx_cpu_idx(struct mtk_eth *eth)
mtk_eth          1226 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		       struct mtk_eth *eth)
mtk_eth          1341 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_poll_tx_qdma(struct mtk_eth *eth, int budget,
mtk_eth          1389 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_poll_tx_pdma(struct mtk_eth *eth, int budget,
mtk_eth          1427 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_poll_tx(struct mtk_eth *eth, int budget)
mtk_eth          1456 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_handle_status_irq(struct mtk_eth *eth)
mtk_eth          1469 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = container_of(napi, struct mtk_eth, tx_napi);
mtk_eth          1501 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = container_of(napi, struct mtk_eth, rx_napi);
mtk_eth          1533 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_tx_alloc(struct mtk_eth *eth)
mtk_eth          1608 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_tx_clean(struct mtk_eth *eth)
mtk_eth          1637 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_rx_alloc(struct mtk_eth *eth, int ring_no, int rx_flag)
mtk_eth          1711 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_rx_clean(struct mtk_eth *eth, struct mtk_rx_ring *ring)
mtk_eth          1740 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_hwlro_rx_init(struct mtk_eth *eth)
mtk_eth          1800 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_hwlro_rx_uninit(struct mtk_eth *eth)
mtk_eth          1826 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_hwlro_val_ipaddr(struct mtk_eth *eth, int idx, __be32 ip)
mtk_eth          1841 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_hwlro_inval_ipaddr(struct mtk_eth *eth, int idx)
mtk_eth          1872 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          1896 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          1915 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          2003 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_dma_busy_wait(struct mtk_eth *eth)
mtk_eth          2026 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_dma_init(struct mtk_eth *eth)
mtk_eth          2080 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_dma_free(struct mtk_eth *eth)
mtk_eth          2111 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          2121 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = _eth;
mtk_eth          2133 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = _eth;
mtk_eth          2145 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = _eth;
mtk_eth          2163 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          2173 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_start_dma(struct mtk_eth *eth)
mtk_eth          2208 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          2239 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_stop_dma(struct mtk_eth *eth, u32 glo_cfg)
mtk_eth          2265 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          2291 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void ethsys_reset(struct mtk_eth *eth, u32 reset_bits)
mtk_eth          2304 drivers/net/ethernet/mediatek/mtk_eth_soc.c static void mtk_clk_disable(struct mtk_eth *eth)
mtk_eth          2312 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_clk_enable(struct mtk_eth *eth)
mtk_eth          2331 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_hw_init(struct mtk_eth *eth)
mtk_eth          2432 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_hw_deinit(struct mtk_eth *eth)
mtk_eth          2448 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          2468 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = mac->hw;
mtk_eth          2493 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = container_of(work, struct mtk_eth, pending_work);
mtk_eth          2543 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_free_dev(struct mtk_eth *eth)
mtk_eth          2556 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_unreg_dev(struct mtk_eth *eth)
mtk_eth          2569 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_cleanup(struct mtk_eth *eth)
mtk_eth          2780 drivers/net/ethernet/mediatek/mtk_eth_soc.c static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np)
mtk_eth          2882 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth;
mtk_eth          3068 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_eth *eth = platform_get_drvdata(pdev);
mtk_eth           492 drivers/net/ethernet/mediatek/mtk_eth_soc.h struct mtk_eth;
mtk_eth           914 drivers/net/ethernet/mediatek/mtk_eth_soc.h 	struct mtk_eth			*hw;
mtk_eth           926 drivers/net/ethernet/mediatek/mtk_eth_soc.h void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg);
mtk_eth           927 drivers/net/ethernet/mediatek/mtk_eth_soc.h u32 mtk_r32(struct mtk_eth *eth, unsigned reg);
mtk_eth           934 drivers/net/ethernet/mediatek/mtk_eth_soc.h void mtk_sgmii_restart_an(struct mtk_eth *eth, int mac_id);
mtk_eth           936 drivers/net/ethernet/mediatek/mtk_eth_soc.h int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id);
mtk_eth           937 drivers/net/ethernet/mediatek/mtk_eth_soc.h int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id);
mtk_eth           938 drivers/net/ethernet/mediatek/mtk_eth_soc.h int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id);
mtk_eth           111 drivers/net/ethernet/mediatek/mtk_sgmii.c void mtk_sgmii_restart_an(struct mtk_eth *eth, int mac_id)