Searched refs:devad (Results 1 – 5 of 5) sorted by relevance
| /bsp/allwinner/libraries/sunxi-hal/include/hal/phy/ |
| A D | sunxi_hal_phy.h | 201 int (*read)(struct mii_dev *bus, int addr, int devad, int reg); 202 int (*write)(struct mii_dev *bus, int addr, int devad, int reg, 241 int (*readext)(struct phy_device *phydev, int addr, int devad, int reg); 242 int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg, 287 static inline int phy_read(struct phy_device *phydev, int devad, int regnum) in phy_read() argument 291 return bus->read(bus, phydev->addr, devad, regnum); in phy_read() 294 static inline int phy_write(struct phy_device *phydev, int devad, int regnum, in phy_write() argument 299 return bus->write(bus, phydev->addr, devad, regnum, val); in phy_write()
|
| A D | sunxi_hal_mdio.h | 134 #define MDIO_DEVS_PRESENT(devad) (1 << (devad)) argument
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/phy/ |
| A D | hal_phy.c | 609 int get_phy_id(struct mii_dev *bus, int addr, int devad, uint32_t *phy_id) in get_phy_id() argument 615 phy_reg = bus->read(bus, addr, devad, MII_PHYSID1); in get_phy_id() 623 phy_reg = bus->read(bus, addr, devad, MII_PHYSID2); in get_phy_id() 634 unsigned phy_mask, int devad, phy_interface_t interface) in create_phy_by_mask() argument 639 int r = get_phy_id(bus, addr, devad, &phy_id); in create_phy_by_mask() 704 int devad = MDIO_DEVAD_NONE; in phy_reset() local 712 devad = ffs(phydev->mmds) - 1; in phy_reset() 716 reg = phy_read(phydev, devad, MII_BMCR); in phy_reset() 724 if (phy_write(phydev, devad, MII_BMCR, reg) < 0) { in phy_reset() 738 reg = phy_read(phydev, devad, MII_BMCR); in phy_reset()
|
| A D | hal_miiphyutil.c | 94 static int legacy_miiphy_read(struct mii_dev *bus, int addr, int devad, int reg) in legacy_miiphy_read() argument 105 static int legacy_miiphy_write(struct mii_dev *bus, int addr, int devad, in legacy_miiphy_write() argument
|
| /bsp/qemu-vexpress-a9/drivers/ |
| A D | drv_smc911x.c | 296 static int smc911x_miiphy_read(struct mii_dev *bus, int phy, int devad, in smc911x_miiphy_read() argument 312 static int smc911x_miiphy_write(struct mii_dev *bus, int phy, int devad, in smc911x_miiphy_write() argument
|
Completed in 12 milliseconds