Searched refs:sungem_phy_write (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/
H A Dsungem_phy.c65 static inline void sungem_phy_write(struct mii_phy* phy, int reg, int val) sungem_phy_write() function
100 sungem_phy_write(phy, MII_BCM5201_MULTIPHY, data); bcm5201_init()
102 sungem_phy_write(phy, MII_BCM5201_INTERRUPT, 0); bcm5201_init()
109 sungem_phy_write(phy, MII_BCM5201_INTERRUPT, 0); bcm5201_suspend()
110 sungem_phy_write(phy, MII_BCM5201_MULTIPHY, MII_BCM5201_MULTIPHY_SUPERISOLATE); bcm5201_suspend()
120 sungem_phy_write(phy, MII_BCM5221_TEST, bcm5221_init()
124 sungem_phy_write(phy, MII_BCM5221_SHDOW_AUX_STAT2, bcm5221_init()
128 sungem_phy_write(phy, MII_BCM5221_SHDOW_AUX_MODE4, bcm5221_init()
132 sungem_phy_write(phy, MII_BCM5221_TEST, bcm5221_init()
143 sungem_phy_write(phy, MII_BCM5221_TEST, bcm5221_suspend()
147 sungem_phy_write(phy, MII_BCM5221_SHDOW_AUX_MODE4, bcm5221_suspend()
158 sungem_phy_write(phy, MII_BCM5221_TEST, bcm5241_init()
162 sungem_phy_write(phy, MII_BCM5221_SHDOW_AUX_STAT2, bcm5241_init()
166 sungem_phy_write(phy, MII_BCM5221_SHDOW_AUX_MODE4, bcm5241_init()
170 sungem_phy_write(phy, MII_BCM5221_TEST, bcm5241_init()
181 sungem_phy_write(phy, MII_BCM5221_TEST, bcm5241_suspend()
185 sungem_phy_write(phy, MII_BCM5221_SHDOW_AUX_MODE4, bcm5241_suspend()
198 sungem_phy_write(phy, MII_BCM5400_AUXCONTROL, data); bcm5400_init()
202 sungem_phy_write(phy, MII_BCM5400_GB_CONTROL, data); bcm5400_init()
215 sungem_phy_write(phy, MII_BCM5400_AUXCONTROL, data); bcm5400_init()
223 sungem_phy_write(phy, MII_BMCR, BMCR_PDOWN); bcm5400_suspend()
246 sungem_phy_write(phy, 0x18, 0x0c20); bcm5401_init()
247 sungem_phy_write(phy, 0x17, 0x0012); bcm5401_init()
248 sungem_phy_write(phy, 0x15, 0x1804); bcm5401_init()
249 sungem_phy_write(phy, 0x17, 0x0013); bcm5401_init()
250 sungem_phy_write(phy, 0x15, 0x1204); bcm5401_init()
251 sungem_phy_write(phy, 0x17, 0x8006); bcm5401_init()
252 sungem_phy_write(phy, 0x15, 0x0132); bcm5401_init()
253 sungem_phy_write(phy, 0x17, 0x8006); bcm5401_init()
254 sungem_phy_write(phy, 0x15, 0x0232); bcm5401_init()
255 sungem_phy_write(phy, 0x17, 0x201f); bcm5401_init()
256 sungem_phy_write(phy, 0x15, 0x0a20); bcm5401_init()
262 sungem_phy_write(phy, MII_BCM5400_GB_CONTROL, data); bcm5401_init()
279 sungem_phy_write(phy, MII_BMCR, BMCR_PDOWN); bcm5401_suspend()
291 sungem_phy_write(phy, 0x1c, 0x8c23); bcm5411_init()
292 sungem_phy_write(phy, 0x1c, 0x8ca3); bcm5411_init()
293 sungem_phy_write(phy, 0x1c, 0x8c23); bcm5411_init()
298 sungem_phy_write(phy, MII_BMCR, BMCR_RESET); bcm5411_init()
299 sungem_phy_write(phy, MII_BMCR, 0x1340); bcm5411_init()
303 sungem_phy_write(phy, MII_BCM5400_GB_CONTROL, data); bcm5411_init()
334 sungem_phy_write(phy, MII_ADVERTISE, adv); genmii_setup_aneg()
339 sungem_phy_write(phy, MII_BMCR, ctl); genmii_setup_aneg()
357 sungem_phy_write(phy, MII_BMCR, ctl | BMCR_RESET); genmii_setup_forced()
372 sungem_phy_write(phy, MII_BMCR, ctl); genmii_setup_forced()
416 sungem_phy_write(phy, MII_BMCR, BMCR_PDOWN); generic_suspend()
432 sungem_phy_write(phy, 0x18, 0x1007); bcm5421_init()
434 sungem_phy_write(phy, 0x18, data | 0x0400); bcm5421_init()
435 sungem_phy_write(phy, 0x18, 0x0007); bcm5421_init()
437 sungem_phy_write(phy, 0x18, data | 0x0800); bcm5421_init()
438 sungem_phy_write(phy, 0x17, 0x000a); bcm5421_init()
440 sungem_phy_write(phy, 0x15, data | 0x0200); bcm5421_init()
445 sungem_phy_write(phy, 4, 0x01e1); bcm5421_init()
446 sungem_phy_write(phy, 9, 0x0300); bcm5421_init()
458 sungem_phy_write(phy, 0x1c, 0x9002); bcm5421_init()
459 sungem_phy_write(phy, 0x1c, 0xa821); bcm5421_init()
460 sungem_phy_write(phy, 0x1c, 0x941d); bcm5421_init()
493 sungem_phy_write(phy, MII_ADVERTISE, adv); bcm54xx_setup_aneg()
502 sungem_phy_write(phy, MII_1000BASETCONTROL, adv); bcm54xx_setup_aneg()
507 sungem_phy_write(phy, MII_BMCR, ctl); bcm54xx_setup_aneg()
525 sungem_phy_write(phy, MII_BMCR, ctl | BMCR_RESET); bcm54xx_setup_forced()
542 sungem_phy_write(phy, MII_BMCR, ctl); bcm54xx_setup_forced()
580 sungem_phy_write(phy, 0x1d, 0x000a); marvell88e1111_init()
581 sungem_phy_write(phy, 0x1e, 0x0821); marvell88e1111_init()
583 sungem_phy_write(phy, 0x1d, 0x0006); marvell88e1111_init()
584 sungem_phy_write(phy, 0x1e, 0x8600); marvell88e1111_init()
586 sungem_phy_write(phy, 0x1d, 0x000b); marvell88e1111_init()
587 sungem_phy_write(phy, 0x1e, 0x0100); marvell88e1111_init()
589 sungem_phy_write(phy, 0x1d, 0x0004); marvell88e1111_init()
590 sungem_phy_write(phy, 0x1e, 0x4850); marvell88e1111_init()
603 sungem_phy_write(phy, MII_NCONFIG, 0x1000); bcm5421_poll_link()
612 sungem_phy_write(phy, MII_NCONFIG, 0x2000); bcm5421_poll_link()
627 sungem_phy_write(phy, MII_NCONFIG, 0x1000); bcm5421_read_link()
638 sungem_phy_write(phy, MII_NCONFIG, 0x2000); bcm5421_read_link()
652 sungem_phy_write(phy, MII_NCONFIG, 0x9020); bcm5421_enable_fiber()
654 sungem_phy_write(phy, MII_NCONFIG, 0x945f); bcm5421_enable_fiber()
658 sungem_phy_write(phy, MII_NCONFIG, 0xfc01); bcm5421_enable_fiber()
659 sungem_phy_write(phy, 0x0b, 0x0004); bcm5421_enable_fiber()
676 sungem_phy_write(phy, MII_NCONFIG, 0x7c00); bcm5461_poll_link()
685 sungem_phy_write(phy, MII_NCONFIG, 0x7000); bcm5461_poll_link()
702 sungem_phy_write(phy, MII_NCONFIG, 0x7c00); bcm5461_read_link()
714 sungem_phy_write(phy, MII_NCONFIG, 0x7000); bcm5461_read_link()
728 sungem_phy_write(phy, MII_NCONFIG, 0xfc0b); bcm5461_enable_fiber()
732 sungem_phy_write(phy, MII_ADVERTISE, 0x01e0); bcm5461_enable_fiber()
733 sungem_phy_write(phy, MII_BMCR, 0x1140); bcm5461_enable_fiber()
736 sungem_phy_write(phy, MII_BMCR, 0x0140); bcm5461_enable_fiber()
769 sungem_phy_write(phy, MII_ADVERTISE, adv); marvell_setup_aneg()
785 sungem_phy_write(phy, MII_1000BASETCONTROL, adv); marvell_setup_aneg()
790 sungem_phy_write(phy, MII_BMCR, ctl); marvell_setup_aneg()
836 sungem_phy_write(phy, MII_1000BASETCONTROL, ctl2); marvell_setup_forced()
840 sungem_phy_write(phy, MII_BMCR, ctl); marvell_setup_forced()
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dsungem.c183 static inline void sungem_phy_write(struct gem *gp, int reg, u16 val) sungem_phy_write() function
1690 sungem_phy_write(gp, MII_BMCR, BMCR_RESET); gem_init_phy()

Completed in 85 milliseconds