Lines Matching defs:mv88e6xxx_ops
452 struct mv88e6xxx_ops { struct
456 int (*setup_errata)(struct mv88e6xxx_chip *chip);
458 int (*ieee_pri_map)(struct mv88e6xxx_chip *chip);
459 int (*ip_pri_map)(struct mv88e6xxx_chip *chip);
462 int (*irl_init_all)(struct mv88e6xxx_chip *chip, int port);
464 int (*get_eeprom)(struct mv88e6xxx_chip *chip,
466 int (*set_eeprom)(struct mv88e6xxx_chip *chip,
469 int (*set_switch_mac)(struct mv88e6xxx_chip *chip, u8 *addr);
471 int (*phy_read)(struct mv88e6xxx_chip *chip,
474 int (*phy_write)(struct mv88e6xxx_chip *chip,
478 int (*phy_read_c45)(struct mv88e6xxx_chip *chip,
481 int (*phy_write_c45)(struct mv88e6xxx_chip *chip,
486 int (*pot_clear)(struct mv88e6xxx_chip *chip);
489 int (*ppu_enable)(struct mv88e6xxx_chip *chip);
490 int (*ppu_disable)(struct mv88e6xxx_chip *chip);
495 int (*hardware_reset_pre)(struct mv88e6xxx_chip *chip);
496 int (*hardware_reset_post)(struct mv88e6xxx_chip *chip);
499 int (*reset)(struct mv88e6xxx_chip *chip);
504 int (*port_set_rgmii_delay)(struct mv88e6xxx_chip *chip, int port,
515 int (*port_set_link)(struct mv88e6xxx_chip *chip, int port, int link);
519 int (*port_sync_link)(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup);
525 int (*port_set_pause)(struct mv88e6xxx_chip *chip, int port,
539 int (*port_set_speed_duplex)(struct mv88e6xxx_chip *chip, int port,
543 phy_interface_t (*port_max_speed_mode)(struct mv88e6xxx_chip *chip,
546 int (*port_tag_remap)(struct mv88e6xxx_chip *chip, int port);
548 int (*port_set_policy)(struct mv88e6xxx_chip *chip, int port,
552 int (*port_set_frame_mode)(struct mv88e6xxx_chip *chip, int port,
554 int (*port_set_ucast_flood)(struct mv88e6xxx_chip *chip, int port,
556 int (*port_set_mcast_flood)(struct mv88e6xxx_chip *chip, int port,
558 int (*port_set_ether_type)(struct mv88e6xxx_chip *chip, int port,
560 int (*port_set_jumbo_size)(struct mv88e6xxx_chip *chip, int port,
563 int (*port_egress_rate_limiting)(struct mv88e6xxx_chip *chip, int port);
564 int (*port_pause_limit)(struct mv88e6xxx_chip *chip, int port, u8 in,
566 int (*port_disable_learn_limit)(struct mv88e6xxx_chip *chip, int port);
567 int (*port_disable_pri_override)(struct mv88e6xxx_chip *chip, int port);
568 int (*port_setup_message_port)(struct mv88e6xxx_chip *chip, int port);
573 int (*port_set_cmode)(struct mv88e6xxx_chip *chip, int port,
575 int (*port_get_cmode)(struct mv88e6xxx_chip *chip, int port, u8 *cmode);
580 int (*port_set_upstream_port)(struct mv88e6xxx_chip *chip, int port,
586 int (*stats_snapshot)(struct mv88e6xxx_chip *chip, int port);
591 int (*stats_set_histogram)(struct mv88e6xxx_chip *chip);
594 int (*stats_get_sset_count)(struct mv88e6xxx_chip *chip);
595 int (*stats_get_strings)(struct mv88e6xxx_chip *chip, uint8_t *data);
596 size_t (*stats_get_stat)(struct mv88e6xxx_chip *chip, int port,
599 int (*set_cpu_port)(struct mv88e6xxx_chip *chip, int port);
600 int (*set_egress_port)(struct mv88e6xxx_chip *chip,
607 int (*set_cascade_port)(struct mv88e6xxx_chip *chip, int port);
609 const struct mv88e6xxx_irq_ops *watchdog_ops;
611 int (*mgmt_rsvd2cpu)(struct mv88e6xxx_chip *chip);
614 int (*serdes_get_lane)(struct mv88e6xxx_chip *chip, int port);
617 unsigned int (*serdes_irq_mapping)(struct mv88e6xxx_chip *chip,
621 int (*serdes_get_sset_count)(struct mv88e6xxx_chip *chip, int port);
622 int (*serdes_get_strings)(struct mv88e6xxx_chip *chip, int port,
624 size_t (*serdes_get_stats)(struct mv88e6xxx_chip *chip, int port,
628 int (*serdes_get_regs_len)(struct mv88e6xxx_chip *chip, int port);
629 void (*serdes_get_regs)(struct mv88e6xxx_chip *chip, int port,
633 int (*serdes_set_tx_amplitude)(struct mv88e6xxx_chip *chip, int port,
637 int (*atu_get_hash)(struct mv88e6xxx_chip *chip, u8 *hash);
638 int (*atu_set_hash)(struct mv88e6xxx_chip *chip, u8 hash);
641 int (*vtu_getnext)(struct mv88e6xxx_chip *chip,
643 int (*vtu_loadpurge)(struct mv88e6xxx_chip *chip,
647 int (*stu_getnext)(struct mv88e6xxx_chip *chip,
649 int (*stu_loadpurge)(struct mv88e6xxx_chip *chip,
653 const struct mv88e6xxx_gpio_ops *gpio_ops;
656 const struct mv88e6xxx_avb_ops *avb_ops;
659 int (*rmu_disable)(struct mv88e6xxx_chip *chip);
662 const struct mv88e6xxx_ptp_ops *ptp_ops;
665 void (*phylink_get_caps)(struct mv88e6xxx_chip *chip, int port,
668 const struct mv88e6xxx_pcs_ops *pcs_ops;
671 int (*set_max_frame_size)(struct mv88e6xxx_chip *chip, int mtu);