Lines Matching defs:cphy
136 struct cphy;
159 void (*phy_prep)(struct cphy *phy, adapter_t *adapter, int phy_addr,
510 void (*destroy)(struct cphy *phy);
511 int (*reset)(struct cphy *phy, int wait);
513 int (*intr_enable)(struct cphy *phy);
514 int (*intr_disable)(struct cphy *phy);
515 int (*intr_clear)(struct cphy *phy);
516 int (*intr_handler)(struct cphy *phy);
518 int (*autoneg_enable)(struct cphy *phy);
519 cphy *phy);
521 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
522 int (*set_loopback)(struct cphy *phy, int mmd, int dir, int enable);
523 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex);
524 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
526 int (*power_down)(struct cphy *phy, int enable);
530 struct cphy {
542 static __inline int mdio_read(struct cphy *phy, int mmd, int reg,
548 static __inline int mdio_write(struct cphy *phy, int mmd, int reg,
555 static __inline void cphy_init(struct cphy *phy, adapter_t *adapter,
645 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
647 int t3_phy_reset(struct cphy *phy, int mmd, int wait);
648 int t3_phy_advertise(struct cphy *phy, unsigned int advert);
649 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex);
661 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
773 void t3_mv88e1xxx_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
775 void t3_vsc8211_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
777 void t3_ael1002_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
779 void t3_ael1006_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
781 void t3_qt2045_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
783 void t3_xaui_direct_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,