Lines Matching refs:mv88e6xxx_chip
16 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g1_read()
23 int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g1_write()
30 int mv88e6xxx_g1_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g1_wait_bit()
37 int mv88e6xxx_g1_wait_mask(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g1_wait_mask()
46 static int mv88e6185_g1_wait_ppu_disabled(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_disabled()
53 static int mv88e6185_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_polling()
60 static int mv88e6352_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6352_g1_wait_ppu_polling()
67 static int mv88e6xxx_g1_wait_init_ready(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_wait_init_ready()
78 static int mv88e6250_g1_eeprom_reload(struct mv88e6xxx_chip *chip) in mv88e6250_g1_eeprom_reload()
99 static int mv88e6xxx_g1_is_eeprom_done(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_is_eeprom_done()
125 int mv88e6xxx_g1_wait_eeprom_done(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_wait_eeprom_done()
143 int mv88e6250_g1_wait_eeprom_done_prereset(struct mv88e6xxx_chip *chip) in mv88e6250_g1_wait_eeprom_done_prereset()
171 int mv88e6xxx_g1_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr) in mv88e6xxx_g1_set_switch_mac()
196 int mv88e6185_g1_reset(struct mv88e6xxx_chip *chip) in mv88e6185_g1_reset()
222 int mv88e6250_g1_reset(struct mv88e6xxx_chip *chip) in mv88e6250_g1_reset()
241 int mv88e6352_g1_reset(struct mv88e6xxx_chip *chip) in mv88e6352_g1_reset()
252 int mv88e6185_g1_ppu_enable(struct mv88e6xxx_chip *chip) in mv88e6185_g1_ppu_enable()
270 int mv88e6185_g1_ppu_disable(struct mv88e6xxx_chip *chip) in mv88e6185_g1_ppu_disable()
288 int mv88e6185_g1_set_max_frame_size(struct mv88e6xxx_chip *chip, int mtu) in mv88e6185_g1_set_max_frame_size()
317 int mv88e6085_g1_ip_pri_map(struct mv88e6xxx_chip *chip) in mv88e6085_g1_ip_pri_map()
359 int mv88e6085_g1_ieee_pri_map(struct mv88e6xxx_chip *chip) in mv88e6085_g1_ieee_pri_map()
365 int mv88e6250_g1_ieee_pri_map(struct mv88e6xxx_chip *chip) in mv88e6250_g1_ieee_pri_map()
374 int mv88e6095_g1_set_egress_port(struct mv88e6xxx_chip *chip, in mv88e6095_g1_set_egress_port()
407 int mv88e6095_g1_set_cpu_port(struct mv88e6xxx_chip *chip, int port) in mv88e6095_g1_set_cpu_port()
422 static int mv88e6390_g1_monitor_write(struct mv88e6xxx_chip *chip, in mv88e6390_g1_monitor_write()
432 int mv88e6390_g1_set_egress_port(struct mv88e6xxx_chip *chip, in mv88e6390_g1_set_egress_port()
452 int mv88e6390_g1_set_cpu_port(struct mv88e6xxx_chip *chip, int port) in mv88e6390_g1_set_cpu_port()
464 int mv88e6390_g1_set_ptp_cpu_port(struct mv88e6xxx_chip *chip, int port) in mv88e6390_g1_set_ptp_cpu_port()
476 int mv88e6390_g1_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6390_g1_mgmt_rsvd2cpu()
510 static int mv88e6xxx_g1_ctl2_mask(struct mv88e6xxx_chip *chip, u16 mask, in mv88e6xxx_g1_ctl2_mask()
526 int mv88e6185_g1_set_cascade_port(struct mv88e6xxx_chip *chip, int port) in mv88e6185_g1_set_cascade_port()
533 int mv88e6085_g1_rmu_disable(struct mv88e6xxx_chip *chip) in mv88e6085_g1_rmu_disable()
539 int mv88e6352_g1_rmu_disable(struct mv88e6xxx_chip *chip) in mv88e6352_g1_rmu_disable()
545 int mv88e6390_g1_rmu_disable(struct mv88e6xxx_chip *chip) in mv88e6390_g1_rmu_disable()
551 int mv88e6390_g1_stats_set_histogram(struct mv88e6xxx_chip *chip) in mv88e6390_g1_stats_set_histogram()
557 int mv88e6xxx_g1_set_device_number(struct mv88e6xxx_chip *chip, int index) in mv88e6xxx_g1_set_device_number()
566 static int mv88e6xxx_g1_stats_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_stats_wait()
573 int mv88e6095_g1_stats_set_histogram(struct mv88e6xxx_chip *chip) in mv88e6095_g1_stats_set_histogram()
589 int mv88e6xxx_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port) in mv88e6xxx_g1_stats_snapshot()
605 int mv88e6320_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port) in mv88e6320_g1_stats_snapshot()
612 int mv88e6390_g1_stats_snapshot(struct mv88e6xxx_chip *chip, int port) in mv88e6390_g1_stats_snapshot()
629 void mv88e6xxx_g1_stats_read(struct mv88e6xxx_chip *chip, int stat, u32 *val) in mv88e6xxx_g1_stats_read()
660 int mv88e6xxx_g1_stats_clear(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_stats_clear()