Lines Matching refs:regnum
220 static int _mv88e6xxx_phy_read(struct dsa_switch *ds, int addr, int regnum) in _mv88e6xxx_phy_read() argument
223 return _mv88e6xxx_reg_read(ds, addr, regnum); in _mv88e6xxx_phy_read()
227 static int _mv88e6xxx_phy_write(struct dsa_switch *ds, int addr, int regnum, in _mv88e6xxx_phy_write() argument
231 return _mv88e6xxx_reg_write(ds, addr, regnum, val); in _mv88e6xxx_phy_write()
345 int mv88e6xxx_phy_read_ppu(struct dsa_switch *ds, int addr, int regnum) in mv88e6xxx_phy_read_ppu() argument
351 ret = mv88e6xxx_reg_read(ds, addr, regnum); in mv88e6xxx_phy_read_ppu()
359 int regnum, u16 val) in mv88e6xxx_phy_write_ppu() argument
365 ret = mv88e6xxx_reg_write(ds, addr, regnum, val); in mv88e6xxx_phy_write_ppu()
856 int regnum) in _mv88e6xxx_phy_read_indirect() argument
862 regnum); in _mv88e6xxx_phy_read_indirect()
874 int regnum, u16 val) in _mv88e6xxx_phy_write_indirect() argument
884 regnum); in _mv88e6xxx_phy_write_indirect()
2407 mv88e6xxx_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6xxx_phy_read() argument
2417 ret = _mv88e6xxx_phy_read(ds, addr, regnum); in mv88e6xxx_phy_read()
2423 mv88e6xxx_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) in mv88e6xxx_phy_write() argument
2433 ret = _mv88e6xxx_phy_write(ds, addr, regnum, val); in mv88e6xxx_phy_write()
2439 mv88e6xxx_phy_read_indirect(struct dsa_switch *ds, int port, int regnum) in mv88e6xxx_phy_read_indirect() argument
2449 ret = _mv88e6xxx_phy_read_indirect(ds, addr, regnum); in mv88e6xxx_phy_read_indirect()
2455 mv88e6xxx_phy_write_indirect(struct dsa_switch *ds, int port, int regnum, in mv88e6xxx_phy_write_indirect() argument
2466 ret = _mv88e6xxx_phy_write_indirect(ds, addr, regnum, val); in mv88e6xxx_phy_write_indirect()