Searched refs:phy_map (Results 1 - 27 of 27) sorted by relevance

/linux-4.1.27/drivers/net/phy/
H A Dmdio_bus.c291 if (bus->phy_map[i]) mdiobus_register()
292 device_unregister(&bus->phy_map[i]->dev); mdiobus_register()
308 if (bus->phy_map[i]) mdiobus_unregister()
309 device_unregister(&bus->phy_map[i]->dev); mdiobus_unregister()
310 bus->phy_map[i] = NULL; mdiobus_unregister()
H A Dphy_device.c353 if (phydev->bus->phy_map[phydev->addr]) phy_device_register()
355 phydev->bus->phy_map[phydev->addr] = phydev; phy_device_register()
373 phydev->bus->phy_map[phydev->addr] = NULL; phy_device_register()
387 if (bus->phy_map[addr]) phy_find_first()
388 return bus->phy_map[addr]; phy_find_first()
/linux-4.1.27/drivers/staging/netlogic/
H A Dxlr_net.c174 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; xlr_get_settings()
184 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; xlr_set_settings()
221 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; xlr_net_open()
242 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; xlr_net_stop()
271 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; xlr_wakeup_queue()
774 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; xlr_set_gmac_speed()
816 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; xlr_gmac_link_adjust()
833 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; xlr_mii_probe()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dcore.c92 * setup precise phy_map entries
367 dev->phy_map == 0xffffffff) { emac_reset()
386 dev->phy_map == 0xffffffff) { emac_reset()
2391 u32 phy_map, adv; emac_init_phy() local
2400 if (dev->phy_address == 0xffffffff && dev->phy_map == 0xffffffff) { emac_init_phy()
2418 phy_map = dev->phy_map | busy_phy_map; emac_init_phy()
2420 DBG(dev, "PHY maps %08x %08x" NL, dev->phy_map, busy_phy_map); emac_init_phy()
2445 * and/or phy_map here. emac_init_phy()
2458 phy_map = ~(1 << dev->phy_address); emac_init_phy()
2460 for (i = 0; i < 0x20; phy_map >>= 1, ++i) emac_init_phy()
2461 if (!(phy_map & 1)) { emac_init_phy()
2549 if (emac_read_uint_prop(np, "phy-map", &dev->phy_map, 0)) emac_init_config()
2550 dev->phy_map = 0xffffffff; emac_init_config()
H A Dcore.h185 u32 phy_map; member in struct:emac_instance
/linux-4.1.27/drivers/net/ethernet/amd/
H A Dau1000_eth.c347 /* WARNING: bus->phy_map[phy_addr].attached_dev == dev does au1000_mdiobus_read()
505 phydev = aup->mii_bus->phy_map[aup->phy_addr]; au1000_mii_probe()
515 if (aup->mii_bus->phy_map[phy_addr]) { au1000_mii_probe()
516 phydev = aup->mii_bus->phy_map[phy_addr]; au1000_mii_probe()
534 aup->mii_bus->phy_map[phy_addr]; au1000_mii_probe()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_mdio.c183 struct phy_device *phy = mdio_bus->phy_map[phy_addr]; sxgbe_mdio_register()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c239 struct phy_device *phydev = new_bus->phy_map[addr]; stmmac_mdio_register()
/linux-4.1.27/drivers/of/
H A Dof_mdio.c169 if (mdio->phy_map[addr]) for_each_available_child_of_node()
/linux-4.1.27/drivers/net/ethernet/
H A Ddnet.c262 if (bp->mii_bus->phy_map[phy_addr]) { dnet_mii_probe()
263 phydev = bp->mii_bus->phy_map[phy_addr]; dnet_mii_probe()
H A Dlantiq_etop.c382 if (priv->mii_bus->phy_map[phy_addr]) { ltq_etop_mdio_probe()
383 phydev = priv->mii_bus->phy_map[phy_addr]; ltq_etop_mdio_probe()
H A Dethoc.c674 phy = priv->mdio->phy_map[priv->phy_id]; ethoc_mdio_probe()
762 phy = priv->mdio->phy_map[mdio->phy_id]; ethoc_ioctl()
/linux-4.1.27/drivers/net/ethernet/ti/
H A Ddavinci_mdio.c396 phy = data->bus->phy_map[addr]; davinci_mdio_probe()
H A Dcpmac.c1120 if (!cpmac_mii->phy_map[phy_id]) cpmac_probe()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-mdio.c162 struct phy_device *phydev = pdata->mii->phy_map[XGBE_PRTAD]; xgbe_dump_phy_registers()
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c504 phydev = mdio->phy_map[pd->phy_address]; bcmgenet_mii_pd_init()
/linux-4.1.27/net/dsa/
H A Dslave.c730 p->phy = ds->slave_mii_bus->phy_map[addr]; dsa_slave_phy_connect()
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmsc9420.c1161 if (!pd->mii_bus->phy_map[1]) { smsc9420_mii_probe()
1166 phydev = pd->mii_bus->phy_map[1]; smsc9420_mii_probe()
/linux-4.1.27/drivers/net/ethernet/toshiba/
H A Dtc35815.c617 if (lp->mii_bus->phy_map[phy_addr]) { tc_mii_probe()
623 phydev = lp->mii_bus->phy_map[phy_addr]; tc_mii_probe()
/linux-4.1.27/drivers/net/ethernet/faraday/
H A Dftgmac100.c843 struct phy_device *tmp = priv->mii_bus->phy_map[i]; ftgmac100_mii_probe()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dtg3.c1409 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_mdio_config_5785()
1561 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_mdio_init()
1971 autoneg = tp->mdio_bus->phy_map[tp->phy_addr]->autoneg; tg3_setup_flow_control()
2007 struct phy_device *phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_adjust_link()
2096 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_phy_init()
2123 phy_disconnect(tp->mdio_bus->phy_map[tp->phy_addr]); tg3_phy_init()
2141 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_phy_start()
2161 phy_stop(tp->mdio_bus->phy_map[tp->phy_addr]); tg3_phy_stop()
2167 phy_disconnect(tp->mdio_bus->phy_map[tp->phy_addr]); tg3_phy_fini()
4051 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_power_down_prepare()
12092 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_get_settings()
12159 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_set_settings()
12314 r = phy_start_aneg(tp->mdio_bus->phy_map[tp->phy_addr]); tg3_nway_reset()
12432 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_set_pauseparam()
13942 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_ioctl()
17916 phydev = tp->mdio_bus->phy_map[tp->phy_addr]; tg3_init_one()
H A Db44.c2283 if (!bp->mii_bus->phy_map[bp->phy_addr] && b44_register_phy_one()
H A Dsb1250-mac.c2373 phy_dev = sc->mii_bus->phy_map[i]; sbmac_mii_probe()
/linux-4.1.27/include/linux/
H A Dphy.h179 struct phy_device *phy_map[PHY_MAX_ADDR]; member in struct:mii_bus
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dfec_main.c1903 if (fep->mii_bus->phy_map[phy_id] == NULL) fec_enet_mii_probe()
1905 if (fep->mii_bus->phy_map[phy_id]->phy_id == 0) fec_enet_mii_probe()
/linux-4.1.27/drivers/dma/
H A Dste_dma40.c1344 static const unsigned int phy_map[] = { d40_get_prmo() local
1362 return phy_map[d40c->dma_cfg.mode_opt]; d40_get_prmo()
/linux-4.1.27/drivers/net/ethernet/adi/
H A Dbfin_mac.c401 struct phy_device *const tmp_phydev = lp->mii_bus->phy_map[i]; mii_probe()

Completed in 1161 milliseconds