Symbol: cphy
sys/dev/pci/cxgb/cxgb_adapter.h
108
struct cphy phy;
sys/dev/pci/cxgb/cxgb_ael1002.c
144
void t3_ael1002_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_ael1002.c
151
static int ael1006_reset(struct cphy *phy, int wait)
sys/dev/pci/cxgb/cxgb_ael1002.c
156
static int ael1006_intr_enable(struct cphy *phy)
sys/dev/pci/cxgb/cxgb_ael1002.c
161
static int ael1006_intr_disable(struct cphy *phy)
sys/dev/pci/cxgb/cxgb_ael1002.c
166
static int ael1006_intr_clear(struct cphy *phy)
sys/dev/pci/cxgb/cxgb_ael1002.c
173
static int ael1006_intr_handler(struct cphy *phy)
sys/dev/pci/cxgb/cxgb_ael1002.c
183
static int ael1006_power_down(struct cphy *phy, int enable)
sys/dev/pci/cxgb/cxgb_ael1002.c
217
void t3_ael1006_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_ael1002.c
252
void t3_qt2045_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_ael1002.c
268
static int xaui_direct_reset(struct cphy *phy, int wait)
sys/dev/pci/cxgb/cxgb_ael1002.c
273
static int xaui_direct_get_link_status(struct cphy *phy, int *link_ok,
sys/dev/pci/cxgb/cxgb_ael1002.c
296
static int xaui_direct_power_down(struct cphy *phy, int enable)
sys/dev/pci/cxgb/cxgb_ael1002.c
329
void t3_xaui_direct_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_ael1002.c
51
static void ael100x_txon(struct cphy *phy)
sys/dev/pci/cxgb/cxgb_ael1002.c
60
static int ael1002_power_down(struct cphy *phy, int enable)
sys/dev/pci/cxgb/cxgb_ael1002.c
71
static int ael1002_reset(struct cphy *phy, int wait)
sys/dev/pci/cxgb/cxgb_ael1002.c
86
static int ael1002_intr_noop(struct cphy *phy)
sys/dev/pci/cxgb/cxgb_ael1002.c
91
static int ael100x_get_link_status(struct cphy *phy, int *link_ok,
sys/dev/pci/cxgb/cxgb_common.h
136
struct cphy;
sys/dev/pci/cxgb/cxgb_common.h
159
void (*phy_prep)(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_common.h
510
void (*destroy)(struct cphy *phy);
sys/dev/pci/cxgb/cxgb_common.h
511
int (*reset)(struct cphy *phy, int wait);
sys/dev/pci/cxgb/cxgb_common.h
513
int (*intr_enable)(struct cphy *phy);
sys/dev/pci/cxgb/cxgb_common.h
514
int (*intr_disable)(struct cphy *phy);
sys/dev/pci/cxgb/cxgb_common.h
515
int (*intr_clear)(struct cphy *phy);
sys/dev/pci/cxgb/cxgb_common.h
516
int (*intr_handler)(struct cphy *phy);
sys/dev/pci/cxgb/cxgb_common.h
518
int (*autoneg_enable)(struct cphy *phy);
sys/dev/pci/cxgb/cxgb_common.h
519
int (*autoneg_restart)(struct cphy *phy);
sys/dev/pci/cxgb/cxgb_common.h
521
int (*advertise)(struct cphy *phy, unsigned int advertise_map);
sys/dev/pci/cxgb/cxgb_common.h
522
int (*set_loopback)(struct cphy *phy, int mmd, int dir, int enable);
sys/dev/pci/cxgb/cxgb_common.h
523
int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex);
sys/dev/pci/cxgb/cxgb_common.h
524
int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
sys/dev/pci/cxgb/cxgb_common.h
526
int (*power_down)(struct cphy *phy, int enable);
sys/dev/pci/cxgb/cxgb_common.h
542
static __inline int mdio_read(struct cphy *phy, int mmd, int reg,
sys/dev/pci/cxgb/cxgb_common.h
548
static __inline int mdio_write(struct cphy *phy, int mmd, int reg,
sys/dev/pci/cxgb/cxgb_common.h
555
static __inline void cphy_init(struct cphy *phy, adapter_t *adapter,
sys/dev/pci/cxgb/cxgb_common.h
645
int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
sys/dev/pci/cxgb/cxgb_common.h
647
int t3_phy_reset(struct cphy *phy, int mmd, int wait);
sys/dev/pci/cxgb/cxgb_common.h
648
int t3_phy_advertise(struct cphy *phy, unsigned int advert);
sys/dev/pci/cxgb/cxgb_common.h
649
int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex);
sys/dev/pci/cxgb/cxgb_common.h
661
int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
sys/dev/pci/cxgb/cxgb_common.h
773
void t3_mv88e1xxx_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_common.h
775
void t3_vsc8211_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_common.h
777
void t3_ael1002_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_common.h
779
void t3_ael1006_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_common.h
781
void t3_qt2045_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_common.h
783
void t3_xaui_direct_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
141
static int mv88e1xxx_reset(struct cphy *cphy, int wait)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
143
return t3_phy_reset(cphy, 0, wait);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
146
static int mv88e1xxx_intr_enable(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
148
return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, INTR_ENABLE_MASK);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
151
static int mv88e1xxx_intr_disable(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
153
return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, 0);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
156
static int mv88e1xxx_intr_clear(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
161
return mdio_read(cphy, 0, MV88E1XXX_INTR_STATUS, &val);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
164
static int mv88e1xxx_crossover_set(struct cphy *cphy, int crossover)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
166
return t3_mdio_change_bits(cphy, 0, MV88E1XXX_SPECIFIC_CNTRL,
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
171
static int mv88e1xxx_autoneg_enable(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
173
mv88e1xxx_crossover_set(cphy, CROSSOVER_AUTO);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
176
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE,
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
180
static int mv88e1xxx_autoneg_restart(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
182
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE,
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
186
static int mv88e1xxx_set_loopback(struct cphy *cphy, int mmd, int dir, int on)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
188
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_LOOPBACK,
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
192
static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok,
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
198
mdio_read(cphy, 0, MV88E1XXX_SPECIFIC_STATUS, &status);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
224
static int mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
230
return t3_mdio_change_bits(cphy, 0, MV88E1XXX_EXT_SPECIFIC_CNTRL,
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
235
static int mv88e1xxx_power_down(struct cphy *cphy, int enable)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
237
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN,
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
241
static int mv88e1xxx_intr_handler(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
250
mdio_read(cphy, 0, MV88E1XXX_INTR_STATUS, &cause);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
292
void t3_mv88e1xxx_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_t3_hw.c
1113
struct cphy *phy = &pi->phy;
sys/dev/pci/cxgb/cxgb_t3_hw.c
1156
int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc)
sys/dev/pci/cxgb/cxgb_t3_hw.c
318
int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
sys/dev/pci/cxgb/cxgb_t3_hw.c
342
int t3_phy_reset(struct cphy *phy, int mmd, int wait)
sys/dev/pci/cxgb/cxgb_t3_hw.c
371
int t3_phy_advertise(struct cphy *phy, unsigned int advert)
sys/dev/pci/cxgb/cxgb_t3_hw.c
415
int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex)
sys/dev/pci/cxgb/cxgb_vsc8211.c
100
static int vsc8211_intr_clear(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_vsc8211.c
105
return mdio_read(cphy, 0, VSC8211_INTR_STATUS, &val);
sys/dev/pci/cxgb/cxgb_vsc8211.c
108
static int vsc8211_autoneg_enable(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_vsc8211.c
110
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE,
sys/dev/pci/cxgb/cxgb_vsc8211.c
114
static int vsc8211_autoneg_restart(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_vsc8211.c
116
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE,
sys/dev/pci/cxgb/cxgb_vsc8211.c
120
static int vsc8211_get_link_status(struct cphy *cphy, int *link_ok,
sys/dev/pci/cxgb/cxgb_vsc8211.c
126
err = mdio_read(cphy, 0, MII_BMCR, &bmcr);
sys/dev/pci/cxgb/cxgb_vsc8211.c
128
err = mdio_read(cphy, 0, MII_BMSR, &status);
sys/dev/pci/cxgb/cxgb_vsc8211.c
138
err = mdio_read(cphy, 0, MII_BMSR, &status);
sys/dev/pci/cxgb/cxgb_vsc8211.c
152
err = mdio_read(cphy, 0, VSC8211_AUX_CTRL_STAT, &status);
sys/dev/pci/cxgb/cxgb_vsc8211.c
166
err = mdio_read(cphy, 0, MII_LPA, &lpa);
sys/dev/pci/cxgb/cxgb_vsc8211.c
168
err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
sys/dev/pci/cxgb/cxgb_vsc8211.c
192
static int vsc8211_power_down(struct cphy *cphy, int enable)
sys/dev/pci/cxgb/cxgb_vsc8211.c
194
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN,
sys/dev/pci/cxgb/cxgb_vsc8211.c
198
static int vsc8211_intr_handler(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_vsc8211.c
203
err = mdio_read(cphy, 0, VSC8211_INTR_STATUS, &cause);
sys/dev/pci/cxgb/cxgb_vsc8211.c
247
void t3_vsc8211_phy_prep(struct cphy *phy, adapter_t *adapter, int phy_addr,
sys/dev/pci/cxgb/cxgb_vsc8211.c
85
static int vsc8211_reset(struct cphy *cphy, int wait)
sys/dev/pci/cxgb/cxgb_vsc8211.c
87
return t3_phy_reset(cphy, 0, 0);
sys/dev/pci/cxgb/cxgb_vsc8211.c
90
static int vsc8211_intr_enable(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_vsc8211.c
92
return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, INTR_MASK);
sys/dev/pci/cxgb/cxgb_vsc8211.c
95
static int vsc8211_intr_disable(struct cphy *cphy)
sys/dev/pci/cxgb/cxgb_vsc8211.c
97
return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, 0);