Lines Matching defs:bus
170 struct bcma_bus *bus = &soc->bus;
173 * to scan the bus.
175 bus->mmio = ioremap(BCMA_ADDR_BASE, BCMA_CORE_SIZE * 1);
176 if (!bus->mmio)
180 bus->hosttype = BCMA_HOSTTYPE_SOC;
181 bus->ops = &bcma_host_soc_ops;
184 bcma_init_bus(bus);
191 struct bcma_bus *bus = &soc->bus;
194 /* Scan bus and initialize it */
195 err = bcma_bus_early_register(bus);
197 iounmap(bus->mmio);
207 struct bcma_bus *bus;
211 bus = devm_kzalloc(dev, sizeof(*bus), GFP_KERNEL);
212 if (!bus)
215 bus->dev = dev;
218 bus->mmio = of_iomap(np, 0);
219 if (!bus->mmio)
223 bus->hosttype = BCMA_HOSTTYPE_SOC;
224 bus->ops = &bcma_host_soc_ops;
227 bcma_init_bus(bus);
230 err = bcma_bus_register(bus);
234 platform_set_drvdata(pdev, bus);
239 iounmap(bus->mmio);
245 struct bcma_bus *bus = platform_get_drvdata(pdev);
247 bcma_bus_unregister(bus);
248 iounmap(bus->mmio);
253 { .compatible = "brcm,bus-axi", },