Lines Matching refs:mt7628_eth_dev
137 struct mt7628_eth_dev { struct
155 static int mdio_wait_read(struct mt7628_eth_dev *priv, u32 mask, bool mask_set) in mdio_wait_read() argument
170 static int mii_mgr_read(struct mt7628_eth_dev *priv, in mii_mgr_read()
199 static int mii_mgr_write(struct mt7628_eth_dev *priv, in mii_mgr_write()
238 static void mt7628_ephy_init(struct mt7628_eth_dev *priv) in mt7628_ephy_init()
280 static void rt305x_esw_init(struct mt7628_eth_dev *priv) in rt305x_esw_init()
323 static void eth_dma_start(struct mt7628_eth_dev *priv) in eth_dma_start()
330 static void eth_dma_stop(struct mt7628_eth_dev *priv) in eth_dma_stop()
347 struct mt7628_eth_dev *priv = dev_get_priv(dev); in mt7628_eth_write_hwaddr()
368 struct mt7628_eth_dev *priv = dev_get_priv(dev); in mt7628_eth_send()
413 struct mt7628_eth_dev *priv = dev_get_priv(dev); in mt7628_eth_recv()
444 struct mt7628_eth_dev *priv = dev_get_priv(dev); in mt7628_eth_free_pkt()
461 static int phy_link_up(struct mt7628_eth_dev *priv) in phy_link_up()
471 struct mt7628_eth_dev *priv = dev_get_priv(dev); in mt7628_eth_start()
553 struct mt7628_eth_dev *priv = dev_get_priv(dev); in mt7628_eth_stop()
560 struct mt7628_eth_dev *priv = dev_get_priv(dev); in mt7628_eth_probe()
642 .priv_auto_alloc_size = sizeof(struct mt7628_eth_dev),