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

/netbsd-current/sys/dev/pci/cxgb/
H A Dcxgb_vsc8211.c85 static int vsc8211_reset(struct cphy *cphy, int wait) argument
87 return t3_phy_reset(cphy, 0, 0);
90 static int vsc8211_intr_enable(struct cphy *cphy) argument
92 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, INTR_MASK);
95 static int vsc8211_intr_disable(struct cphy *cphy) argument
97 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, 0);
100 static int vsc8211_intr_clear(struct cphy *cph argument
108 vsc8211_autoneg_enable(struct cphy *cphy) argument
114 vsc8211_autoneg_restart(struct cphy *cphy) argument
120 vsc8211_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
192 vsc8211_power_down(struct cphy *cphy, int enable) argument
198 vsc8211_intr_handler(struct cphy *cphy) argument
[all...]
H A Dcxgb_mv88e1xxx.c141 static int mv88e1xxx_reset(struct cphy *cphy, int wait) argument
143 return t3_phy_reset(cphy, 0, wait);
146 static int mv88e1xxx_intr_enable(struct cphy *cphy) argument
148 return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, INTR_ENABLE_MASK);
151 static int mv88e1xxx_intr_disable(struct cphy *cphy) argument
153 return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, 0);
156 static int mv88e1xxx_intr_clear(struct cphy *cph argument
164 mv88e1xxx_crossover_set(struct cphy *cphy, int crossover) argument
171 mv88e1xxx_autoneg_enable(struct cphy *cphy) argument
180 mv88e1xxx_autoneg_restart(struct cphy *cphy) argument
186 mv88e1xxx_set_loopback(struct cphy *cphy, int mmd, int dir, int on) argument
192 mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
224 mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable) argument
235 mv88e1xxx_power_down(struct cphy *cphy, int enable) argument
241 mv88e1xxx_intr_handler(struct cphy *cphy) argument
[all...]
H A Dcxgb_ael1002.c51 static void ael100x_txon(struct cphy *phy)
60 static int ael1002_power_down(struct cphy *phy, int enable)
71 static int ael1002_reset(struct cphy *phy, int wait)
86 static int ael1002_intr_noop(struct cphy *phy)
91 static int ael100x_get_link_status(struct cphy *phy, int *link_ok,
144 void t3_ael1002_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
151 static int ael1006_reset(struct cphy *phy, int wait)
156 static int ael1006_intr_enable(struct cphy *phy)
161 static int ael1006_intr_disable(struct cphy *phy)
166 static int ael1006_intr_clear(struct cphy *ph
[all...]
H A Dcxgb_common.h136 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 int (*autoneg_restart)(struct cphy *ph
530 struct cphy { struct
[all...]
H A Dcxgb_adapter.h108 struct cphy phy;
H A Dcxgb_t3_hw.c318 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
342 int t3_phy_reset(struct cphy *phy, int mmd, int wait)
371 int t3_phy_advertise(struct cphy *phy, unsigned int advert)
415 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex)
1113 struct cphy *phy = &pi->phy;
1156 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc)

Completed in 142 milliseconds