Lines Matching refs:regnum
761 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read() argument
767 retval = bus->read(bus, addr, regnum); in __mdiobus_read()
769 trace_mdio_access(bus, 1, addr, regnum, retval, retval); in __mdiobus_read()
787 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write() argument
793 err = bus->write(bus, addr, regnum, val); in __mdiobus_write()
795 trace_mdio_access(bus, 0, addr, regnum, val, err); in __mdiobus_write()
815 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed() argument
820 ret = __mdiobus_read(bus, addr, regnum); in __mdiobus_modify_changed()
828 ret = __mdiobus_write(bus, addr, regnum, new); in __mdiobus_modify_changed()
847 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested() argument
852 retval = __mdiobus_read(bus, addr, regnum); in mdiobus_read_nested()
869 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read() argument
874 retval = __mdiobus_read(bus, addr, regnum); in mdiobus_read()
895 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write_nested() argument
900 err = __mdiobus_write(bus, addr, regnum, val); in mdiobus_write_nested()
918 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write() argument
923 err = __mdiobus_write(bus, addr, regnum, val); in mdiobus_write()
939 int mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set) in mdiobus_modify() argument
944 err = __mdiobus_modify_changed(bus, addr, regnum, mask, set); in mdiobus_modify()
960 int mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in mdiobus_modify_changed() argument
966 err = __mdiobus_modify_changed(bus, addr, regnum, mask, set); in mdiobus_modify_changed()