Searched refs:devad (Results 1 - 12 of 12) sorted by relevance

/seL4-camkes-master/projects/util_libs/libethdrivers/src/plat/imx6/uboot/
H A Dphy.h103 int (*read)(struct mii_dev *bus, int addr, int devad, int reg);
104 int (*write)(struct mii_dev *bus, int addr, int devad, int reg,
178 static inline int phy_read(struct phy_device *phydev, int devad, int regnum) argument
182 return bus->read(bus, phydev->addr, devad, regnum);
185 static inline int phy_write(struct phy_device *phydev, int devad, int regnum, argument
190 return bus->write(bus, phydev->addr, devad, regnum, val);
H A Dphy.c514 static int get_phy_id(struct mii_dev *bus, int addr, int devad, u32 *phy_id) argument
520 phy_reg = bus->read(bus, addr, devad, MII_PHYSID1);
528 phy_reg = bus->read(bus, addr, devad, MII_PHYSID2);
539 unsigned phy_mask, int devad, phy_interface_t interface)
544 int r = get_phy_id(bus, addr, devad, &phy_id);
610 int devad = MDIO_DEVAD_NONE; local
618 devad = ffs(phydev->mmds) - 1;
622 reg = phy_read(phydev, devad, MII_BMCR);
630 if (phy_write(phydev, devad, MII_BMCR, reg) < 0) {
644 reg = phy_read(phydev, devad, MII_BMC
538 create_phy_by_mask(struct mii_dev *bus, unsigned phy_mask, int devad, phy_interface_t interface) argument
[all...]
H A Dmdio.h114 #define MDIO_DEVS_PRESENT(devad) (BIT((devad)))
H A Dmiiphyutil.c91 static int legacy_miiphy_read(struct mii_dev *bus, int addr, int devad, int reg) argument
102 static int legacy_miiphy_write(struct mii_dev *bus, int addr, int devad, argument
/seL4-camkes-master/projects/util_libs/libethdrivers/src/plat/zynq7000/uboot/
H A Dphy.h105 int (*read)(struct mii_dev *bus, int addr, int devad, int reg);
106 int (*write)(struct mii_dev *bus, int addr, int devad, int reg,
145 int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
146 int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
195 static inline int phy_read(struct phy_device *phydev, int devad, int regnum) argument
199 return bus->read(bus, phydev->addr, devad, regnum);
202 static inline int phy_write(struct phy_device *phydev, int devad, int regnum, argument
207 return bus->write(bus, phydev->addr, devad, regnum, val);
272 int get_phy_id(struct mii_dev *bus, int addr, int devad, u32 *phy_id);
H A Dphy.c642 int __weak get_phy_id(struct mii_dev *bus, int addr, int devad, u32 *phy_id) argument
648 phy_reg = bus->read(bus, addr, devad, MII_PHYSID1);
656 phy_reg = bus->read(bus, addr, devad, MII_PHYSID2);
667 unsigned phy_mask, int devad, phy_interface_t interface)
672 int r = get_phy_id(bus, addr, devad, &phy_id);
745 int devad = MDIO_DEVAD_NONE; local
756 devad = ffs(phydev->mmds) - 1;
760 if (phy_write(phydev, devad, MII_BMCR, BMCR_RESET) < 0) {
773 reg = phy_read(phydev, devad, MII_BMCR);
775 reg = phy_read(phydev, devad, MII_BMC
666 create_phy_by_mask(struct mii_dev *bus, unsigned phy_mask, int devad, phy_interface_t interface) argument
[all...]
H A Dmdio.h115 #define MDIO_DEVS_PRESENT(devad) (1 << (devad))
H A Dmiiphyutil.c91 static int legacy_miiphy_read(struct mii_dev *bus, int addr, int devad, int reg) argument
102 static int legacy_miiphy_write(struct mii_dev *bus, int addr, int devad, argument
/seL4-camkes-master/projects/util_libs/libethdrivers/src/plat/tx2/uboot/
H A Dmiiphy.h86 int bb_miiphy_read(struct mii_dev *miidev, int addr, int devad, int reg);
87 int bb_miiphy_write(struct mii_dev *miidev, int addr, int devad, int reg,
141 int (*read)(struct udevice *mdio_dev, int addr, int devad, int reg);
142 int (*write)(struct udevice *mdio_dev, int addr, int devad, int reg,
H A Dphy.h108 int (*read)(struct mii_dev *bus, int addr, int devad, int reg);
109 int (*write)(struct mii_dev *bus, int addr, int devad, int reg,
148 int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
149 int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
198 static inline int phy_read(struct phy_device *phydev, int devad, int regnum) argument
202 return bus->read(bus, phydev->addr, devad, regnum);
205 static inline int phy_write(struct phy_device *phydev, int devad, int regnum, argument
210 return bus->write(bus, phydev->addr, devad, regnum, val);
275 int get_phy_id(struct mii_dev *bus, int addr, int devad, u32 *phy_id);
H A Dphy.c690 int __weak get_phy_id(struct mii_dev *bus, int addr, int devad, u32 *phy_id) argument
696 phy_reg = bus->read(bus, addr, devad, MII_PHYSID1);
705 phy_reg = bus->read(bus, addr, devad, MII_PHYSID2);
717 unsigned phy_mask, int devad, phy_interface_t interface)
722 int r = get_phy_id(bus, addr, devad, &phy_id);
799 int devad = MDIO_DEVAD_NONE; local
812 devad = ffs(phydev->mmds) - 1;
816 if (phy_write(phydev, devad, MII_BMCR, BMCR_RESET) < 0) {
829 reg = phy_read(phydev, devad, MII_BMCR);
831 reg = phy_read(phydev, devad, MII_BMC
716 create_phy_by_mask(struct mii_dev *bus, unsigned phy_mask, int devad, phy_interface_t interface) argument
[all...]
H A Dmdio.h114 #define MDIO_DEVS_PRESENT(devad) (1 << (devad))

Completed in 99 milliseconds