Lines Matching defs:mv88e6xxx_ops
428 struct mv88e6xxx_ops { struct
432 int (*setup_errata)(struct mv88e6xxx_chip *chip);
434 int (*ieee_pri_map)(struct mv88e6xxx_chip *chip);
435 int (*ip_pri_map)(struct mv88e6xxx_chip *chip);
438 int (*irl_init_all)(struct mv88e6xxx_chip *chip, int port);
440 int (*get_eeprom)(struct mv88e6xxx_chip *chip,
442 int (*set_eeprom)(struct mv88e6xxx_chip *chip,
445 int (*set_switch_mac)(struct mv88e6xxx_chip *chip, u8 *addr);
447 int (*phy_read)(struct mv88e6xxx_chip *chip,
450 int (*phy_write)(struct mv88e6xxx_chip *chip,
455 int (*pot_clear)(struct mv88e6xxx_chip *chip);
458 int (*ppu_enable)(struct mv88e6xxx_chip *chip);
459 int (*ppu_disable)(struct mv88e6xxx_chip *chip);
462 int (*reset)(struct mv88e6xxx_chip *chip);
467 int (*port_set_rgmii_delay)(struct mv88e6xxx_chip *chip, int port,
478 int (*port_set_link)(struct mv88e6xxx_chip *chip, int port, int link);
482 int (*port_sync_link)(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup);
488 int (*port_set_pause)(struct mv88e6xxx_chip *chip, int port,
502 int (*port_set_speed_duplex)(struct mv88e6xxx_chip *chip, int port,
506 phy_interface_t (*port_max_speed_mode)(int port);
508 int (*port_tag_remap)(struct mv88e6xxx_chip *chip, int port);
510 int (*port_set_policy)(struct mv88e6xxx_chip *chip, int port,
514 int (*port_set_frame_mode)(struct mv88e6xxx_chip *chip, int port,
516 int (*port_set_ucast_flood)(struct mv88e6xxx_chip *chip, int port,
518 int (*port_set_mcast_flood)(struct mv88e6xxx_chip *chip, int port,
520 int (*port_set_ether_type)(struct mv88e6xxx_chip *chip, int port,
522 int (*port_set_jumbo_size)(struct mv88e6xxx_chip *chip, int port,
525 int (*port_egress_rate_limiting)(struct mv88e6xxx_chip *chip, int port);
526 int (*port_pause_limit)(struct mv88e6xxx_chip *chip, int port, u8 in,
528 int (*port_disable_learn_limit)(struct mv88e6xxx_chip *chip, int port);
529 int (*port_disable_pri_override)(struct mv88e6xxx_chip *chip, int port);
530 int (*port_setup_message_port)(struct mv88e6xxx_chip *chip, int port);
535 int (*port_set_cmode)(struct mv88e6xxx_chip *chip, int port,
537 int (*port_get_cmode)(struct mv88e6xxx_chip *chip, int port, u8 *cmode);
542 int (*port_set_upstream_port)(struct mv88e6xxx_chip *chip, int port,
548 int (*stats_snapshot)(struct mv88e6xxx_chip *chip, int port);
553 int (*stats_set_histogram)(struct mv88e6xxx_chip *chip);
556 int (*stats_get_sset_count)(struct mv88e6xxx_chip *chip);
557 int (*stats_get_strings)(struct mv88e6xxx_chip *chip, uint8_t *data);
558 int (*stats_get_stats)(struct mv88e6xxx_chip *chip, int port,
560 int (*set_cpu_port)(struct mv88e6xxx_chip *chip, int port);
561 int (*set_egress_port)(struct mv88e6xxx_chip *chip,
568 int (*set_cascade_port)(struct mv88e6xxx_chip *chip, int port);
570 const struct mv88e6xxx_irq_ops *watchdog_ops;
572 int (*mgmt_rsvd2cpu)(struct mv88e6xxx_chip *chip);
575 int (*serdes_power)(struct mv88e6xxx_chip *chip, int port, int lane,
579 int (*serdes_get_lane)(struct mv88e6xxx_chip *chip, int port);
581 int (*serdes_pcs_get_state)(struct mv88e6xxx_chip *chip, int port,
583 int (*serdes_pcs_config)(struct mv88e6xxx_chip *chip, int port,
587 int (*serdes_pcs_an_restart)(struct mv88e6xxx_chip *chip, int port,
589 int (*serdes_pcs_link_up)(struct mv88e6xxx_chip *chip, int port,
593 unsigned int (*serdes_irq_mapping)(struct mv88e6xxx_chip *chip,
595 int (*serdes_irq_enable)(struct mv88e6xxx_chip *chip, int port, int lane,
597 irqreturn_t (*serdes_irq_status)(struct mv88e6xxx_chip *chip, int port,
601 int (*serdes_get_sset_count)(struct mv88e6xxx_chip *chip, int port);
602 int (*serdes_get_strings)(struct mv88e6xxx_chip *chip, int port,
604 size_t (*serdes_get_stats)(struct mv88e6xxx_chip *chip, int port,
608 int (*serdes_get_regs_len)(struct mv88e6xxx_chip *chip, int port);
609 void (*serdes_get_regs)(struct mv88e6xxx_chip *chip, int port,
613 int (*serdes_set_tx_amplitude)(struct mv88e6xxx_chip *chip, int port,
617 int (*atu_get_hash)(struct mv88e6xxx_chip *chip, u8 *hash);
618 int (*atu_set_hash)(struct mv88e6xxx_chip *chip, u8 hash);
621 int (*vtu_getnext)(struct mv88e6xxx_chip *chip,
623 int (*vtu_loadpurge)(struct mv88e6xxx_chip *chip,
627 int (*stu_getnext)(struct mv88e6xxx_chip *chip,
629 int (*stu_loadpurge)(struct mv88e6xxx_chip *chip,
633 const struct mv88e6xxx_gpio_ops *gpio_ops;
636 const struct mv88e6xxx_avb_ops *avb_ops;
639 int (*rmu_disable)(struct mv88e6xxx_chip *chip);
642 const struct mv88e6xxx_ptp_ops *ptp_ops;
645 void (*phylink_get_caps)(struct mv88e6xxx_chip *chip, int port,
649 int (*set_max_frame_size)(struct mv88e6xxx_chip *chip, int mtu);