Lines Matching refs:regnum

516 			     u16 regnum)  in mmd_phy_indirect()  argument
522 __mdiobus_write(bus, phy_addr, MII_MMD_DATA, regnum); in mmd_phy_indirect()
538 int __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in __phy_read_mmd() argument
542 if (regnum > (u16)~0 || devad > 32) in __phy_read_mmd()
546 val = phydev->drv->read_mmd(phydev, devad, regnum); in __phy_read_mmd()
549 devad, regnum); in __phy_read_mmd()
554 mmd_phy_indirect(bus, phy_addr, devad, regnum); in __phy_read_mmd()
572 int phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) in phy_read_mmd() argument
577 ret = __phy_read_mmd(phydev, devad, regnum); in phy_read_mmd()
594 int __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in __phy_write_mmd() argument
598 if (regnum > (u16)~0 || devad > 32) in __phy_write_mmd()
602 ret = phydev->drv->write_mmd(phydev, devad, regnum, val); in __phy_write_mmd()
605 devad, regnum, val); in __phy_write_mmd()
610 mmd_phy_indirect(bus, phy_addr, devad, regnum); in __phy_write_mmd()
631 int phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) in phy_write_mmd() argument
636 ret = __phy_write_mmd(phydev, devad, regnum, val); in phy_write_mmd()
656 int phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify_changed() argument
661 ret = __phy_modify_changed(phydev, regnum, mask, set); in phy_modify_changed()
679 int __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in __phy_modify() argument
683 ret = __phy_modify_changed(phydev, regnum, mask, set); in __phy_modify()
700 int phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) in phy_modify() argument
705 ret = __phy_modify(phydev, regnum, mask, set); in phy_modify()
725 int __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd_changed() argument
730 ret = __phy_read_mmd(phydev, devad, regnum); in __phy_modify_mmd_changed()
738 ret = __phy_write_mmd(phydev, devad, regnum, new); in __phy_modify_mmd_changed()
758 int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd_changed() argument
764 ret = __phy_modify_mmd_changed(phydev, devad, regnum, mask, set); in phy_modify_mmd_changed()
783 int __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, in __phy_modify_mmd() argument
788 ret = __phy_modify_mmd_changed(phydev, devad, regnum, mask, set); in __phy_modify_mmd()
806 int phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, in phy_modify_mmd() argument
812 ret = __phy_modify_mmd(phydev, devad, regnum, mask, set); in phy_modify_mmd()
926 int phy_read_paged(struct phy_device *phydev, int page, u32 regnum) in phy_read_paged() argument
932 ret = __phy_read(phydev, regnum); in phy_read_paged()
947 int phy_write_paged(struct phy_device *phydev, int page, u32 regnum, u16 val) in phy_write_paged() argument
953 ret = __phy_write(phydev, regnum, val); in phy_write_paged()
969 int phy_modify_paged_changed(struct phy_device *phydev, int page, u32 regnum, in phy_modify_paged_changed() argument
976 ret = __phy_modify_changed(phydev, regnum, mask, set); in phy_modify_paged_changed()
992 int phy_modify_paged(struct phy_device *phydev, int page, u32 regnum, in phy_modify_paged() argument
995 int ret = phy_modify_paged_changed(phydev, page, regnum, mask, set); in phy_modify_paged()