Lines Matching +full:0 +full:x50020000
22 * returns: 0 on success, -ETIMEDOUT on a timeout.
28 for (i = 0; i < ARC_MDIO_COMPLETE_POLL_COUNT * 40; i++) { in arc_mdio_complete_wait()
36 return 0; in arc_mdio_complete_wait()
63 0x60020000 | (phy_addr << 23) | (reg_num << 18)); in arc_mdio_read()
66 if (error < 0) in arc_mdio_read()
69 value = arc_reg_get(priv, R_MDIO) & 0xffff; in arc_mdio_read()
84 * returns: 0 on success, -ETIMEDOUT on a timeout.
98 0x50020000 | (phy_addr << 23) | (reg_num << 18) | value); in arc_mdio_write()
116 gpiod_set_value_cansleep(data->reset_gpio, 0); in arc_mdio_reset()
119 return 0; in arc_mdio_reset()
126 * returns: 0 on success, -ENOMEM when mdiobus_alloc
174 return 0; in arc_mdio_probe()
189 return 0; in arc_mdio_remove()