Lines Matching +full:0 +full:x1f0000
16 #define REG_PHY_CTRL 0
22 #define REGAD_MASK 0x3e00000
23 #define PHYAD_MASK 0x1f0000
24 #define MIIRDATA_MASK 0xffff
27 #define MIIWDATA_MASK 0xffff
36 u32 ctrl = 0; in moxart_mdio_read()
54 } while (count > 0); in moxart_mdio_read()
65 u32 ctrl = 0; in moxart_mdio_write()
82 return 0; in moxart_mdio_write()
86 } while (count > 0); in moxart_mdio_write()
97 for (i = 0; i < PHY_MAX_ADDR; i++) { in moxart_mdio_reset()
99 if (data < 0) in moxart_mdio_reset()
103 if (moxart_mdio_write(bus, i, MII_BMCR, data) < 0) in moxart_mdio_reset()
107 return 0; in moxart_mdio_reset()
135 for (i = 0; i < PHY_MAX_ADDR; i++) in moxart_mdio_probe()
139 data->base = devm_platform_ioremap_resource(pdev, 0); in moxart_mdio_probe()
146 if (ret < 0) in moxart_mdio_probe()
151 return 0; in moxart_mdio_probe()