Searched refs:phymap (Results 1 – 7 of 7) sorted by relevance
146 struct phy_device *phydev = bus->phymap[i]; in mdio_list_devices()195 if (!bus->phymap[i] || !bus->phymap[i]->dev) in mdio_phydev_for_ethname()198 if (strcmp(bus->phymap[i]->dev->name, ethname) == 0) in mdio_phydev_for_ethname()199 return bus->phymap[i]; in mdio_phydev_for_ethname()
508 ctx->phymap = devm_regmap_init(dev, &phymap_encx24j600, ctx, &phycfg); in devm_regmap_init_encx24j600()509 if (IS_ERR(ctx->phymap)) in devm_regmap_init_encx24j600()510 return PTR_ERR(ctx->phymap); in devm_regmap_init_encx24j600()
13 struct regmap *phymap; member
135 int ret = regmap_read(priv->ctx.phymap, reg, &val); in encx24j600_read_phy()146 int ret = regmap_write(priv->ctx.phymap, reg, val); in encx24j600_write_phy()
664 bus->phymap[addr] = dev; in phy_device_create()733 if (bus->phymap[addr]) { in search_for_existing_phy()734 bus->phymap[addr]->interface = interface; in search_for_existing_phy()735 return bus->phymap[addr]; in search_for_existing_phy()
66 struct phy_device *phymap[PHY_MAX_ADDR]; member
785 phy_dev = mii_dev->phymap[i]; in fdt_fixup_board_phy()