Home
last modified time | relevance | path

Searched refs:mii_phy (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/ibm/emac/
Dphy.h29 struct mii_phy;
33 int (*init) (struct mii_phy * phy);
34 int (*suspend) (struct mii_phy * phy, int wol_options);
35 int (*setup_aneg) (struct mii_phy * phy, u32 advertise);
36 int (*setup_forced) (struct mii_phy * phy, int speed, int fd);
37 int (*poll_link) (struct mii_phy * phy);
38 int (*read_link) (struct mii_phy * phy);
53 struct mii_phy { struct
83 int emac_mii_phy_probe(struct mii_phy *phy, int address);
84 int emac_mii_reset_phy(struct mii_phy *phy);
[all …]
Dphy.c34 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read()
39 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write()
44 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read()
49 static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) in gpcs_phy_write()
54 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy()
78 int emac_mii_reset_gpcs(struct mii_phy *phy) in emac_mii_reset_gpcs()
109 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg()
168 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) in genmii_setup_forced()
205 static int genmii_poll_link(struct mii_phy *phy) in genmii_poll_link()
219 static int genmii_read_link(struct mii_phy *phy) in genmii_read_link()
[all …]
Dcore.h188 struct mii_phy phy;
/drivers/net/
Dsungem_phy.c50 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) in __sungem_phy_read()
55 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) in __sungem_phy_write()
60 static inline int sungem_phy_read(struct mii_phy* phy, int reg) in sungem_phy_read()
65 static inline void sungem_phy_write(struct mii_phy* phy, int reg, int val) in sungem_phy_write()
70 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) in reset_one_mii_phy()
94 static int bcm5201_init(struct mii_phy* phy) in bcm5201_init()
107 static int bcm5201_suspend(struct mii_phy* phy) in bcm5201_suspend()
115 static int bcm5221_init(struct mii_phy* phy) in bcm5221_init()
138 static int bcm5221_suspend(struct mii_phy* phy) in bcm5221_suspend()
153 static int bcm5241_init(struct mii_phy* phy) in bcm5241_init()
[all …]
/drivers/net/ethernet/sis/
Dsis900.c147 struct mii_phy { struct
148 struct mii_phy * next; argument
167 struct mii_phy * mii; argument
168 struct mii_phy * first_mii; /* record the first mii structure */
222 static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy);
239 static void sis900_set_capability( struct net_device *net_dev ,struct mii_phy *phy);
607 struct mii_phy * mii_phy = NULL; in sis900_mii_probe() local
611 mii_phy = NULL; in sis900_mii_probe()
623 if ((mii_phy = kmalloc(sizeof(struct mii_phy), GFP_KERNEL)) == NULL) { in sis900_mii_probe()
624 mii_phy = sis_priv->first_mii; in sis900_mii_probe()
[all …]
/drivers/net/ethernet/toshiba/
Dspider_net.h460 struct mii_phy phy;
Dspider_net.c180 struct mii_phy *phy = &card->phy; in spider_net_setup_aneg()
2004 struct mii_phy *phy = &card->phy; in spider_net_link_phy()
2078 struct mii_phy *phy = &card->phy; in spider_net_setup_phy()
/drivers/net/ethernet/sun/
Dsungem.h1009 struct mii_phy phy_mii;
/drivers/net/ethernet/dec/tulip/
Dde4x5.c501 struct mii_phy { struct
818 struct mii_phy phy[DE4X5_MAX_PHY]; /* List of attached PHY devices */