Home
last modified time | relevance | path

Searched refs:PHY_MAX_ADDR (Results 1 – 25 of 39) sorted by relevance

12

/linux-2.6.39/include/linux/
Dmdio-gpio.h22 int irqs[PHY_MAX_ADDR];
Dphy.h74 #define PHY_MAX_ADDR 32 macro
117 struct phy_device *phy_map[PHY_MAX_ADDR];
/linux-2.6.39/drivers/net/phy/
Dmdio-octeon.c24 int phy_irq[PHY_MAX_ADDR];
115 for (i = 0; i < PHY_MAX_ADDR; i++) in octeon_mdiobus_probe()
Dmdio_bus.c115 for (i = 0; i < PHY_MAX_ADDR; i++) { in mdiobus_register()
149 for (i = 0; i < PHY_MAX_ADDR; i++) { in mdiobus_unregister()
Dfixed.c28 int irqs[PHY_MAX_ADDR];
Dmdio-gpio.c114 for (i = 0; i < PHY_MAX_ADDR; i++) in mdio_gpio_bus_init()
/linux-2.6.39/drivers/net/
Dgreth.h130 int mdio_irqs[PHY_MAX_ADDR];
Dbfin_mac.c406 for (i = 0; i < PHY_MAX_ADDR; ++i) { in mii_probe()
576 for (i = 0; i < PHY_MAX_ADDR; ++i) in setup_system_regs()
579 if (i < PHY_MAX_ADDR) in setup_system_regs()
1674 miibus->irq = kmalloc(sizeof(int)*PHY_MAX_ADDR, GFP_KERNEL); in bfin_mii_bus_probe()
1678 for (i = rc; i < PHY_MAX_ADDR; ++i) in bfin_mii_bus_probe()
1681 rc = clamp(mii_bus_pd->phydev_number, 0, PHY_MAX_ADDR); in bfin_mii_bus_probe()
1687 if (phyaddr < PHY_MAX_ADDR) in bfin_mii_bus_probe()
Dfsl_pq_mdio.c191 for (i = PHY_MAX_ADDR; i > 0; i--) { in fsl_pq_mdio_find_free()
327 new_bus->irq = kcalloc(PHY_MAX_ADDR, sizeof(int), GFP_KERNEL); in fsl_pq_mdio_probe()
Ddavinci_mdio.c136 msleep(PHY_MAX_ADDR * data->access_time); in davinci_mdio_reset()
360 for (addr = 0; addr < PHY_MAX_ADDR; addr++) { in davinci_mdio_probe()
Dfec_mpc52xx_phy.c25 int mdio_irqs[PHY_MAX_ADDR];
Dll_temac.h340 int mdio_irqs[PHY_MAX_ADDR]; /* IRQs table for MDIO bus */
Dau1000_eth.c393 for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) in au1000_mii_probe()
411 for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { in au1000_mii_probe()
1159 aup->mii_bus->irq = kmalloc(sizeof(int)*PHY_MAX_ADDR, GFP_KERNEL); in au1000_probe()
1163 for (i = 0; i < PHY_MAX_ADDR; ++i) in au1000_probe()
Ddnet.c266 for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { in dnet_mii_probe()
331 bp->mii_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in dnet_mii_init()
337 for (i = 0; i < PHY_MAX_ADDR; i++) in dnet_mii_init()
Dfec.c881 for (phy_id = 0; (phy_id < PHY_MAX_ADDR); phy_id++) { in fec_enet_mii_probe()
894 if (phy_id >= PHY_MAX_ADDR) { in fec_enet_mii_probe()
978 fep->mii_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in fec_enet_mii_init()
984 for (i = 0; i < PHY_MAX_ADDR; i++) in fec_enet_mii_init()
Dethoc.c753 if (mdio->phy_id >= PHY_MAX_ADDR) in ethoc_ioctl()
1069 priv->mdio->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in ethoc_probe()
1075 for (phy = 0; phy < PHY_MAX_ADDR; phy++) in ethoc_probe()
Ds6gmac.c363 int irq[PHY_MAX_ADDR];
795 while ((i < PHY_MAX_ADDR) && (!(p = pd->mii.bus->phy_map[i]))) in s6gmac_phy_start()
1010 for (i = 0; i < PHY_MAX_ADDR; i++) { in s6gmac_probe()
Dcpmac.c312 static int mii_irqs[PHY_MAX_ADDR] = { PHY_POLL, };
1127 for (phy_id = 0; phy_id < PHY_MAX_ADDR; phy_id++) { in cpmac_probe()
1137 if (phy_id == PHY_MAX_ADDR) { in cpmac_probe()
Dax88796.c628 ax->mii_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in ax_mii_init()
634 for (i = 0; i < PHY_MAX_ADDR; i++) in ax_mii_init()
/linux-2.6.39/drivers/of/
Dof_mdio.c45 for (i=0; i<PHY_MAX_ADDR; i++) in of_mdiobus_register()
/linux-2.6.39/drivers/net/stmmac/
Dstmmac_mdio.c146 irqlist = kzalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in stmmac_mdio_register()
/linux-2.6.39/drivers/net/fs_enet/
Dmii-fec.c174 new_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in fs_enet_mdio_probe()
Dmii-bitbang.c176 new_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in fs_enet_mdio_probe()
/linux-2.6.39/arch/powerpc/platforms/82xx/
Dep8248e.c134 bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in ep8248e_mdio_probe()
/linux-2.6.39/arch/powerpc/platforms/pasemi/
Dgpio_mdio.c43 int mdio_irqs[PHY_MAX_ADDR];

12