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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/chelsio/
H A Dmv88x201x.c40 #include "cphy.h"
50 static int led_init(struct cphy *cphy) argument
56 mdio_write(cphy, 0x3, 0x8304, 0xdddd);
60 static int led_link(struct cphy *cphy, u32 do_enable) argument
65 mdio_read(cphy, 0x1, 0x7, &led);
69 mdio_write(cphy, 0x1, 0x7, led);
72 mdio_write(cphy, 0x1, 0x7, led);
78 static int mv88x201x_reset(struct cphy *cph argument
86 mv88x201x_interrupt_enable(struct cphy *cphy) argument
102 mv88x201x_interrupt_disable(struct cphy *cphy) argument
118 mv88x201x_interrupt_clear(struct cphy *cphy) argument
155 mv88x201x_interrupt_handler(struct cphy *cphy) argument
166 mv88x201x_set_loopback(struct cphy *cphy, int on) argument
171 mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
194 mv88x201x_destroy(struct cphy *cphy) argument
214 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); local
[all...]
H A Dmy3126.c2 #include "cphy.h"
7 static int my3126_reset(struct cphy *cphy, int wait) argument
16 static int my3126_interrupt_enable(struct cphy *cphy) argument
18 schedule_delayed_work(&cphy->phy_update, HZ/30);
19 t1_tpi_read(cphy->adapter, A_ELMER0_GPO, &cphy->elmer_gpo);
23 static int my3126_interrupt_disable(struct cphy *cphy) argument
29 my3126_interrupt_clear(struct cphy *cphy) argument
36 my3126_interrupt_handler(struct cphy *cphy) argument
98 struct cphy *cphy = container_of(work, struct cphy, phy_update.work); local
103 my3126_set_loopback(struct cphy *cphy, int on) argument
109 my3126_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
152 my3126_destroy(struct cphy *cphy) argument
171 struct cphy *cphy = kzalloc(sizeof (*cphy), GFP_KERNEL); local
[all...]
H A Dcphy.h3 * File: cphy.h *
65 struct cphy;
69 void (*destroy)(struct cphy *);
70 int (*reset)(struct cphy *, int wait);
72 int (*interrupt_enable)(struct cphy *);
73 int (*interrupt_disable)(struct cphy *);
74 int (*interrupt_clear)(struct cphy *);
75 int (*interrupt_handler)(struct cphy *);
77 int (*autoneg_enable)(struct cphy *);
78 int (*autoneg_disable)(struct cphy *);
89 struct cphy { struct
112 mdio_read(struct cphy *cphy, int mmd, int reg, unsigned int *valp) argument
118 mdio_write(struct cphy *cphy, int mmd, int reg, unsigned int val) argument
124 simple_mdio_read(struct cphy *cphy, int reg, unsigned int *valp) argument
130 simple_mdio_write(struct cphy *cphy, int reg, unsigned int val) argument
[all...]
H A Dmv88e1xxx.c4 #include "cphy.h"
17 static void mdio_set_bit(struct cphy *cphy, int reg, u32 bitval) argument
21 (void) simple_mdio_read(cphy, reg, &val);
22 (void) simple_mdio_write(cphy, reg, val | bitval);
28 static void mdio_clear_bit(struct cphy *cphy, int reg, u32 bitval) argument
32 (void) simple_mdio_read(cphy, reg, &val);
33 (void) simple_mdio_write(cphy, reg, val & ~bitval);
42 * PARAMS: cphy
47 mv88e1xxx_reset(struct cphy *cphy, int wait) argument
64 mv88e1xxx_interrupt_enable(struct cphy *cphy) argument
83 mv88e1xxx_interrupt_disable(struct cphy *cphy) argument
101 mv88e1xxx_interrupt_clear(struct cphy *cphy) argument
147 mv88e1xxx_crossover_set(struct cphy *cphy, int crossover) argument
160 mv88e1xxx_autoneg_enable(struct cphy *cphy) argument
173 mv88e1xxx_autoneg_disable(struct cphy *cphy) argument
193 mv88e1xxx_autoneg_restart(struct cphy *cphy) argument
231 mv88e1xxx_set_loopback(struct cphy *cphy, int on) argument
240 mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
273 mv88e1xxx_downshift_set(struct cphy *cphy, int downshift_enable) argument
293 mv88e1xxx_interrupt_handler(struct cphy *cphy) argument
335 mv88e1xxx_destroy(struct cphy *cphy) argument
359 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); local
[all...]
H A Dcommon.h247 struct cphy;
252 struct cphy *phy;
376 extern int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
H A Dsubr.c44 #include "cphy.h"
154 struct cphy *phy = adapter->port[port_id].phy;
204 struct cphy *phy = adapter->port[p].phy;
626 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc)
672 struct cphy *phy;
1041 struct cphy *phy = adapter->port[i].phy;
H A Dcxgb2.c54 #include "cphy.h"
817 struct cphy *phy = adapter->port[dev->if_port].phy;
828 struct cphy *phy = adapter->port[dev->if_port].phy;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dvsc8211.c80 static int vsc8211_reset(struct cphy *cphy, int wait) argument
82 return t3_phy_reset(cphy, 0, 0);
85 static int vsc8211_intr_enable(struct cphy *cphy) argument
87 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, INTR_MASK);
90 static int vsc8211_intr_disable(struct cphy *cphy) argument
92 return mdio_write(cphy, 0, VSC8211_INTR_ENABLE, 0);
95 static int vsc8211_intr_clear(struct cphy *cph argument
103 vsc8211_autoneg_enable(struct cphy *cphy) argument
109 vsc8211_autoneg_restart(struct cphy *cphy) argument
115 vsc8211_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
187 vsc8211_power_down(struct cphy *cphy, int enable) argument
193 vsc8211_intr_handler(struct cphy *cphy) argument
[all...]
H A Dael1002.c47 static void ael100x_txon(struct cphy *phy)
56 static int ael1002_power_down(struct cphy *phy, int enable)
67 static int ael1002_reset(struct cphy *phy, int wait)
82 static int ael1002_intr_noop(struct cphy *phy)
87 static int ael100x_get_link_status(struct cphy *phy, int *link_ok,
122 void t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter,
129 static int ael1006_reset(struct cphy *phy, int wait)
134 static int ael1006_intr_enable(struct cphy *phy)
139 static int ael1006_intr_disable(struct cphy *phy)
144 static int ael1006_intr_clear(struct cphy *ph
[all...]
H A Dcommon.h157 struct cphy;
180 void (*phy_prep)(struct cphy *phy, struct adapter *adapter,
519 void (*destroy)(struct cphy *phy);
520 int (*reset)(struct cphy *phy, int wait);
522 int (*intr_enable)(struct cphy *phy);
523 int (*intr_disable)(struct cphy *phy);
524 int (*intr_clear)(struct cphy *phy);
525 int (*intr_handler)(struct cphy *phy);
527 int (*autoneg_enable)(struct cphy *phy);
528 int (*autoneg_restart)(struct cphy *ph
539 struct cphy { struct
[all...]
H A Dadapter.h60 struct cphy phy;
H A Dt3_hw.c314 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
338 int t3_phy_reset(struct cphy *phy, int mmd, int wait)
367 int t3_phy_advertise(struct cphy *phy, unsigned int advert)
411 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex)
1020 struct cphy *phy = &pi->phy;
1063 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc)
1723 struct cphy *phy = &adap2pinfo(adapter, idx)->phy;
1740 struct cphy *phy = &adap2pinfo(adapter, idx)->phy;
1757 struct cphy *phy = &adap2pinfo(adapter, idx)->phy;
H A Dcxgb3_main.c1937 struct cphy *phy = &pi->phy;
1961 struct cphy *phy = &pi->phy;

Completed in 104 milliseconds