• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/dev/cxgb/common/

Lines Matching refs:cphy

147 struct cphy;
555 int (*reset)(struct cphy *phy, int wait);
557 int (*intr_enable)(struct cphy *phy);
558 int (*intr_disable)(struct cphy *phy);
559 int (*intr_clear)(struct cphy *phy);
560 int (*intr_handler)(struct cphy *phy);
562 int (*autoneg_enable)(struct cphy *phy);
563 int (*autoneg_restart)(struct cphy *phy);
565 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
566 int (*set_loopback)(struct cphy *phy, int mmd, int dir, int enable);
567 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex);
568 int (*get_link_status)(struct cphy *phy, int *link_state, int *speed,
570 int (*power_down)(struct cphy *phy, int enable);
574 struct cphy {
592 static inline int mdio_read(struct cphy *phy, int mmd, int reg,
598 static inline int mdio_write(struct cphy *phy, int mmd, int reg,
605 static inline void cphy_init(struct cphy *phy, adapter_t *adapter, pinfo_t *pinfo,
691 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
693 int t3_phy_reset(struct cphy *phy, int mmd, int wait);
694 int t3_phy_advertise(struct cphy *phy, unsigned int advert);
695 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert);
696 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex);
697 int t3_phy_lasi_intr_enable(struct cphy *phy);
698 int t3_phy_lasi_intr_disable(struct cphy *phy);
699 int t3_phy_lasi_intr_clear(struct cphy *phy);
700 int t3_phy_lasi_intr_handler(struct cphy *phy);
713 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);