Searched refs:new_bus (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_mdio.c | 195 struct mii_bus *new_bus; in stmmac_mdio_register() local 204 new_bus = mdiobus_alloc(); in stmmac_mdio_register() 205 if (new_bus == NULL) in stmmac_mdio_register() 221 new_bus->name = "stmmac"; in stmmac_mdio_register() 222 new_bus->read = &stmmac_mdio_read; in stmmac_mdio_register() 223 new_bus->write = &stmmac_mdio_write; in stmmac_mdio_register() 224 new_bus->reset = &stmmac_mdio_reset; in stmmac_mdio_register() 225 snprintf(new_bus->id, MII_BUS_ID_SIZE, "%s-%x", in stmmac_mdio_register() 226 new_bus->name, priv->plat->bus_id); in stmmac_mdio_register() 227 new_bus->priv = ndev; in stmmac_mdio_register() [all …]
|
/drivers/net/phy/ |
D | mdio-gpio.c | 133 struct mii_bus *new_bus; in mdio_gpio_bus_init() local 150 new_bus = alloc_mdio_bitbang(&bitbang->ctrl); in mdio_gpio_bus_init() 151 if (!new_bus) in mdio_gpio_bus_init() 154 new_bus->name = "GPIO Bitbanged MDIO", in mdio_gpio_bus_init() 156 new_bus->phy_mask = pdata->phy_mask; in mdio_gpio_bus_init() 157 new_bus->irq = pdata->irqs; in mdio_gpio_bus_init() 158 new_bus->parent = dev; in mdio_gpio_bus_init() 160 if (new_bus->phy_mask == ~0) in mdio_gpio_bus_init() 164 if (!new_bus->irq[i]) in mdio_gpio_bus_init() 165 new_bus->irq[i] = PHY_POLL; in mdio_gpio_bus_init() [all …]
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | mii-fec.c | 103 struct mii_bus *new_bus; in fs_enet_mdio_probe() local 113 new_bus = mdiobus_alloc(); in fs_enet_mdio_probe() 114 if (!new_bus) in fs_enet_mdio_probe() 121 new_bus->priv = fec; in fs_enet_mdio_probe() 122 new_bus->name = "FEC MII Bus"; in fs_enet_mdio_probe() 123 new_bus->read = &fs_enet_fec_mii_read; in fs_enet_mdio_probe() 124 new_bus->write = &fs_enet_fec_mii_write; in fs_enet_mdio_probe() 130 snprintf(new_bus->id, MII_BUS_ID_SIZE, "%x", res.start); in fs_enet_mdio_probe() 168 new_bus->phy_mask = ~0; in fs_enet_mdio_probe() 169 new_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in fs_enet_mdio_probe() [all …]
|
D | mii-bitbang.c | 154 struct mii_bus *new_bus; in fs_enet_mdio_probe() local 164 new_bus = alloc_mdio_bitbang(&bitbang->ctrl); in fs_enet_mdio_probe() 165 if (!new_bus) in fs_enet_mdio_probe() 168 new_bus->name = "CPM2 Bitbanged MII", in fs_enet_mdio_probe() 170 ret = fs_mii_bitbang_init(new_bus, ofdev->dev.of_node); in fs_enet_mdio_probe() 174 new_bus->phy_mask = ~0; in fs_enet_mdio_probe() 175 new_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); in fs_enet_mdio_probe() 176 if (!new_bus->irq) { in fs_enet_mdio_probe() 181 new_bus->parent = &ofdev->dev; in fs_enet_mdio_probe() 182 platform_set_drvdata(ofdev, new_bus); in fs_enet_mdio_probe() [all …]
|
/drivers/net/ethernet/freescale/ |
D | fsl_pq_mdio.c | 378 struct mii_bus *new_bus; in fsl_pq_mdio_probe() local 383 new_bus = mdiobus_alloc_size(sizeof(*priv)); in fsl_pq_mdio_probe() 384 if (!new_bus) in fsl_pq_mdio_probe() 387 priv = new_bus->priv; in fsl_pq_mdio_probe() 388 new_bus->name = "Freescale PowerQUICC MII Bus", in fsl_pq_mdio_probe() 389 new_bus->read = &fsl_pq_mdio_read; in fsl_pq_mdio_probe() 390 new_bus->write = &fsl_pq_mdio_write; in fsl_pq_mdio_probe() 391 new_bus->reset = &fsl_pq_mdio_reset; in fsl_pq_mdio_probe() 392 new_bus->irq = priv->irqs; in fsl_pq_mdio_probe() 400 snprintf(new_bus->id, MII_BUS_ID_SIZE, "%s@%llx", np->name, in fsl_pq_mdio_probe() [all …]
|
/drivers/gpu/vga/ |
D | vgaarb.c | 467 struct pci_bus *new_bus, *bus; in vga_arbiter_check_bridge_sharing() local 476 new_bus = vgadev->pdev->bus; in vga_arbiter_check_bridge_sharing() 477 while (new_bus) { in vga_arbiter_check_bridge_sharing() 478 new_bridge = new_bus->self; in vga_arbiter_check_bridge_sharing() 505 new_bus = new_bus->parent; in vga_arbiter_check_bridge_sharing()
|
/drivers/pci/hotplug/ |
D | sgi_hotplug.c | 330 struct pci_bus *new_bus = NULL; in enable_slot() local 396 new_bus = dev->subordinate; in enable_slot() 460 pci_bus_add_devices(new_bus); in enable_slot()
|
D | ibmphp_res.c | 94 static int __init alloc_bus_range (struct bus_node **new_bus, struct range_node **new_range, struct… in alloc_bus_range() argument 108 newbus = *new_bus; in alloc_bus_range() 174 *new_bus = newbus; in alloc_bus_range()
|