Lines Matching refs:mii_dev
56 struct mii_dev *realbus;
272 static int lx2162a_qds_mdio_read(struct mii_dev *bus, int addr, in lx2162a_qds_mdio_read()
282 static int lx2162a_qds_mdio_write(struct mii_dev *bus, int addr, int devad, in lx2162a_qds_mdio_write()
292 static int lx2162a_qds_mdio_reset(struct mii_dev *bus) in lx2162a_qds_mdio_reset()
299 static struct mii_dev *lx2162a_qds_mdio_init(u8 realbusnum, enum io_slot ioslot) in lx2162a_qds_mdio_init()
302 struct mii_dev *bus; in lx2162a_qds_mdio_init()
383 struct mii_dev *bus; in do_phy_config()
417 struct mii_dev *bus; in do_dpmac_config()
481 struct mii_dev *bus; in board_eth_init()
662 int fdt_get_ioslot_offset(void *fdt, struct mii_dev *mii_dev, int fpga_offset) in fdt_get_ioslot_offset() argument
671 if (strncmp(mii_dev->name, "LX2162A_QDS_MDIO", in fdt_get_ioslot_offset()
676 priv = mii_dev->priv; in fdt_get_ioslot_offset()
788 struct mii_dev *mii_dev; in fdt_fixup_board_phy() local
813 mii_dev = list_entry(entry, struct mii_dev, link); in fdt_fixup_board_phy()
814 debug("mii_dev name : %s\n", mii_dev->name); in fdt_fixup_board_phy()
815 offset = fdt_get_ioslot_offset(fdt, mii_dev, fpga_offset); in fdt_fixup_board_phy()
822 phy_dev = mii_dev->phymap[i]; in fdt_fixup_board_phy()
859 offset = fdt_get_ioslot_offset(fdt, mii_dev, in fdt_fixup_board_phy()