Lines Matching +full:bus +full:- +full:num
1 /* SPDX-License-Identifier: GPL-2.0 */
12 #define bcma_err(bus, fmt, ...) \ argument
13 dev_err((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
14 #define bcma_warn(bus, fmt, ...) \ argument
15 dev_warn((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
16 #define bcma_info(bus, fmt, ...) \ argument
17 dev_info((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
18 #define bcma_debug(bus, fmt, ...) \ argument
19 dev_dbg((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
26 void bcma_prepare_core(struct bcma_bus *bus, struct bcma_device *core);
27 void bcma_init_bus(struct bcma_bus *bus);
28 void bcma_unregister_cores(struct bcma_bus *bus);
29 int bcma_bus_register(struct bcma_bus *bus);
30 void bcma_bus_unregister(struct bcma_bus *bus);
31 int __init bcma_bus_early_register(struct bcma_bus *bus);
33 int bcma_bus_suspend(struct bcma_bus *bus);
34 int bcma_bus_resume(struct bcma_bus *bus);
38 void bcma_detect_chip(struct bcma_bus *bus);
39 int bcma_bus_scan(struct bcma_bus *bus);
42 int bcma_sprom_get(struct bcma_bus *bus);
72 bcma_err(cc->core->bus, "Parallel flash not supported\n"); in bcma_pflash_init()
84 bcma_err(cc->core->bus, "Serial flash not supported\n"); in bcma_sflash_init()
96 bcma_err(cc->core->bus, "NAND flash not supported\n"); in bcma_nflash_init()
131 WARN_ON(pc->core->bus->hosttype == BCMA_HOSTTYPE_PCI); in bcma_core_pci_early_init()
135 /* Initialization is required for PCI hosted bus */ in bcma_core_pci_init()
136 WARN_ON(pc->core->bus->hosttype == BCMA_HOSTTYPE_PCI); in bcma_core_pci_init()
147 /* Initialization is required for PCI hosted bus */ in bcma_core_pcie2_init()
148 WARN_ON(pcie2->core->bus->hosttype == BCMA_HOSTTYPE_PCI); in bcma_core_pcie2_init()
207 return -ENOTSUPP; in bcma_gpio_init()