Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/ibm/emac/
Dphy.h25 struct mii_phy;
29 int (*init) (struct mii_phy * phy);
30 int (*suspend) (struct mii_phy * phy, int wol_options);
31 int (*setup_aneg) (struct mii_phy * phy, u32 advertise);
32 int (*setup_forced) (struct mii_phy * phy, int speed, int fd);
33 int (*poll_link) (struct mii_phy * phy);
34 int (*read_link) (struct mii_phy * phy);
49 struct mii_phy { struct
79 int emac_mii_phy_probe(struct mii_phy *phy, int address);
80 int emac_mii_reset_phy(struct mii_phy *phy);
[all …]
Dphy.c35 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read()
40 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write()
45 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read()
50 static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) in gpcs_phy_write()
55 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy()
79 int emac_mii_reset_gpcs(struct mii_phy *phy) in emac_mii_reset_gpcs()
110 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg()
169 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) in genmii_setup_forced()
206 static int genmii_poll_link(struct mii_phy *phy) in genmii_poll_link()
220 static int genmii_read_link(struct mii_phy *phy) in genmii_read_link()
[all …]
Dcore.h178 struct mii_phy phy;
Dcore.c2506 static int emac_mdio_phy_start_aneg(struct mii_phy *phy, in emac_mdio_phy_start_aneg()
2517 static int emac_mdio_setup_aneg(struct mii_phy *phy, u32 advertise) in emac_mdio_setup_aneg()
2527 static int emac_mdio_setup_forced(struct mii_phy *phy, int speed, int fd) in emac_mdio_setup_forced()
2538 static int emac_mdio_poll_link(struct mii_phy *phy) in emac_mdio_poll_link()
2553 static int emac_mdio_read_link(struct mii_phy *phy) in emac_mdio_read_link()
2571 static int emac_mdio_init_phy(struct mii_phy *phy) in emac_mdio_init_phy()
/Linux-v5.10/include/linux/
Dsungem_phy.h5 struct mii_phy;
10 int (*init)(struct mii_phy *phy);
11 int (*suspend)(struct mii_phy *phy);
12 int (*setup_aneg)(struct mii_phy *phy, u32 advertise);
13 int (*setup_forced)(struct mii_phy *phy, int speed, int fd);
14 int (*poll_link)(struct mii_phy *phy);
15 int (*read_link)(struct mii_phy *phy);
16 int (*enable_fiber)(struct mii_phy *phy, int autoneg);
39 struct mii_phy struct
65 extern int sungem_phy_probe(struct mii_phy *phy, int mii_id);
/Linux-v5.10/drivers/net/
Dsungem_phy.c51 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) in __sungem_phy_read()
56 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) in __sungem_phy_write()
61 static inline int sungem_phy_read(struct mii_phy* phy, int reg) in sungem_phy_read()
66 static inline void sungem_phy_write(struct mii_phy* phy, int reg, int val) in sungem_phy_write()
71 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) in reset_one_mii_phy()
95 static int bcm5201_init(struct mii_phy* phy) in bcm5201_init()
108 static int bcm5201_suspend(struct mii_phy* phy) in bcm5201_suspend()
116 static int bcm5221_init(struct mii_phy* phy) in bcm5221_init()
139 static int bcm5221_suspend(struct mii_phy* phy) in bcm5221_suspend()
154 static int bcm5241_init(struct mii_phy* phy) in bcm5241_init()
[all …]
/Linux-v5.10/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 */
224 static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy);
241 static void sis900_set_capability( struct net_device *net_dev ,struct mii_phy *phy);
612 struct mii_phy * mii_phy = NULL; in sis900_mii_probe() local
616 mii_phy = NULL; in sis900_mii_probe()
628 if ((mii_phy = kmalloc(sizeof(struct mii_phy), GFP_KERNEL)) == NULL) { in sis900_mii_probe()
629 mii_phy = sis_priv->first_mii; in sis900_mii_probe()
[all …]
/Linux-v5.10/drivers/net/ethernet/toshiba/
Dspider_net.h447 struct mii_phy phy;
Dspider_net.c166 struct mii_phy *phy = &card->phy; in spider_net_setup_aneg()
1970 struct mii_phy *phy = &card->phy; in spider_net_link_phy()
2044 struct mii_phy *phy = &card->phy; in spider_net_setup_phy()
/Linux-v5.10/drivers/net/ethernet/sun/
Dsungem.h1010 struct mii_phy phy_mii;
/Linux-v5.10/drivers/net/ethernet/dec/tulip/
Dde4x5.c501 struct mii_phy { struct
818 struct mii_phy phy[DE4X5_MAX_PHY]; /* List of attached PHY devices */