Lines Matching refs:regnum
234 int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val) in ksz9021_phy_extended_write() argument
238 MII_KSZ9021_EXTENDED_CTRL, regnum | 0x8000); in ksz9021_phy_extended_write()
243 int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum) in ksz9021_phy_extended_read() argument
246 phy_write(phydev, MDIO_DEVAD_NONE, MII_KSZ9021_EXTENDED_CTRL, regnum); in ksz9021_phy_extended_read()
252 int regnum) in ksz9021_phy_extread() argument
254 return ksz9021_phy_extended_read(phydev, regnum); in ksz9021_phy_extread()
258 int devaddr, int regnum, u16 val) in ksz9021_phy_extwrite() argument
260 return ksz9021_phy_extended_write(phydev, regnum, val); in ksz9021_phy_extwrite()
307 int devaddr, int regnum, u16 mode, u16 val) in ksz9031_phy_extended_write() argument
314 MII_KSZ9031_MMD_REG_DATA, regnum); in ksz9031_phy_extended_write()
324 int regnum, u16 mode) in ksz9031_phy_extended_read() argument
329 MII_KSZ9031_MMD_REG_DATA, regnum); in ksz9031_phy_extended_read()
336 int regnum) in ksz9031_phy_extread() argument
338 return ksz9031_phy_extended_read(phydev, devaddr, regnum, in ksz9031_phy_extread()
343 int devaddr, int regnum, u16 val) in ksz9031_phy_extwrite() argument
345 return ksz9031_phy_extended_write(phydev, devaddr, regnum, in ksz9031_phy_extwrite()