Lines Matching refs:mii_dev
56 struct mii_dev *realbus;
251 static int lx2160a_qds_mdio_read(struct mii_dev *bus, int addr, in lx2160a_qds_mdio_read()
261 static int lx2160a_qds_mdio_write(struct mii_dev *bus, int addr, int devad, in lx2160a_qds_mdio_write()
271 static int lx2160a_qds_mdio_reset(struct mii_dev *bus) in lx2160a_qds_mdio_reset()
278 static struct mii_dev *lx2160a_qds_mdio_init(u8 realbusnum, enum io_slot ioslot) in lx2160a_qds_mdio_init()
281 struct mii_dev *bus; in lx2160a_qds_mdio_init()
362 struct mii_dev *bus; in do_phy_config()
396 struct mii_dev *bus; in do_dpmac_config()
460 struct mii_dev *bus; in board_eth_init()
653 int fdt_get_ioslot_offset(void *fdt, struct mii_dev *mii_dev, int fpga_offset) in fdt_get_ioslot_offset() argument
662 if (strncmp(mii_dev->name, "LX2160A_QDS_MDIO", in fdt_get_ioslot_offset()
667 priv = mii_dev->priv; in fdt_get_ioslot_offset()
776 struct mii_dev *mii_dev; in fdt_fixup_board_phy() local
801 mii_dev = list_entry(entry, struct mii_dev, link); in fdt_fixup_board_phy()
802 debug("mii_dev name : %s\n", mii_dev->name); in fdt_fixup_board_phy()
803 offset = fdt_get_ioslot_offset(fdt, mii_dev, fpga_offset); in fdt_fixup_board_phy()
810 phy_dev = mii_dev->phymap[i]; in fdt_fixup_board_phy()
842 offset = fdt_get_ioslot_offset(fdt, mii_dev, in fdt_fixup_board_phy()