Lines Matching refs:dsa_switch
82 int mv88e6xxx_reg_read(struct dsa_switch *ds, int addr, int reg) in mv88e6xxx_reg_read()
134 int mv88e6xxx_reg_write(struct dsa_switch *ds, int addr, int reg, u16 val) in mv88e6xxx_reg_write()
147 int mv88e6xxx_config_prio(struct dsa_switch *ds) in mv88e6xxx_config_prio()
169 int mv88e6xxx_set_addr_direct(struct dsa_switch *ds, u8 *addr) in mv88e6xxx_set_addr_direct()
178 int mv88e6xxx_set_addr_indirect(struct dsa_switch *ds, u8 *addr) in mv88e6xxx_set_addr_indirect()
206 int mv88e6xxx_phy_read(struct dsa_switch *ds, int addr, int regnum) in mv88e6xxx_phy_read()
213 int mv88e6xxx_phy_write(struct dsa_switch *ds, int addr, int regnum, u16 val) in mv88e6xxx_phy_write()
221 static int mv88e6xxx_ppu_disable(struct dsa_switch *ds) in mv88e6xxx_ppu_disable()
239 static int mv88e6xxx_ppu_enable(struct dsa_switch *ds) in mv88e6xxx_ppu_enable()
263 struct dsa_switch *ds = ((struct dsa_switch *)ps) - 1; in mv88e6xxx_ppu_reenable_work()
278 static int mv88e6xxx_ppu_access_get(struct dsa_switch *ds) in mv88e6xxx_ppu_access_get()
306 static void mv88e6xxx_ppu_access_put(struct dsa_switch *ds) in mv88e6xxx_ppu_access_put()
317 void mv88e6xxx_ppu_state_init(struct dsa_switch *ds) in mv88e6xxx_ppu_state_init()
328 int mv88e6xxx_phy_read_ppu(struct dsa_switch *ds, int addr, int regnum) in mv88e6xxx_phy_read_ppu()
341 int mv88e6xxx_phy_write_ppu(struct dsa_switch *ds, int addr, in mv88e6xxx_phy_write_ppu()
356 void mv88e6xxx_poll_link(struct dsa_switch *ds) in mv88e6xxx_poll_link()
416 static int mv88e6xxx_stats_wait(struct dsa_switch *ds) in mv88e6xxx_stats_wait()
430 static int mv88e6xxx_stats_snapshot(struct dsa_switch *ds, int port) in mv88e6xxx_stats_snapshot()
449 static void mv88e6xxx_stats_read(struct dsa_switch *ds, int stat, u32 *val) in mv88e6xxx_stats_read()
477 void mv88e6xxx_get_strings(struct dsa_switch *ds, in mv88e6xxx_get_strings()
489 void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, in mv88e6xxx_get_ethtool_stats()