mii_phy 818 drivers/net/ethernet/dec/tulip/de4x5.c struct mii_phy phy[DE4X5_MAX_PHY]; /* List of attached PHY devices */ mii_phy 2507 drivers/net/ethernet/ibm/emac/core.c static int emac_mdio_phy_start_aneg(struct mii_phy *phy, mii_phy 2518 drivers/net/ethernet/ibm/emac/core.c static int emac_mdio_setup_aneg(struct mii_phy *phy, u32 advertise) mii_phy 2528 drivers/net/ethernet/ibm/emac/core.c static int emac_mdio_setup_forced(struct mii_phy *phy, int speed, int fd) mii_phy 2539 drivers/net/ethernet/ibm/emac/core.c static int emac_mdio_poll_link(struct mii_phy *phy) mii_phy 2554 drivers/net/ethernet/ibm/emac/core.c static int emac_mdio_read_link(struct mii_phy *phy) mii_phy 2572 drivers/net/ethernet/ibm/emac/core.c static int emac_mdio_init_phy(struct mii_phy *phy) mii_phy 178 drivers/net/ethernet/ibm/emac/core.h struct mii_phy phy; mii_phy 35 drivers/net/ethernet/ibm/emac/phy.c static inline int _phy_read(struct mii_phy *phy, int reg) mii_phy 40 drivers/net/ethernet/ibm/emac/phy.c static inline void _phy_write(struct mii_phy *phy, int reg, int val) mii_phy 45 drivers/net/ethernet/ibm/emac/phy.c static inline int gpcs_phy_read(struct mii_phy *phy, int reg) mii_phy 50 drivers/net/ethernet/ibm/emac/phy.c static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) mii_phy 55 drivers/net/ethernet/ibm/emac/phy.c int emac_mii_reset_phy(struct mii_phy *phy) mii_phy 79 drivers/net/ethernet/ibm/emac/phy.c int emac_mii_reset_gpcs(struct mii_phy *phy) mii_phy 110 drivers/net/ethernet/ibm/emac/phy.c static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) mii_phy 169 drivers/net/ethernet/ibm/emac/phy.c static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) mii_phy 206 drivers/net/ethernet/ibm/emac/phy.c static int genmii_poll_link(struct mii_phy *phy) mii_phy 220 drivers/net/ethernet/ibm/emac/phy.c static int genmii_read_link(struct mii_phy *phy) mii_phy 306 drivers/net/ethernet/ibm/emac/phy.c static int cis8201_init(struct mii_phy *phy) mii_phy 367 drivers/net/ethernet/ibm/emac/phy.c static int m88e1111_init(struct mii_phy *phy) mii_phy 380 drivers/net/ethernet/ibm/emac/phy.c static int m88e1112_init(struct mii_phy *phy) mii_phy 407 drivers/net/ethernet/ibm/emac/phy.c static int et1011c_init(struct mii_phy *phy) mii_phy 474 drivers/net/ethernet/ibm/emac/phy.c static int ar8035_init(struct mii_phy *phy) mii_phy 510 drivers/net/ethernet/ibm/emac/phy.c int emac_mii_phy_probe(struct mii_phy *phy, int address) mii_phy 25 drivers/net/ethernet/ibm/emac/phy.h struct mii_phy; mii_phy 29 drivers/net/ethernet/ibm/emac/phy.h int (*init) (struct mii_phy * phy); mii_phy 30 drivers/net/ethernet/ibm/emac/phy.h int (*suspend) (struct mii_phy * phy, int wol_options); mii_phy 31 drivers/net/ethernet/ibm/emac/phy.h int (*setup_aneg) (struct mii_phy * phy, u32 advertise); mii_phy 32 drivers/net/ethernet/ibm/emac/phy.h int (*setup_forced) (struct mii_phy * phy, int speed, int fd); mii_phy 33 drivers/net/ethernet/ibm/emac/phy.h int (*poll_link) (struct mii_phy * phy); mii_phy 34 drivers/net/ethernet/ibm/emac/phy.h int (*read_link) (struct mii_phy * phy); mii_phy 79 drivers/net/ethernet/ibm/emac/phy.h int emac_mii_phy_probe(struct mii_phy *phy, int address); mii_phy 80 drivers/net/ethernet/ibm/emac/phy.h int emac_mii_reset_phy(struct mii_phy *phy); mii_phy 81 drivers/net/ethernet/ibm/emac/phy.h int emac_mii_reset_gpcs(struct mii_phy *phy); mii_phy 148 drivers/net/ethernet/sis/sis900.c struct mii_phy * next; mii_phy 167 drivers/net/ethernet/sis/sis900.c struct mii_phy * mii; mii_phy 168 drivers/net/ethernet/sis/sis900.c struct mii_phy * first_mii; /* record the first mii structure */ mii_phy 224 drivers/net/ethernet/sis/sis900.c static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy); mii_phy 241 drivers/net/ethernet/sis/sis900.c static void sis900_set_capability( struct net_device *net_dev ,struct mii_phy *phy); mii_phy 610 drivers/net/ethernet/sis/sis900.c struct mii_phy * mii_phy = NULL; mii_phy 614 drivers/net/ethernet/sis/sis900.c mii_phy = NULL; mii_phy 626 drivers/net/ethernet/sis/sis900.c if ((mii_phy = kmalloc(sizeof(struct mii_phy), GFP_KERNEL)) == NULL) { mii_phy 627 drivers/net/ethernet/sis/sis900.c mii_phy = sis_priv->first_mii; mii_phy 628 drivers/net/ethernet/sis/sis900.c while (mii_phy) { mii_phy 629 drivers/net/ethernet/sis/sis900.c struct mii_phy *phy; mii_phy 630 drivers/net/ethernet/sis/sis900.c phy = mii_phy; mii_phy 631 drivers/net/ethernet/sis/sis900.c mii_phy = mii_phy->next; mii_phy 637 drivers/net/ethernet/sis/sis900.c mii_phy->phy_id0 = mdio_read(net_dev, phy_addr, MII_PHY_ID0); mii_phy 638 drivers/net/ethernet/sis/sis900.c mii_phy->phy_id1 = mdio_read(net_dev, phy_addr, MII_PHY_ID1); mii_phy 639 drivers/net/ethernet/sis/sis900.c mii_phy->phy_addr = phy_addr; mii_phy 640 drivers/net/ethernet/sis/sis900.c mii_phy->status = mii_status; mii_phy 641 drivers/net/ethernet/sis/sis900.c mii_phy->next = sis_priv->mii; mii_phy 642 drivers/net/ethernet/sis/sis900.c sis_priv->mii = mii_phy; mii_phy 643 drivers/net/ethernet/sis/sis900.c sis_priv->first_mii = mii_phy; mii_phy 646 drivers/net/ethernet/sis/sis900.c if ((mii_phy->phy_id0 == mii_chip_table[i].phy_id0 ) && mii_phy 647 drivers/net/ethernet/sis/sis900.c ((mii_phy->phy_id1 & 0xFFF0) == mii_chip_table[i].phy_id1)){ mii_phy 648 drivers/net/ethernet/sis/sis900.c mii_phy->phy_types = mii_chip_table[i].phy_types; mii_phy 650 drivers/net/ethernet/sis/sis900.c mii_phy->phy_types = mii_phy 663 drivers/net/ethernet/sis/sis900.c mii_phy->phy_types = UNKNOWN; mii_phy 728 drivers/net/ethernet/sis/sis900.c struct mii_phy *phy = NULL, *phy_home = NULL, mii_phy 787 drivers/net/ethernet/sis/sis900.c static void sis900_set_capability(struct net_device *net_dev, struct mii_phy *phy) mii_phy 1311 drivers/net/ethernet/sis/sis900.c struct mii_phy *mii_phy = sis_priv->mii; mii_phy 1324 drivers/net/ethernet/sis/sis900.c mii_phy = sis_priv->mii; mii_phy 1344 drivers/net/ethernet/sis/sis900.c if ((mii_phy->phy_id0 == 0x001D) && mii_phy 1345 drivers/net/ethernet/sis/sis900.c ((mii_phy->phy_id1 & 0xFFF0) == 0x8000)) mii_phy 1370 drivers/net/ethernet/sis/sis900.c static void sis900_check_mode(struct net_device *net_dev, struct mii_phy *mii_phy) mii_phy 1376 drivers/net/ethernet/sis/sis900.c if (mii_phy->phy_types == LAN) { mii_phy 1378 drivers/net/ethernet/sis/sis900.c sis900_set_capability(net_dev , mii_phy); mii_phy 1488 drivers/net/ethernet/sis/sis900.c struct mii_phy *phy = sis_priv->mii; mii_phy 2249 drivers/net/ethernet/sis/sis900.c struct mii_phy *mii_phy = sis_priv->mii; mii_phy 2271 drivers/net/ethernet/sis/sis900.c status = mdio_read(dev, mii_phy->phy_addr, MII_CONTROL); mii_phy 2277 drivers/net/ethernet/sis/sis900.c mdio_write(dev, mii_phy->phy_addr, mii_phy 2294 drivers/net/ethernet/sis/sis900.c status = mdio_read(dev, mii_phy->phy_addr, MII_CONTROL); mii_phy 2297 drivers/net/ethernet/sis/sis900.c mdio_write(dev, mii_phy->phy_addr, mii_phy 2315 drivers/net/ethernet/sis/sis900.c status = mdio_read(dev, mii_phy->phy_addr, MII_CONTROL); mii_phy 2316 drivers/net/ethernet/sis/sis900.c mdio_write(dev, mii_phy->phy_addr, mii_phy 2481 drivers/net/ethernet/sis/sis900.c struct mii_phy *phy = sis_priv->first_mii; mii_phy 1010 drivers/net/ethernet/sun/sungem.h struct mii_phy phy_mii; mii_phy 166 drivers/net/ethernet/toshiba/spider_net.c struct mii_phy *phy = &card->phy; mii_phy 1972 drivers/net/ethernet/toshiba/spider_net.c struct mii_phy *phy = &card->phy; mii_phy 2046 drivers/net/ethernet/toshiba/spider_net.c struct mii_phy *phy = &card->phy; mii_phy 447 drivers/net/ethernet/toshiba/spider_net.h struct mii_phy phy; mii_phy 51 drivers/net/sungem_phy.c static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) mii_phy 56 drivers/net/sungem_phy.c static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) mii_phy 61 drivers/net/sungem_phy.c static inline int sungem_phy_read(struct mii_phy* phy, int reg) mii_phy 66 drivers/net/sungem_phy.c static inline void sungem_phy_write(struct mii_phy* phy, int reg, int val) mii_phy 71 drivers/net/sungem_phy.c static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) mii_phy 95 drivers/net/sungem_phy.c static int bcm5201_init(struct mii_phy* phy) mii_phy 108 drivers/net/sungem_phy.c static int bcm5201_suspend(struct mii_phy* phy) mii_phy 116 drivers/net/sungem_phy.c static int bcm5221_init(struct mii_phy* phy) mii_phy 139 drivers/net/sungem_phy.c static int bcm5221_suspend(struct mii_phy* phy) mii_phy 154 drivers/net/sungem_phy.c static int bcm5241_init(struct mii_phy* phy) mii_phy 177 drivers/net/sungem_phy.c static int bcm5241_suspend(struct mii_phy* phy) mii_phy 192 drivers/net/sungem_phy.c static int bcm5400_init(struct mii_phy* phy) mii_phy 221 drivers/net/sungem_phy.c static int bcm5400_suspend(struct mii_phy* phy) mii_phy 229 drivers/net/sungem_phy.c static int bcm5401_init(struct mii_phy* phy) mii_phy 277 drivers/net/sungem_phy.c static int bcm5401_suspend(struct mii_phy* phy) mii_phy 285 drivers/net/sungem_phy.c static int bcm5411_init(struct mii_phy* phy) mii_phy 314 drivers/net/sungem_phy.c static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) mii_phy 345 drivers/net/sungem_phy.c static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) mii_phy 378 drivers/net/sungem_phy.c static int genmii_poll_link(struct mii_phy *phy) mii_phy 391 drivers/net/sungem_phy.c static int genmii_read_link(struct mii_phy *phy) mii_phy 415 drivers/net/sungem_phy.c static int generic_suspend(struct mii_phy* phy) mii_phy 422 drivers/net/sungem_phy.c static int bcm5421_init(struct mii_phy* phy) mii_phy 469 drivers/net/sungem_phy.c static int bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) mii_phy 513 drivers/net/sungem_phy.c static int bcm54xx_setup_forced(struct mii_phy *phy, int speed, int fd) mii_phy 548 drivers/net/sungem_phy.c static int bcm54xx_read_link(struct mii_phy *phy) mii_phy 574 drivers/net/sungem_phy.c static int marvell88e1111_init(struct mii_phy* phy) mii_phy 598 drivers/net/sungem_phy.c static int bcm5421_poll_link(struct mii_phy* phy) mii_phy 622 drivers/net/sungem_phy.c static int bcm5421_read_link(struct mii_phy* phy) mii_phy 650 drivers/net/sungem_phy.c static int bcm5421_enable_fiber(struct mii_phy* phy, int autoneg) mii_phy 671 drivers/net/sungem_phy.c static int bcm5461_poll_link(struct mii_phy* phy) mii_phy 697 drivers/net/sungem_phy.c static int bcm5461_read_link(struct mii_phy* phy) mii_phy 726 drivers/net/sungem_phy.c static int bcm5461_enable_fiber(struct mii_phy* phy, int autoneg) mii_phy 745 drivers/net/sungem_phy.c static int marvell_setup_aneg(struct mii_phy *phy, u32 advertise) mii_phy 796 drivers/net/sungem_phy.c static int marvell_setup_forced(struct mii_phy *phy, int speed, int fd) mii_phy 846 drivers/net/sungem_phy.c static int marvell_read_link(struct mii_phy *phy) mii_phy 1160 drivers/net/sungem_phy.c int sungem_phy_probe(struct mii_phy *phy, int mii_id) mii_phy 5 include/linux/sungem_phy.h struct mii_phy; mii_phy 10 include/linux/sungem_phy.h int (*init)(struct mii_phy *phy); mii_phy 11 include/linux/sungem_phy.h int (*suspend)(struct mii_phy *phy); mii_phy 12 include/linux/sungem_phy.h int (*setup_aneg)(struct mii_phy *phy, u32 advertise); mii_phy 13 include/linux/sungem_phy.h int (*setup_forced)(struct mii_phy *phy, int speed, int fd); mii_phy 14 include/linux/sungem_phy.h int (*poll_link)(struct mii_phy *phy); mii_phy 15 include/linux/sungem_phy.h int (*read_link)(struct mii_phy *phy); mii_phy 16 include/linux/sungem_phy.h int (*enable_fiber)(struct mii_phy *phy, int autoneg); mii_phy 65 include/linux/sungem_phy.h extern int sungem_phy_probe(struct mii_phy *phy, int mii_id);