Searched refs:new_bus (Results 1 – 9 of 9) sorted by relevance
/drivers/net/phy/ |
D | mdio-gpio.c | 137 struct mii_bus *new_bus; in mdio_gpio_bus_init() local 154 new_bus = alloc_mdio_bitbang(&bitbang->ctrl); in mdio_gpio_bus_init() 155 if (!new_bus) in mdio_gpio_bus_init() 158 new_bus->name = "GPIO Bitbanged MDIO", in mdio_gpio_bus_init() 160 new_bus->phy_mask = pdata->phy_mask; in mdio_gpio_bus_init() 161 new_bus->phy_ignore_ta_mask = pdata->phy_ignore_ta_mask; in mdio_gpio_bus_init() 162 memcpy(new_bus->irq, pdata->irqs, sizeof(new_bus->irq)); in mdio_gpio_bus_init() 163 new_bus->parent = dev; in mdio_gpio_bus_init() 165 if (new_bus->phy_mask == ~0) in mdio_gpio_bus_init() 169 if (!new_bus->irq[i]) in mdio_gpio_bus_init() [all …]
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_mdio.c | 286 struct mii_bus *new_bus; in stmmac_mdio_register() local 295 new_bus = mdiobus_alloc(); in stmmac_mdio_register() 296 if (new_bus == NULL) in stmmac_mdio_register() 300 memcpy(new_bus->irq, mdio_bus_data->irqs, sizeof(new_bus->irq)); in stmmac_mdio_register() 307 new_bus->name = "stmmac"; in stmmac_mdio_register() 309 new_bus->read = &stmmac_mdio_read_gmac4; in stmmac_mdio_register() 310 new_bus->write = &stmmac_mdio_write_gmac4; in stmmac_mdio_register() 312 new_bus->read = &stmmac_mdio_read; in stmmac_mdio_register() 313 new_bus->write = &stmmac_mdio_write; in stmmac_mdio_register() 316 new_bus->reset = &stmmac_mdio_reset; in stmmac_mdio_register() [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() 170 new_bus->parent = &ofdev->dev; 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() 176 new_bus->parent = &ofdev->dev; in fs_enet_mdio_probe() 177 platform_set_drvdata(ofdev, new_bus); in fs_enet_mdio_probe() 179 ret = of_mdiobus_register(new_bus, ofdev->dev.of_node); in fs_enet_mdio_probe() 188 free_mdio_bitbang(new_bus); in fs_enet_mdio_probe()
|
/drivers/net/ethernet/freescale/ |
D | fsl_pq_mdio.c | 389 struct mii_bus *new_bus; in fsl_pq_mdio_probe() local 401 new_bus = mdiobus_alloc_size(sizeof(*priv)); in fsl_pq_mdio_probe() 402 if (!new_bus) in fsl_pq_mdio_probe() 405 priv = new_bus->priv; in fsl_pq_mdio_probe() 406 new_bus->name = "Freescale PowerQUICC MII Bus", in fsl_pq_mdio_probe() 407 new_bus->read = &fsl_pq_mdio_read; in fsl_pq_mdio_probe() 408 new_bus->write = &fsl_pq_mdio_write; in fsl_pq_mdio_probe() 409 new_bus->reset = &fsl_pq_mdio_reset; in fsl_pq_mdio_probe() 417 snprintf(new_bus->id, MII_BUS_ID_SIZE, "%s@%llx", np->name, in fsl_pq_mdio_probe() 439 new_bus->parent = &pdev->dev; in fsl_pq_mdio_probe() [all …]
|
/drivers/net/ethernet/hisilicon/ |
D | hns_mdio.c | 435 struct mii_bus *new_bus; in hns_mdio_probe() local 448 new_bus = devm_mdiobus_alloc(&pdev->dev); in hns_mdio_probe() 449 if (!new_bus) { in hns_mdio_probe() 454 new_bus->name = MDIO_BUS_NAME; in hns_mdio_probe() 455 new_bus->read = hns_mdio_read; in hns_mdio_probe() 456 new_bus->write = hns_mdio_write; in hns_mdio_probe() 457 new_bus->reset = hns_mdio_reset; in hns_mdio_probe() 458 new_bus->priv = mdio_dev; in hns_mdio_probe() 459 new_bus->parent = &pdev->dev; in hns_mdio_probe() 468 platform_set_drvdata(pdev, new_bus); in hns_mdio_probe() [all …]
|
/drivers/gpu/vga/ |
D | vgaarb.c | 546 struct pci_bus *new_bus, *bus; in vga_arbiter_check_bridge_sharing() local 555 new_bus = vgadev->pdev->bus; in vga_arbiter_check_bridge_sharing() 556 while (new_bus) { in vga_arbiter_check_bridge_sharing() 557 new_bridge = new_bus->self; in vga_arbiter_check_bridge_sharing() 589 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()
|