Lines Matching refs:bus
13 #define bcma_err(bus, fmt, ...) \ argument
14 pr_err("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
15 #define bcma_warn(bus, fmt, ...) \ argument
16 pr_warn("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
17 #define bcma_info(bus, fmt, ...) \ argument
18 pr_info("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
19 #define bcma_debug(bus, fmt, ...) \ argument
20 pr_debug("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
27 void bcma_prepare_core(struct bcma_bus *bus, struct bcma_device *core);
28 void bcma_init_bus(struct bcma_bus *bus);
29 void bcma_unregister_cores(struct bcma_bus *bus);
30 int bcma_bus_register(struct bcma_bus *bus);
31 void bcma_bus_unregister(struct bcma_bus *bus);
32 int __init bcma_bus_early_register(struct bcma_bus *bus);
34 int bcma_bus_suspend(struct bcma_bus *bus);
35 int bcma_bus_resume(struct bcma_bus *bus);
37 struct device *bcma_bus_get_host_dev(struct bcma_bus *bus);
40 void bcma_detect_chip(struct bcma_bus *bus);
41 int bcma_bus_scan(struct bcma_bus *bus);
44 int bcma_sprom_get(struct bcma_bus *bus);
72 bcma_err(cc->core->bus, "Serial flash not supported\n"); in bcma_sflash_init()
84 bcma_err(cc->core->bus, "NAND flash not supported\n"); in bcma_nflash_init()
119 WARN_ON(pc->core->bus->hosttype == BCMA_HOSTTYPE_PCI); in bcma_core_pci_early_init()
124 WARN_ON(pc->core->bus->hosttype == BCMA_HOSTTYPE_PCI); in bcma_core_pci_init()
136 WARN_ON(pcie2->core->bus->hosttype == BCMA_HOSTTYPE_PCI); in bcma_core_pcie2_init()