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

/freebsd-10.1-release/sys/dev/cxgb/common/
H A Dcxgb_mv88e1xxx.c137 static int mv88e1xxx_reset(struct cphy *cphy, int wait) argument
139 return t3_phy_reset(cphy, 0, wait);
142 static int mv88e1xxx_intr_enable(struct cphy *cphy) argument
144 return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, INTR_ENABLE_MASK);
147 static int mv88e1xxx_intr_disable(struct cphy *cphy) argument
149 return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, 0);
152 static int mv88e1xxx_intr_clear(struct cphy *cph argument
160 mv88e1xxx_crossover_set(struct cphy *cphy, int crossover) argument
167 mv88e1xxx_autoneg_enable(struct cphy *cphy) argument
176 mv88e1xxx_autoneg_restart(struct cphy *cphy) argument
182 mv88e1xxx_set_loopback(struct cphy *cphy, int mmd, int dir, int on) argument
188 mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
230 mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable) argument
241 mv88e1xxx_power_down(struct cphy *cphy, int enable) argument
247 mv88e1xxx_intr_handler(struct cphy *cphy) argument
[all...]
H A Dcxgb_vsc8211.c97 static int vsc8211_reset(struct cphy *cphy, int wait) argument
99 return t3_phy_reset(cphy, 0, 0);
102 static int vsc8211_intr_enable(struct cphy *cphy) argument
104 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, INTR_MASK);
107 static int vsc8211_intr_disable(struct cphy *cphy) argument
109 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, 0);
112 static int vsc8211_intr_clear(struct cphy *cph argument
120 vsc8211_autoneg_enable(struct cphy *cphy) argument
126 vsc8211_autoneg_restart(struct cphy *cphy) argument
132 vsc8211_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
204 vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
296 vsc8211_power_down(struct cphy *cphy, int enable) argument
302 vsc8211_intr_handler(struct cphy *cphy) argument
[all...]
H A Dcxgb_tn1010.c76 static int tn1010_reset(struct cphy *phy, int wait)
83 static int tn1010_power_down(struct cphy *phy, int enable)
89 static int tn1010_autoneg_enable(struct cphy *phy)
100 static int tn1010_autoneg_restart(struct cphy *phy)
111 static int tn1010_advertise(struct cphy *phy, unsigned int advert)
132 static int tn1010_get_link_status(struct cphy *phy, int *link_ok,
176 static int tn1010_set_speed_duplex(struct cphy *phy, int speed, int duplex)
H A Dcxgb_aq100x.c84 aq100x_temperature(struct cphy *phy)
99 aq100x_set_defaults(struct cphy *phy)
105 aq100x_reset(struct cphy *phy, int wait)
115 aq100x_intr_enable(struct cphy *phy)
133 aq100x_intr_disable(struct cphy *phy)
151 aq100x_intr_clear(struct cphy *phy)
167 aq100x_vendor_intr(struct cphy *phy, int *rc)
203 aq100x_intr_handler(struct cphy *phy)
227 aq100x_power_down(struct cphy *phy, int off)
256 aq100x_autoneg_enable(struct cphy *ph
[all...]
H A Dcxgb_common.h146 struct cphy;
548 int (*reset)(struct cphy *phy, int wait);
550 int (*intr_enable)(struct cphy *phy);
551 int (*intr_disable)(struct cphy *phy);
552 int (*intr_clear)(struct cphy *phy);
553 int (*intr_handler)(struct cphy *phy);
555 int (*autoneg_enable)(struct cphy *phy);
556 int (*autoneg_restart)(struct cphy *phy);
558 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
559 int (*set_loopback)(struct cphy *ph
567 struct cphy { struct
[all...]
H A Dcxgb_ael1002.c98 static int ael2xxx_get_module_type(struct cphy *phy, int delay_ms);
100 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv)
116 static void ael100x_txon(struct cphy *phy)
128 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr)
159 static int ael_i2c_wr(struct cphy *phy, int dev_addr, int word_addr, int data)
186 static int get_phytrans_type(struct cphy *phy)
197 static int ael_laser_down(struct cphy *phy, int enable)
235 static int ael1002_power_down(struct cphy *phy, int enable)
246 static int ael1002_get_module_type(struct cphy *phy, int delay_ms)
258 static int ael1002_reset(struct cphy *ph
[all...]
H A Dcxgb_t3_hw.c371 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
395 int t3_phy_reset(struct cphy *phy, int mmd, int wait)
424 int t3_phy_advertise(struct cphy *phy, unsigned int advert)
467 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert)
491 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex)
517 int t3_phy_lasi_intr_enable(struct cphy *phy)
522 int t3_phy_lasi_intr_disable(struct cphy *phy)
527 int t3_phy_lasi_intr_clear(struct cphy *phy)
534 int t3_phy_lasi_intr_handler(struct cphy *phy)
1525 struct cphy *ph
[all...]
/freebsd-10.1-release/sys/dev/cxgb/
H A Dcxgb_adapter.h96 struct cphy phy;
H A Dcxgb_main.c2093 struct cphy *phy = &p->phy;
2503 struct cphy *phy = &pi->phy;
2525 struct cphy *phy = &pi->phy;

Completed in 177 milliseconds