Symbol: cphy
sys/dev/cxgb/common/cxgb_ael1002.c
115
static void ael100x_txon(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
1218
static int ael2005_get_module_type(struct cphy *phy, int delay_ms)
sys/dev/cxgb/common/cxgb_ael1002.c
1233
static int ael2005_intr_enable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
1239
static int ael2005_intr_disable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
1245
static int ael2005_intr_clear(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
1251
static int ael2005_reset(struct cphy *phy, int wait)
sys/dev/cxgb/common/cxgb_ael1002.c
127
static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr)
sys/dev/cxgb/common/cxgb_ael1002.c
1312
static int ael2005_intr_handler(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
1387
struct cphy *phy = &pinfo->phy;
sys/dev/cxgb/common/cxgb_ael1002.c
1406
static int ael2020_setup_sr_edc(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
1432
static int ael2020_setup_twinax_edc(struct cphy *phy, int modtype)
sys/dev/cxgb/common/cxgb_ael1002.c
158
static int ael_i2c_wr(struct cphy *phy, int dev_addr, int word_addr, int data)
sys/dev/cxgb/common/cxgb_ael1002.c
185
static int get_phytrans_type(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
1917
static int ael2020_get_module_type(struct cphy *phy, int delay_ms)
sys/dev/cxgb/common/cxgb_ael1002.c
1938
static int ael2020_intr_enable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
196
static int ael_laser_down(struct cphy *phy, int enable)
sys/dev/cxgb/common/cxgb_ael1002.c
1969
static int ael2020_intr_disable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
1994
static int ael2020_intr_clear(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
2024
static int ael2020_reset(struct cphy *phy, int wait)
sys/dev/cxgb/common/cxgb_ael1002.c
2069
static int ael2020_intr_handler(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
2139
struct cphy *phy = &pinfo->phy;
sys/dev/cxgb/common/cxgb_ael1002.c
2162
static int get_link_status_x(struct cphy *phy, int *link_state, int *speed,
sys/dev/cxgb/common/cxgb_ael1002.c
2218
struct cphy *phy = &pinfo->phy;
sys/dev/cxgb/common/cxgb_ael1002.c
2234
static int xaui_direct_reset(struct cphy *phy, int wait)
sys/dev/cxgb/common/cxgb_ael1002.c
2239
static int xaui_direct_get_link_status(struct cphy *phy, int *link_state,
sys/dev/cxgb/common/cxgb_ael1002.c
2263
static int xaui_direct_power_down(struct cphy *phy, int enable)
sys/dev/cxgb/common/cxgb_ael1002.c
234
static int ael1002_power_down(struct cphy *phy, int enable)
sys/dev/cxgb/common/cxgb_ael1002.c
245
static int ael1002_get_module_type(struct cphy *phy, int delay_ms)
sys/dev/cxgb/common/cxgb_ael1002.c
257
static int ael1002_reset(struct cphy *phy, int wait)
sys/dev/cxgb/common/cxgb_ael1002.c
277
static int ael1002_intr_noop(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
285
static int get_link_status_r(struct cphy *phy, int *link_state, int *speed,
sys/dev/cxgb/common/cxgb_ael1002.c
347
struct cphy *phy = &pinfo->phy;
sys/dev/cxgb/common/cxgb_ael1002.c
362
static int ael1006_reset(struct cphy *phy, int wait)
sys/dev/cxgb/common/cxgb_ael1002.c
428
struct cphy *phy = &pinfo->phy;
sys/dev/cxgb/common/cxgb_ael1002.c
441
static int ael2xxx_get_module_type(struct cphy *phy, int delay_ms)
sys/dev/cxgb/common/cxgb_ael1002.c
524
static int ael2005_setup_sr_edc(struct cphy *phy)
sys/dev/cxgb/common/cxgb_ael1002.c
821
static int ael2005_setup_twinax_edc(struct cphy *phy, int modtype)
sys/dev/cxgb/common/cxgb_ael1002.c
97
static int ael2xxx_get_module_type(struct cphy *phy, int delay_ms);
sys/dev/cxgb/common/cxgb_ael1002.c
99
static int set_phy_regs(struct cphy *phy, const struct reg_val *rv)
sys/dev/cxgb/common/cxgb_aq100x.c
104
aq100x_reset(struct cphy *phy, int wait)
sys/dev/cxgb/common/cxgb_aq100x.c
114
aq100x_intr_enable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_aq100x.c
132
aq100x_intr_disable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_aq100x.c
150
aq100x_intr_clear(struct cphy *phy)
sys/dev/cxgb/common/cxgb_aq100x.c
166
aq100x_vendor_intr(struct cphy *phy, int *rc)
sys/dev/cxgb/common/cxgb_aq100x.c
202
aq100x_intr_handler(struct cphy *phy)
sys/dev/cxgb/common/cxgb_aq100x.c
226
aq100x_power_down(struct cphy *phy, int off)
sys/dev/cxgb/common/cxgb_aq100x.c
255
aq100x_autoneg_enable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_aq100x.c
268
aq100x_autoneg_restart(struct cphy *phy)
sys/dev/cxgb/common/cxgb_aq100x.c
274
aq100x_advertise(struct cphy *phy, unsigned int advertise_map)
sys/dev/cxgb/common/cxgb_aq100x.c
315
aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable)
sys/dev/cxgb/common/cxgb_aq100x.c
322
aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex)
sys/dev/cxgb/common/cxgb_aq100x.c
352
aq100x_get_link_status(struct cphy *phy, int *link_state, int *speed, int *duplex,
sys/dev/cxgb/common/cxgb_aq100x.c
466
struct cphy *phy = &pinfo->phy;
sys/dev/cxgb/common/cxgb_aq100x.c
83
aq100x_temperature(struct cphy *phy)
sys/dev/cxgb/common/cxgb_aq100x.c
98
aq100x_set_defaults(struct cphy *phy)
sys/dev/cxgb/common/cxgb_common.h
145
struct cphy;
sys/dev/cxgb/common/cxgb_common.h
553
int (*reset)(struct cphy *phy, int wait);
sys/dev/cxgb/common/cxgb_common.h
555
int (*intr_enable)(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
556
int (*intr_disable)(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
557
int (*intr_clear)(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
558
int (*intr_handler)(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
560
int (*autoneg_enable)(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
561
int (*autoneg_restart)(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
563
int (*advertise)(struct cphy *phy, unsigned int advertise_map);
sys/dev/cxgb/common/cxgb_common.h
564
int (*set_loopback)(struct cphy *phy, int mmd, int dir, int enable);
sys/dev/cxgb/common/cxgb_common.h
565
int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex);
sys/dev/cxgb/common/cxgb_common.h
566
int (*get_link_status)(struct cphy *phy, int *link_state, int *speed,
sys/dev/cxgb/common/cxgb_common.h
568
int (*power_down)(struct cphy *phy, int enable);
sys/dev/cxgb/common/cxgb_common.h
590
static inline int mdio_read(struct cphy *phy, int mmd, int reg,
sys/dev/cxgb/common/cxgb_common.h
596
static inline int mdio_write(struct cphy *phy, int mmd, int reg,
sys/dev/cxgb/common/cxgb_common.h
603
static inline void cphy_init(struct cphy *phy, adapter_t *adapter, pinfo_t *pinfo,
sys/dev/cxgb/common/cxgb_common.h
689
int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
sys/dev/cxgb/common/cxgb_common.h
691
int t3_phy_reset(struct cphy *phy, int mmd, int wait);
sys/dev/cxgb/common/cxgb_common.h
692
int t3_phy_advertise(struct cphy *phy, unsigned int advert);
sys/dev/cxgb/common/cxgb_common.h
693
int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert);
sys/dev/cxgb/common/cxgb_common.h
694
int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex);
sys/dev/cxgb/common/cxgb_common.h
695
int t3_phy_lasi_intr_enable(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
696
int t3_phy_lasi_intr_disable(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
697
int t3_phy_lasi_intr_clear(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
698
int t3_phy_lasi_intr_handler(struct cphy *phy);
sys/dev/cxgb/common/cxgb_common.h
711
int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
136
static int mv88e1xxx_reset(struct cphy *cphy, int wait)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
138
return t3_phy_reset(cphy, 0, wait);
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
141
static int mv88e1xxx_intr_enable(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
143
return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, INTR_ENABLE_MASK);
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
146
static int mv88e1xxx_intr_disable(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
148
return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, 0);
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
151
static int mv88e1xxx_intr_clear(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
156
return mdio_read(cphy, 0, MV88E1XXX_INTR_STATUS, &val);
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
159
static int mv88e1xxx_crossover_set(struct cphy *cphy, int crossover)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
161
return t3_mdio_change_bits(cphy, 0, MV88E1XXX_SPECIFIC_CNTRL,
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
166
static int mv88e1xxx_autoneg_enable(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
168
mv88e1xxx_crossover_set(cphy, CROSSOVER_AUTO);
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
171
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE,
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
175
static int mv88e1xxx_autoneg_restart(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
177
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE,
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
181
static int mv88e1xxx_set_loopback(struct cphy *cphy, int mmd, int dir, int on)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
183
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_LOOPBACK,
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
187
static int mv88e1xxx_get_link_status(struct cphy *cphy, int *link_state,
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
193
mdio_read(cphy, 0, MV88E1XXX_SPECIFIC_STATUS, &status);
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
220
static int mv88e1xxx_set_speed_duplex(struct cphy *phy, int speed, int duplex)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
230
static int mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
236
return t3_mdio_change_bits(cphy, 0, MV88E1XXX_EXT_SPECIFIC_CNTRL,
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
241
static int mv88e1xxx_power_down(struct cphy *cphy, int enable)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
243
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN,
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
247
static int mv88e1xxx_intr_handler(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
256
mdio_read(cphy, 0, MV88E1XXX_INTR_STATUS, &cause);
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
300
struct cphy *phy = &pinfo->phy;
sys/dev/cxgb/common/cxgb_t3_hw.c
1523
struct cphy *phy = &pi->phy;
sys/dev/cxgb/common/cxgb_t3_hw.c
1671
int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc)
sys/dev/cxgb/common/cxgb_t3_hw.c
369
int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
sys/dev/cxgb/common/cxgb_t3_hw.c
393
int t3_phy_reset(struct cphy *phy, int mmd, int wait)
sys/dev/cxgb/common/cxgb_t3_hw.c
422
int t3_phy_advertise(struct cphy *phy, unsigned int advert)
sys/dev/cxgb/common/cxgb_t3_hw.c
465
int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert)
sys/dev/cxgb/common/cxgb_t3_hw.c
489
int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex)
sys/dev/cxgb/common/cxgb_t3_hw.c
515
int t3_phy_lasi_intr_enable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_t3_hw.c
520
int t3_phy_lasi_intr_disable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_t3_hw.c
525
int t3_phy_lasi_intr_clear(struct cphy *phy)
sys/dev/cxgb/common/cxgb_t3_hw.c
532
int t3_phy_lasi_intr_handler(struct cphy *phy)
sys/dev/cxgb/common/cxgb_tn1010.c
110
static int tn1010_advertise(struct cphy *phy, unsigned int advert)
sys/dev/cxgb/common/cxgb_tn1010.c
131
static int tn1010_get_link_status(struct cphy *phy, int *link_state,
sys/dev/cxgb/common/cxgb_tn1010.c
176
static int tn1010_set_speed_duplex(struct cphy *phy, int speed, int duplex)
sys/dev/cxgb/common/cxgb_tn1010.c
75
static int tn1010_reset(struct cphy *phy, int wait)
sys/dev/cxgb/common/cxgb_tn1010.c
82
static int tn1010_power_down(struct cphy *phy, int enable)
sys/dev/cxgb/common/cxgb_tn1010.c
88
static int tn1010_autoneg_enable(struct cphy *phy)
sys/dev/cxgb/common/cxgb_tn1010.c
99
static int tn1010_autoneg_restart(struct cphy *phy)
sys/dev/cxgb/common/cxgb_vsc8211.c
101
static int vsc8211_intr_enable(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_vsc8211.c
103
return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, INTR_MASK);
sys/dev/cxgb/common/cxgb_vsc8211.c
106
static int vsc8211_intr_disable(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_vsc8211.c
108
return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, 0);
sys/dev/cxgb/common/cxgb_vsc8211.c
111
static int vsc8211_intr_clear(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_vsc8211.c
116
return mdio_read(cphy, 0, VSC8211_INTR_STATUS, &val);
sys/dev/cxgb/common/cxgb_vsc8211.c
119
static int vsc8211_autoneg_enable(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_vsc8211.c
121
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE,
sys/dev/cxgb/common/cxgb_vsc8211.c
125
static int vsc8211_autoneg_restart(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_vsc8211.c
127
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE,
sys/dev/cxgb/common/cxgb_vsc8211.c
131
static int vsc8211_get_link_status(struct cphy *cphy, int *link_state,
sys/dev/cxgb/common/cxgb_vsc8211.c
137
err = mdio_read(cphy, 0, MII_BMCR, &bmcr);
sys/dev/cxgb/common/cxgb_vsc8211.c
139
err = mdio_read(cphy, 0, MII_BMSR, &status);
sys/dev/cxgb/common/cxgb_vsc8211.c
149
err = mdio_read(cphy, 0, MII_BMSR, &status);
sys/dev/cxgb/common/cxgb_vsc8211.c
164
err = mdio_read(cphy, 0, VSC8211_AUX_CTRL_STAT, &status);
sys/dev/cxgb/common/cxgb_vsc8211.c
178
err = mdio_read(cphy, 0, MII_LPA, &lpa);
sys/dev/cxgb/common/cxgb_vsc8211.c
180
err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
sys/dev/cxgb/common/cxgb_vsc8211.c
204
static int vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_state,
sys/dev/cxgb/common/cxgb_vsc8211.c
210
err = mdio_read(cphy, 0, MII_BMCR, &bmcr);
sys/dev/cxgb/common/cxgb_vsc8211.c
212
err = mdio_read(cphy, 0, MII_BMSR, &status);
sys/dev/cxgb/common/cxgb_vsc8211.c
222
err = mdio_read(cphy, 0, MII_BMSR, &status);
sys/dev/cxgb/common/cxgb_vsc8211.c
237
err = mdio_read(cphy, 0, MII_LPA, &lpa);
sys/dev/cxgb/common/cxgb_vsc8211.c
239
err = mdio_read(cphy, 0, MII_ADVERTISE, &adv);
sys/dev/cxgb/common/cxgb_vsc8211.c
274
static int vsc8211_set_automdi(struct cphy *phy, int enable)
sys/dev/cxgb/common/cxgb_vsc8211.c
287
static int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex)
sys/dev/cxgb/common/cxgb_vsc8211.c
297
static int vsc8211_power_down(struct cphy *cphy, int enable)
sys/dev/cxgb/common/cxgb_vsc8211.c
299
return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN,
sys/dev/cxgb/common/cxgb_vsc8211.c
303
static int vsc8211_intr_handler(struct cphy *cphy)
sys/dev/cxgb/common/cxgb_vsc8211.c
308
err = mdio_read(cphy, 0, VSC8211_INTR_STATUS, &cause);
sys/dev/cxgb/common/cxgb_vsc8211.c
404
struct cphy *phy = &portinfo->phy;
sys/dev/cxgb/common/cxgb_vsc8211.c
431
struct cphy *phy = &pinfo->phy;
sys/dev/cxgb/common/cxgb_vsc8211.c
96
static int vsc8211_reset(struct cphy *cphy, int wait)
sys/dev/cxgb/common/cxgb_vsc8211.c
98
return t3_phy_reset(cphy, 0, 0);
sys/dev/cxgb/cxgb_adapter.h
95
struct cphy phy;
sys/dev/cxgb/cxgb_main.c
2048
struct cphy *phy = &p->phy;
sys/dev/cxgb/cxgb_main.c
2503
struct cphy *phy = &pi->phy;
sys/dev/cxgb/cxgb_main.c
2525
struct cphy *phy = &pi->phy;