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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/chelsio/
H A Dmv88x201x.c40 #include "cphy.h"
50 static int led_init(struct cphy *cphy) argument
56 cphy_mdio_write(cphy, MDIO_MMD_PCS, 0x8304, 0xdddd);
60 static int led_link(struct cphy *cphy, u32 do_enable) argument
65 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, &led);
69 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led);
72 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led);
78 static int mv88x201x_reset(struct cphy *cph argument
86 mv88x201x_interrupt_enable(struct cphy *cphy) argument
103 mv88x201x_interrupt_disable(struct cphy *cphy) argument
119 mv88x201x_interrupt_clear(struct cphy *cphy) argument
156 mv88x201x_interrupt_handler(struct cphy *cphy) argument
167 mv88x201x_set_loopback(struct cphy *cphy, int on) argument
172 mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
194 mv88x201x_destroy(struct cphy *cphy) argument
216 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
173 struct cphy *cphy = kzalloc(sizeof (*cphy), GFP_KERNEL); local
[all...]
H A Dcphy.h3 * File: cphy.h *
66 struct cphy;
70 void (*destroy)(struct cphy *);
71 int (*reset)(struct cphy *, int wait);
73 int (*interrupt_enable)(struct cphy *);
74 int (*interrupt_disable)(struct cphy *);
75 int (*interrupt_clear)(struct cphy *);
76 int (*interrupt_handler)(struct cphy *);
78 int (*autoneg_enable)(struct cphy *);
79 int (*autoneg_disable)(struct cphy *);
92 struct cphy { struct
111 cphy_mdio_read(struct cphy *cphy, int mmd, int reg, unsigned int *valp) argument
120 cphy_mdio_write(struct cphy *cphy, int mmd, int reg, unsigned int val) argument
127 simple_mdio_read(struct cphy *cphy, int reg, unsigned int *valp) argument
133 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
360 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); local
[all...]
H A Dcommon.h216 struct cphy;
221 struct cphy *phy;
346 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;
201 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;
1013 struct cphy *phy = adapter->port[i].phy;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb3/
H A Dvsc8211.c92 static int vsc8211_reset(struct cphy *cphy, int wait) argument
94 return t3_phy_reset(cphy, MDIO_DEVAD_NONE, 0);
97 static int vsc8211_intr_enable(struct cphy *cphy) argument
99 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE,
103 static int vsc8211_intr_disable(struct cphy *cphy) argument
105 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, 0);
108 static int vsc8211_intr_clear(struct cphy *cph argument
116 vsc8211_autoneg_enable(struct cphy *cphy) argument
123 vsc8211_autoneg_restart(struct cphy *cphy) argument
130 vsc8211_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
206 vsc8211_get_link_status_fiber(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
316 vsc8211_power_down(struct cphy *cphy, int enable) argument
322 vsc8211_intr_handler(struct cphy *cphy) argument
[all...]
H A Daq100x.c65 static int aq100x_reset(struct cphy *phy, int wait)
80 static int aq100x_intr_enable(struct cphy *phy)
90 static int aq100x_intr_disable(struct cphy *phy)
95 static int aq100x_intr_clear(struct cphy *phy)
105 static int aq100x_intr_handler(struct cphy *phy)
120 static int aq100x_power_down(struct cphy *phy, int off)
127 static int aq100x_autoneg_enable(struct cphy *phy)
140 static int aq100x_autoneg_restart(struct cphy *phy)
153 static int aq100x_advertise(struct cphy *phy, unsigned int advertise_map)
194 static int aq100x_set_loopback(struct cphy *ph
[all...]
H A Dael1002.c84 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv)
100 static void ael100x_txon(struct cphy *phy)
113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr)
141 static int ael1002_power_down(struct cphy *phy, int enable)
153 static int ael1002_reset(struct cphy *phy, int wait)
168 static int ael1002_intr_noop(struct cphy *phy)
176 static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed,
212 int t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter,
222 static int ael1006_reset(struct cphy *phy, int wait)
238 int t3_ael1006_phy_prep(struct cphy *ph
[all...]
H A Dcommon.h155 struct cphy;
522 int (*reset)(struct cphy *phy, int wait);
524 int (*intr_enable)(struct cphy *phy);
525 int (*intr_disable)(struct cphy *phy);
526 int (*intr_clear)(struct cphy *phy);
527 int (*intr_handler)(struct cphy *phy);
529 int (*autoneg_enable)(struct cphy *phy);
530 int (*autoneg_restart)(struct cphy *phy);
532 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
533 int (*set_loopback)(struct cphy *ph
552 struct cphy { struct
[all...]
H A Dadapter.h80 struct cphy phy;
299 static inline int phy2portid(struct cphy *phy)
344 int t3_get_edc_fw(struct cphy *phy, int edc_idx, int size);
H A Dt3_hw.c326 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear,
350 int t3_phy_reset(struct cphy *phy, int mmd, int wait)
380 int t3_phy_advertise(struct cphy *phy, unsigned int advert)
423 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert)
447 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex)
473 int t3_phy_lasi_intr_enable(struct cphy *phy)
479 int t3_phy_lasi_intr_disable(struct cphy *phy)
484 int t3_phy_lasi_intr_clear(struct cphy *phy)
491 int t3_phy_lasi_intr_handler(struct cphy *phy)
546 int (*phy_prep)(struct cphy *ph
[all...]
H A Dcxgb3_main.c1041 int t3_get_edc_fw(struct cphy *phy, int edc_idx, int size)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/Micromax/Linux/
H A Djre-1_5_0_15-linux-i586.bin[all...]

Completed in 322 milliseconds