Home
last modified time | relevance | path

Searched refs:cphy (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/sys/dev/cxgb/common/
H A Dcxgb_mv88e1xxx.c138 static int mv88e1xxx_reset(struct cphy *cphy, int wait) in mv88e1xxx_reset() argument
143 static int mv88e1xxx_intr_enable(struct cphy *cphy) in mv88e1xxx_intr_enable() argument
148 static int mv88e1xxx_intr_disable(struct cphy *cphy) in mv88e1xxx_intr_disable() argument
153 static int mv88e1xxx_intr_clear(struct cphy *cphy) in mv88e1xxx_intr_clear() argument
161 static int mv88e1xxx_crossover_set(struct cphy *cphy, int crossover) in mv88e1xxx_crossover_set() argument
168 static int mv88e1xxx_autoneg_enable(struct cphy *cphy) in mv88e1xxx_autoneg_enable() argument
177 static int mv88e1xxx_autoneg_restart(struct cphy *cphy) in mv88e1xxx_autoneg_restart() argument
189 static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_state, in mv88e1xxx_get_link_status() argument
232 static int mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable) in mv88e1xxx_downshift_set() argument
243 static int mv88e1xxx_power_down(struct cphy *cphy, int enable) in mv88e1xxx_power_down() argument
[all …]
H A Dcxgb_vsc8211.c98 static int vsc8211_reset(struct cphy *cphy, int wait) in vsc8211_reset() argument
100 return t3_phy_reset(cphy, 0, 0); in vsc8211_reset()
103 static int vsc8211_intr_enable(struct cphy *cphy) in vsc8211_intr_enable() argument
108 static int vsc8211_intr_disable(struct cphy *cphy) in vsc8211_intr_disable() argument
113 static int vsc8211_intr_clear(struct cphy *cphy) in vsc8211_intr_clear() argument
121 static int vsc8211_autoneg_enable(struct cphy *cphy) in vsc8211_autoneg_enable() argument
127 static int vsc8211_autoneg_restart(struct cphy *cphy) in vsc8211_autoneg_restart() argument
133 static int vsc8211_get_link_status(struct cphy *cphy, int *link_state, in vsc8211_get_link_status() argument
206 static int vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_state, in vsc8211_get_link_status_fiber() argument
299 static int vsc8211_power_down(struct cphy *cphy, int enable) in vsc8211_power_down() argument
[all …]
H A Dcxgb_ael1002.c117 static void ael100x_txon(struct cphy *phy) in ael100x_txon()
187 static int get_phytrans_type(struct cphy *phy) in get_phytrans_type()
279 static int ael1002_intr_noop(struct cphy *phy) in ael1002_intr_noop()
349 struct cphy *phy = &pinfo->phy; in t3_ael1002_phy_prep()
430 struct cphy *phy = &pinfo->phy; in t3_ael1006_phy_prep()
526 static int ael2005_setup_sr_edc(struct cphy *phy) in ael2005_setup_sr_edc()
1247 static int ael2005_intr_clear(struct cphy *phy) in ael2005_intr_clear()
1389 struct cphy *phy = &pinfo->phy; in t3_ael2005_phy_prep()
1996 static int ael2020_intr_clear(struct cphy *phy) in ael2020_intr_clear()
2141 struct cphy *phy = &pinfo->phy; in t3_ael2020_phy_prep()
[all …]
H A Dcxgb_aq100x.c85 aq100x_temperature(struct cphy *phy) in aq100x_temperature()
100 aq100x_set_defaults(struct cphy *phy) in aq100x_set_defaults()
106 aq100x_reset(struct cphy *phy, int wait) in aq100x_reset()
116 aq100x_intr_enable(struct cphy *phy) in aq100x_intr_enable()
134 aq100x_intr_disable(struct cphy *phy) in aq100x_intr_disable()
152 aq100x_intr_clear(struct cphy *phy) in aq100x_intr_clear()
204 aq100x_intr_handler(struct cphy *phy) in aq100x_intr_handler()
228 aq100x_power_down(struct cphy *phy, int off) in aq100x_power_down()
257 aq100x_autoneg_enable(struct cphy *phy) in aq100x_autoneg_enable()
270 aq100x_autoneg_restart(struct cphy *phy) in aq100x_autoneg_restart()
[all …]
H A Dcxgb_common.h147 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);
574 struct cphy { struct
697 int t3_phy_lasi_intr_enable(struct cphy *phy);
[all …]
H A Dcxgb_tn1010.c77 static int tn1010_reset(struct cphy *phy, int wait) in tn1010_reset()
84 static int tn1010_power_down(struct cphy *phy, int enable) in tn1010_power_down()
90 static int tn1010_autoneg_enable(struct cphy *phy) in tn1010_autoneg_enable()
101 static int tn1010_autoneg_restart(struct cphy *phy) in tn1010_autoneg_restart()
112 static int tn1010_advertise(struct cphy *phy, unsigned int advert) in tn1010_advertise()
133 static int tn1010_get_link_status(struct cphy *phy, int *link_state, in tn1010_get_link_status()
178 static int tn1010_set_speed_duplex(struct cphy *phy, int speed, int duplex) in tn1010_set_speed_duplex()
H A Dcxgb_t3_hw.c372 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear, in t3_mdio_change_bits()
396 int t3_phy_reset(struct cphy *phy, int mmd, int wait) in t3_phy_reset()
425 int t3_phy_advertise(struct cphy *phy, unsigned int advert) in t3_phy_advertise()
468 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert) in t3_phy_advertise_fiber()
492 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex) in t3_set_phy_speed_duplex()
518 int t3_phy_lasi_intr_enable(struct cphy *phy) in t3_phy_lasi_intr_enable()
523 int t3_phy_lasi_intr_disable(struct cphy *phy) in t3_phy_lasi_intr_disable()
528 int t3_phy_lasi_intr_clear(struct cphy *phy) in t3_phy_lasi_intr_clear()
535 int t3_phy_lasi_intr_handler(struct cphy *phy) in t3_phy_lasi_intr_handler()
1526 struct cphy *phy = &pi->phy; in t3_link_changed()
[all …]
/freebsd-12.1/sys/dev/cxgb/
H A Dcxgb_adapter.h97 struct cphy phy;
H A Dcxgb_main.c2100 struct cphy *phy = &p->phy; in cxgb_build_medialist()
2557 struct cphy *phy = &pi->phy; in cxgb_extension_ioctl()
2579 struct cphy *phy = &pi->phy; in cxgb_extension_ioctl()