Home
last modified time | relevance | path

Searched refs:bcma_bus (Results 1 – 23 of 23) sorted by relevance

/linux-5.19.10/drivers/bcma/
Dbcma_private.h21 struct bcma_bus;
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);
[all …]
Dscan.c144 static u32 bcma_scan_read32(struct bcma_bus *bus, u16 offset) in bcma_scan_read32()
149 static void bcma_scan_switch_core(struct bcma_bus *bus, u32 addr) in bcma_scan_switch_core()
156 static u32 bcma_erom_get_ent(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_get_ent()
168 static s32 bcma_erom_get_ci(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_get_ci()
178 static bool bcma_erom_is_end(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_is_end()
185 static bool bcma_erom_is_bridge(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_is_bridge()
194 static void bcma_erom_skip_component(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_skip_component()
208 static s32 bcma_erom_get_mst_port(struct bcma_bus *bus, u32 __iomem **eromptr) in bcma_erom_get_mst_port()
218 static u32 bcma_erom_get_addr_desc(struct bcma_bus *bus, u32 __iomem **eromptr, in bcma_erom_get_addr_desc()
246 static struct bcma_device *bcma_find_core_by_index(struct bcma_bus *bus, in bcma_find_core_by_index()
[all …]
Ddriver_mips.c97 struct bcma_bus *bus = dev->bus; in bcma_core_mips_set_irq()
144 static void bcma_core_mips_set_irq_name(struct bcma_bus *bus, unsigned int irq, in bcma_core_mips_set_irq_name()
174 static void bcma_core_mips_dump_irq(struct bcma_bus *bus) in bcma_core_mips_dump_irq()
185 struct bcma_bus *bus = mcore->core->bus; in bcma_cpu_clock()
195 static enum bcma_boot_dev bcma_boot_dev(struct bcma_bus *bus) in bcma_boot_dev()
236 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_nvram_init()
262 struct bcma_bus *bus = mcore->core->bus; in bcma_core_mips_early_init()
273 static void bcma_fix_i2s_irqflag(struct bcma_bus *bus) in bcma_fix_i2s_irqflag()
301 struct bcma_bus *bus; in bcma_core_mips_init()
Dmain.c79 static u16 bcma_cc_core_id(struct bcma_bus *bus) in bcma_cc_core_id()
86 struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid, in bcma_find_core_unit()
215 struct bcma_bus *bus = core->bus; in bcma_core_irq()
237 void bcma_prepare_core(struct bcma_bus *bus, struct bcma_device *core) in bcma_prepare_core()
265 void bcma_init_bus(struct bcma_bus *bus) in bcma_init_bus()
277 static void bcma_register_core(struct bcma_bus *bus, struct bcma_device *core) in bcma_register_core()
290 static int bcma_register_devices(struct bcma_bus *bus) in bcma_register_devices()
359 void bcma_unregister_cores(struct bcma_bus *bus) in bcma_unregister_cores()
379 int bcma_bus_register(struct bcma_bus *bus) in bcma_bus_register()
478 void bcma_bus_unregister(struct bcma_bus *bus) in bcma_bus_unregister()
[all …]
Ddriver_chipcommon_pmu.c82 struct bcma_bus *bus = cc->core->bus; in bcma_pmu2_pll_init0()
150 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_pll_init()
164 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_resources_init()
212 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_bcm4331_ext_pa_lines_ctl()
232 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_workarounds()
276 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_early_init()
311 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_get_alp_clock()
356 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_pll_clock()
422 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_get_bus_clock()
454 struct bcma_bus *bus = cc->core->bus; in bcma_pmu_get_cpu_clock()
[all …]
Dhost_pci.c163 struct bcma_bus *bus; in bcma_host_pci_probe()
247 struct bcma_bus *bus = pci_get_drvdata(dev); in bcma_host_pci_remove()
259 struct bcma_bus *bus = dev_get_drvdata(dev); in bcma_host_pci_suspend()
268 struct bcma_bus *bus = dev_get_drvdata(dev); in bcma_host_pci_resume()
331 void bcma_host_pci_up(struct bcma_bus *bus) in bcma_host_pci_up()
344 void bcma_host_pci_down(struct bcma_bus *bus) in bcma_host_pci_down()
355 int bcma_host_pci_irq_ctl(struct bcma_bus *bus, struct bcma_device *core, in bcma_host_pci_irq_ctl()
Ddriver_chipcommon.c39 struct bcma_bus *bus = cc->core->bus; in bcma_core_cc_has_pmu_watchdog()
58 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_watchdog_get_max_timer()
97 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_watchdog_ticks_per_ms()
115 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_watchdog_register()
144 struct bcma_bus *bus = cc->core->bus; in bcma_core_chipcommon_flash_detect()
171 struct bcma_bus *bus = cc->core->bus; in bcma_core_chipcommon_early_init()
248 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_watchdog_timer_set()
Dsprom.c19 static int(*get_fallback_sprom)(struct bcma_bus *dev, struct ssb_sprom *out);
39 int bcma_arch_register_fallback_sprom(int (*sprom_callback)(struct bcma_bus *bus, in bcma_arch_register_fallback_sprom()
49 static int bcma_fill_sprom_with_fallback(struct bcma_bus *bus, in bcma_fill_sprom_with_fallback()
75 static void bcma_sprom_read(struct bcma_bus *bus, u16 offset, u16 *sprom, in bcma_sprom_read()
157 static int bcma_sprom_valid(struct bcma_bus *bus, const u16 *sprom, in bcma_sprom_valid()
221 static void bcma_sprom_extract_r8(struct bcma_bus *bus, const u16 *sprom) in bcma_sprom_extract_r8()
480 static bool bcma_sprom_ext_available(struct bcma_bus *bus) in bcma_sprom_ext_available()
516 static bool bcma_sprom_onchip_available(struct bcma_bus *bus) in bcma_sprom_onchip_available()
563 static int bcma_sprom_onchip_offset(struct bcma_bus *bus) in bcma_sprom_onchip_offset()
577 int bcma_sprom_get(struct bcma_bus *bus) in bcma_sprom_get()
Dhost_soc.c170 struct bcma_bus *bus = &soc->bus; in bcma_host_soc_register()
191 struct bcma_bus *bus = &soc->bus; in bcma_host_soc_init()
207 struct bcma_bus *bus; in bcma_host_soc_probe()
245 struct bcma_bus *bus = platform_get_drvdata(pdev); in bcma_host_soc_remove()
Ddriver_chipcommon_b.c14 static bool bcma_wait_reg(struct bcma_bus *bus, void __iomem *addr, u32 mask, in bcma_wait_reg()
35 struct bcma_bus *bus = ccb->core->bus; in bcma_chipco_b_mii_write()
Ddriver_pcie2.c161 struct bcma_bus *bus = pcie2->core->bus; in bcma_core_pcie2_init()
194 struct bcma_bus *bus = pcie2->core->bus; in bcma_core_pcie2_up()
Ddriver_chipcommon_nflash.c30 struct bcma_bus *bus = cc->core->bus; in bcma_nflash_init()
Ddriver_pci_host.c30 struct bcma_bus *bus = pc->core->bus; in bcma_core_pci_is_in_hostmode()
342 struct bcma_bus *bus = pc->core->bus; in bcma_core_pci_enable_crs()
389 struct bcma_bus *bus = pc->core->bus; in bcma_core_pci_hostmode_init()
Ddriver_chipcommon_sflash.c91 struct bcma_bus *bus = cc->core->bus; in bcma_sflash_init()
Ddriver_gpio.c174 struct bcma_bus *bus = cc->core->bus; in bcma_gpio_init()
Ddriver_pci.c259 void bcma_core_pci_power_save(struct bcma_bus *bus, bool up) in bcma_core_pci_power_save()
/linux-5.19.10/include/linux/bcma/
Dbcma.h19 struct bcma_bus;
268 struct bcma_bus *bus;
331 int (*sprom_callback)(struct bcma_bus *bus,
334 struct bcma_bus { struct
444 extern struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
446 static inline struct bcma_device *bcma_find_core(struct bcma_bus *bus, in bcma_find_core()
453 extern void bcma_host_pci_up(struct bcma_bus *bus);
454 extern void bcma_host_pci_down(struct bcma_bus *bus);
455 extern int bcma_host_pci_irq_ctl(struct bcma_bus *bus,
458 static inline void bcma_host_pci_up(struct bcma_bus *bus) in bcma_host_pci_up()
[all …]
Dbcma_soc.h8 struct bcma_bus bus;
15 int bcma_bus_register(struct bcma_bus *bus);
Dbcma_driver_pci.h209 struct bcma_bus;
243 extern void bcma_core_pci_power_save(struct bcma_bus *bus, bool up);
245 static inline void bcma_core_pci_power_save(struct bcma_bus *bus, bool up) in bcma_core_pci_power_save()
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.h159 struct bcma_bus *icbus; /* handle to soc interconnect bus */
178 struct si_pub *ai_attach(struct bcma_bus *pbus);
Daiutils.c470 struct bcma_bus *pbus) in ai_doattach()
510 ai_attach(struct bcma_bus *pbus) in ai_attach()
Ddebug.c70 struct bcma_bus *bus = core->bus; in brcms_debugfs_hardware_read()
/linux-5.19.10/drivers/firmware/broadcom/
Dbcm47xx_sprom.c649 static int bcm47xx_get_sprom_bcma(struct bcma_bus *bus, struct ssb_sprom *out) in bcm47xx_get_sprom_bcma()