Searched refs:mii_phy (Results 1 – 10 of 10) sorted by relevance
/linux-2.6.39/drivers/net/ibm_newemac/ |
D | phy.h | 29 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 …]
|
D | phy.c | 31 static inline int phy_read(struct mii_phy *phy, int reg) in phy_read() 36 static inline void phy_write(struct mii_phy *phy, int reg, int val) in phy_write() 41 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read() 46 static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) in gpcs_phy_write() 51 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy() 75 int emac_mii_reset_gpcs(struct mii_phy *phy) in emac_mii_reset_gpcs() 106 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg() 165 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) in genmii_setup_forced() 202 static int genmii_poll_link(struct mii_phy *phy) in genmii_poll_link() 216 static int genmii_read_link(struct mii_phy *phy) in genmii_read_link() [all …]
|
D | core.h | 189 struct mii_phy phy;
|
/linux-2.6.39/drivers/net/ |
D | sungem_phy.h | 4 struct mii_phy; 9 int (*init)(struct mii_phy *phy); 10 int (*suspend)(struct mii_phy *phy); 11 int (*setup_aneg)(struct mii_phy *phy, u32 advertise); 12 int (*setup_forced)(struct mii_phy *phy, int speed, int fd); 13 int (*poll_link)(struct mii_phy *phy); 14 int (*read_link)(struct mii_phy *phy); 15 int (*enable_fiber)(struct mii_phy *phy, int autoneg); 38 struct mii_phy struct 64 extern int mii_phy_probe(struct mii_phy *phy, int mii_id);
|
D | sungem_phy.c | 50 static inline int __phy_read(struct mii_phy* phy, int id, int reg) in __phy_read() 55 static inline void __phy_write(struct mii_phy* phy, int id, int reg, int val) in __phy_write() 60 static inline int phy_read(struct mii_phy* phy, int reg) in phy_read() 65 static inline void phy_write(struct mii_phy* phy, int reg, int val) in 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 …]
|
D | sis900.c | 146 struct mii_phy { struct 147 struct mii_phy * next; argument 166 struct mii_phy * mii; argument 167 struct mii_phy * first_mii; /* record the first mii structure */ 214 static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy); 231 static void sis900_set_capability( struct net_device *net_dev ,struct mii_phy *phy); 605 struct mii_phy * mii_phy = NULL; in sis900_mii_probe() local 609 mii_phy = NULL; in sis900_mii_probe() 621 if ((mii_phy = kmalloc(sizeof(struct mii_phy), GFP_KERNEL)) == NULL) { in sis900_mii_probe() 623 mii_phy = sis_priv->first_mii; in sis900_mii_probe() [all …]
|
D | spider_net.h | 466 struct mii_phy phy;
|
D | sungem.h | 1018 struct mii_phy phy_mii;
|
D | spider_net.c | 177 struct mii_phy *phy = &card->phy; in spider_net_setup_aneg() 2037 struct mii_phy *phy = &card->phy; in spider_net_link_phy() 2111 struct mii_phy *phy = &card->phy; in spider_net_setup_phy()
|
/linux-2.6.39/drivers/net/tulip/ |
D | de4x5.c | 501 struct mii_phy { struct 818 struct mii_phy phy[DE4X5_MAX_PHY]; /* List of attached PHY devices */
|