Searched refs:mv88e6xxx_g1_read (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/net/dsa/mv88e6xxx/ |
D | global1.c | 16 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g1_read() function 88 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_STS, &val); in mv88e6xxx_g1_wait_eeprom_done() 146 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &val); in mv88e6185_g1_reset() 170 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &val); in mv88e6250_g1_reset() 199 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &val); in mv88e6185_g1_ppu_enable() 217 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &val); in mv88e6185_g1_ppu_disable() 237 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &val); in mv88e6185_g1_set_max_frame_size() 323 err = mv88e6xxx_g1_read(chip, MV88E6185_G1_MONITOR_CTL, ®); in mv88e6095_g1_set_egress_port() 354 err = mv88e6xxx_g1_read(chip, MV88E6185_G1_MONITOR_CTL, ®); in mv88e6095_g1_set_cpu_port() 446 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL2, ®); in mv88e6xxx_g1_ctl2_mask() [all …]
|
D | devlink.c | 283 err = mv88e6xxx_g1_read(chip, i, ®isters[i]); in mv88e6xxx_region_global_snapshot() 339 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_OP, &atu_op); in mv88e6xxx_region_atu_snapshot_fid() 343 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_DATA, &atu_data); in mv88e6xxx_region_atu_snapshot_fid() 347 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_MAC01, &atu_01); in mv88e6xxx_region_atu_snapshot_fid() 351 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_MAC23, &atu_23); in mv88e6xxx_region_atu_snapshot_fid() 355 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_MAC45, &atu_45); in mv88e6xxx_region_atu_snapshot_fid() 475 err = err ? : mv88e6xxx_g1_read(chip, MV88E6352_G1_VTU_FID, in mv88e6xxx_region_vtu_snapshot() 477 err = err ? : mv88e6xxx_g1_read(chip, MV88E6352_G1_VTU_SID, in mv88e6xxx_region_vtu_snapshot() 479 err = err ? : mv88e6xxx_g1_read(chip, MV88E6XXX_G1_VTU_OP, in mv88e6xxx_region_vtu_snapshot() 481 err = err ? : mv88e6xxx_g1_read(chip, MV88E6XXX_G1_VTU_VID, in mv88e6xxx_region_vtu_snapshot() [all …]
|
D | global1_atu.c | 30 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6xxx_g1_atu_set_learn2all() 58 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6xxx_g1_atu_set_age_time() 81 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6165_g1_atu_get_hash() 98 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, &val); in mv88e6165_g1_atu_set_hash() 130 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_CTL, in mv88e6xxx_g1_atu_op() 170 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_DATA, &val); in mv88e6xxx_g1_atu_data_read() 210 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_MAC01 + i, &val); in mv88e6xxx_g1_atu_mac_read() 367 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_ATU_OP, &val); in mv88e6xxx_g1_atu_prob_irq_thread_fn()
|
D | global1_vtu.c | 25 err = mv88e6xxx_g1_read(chip, MV88E6352_G1_VTU_FID, &val); in mv88e6xxx_g1_vtu_fid_read() 52 err = mv88e6xxx_g1_read(chip, MV88E6352_G1_VTU_SID, &val); in mv88e6xxx_g1_vtu_sid_read() 97 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_VTU_VID, &val); in mv88e6xxx_g1_vtu_vid_read() 142 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_VTU_DATA1 + i, reg); in mv88e6185_g1_vtu_stu_data_read() 217 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_VTU_DATA1 + i, reg); in mv88e6390_g1_vtu_data_read() 306 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_VTU_OP, &val); in mv88e6185_g1_vtu_getnext() 620 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_VTU_OP, &val); in mv88e6xxx_g1_vtu_prob_irq_thread_fn()
|
D | global1.h | 272 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val);
|
D | chip.c | 161 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_STS, ®); in mv88e6xxx_g1_irq_thread_work() 178 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &ctl1); in mv88e6xxx_g1_irq_thread_work() 181 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_STS, ®); in mv88e6xxx_g1_irq_thread_work() 214 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, ®); in mv88e6xxx_g1_irq_bus_sync_unlock() 261 mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &mask); in mv88e6xxx_g1_irq_free_common() 304 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &mask); in mv88e6xxx_g1_irq_setup_common() 315 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_STS, ®); in mv88e6xxx_g1_irq_setup_common()
|