Lines Matching refs:regnum
752 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read() argument
758 retval = bus->read(bus, addr, regnum); in __mdiobus_read()
760 trace_mdio_access(bus, 1, addr, regnum, retval, retval); in __mdiobus_read()
778 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write() argument
784 err = bus->write(bus, addr, regnum, val); in __mdiobus_write()
786 trace_mdio_access(bus, 0, addr, regnum, val, err); in __mdiobus_write()
806 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed() argument
811 ret = __mdiobus_read(bus, addr, regnum); in __mdiobus_modify_changed()
819 ret = __mdiobus_write(bus, addr, regnum, new); in __mdiobus_modify_changed()
838 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested() argument
843 retval = __mdiobus_read(bus, addr, regnum); in mdiobus_read_nested()
860 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read() argument
865 retval = __mdiobus_read(bus, addr, regnum); in mdiobus_read()
886 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write_nested() argument
891 err = __mdiobus_write(bus, addr, regnum, val); in mdiobus_write_nested()
909 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write() argument
914 err = __mdiobus_write(bus, addr, regnum, val); in mdiobus_write()
930 int mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set) in mdiobus_modify() argument
935 err = __mdiobus_modify_changed(bus, addr, regnum, mask, set); in mdiobus_modify()
951 int mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in mdiobus_modify_changed() argument
957 err = __mdiobus_modify_changed(bus, addr, regnum, mask, set); in mdiobus_modify_changed()