Lines Matching defs:nexus
27 struct thunder_mdiobus_nexus *nexus;
31 nexus = devm_kzalloc(&pdev->dev, sizeof(*nexus), GFP_KERNEL);
32 if (!nexus)
35 pci_set_drvdata(pdev, nexus);
50 nexus->bar0 = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0));
51 if (!nexus->bar0) {
84 nexus->buses[i] = bus;
87 bus->register_base = nexus->bar0 +
104 if (i >= ARRAY_SIZE(nexus->buses))
121 struct thunder_mdiobus_nexus *nexus = pci_get_drvdata(pdev);
123 for (i = 0; i < ARRAY_SIZE(nexus->buses); i++) {
124 struct cavium_mdiobus *bus = nexus->buses[i];