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

/freebsd-12-stable/sys/dev/cxgb/common/
H A Dcxgb_mv88e1xxx.c138 static int mv88e1xxx_reset(struct cphy *cphy, int wait) argument
140 return t3_phy_reset(cphy, 0, wait);
143 static int mv88e1xxx_intr_enable(struct cphy *cphy) argument
145 return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, INTR_ENABLE_MASK);
148 static int mv88e1xxx_intr_disable(struct cphy *cphy) argument
150 return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, 0);
153 static int mv88e1xxx_intr_clear(struct cphy *cph argument
161 mv88e1xxx_crossover_set(struct cphy *cphy, int crossover) argument
168 mv88e1xxx_autoneg_enable(struct cphy *cphy) argument
177 mv88e1xxx_autoneg_restart(struct cphy *cphy) argument
183 mv88e1xxx_set_loopback(struct cphy *cphy, int mmd, int dir, int on) argument
189 mv88e1xxx_get_link_status(struct cphy *cphy, int *link_state, int *speed, int *duplex, int *fc) argument
232 mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable) argument
243 mv88e1xxx_power_down(struct cphy *cphy, int enable) argument
249 mv88e1xxx_intr_handler(struct cphy *cphy) argument
[all...]
H A Dcxgb_vsc8211.c98 static int vsc8211_reset(struct cphy *cphy, int wait) argument
100 return t3_phy_reset(cphy, 0, 0);
103 static int vsc8211_intr_enable(struct cphy *cphy) argument
105 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, INTR_MASK);
108 static int vsc8211_intr_disable(struct cphy *cphy) argument
110 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, 0);
113 static int vsc8211_intr_clear(struct cphy *cph argument
121 vsc8211_autoneg_enable(struct cphy *cphy) argument
127 vsc8211_autoneg_restart(struct cphy *cphy) argument
133 vsc8211_get_link_status(struct cphy *cphy, int *link_state, int *speed, int *duplex, int *fc) argument
206 vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_state, int *speed, int *duplex, int *fc) argument
299 vsc8211_power_down(struct cphy *cphy, int enable) argument
305 vsc8211_intr_handler(struct cphy *cphy) argument
[all...]
H A Dcxgb_tn1010.c77 static int tn1010_reset(struct cphy *phy, int wait)
84 static int tn1010_power_down(struct cphy *phy, int enable)
90 static int tn1010_autoneg_enable(struct cphy *phy)
101 static int tn1010_autoneg_restart(struct cphy *phy)
112 static int tn1010_advertise(struct cphy *phy, unsigned int advert)
133 static int tn1010_get_link_status(struct cphy *phy, int *link_state,
178 static int tn1010_set_speed_duplex(struct cphy *phy, int speed, int duplex)
H A Dcxgb_aq100x.c85 aq100x_temperature(struct cphy *phy)
100 aq100x_set_defaults(struct cphy *phy)
106 aq100x_reset(struct cphy *phy, int wait)
116 aq100x_intr_enable(struct cphy *phy)
134 aq100x_intr_disable(struct cphy *phy)
152 aq100x_intr_clear(struct cphy *phy)
168 aq100x_vendor_intr(struct cphy *phy, int *rc)
204 aq100x_intr_handler(struct cphy *phy)
228 aq100x_power_down(struct cphy *phy, int off)
257 aq100x_autoneg_enable(struct cphy *ph
[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);
565 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
566 int (*set_loopback)(struct cphy *ph
574 struct cphy { struct
[all...]
H A Dcxgb_ael1002.c99 static int ael2xxx_get_module_type(struct cphy *phy, int delay_ms);
101 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv)
117 static void ael100x_txon(struct cphy *phy)
129 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr)
160 static int ael_i2c_wr(struct cphy *phy, int dev_addr, int word_addr, int data)
187 static int get_phytrans_type(struct cphy *phy)
198 static int ael_laser_down(struct cphy *phy, int enable)
236 static int ael1002_power_down(struct cphy *phy, int enable)
247 static int ael1002_get_module_type(struct cphy *phy, int delay_ms)
259 static int ael1002_reset(struct cphy *ph
[all...]
H A Dcxgb_t3_hw.c372 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
396 int t3_phy_reset(struct cphy *phy, int mmd, int wait)
425 int t3_phy_advertise(struct cphy *phy, unsigned int advert)
468 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert)
492 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex)
518 int t3_phy_lasi_intr_enable(struct cphy *phy)
523 int t3_phy_lasi_intr_disable(struct cphy *phy)
528 int t3_phy_lasi_intr_clear(struct cphy *phy)
535 int t3_phy_lasi_intr_handler(struct cphy *phy)
1526 struct cphy *ph
[all...]
/freebsd-12-stable/sys/dev/cxgb/
H A Dcxgb_adapter.h97 struct cphy phy;
H A Dcxgb_main.c2102 struct cphy *phy = &p->phy;
2559 struct cphy *phy = &pi->phy;
2581 struct cphy *phy = &pi->phy;

Completed in 179 milliseconds