Home
last modified time | relevance | path

Searched full:cphy (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/cxgb/common/
H A Dcxgb_mv88e1xxx.c136 static int mv88e1xxx_reset(struct cphy *cphy, int wait) in mv88e1xxx_reset() argument
138 return t3_phy_reset(cphy, 0, wait); in mv88e1xxx_reset()
141 static int mv88e1xxx_intr_enable(struct cphy *cphy) in mv88e1xxx_intr_enable() argument
143 return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, INTR_ENABLE_MASK); in mv88e1xxx_intr_enable()
146 static int mv88e1xxx_intr_disable(struct cphy *cphy) in mv88e1xxx_intr_disable() argument
148 return mdio_write(cphy, 0, MV88E1XXX_INTR_ENABLE, 0); in mv88e1xxx_intr_disable()
151 static int mv88e1xxx_intr_clear(struct cphy *cphy) in mv88e1xxx_intr_clear() argument
156 return mdio_read(cphy, 0, MV88E1XXX_INTR_STATUS, &val); in mv88e1xxx_intr_clear()
159 static int mv88e1xxx_crossover_set(struct cphy *cphy, int crossover) in mv88e1xxx_crossover_set() argument
161 return t3_mdio_change_bits(cphy, 0, MV88E1XXX_SPECIFIC_CNTRL, in mv88e1xxx_crossover_set()
[all …]
H A Dcxgb_vsc8211.c96 static int vsc8211_reset(struct cphy *cphy, int wait) in vsc8211_reset() argument
98 return t3_phy_reset(cphy, 0, 0); in vsc8211_reset()
101 static int vsc8211_intr_enable(struct cphy *cphy) in vsc8211_intr_enable() argument
103 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, INTR_MASK); in vsc8211_intr_enable()
106 static int vsc8211_intr_disable(struct cphy *cphy) in vsc8211_intr_disable() argument
108 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, 0); in vsc8211_intr_disable()
111 static int vsc8211_intr_clear(struct cphy *cphy) in vsc8211_intr_clear() argument
116 return mdio_read(cphy, 0, VSC8211_INTR_STATUS, &val); in vsc8211_intr_clear()
119 static int vsc8211_autoneg_enable(struct cphy *cphy) in vsc8211_autoneg_enable() argument
121 return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE, in vsc8211_autoneg_enable()
[all …]
H A Dcxgb_common.h145 struct cphy;
553 int (*reset)(struct cphy *phy, int wait);
555 int (*intr_enable)(struct cphy *phy);
556 int (*intr_disable)(struct cphy *phy);
557 int (*intr_clear)(struct cphy *phy);
558 int (*intr_handler)(struct cphy *phy);
560 int (*autoneg_enable)(struct cphy *phy);
561 int (*autoneg_restart)(struct cphy *phy);
563 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
564 int (*set_loopback)(struct cphy *phy, int mmd, int dir, int enable);
[all …]
H A Dcxgb_aq100x.c83 aq100x_temperature(struct cphy *phy) in aq100x_temperature()
98 aq100x_set_defaults(struct cphy *phy) in aq100x_set_defaults()
104 aq100x_reset(struct cphy *phy, int wait) in aq100x_reset()
114 aq100x_intr_enable(struct cphy *phy) in aq100x_intr_enable()
132 aq100x_intr_disable(struct cphy *phy) in aq100x_intr_disable()
150 aq100x_intr_clear(struct cphy *phy) in aq100x_intr_clear()
166 aq100x_vendor_intr(struct cphy *phy, int *rc) in aq100x_vendor_intr()
202 aq100x_intr_handler(struct cphy *phy) in aq100x_intr_handler()
226 aq100x_power_down(struct cphy *phy, int off) in aq100x_power_down()
255 aq100x_autoneg_enable(struct cphy *phy) in aq100x_autoneg_enable()
[all …]
H A Dcxgb_tn1010.c75 static int tn1010_reset(struct cphy *phy, int wait) in tn1010_reset()
82 static int tn1010_power_down(struct cphy *phy, int enable) in tn1010_power_down()
88 static int tn1010_autoneg_enable(struct cphy *phy) in tn1010_autoneg_enable()
99 static int tn1010_autoneg_restart(struct cphy *phy) in tn1010_autoneg_restart()
110 static int tn1010_advertise(struct cphy *phy, unsigned int advert) in tn1010_advertise()
131 static int tn1010_get_link_status(struct cphy *phy, int *link_state, in tn1010_get_link_status()
176 static int tn1010_set_speed_duplex(struct cphy *phy, int speed, int duplex) in tn1010_set_speed_duplex()
H A Dcxgb_ael1002.c97 static int ael2xxx_get_module_type(struct cphy *phy, int delay_ms);
99 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv) in set_phy_regs()
115 static void ael100x_txon(struct cphy *phy) in ael100x_txon()
127 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd()
158 static int ael_i2c_wr(struct cphy *phy, int dev_addr, int word_addr, int data) in ael_i2c_wr()
185 static int get_phytrans_type(struct cphy *phy) in get_phytrans_type()
196 static int ael_laser_down(struct cphy *phy, int enable) in ael_laser_down()
234 static int ael1002_power_down(struct cphy *phy, int enable) in ael1002_power_down()
245 static int ael1002_get_module_type(struct cphy *phy, int delay_ms) in ael1002_get_module_type()
257 static int ael1002_reset(struct cphy *phy, int wait) in ael1002_reset()
[all …]
H A Dcxgb_t3_hw.c369 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear, in t3_mdio_change_bits()
393 int t3_phy_reset(struct cphy *phy, int mmd, int wait) in t3_phy_reset()
422 int t3_phy_advertise(struct cphy *phy, unsigned int advert) in t3_phy_advertise()
465 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert) in t3_phy_advertise_fiber()
489 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex) in t3_set_phy_speed_duplex()
515 int t3_phy_lasi_intr_enable(struct cphy *phy) in t3_phy_lasi_intr_enable()
520 int t3_phy_lasi_intr_disable(struct cphy *phy) in t3_phy_lasi_intr_disable()
525 int t3_phy_lasi_intr_clear(struct cphy *phy) in t3_phy_lasi_intr_clear()
532 int t3_phy_lasi_intr_handler(struct cphy *phy) in t3_phy_lasi_intr_handler()
1523 struct cphy *phy = &pi->phy; in t3_link_changed()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/sprd/
H A Dsprd,display-subsystem.yaml29 +----+ | +----+ +---------+ |DPHY/CPHY| | +------+
/freebsd/sys/dev/cxgb/
H A Dcxgb_adapter.h95 struct cphy phy;
H A Dcxgb_main.c2047 struct cphy *phy = &p->phy; in cxgb_build_medialist()
2502 struct cphy *phy = &pi->phy; in cxgb_extension_ioctl()
2524 struct cphy *phy = &pi->phy; in cxgb_extension_ioctl()