Home
last modified time | relevance | path

Searched refs:ssb_bus (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/drivers/ssb/
H A Dssb_private.h15 extern int ssb_pci_switch_core(struct ssb_bus *bus,
23 extern void ssb_pci_exit(struct ssb_bus *bus);
24 extern int ssb_pci_init(struct ssb_bus *bus);
63 extern void ssb_pcmcia_exit(struct ssb_bus *bus);
64 extern int ssb_pcmcia_init(struct ssb_bus *bus);
106 extern void ssb_sdio_exit(struct ssb_bus *bus);
107 extern int ssb_sdio_init(struct ssb_bus *bus);
141 extern int ssb_bus_scan(struct ssb_bus *bus,
143 extern void ssb_iounmap(struct ssb_bus *ssb);
168 struct ssb_bus *bus;
[all …]
H A Ddriver_gpio.c28 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_to_irq()
43 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_get_value()
51 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_set_value()
59 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_direction_input()
68 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_direction_output()
77 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_request()
90 struct ssb_bus *bus = gpiochip_get_data(chip); in ssb_gpio_chipco_free()
123 struct ssb_bus *bus = dev_id; in ssb_gpio_irq_chipco_handler()
322 struct ssb_bus *bus = dev_id; in ssb_gpio_irq_extif_handler()
461 int ssb_gpio_init(struct ssb_bus *bus) in ssb_gpio_init()
[all …]
H A Dpcmcia.c199 struct ssb_bus *bus = dev->bus; in select_core_and_segment()
225 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read8()
241 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read16()
257 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read32()
277 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_block_read()
333 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_write8()
346 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_write16()
359 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_write32()
376 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_block_write()
732 struct ssb_bus *bus; in ssb_sprom_show()
[all …]
H A Dsprom.c20 static int(*get_fallback_sprom)(struct ssb_bus *dev, struct ssb_sprom *out);
67 ssize_t ssb_attr_sprom_show(struct ssb_bus *bus, char *buf, in ssb_attr_sprom_show()
68 int (*sprom_read)(struct ssb_bus *bus, u16 *sprom)) in ssb_attr_sprom_show()
99 ssize_t ssb_attr_sprom_store(struct ssb_bus *bus, in ssb_attr_sprom_store()
102 int (*sprom_write)(struct ssb_bus *bus, const u16 *sprom)) in ssb_attr_sprom_store()
171 int ssb_arch_register_fallback_sprom(int (*sprom_callback)(struct ssb_bus *bus, in ssb_arch_register_fallback_sprom()
181 int ssb_fill_sprom_with_fallback(struct ssb_bus *bus, struct ssb_sprom *out) in ssb_fill_sprom_with_fallback()
190 bool ssb_is_sprom_available(struct ssb_bus *bus) in ssb_is_sprom_available()
H A Dhost_soc.c18 struct ssb_bus *bus = dev->bus; in ssb_host_soc_read8()
26 struct ssb_bus *bus = dev->bus; in ssb_host_soc_read16()
34 struct ssb_bus *bus = dev->bus; in ssb_host_soc_read32()
44 struct ssb_bus *bus = dev->bus; in ssb_host_soc_block_read()
91 struct ssb_bus *bus = dev->bus; in ssb_host_soc_write8()
99 struct ssb_bus *bus = dev->bus; in ssb_host_soc_write16()
107 struct ssb_bus *bus = dev->bus; in ssb_host_soc_write32()
117 struct ssb_bus *bus = dev->bus; in ssb_host_soc_block_write()
176 int ssb_host_soc_get_invariants(struct ssb_bus *bus, in ssb_host_soc_get_invariants()
H A Dembedded.c23 int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks) in ssb_watchdog_timer_set()
37 int ssb_watchdog_register(struct ssb_bus *bus) in ssb_watchdog_register()
69 u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask) in ssb_gpio_in()
87 u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_out()
105 u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_outen()
123 u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_control()
137 u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_intmask()
155 u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value) in ssb_gpio_polarity()
174 static int gige_pci_init_callback(struct ssb_bus *bus, unsigned long data) in gige_pci_init_callback()
216 static int gige_map_irq_callback(struct ssb_bus *bus, unsigned long data) in gige_map_irq_callback()
H A Dsdio.c231 struct ssb_bus *bus = dev->bus; in ssb_sdio_read8()
253 struct ssb_bus *bus = dev->bus; in ssb_sdio_read16()
275 struct ssb_bus *bus = dev->bus; in ssb_sdio_read32()
301 struct ssb_bus *bus = dev->bus; in ssb_sdio_block_read()
345 struct ssb_bus *bus = dev->bus; in ssb_sdio_write8()
364 struct ssb_bus *bus = dev->bus; in ssb_sdio_write16()
383 struct ssb_bus *bus = dev->bus; in ssb_sdio_write32()
408 struct ssb_bus *bus = dev->bus; in ssb_sdio_block_write()
471 int ssb_sdio_get_invariants(struct ssb_bus *bus, in ssb_sdio_get_invariants()
590 void ssb_sdio_exit(struct ssb_bus *bus) in ssb_sdio_exit()
[all …]
H A Dmain.c60 struct ssb_bus *bus; in ssb_pci_dev_to_bus()
79 struct ssb_bus *bus; in ssb_pcmcia_dev_to_bus()
98 struct ssb_bus *bus; in ssb_for_each_bus_call()
161 int ssb_bus_resume(struct ssb_bus *bus) in ssb_bus_resume()
188 int ssb_bus_suspend(struct ssb_bus *bus) in ssb_bus_suspend()
243 struct ssb_bus *bus = ctx->bus; in ssb_devices_thaw()
432 void ssb_bus_unregister(struct ssb_bus *bus) in ssb_bus_unregister()
561 struct ssb_bus *bus, *n; in ssb_attach_queued_buses()
620 ssb_bus_register(struct ssb_bus *bus, in ssb_bus_register()
809 struct ssb_bus *bus = dev->bus; in ssb_set_devtypedata()
[all …]
H A Ddriver_mipscore.c85 struct ssb_bus *bus = rdev->bus; in find_device()
103 struct ssb_bus *bus = dev->bus; in ssb_mips_irq()
127 static void clear_irq(struct ssb_bus *bus, unsigned int irq) in clear_irq()
144 struct ssb_bus *bus = dev->bus; in set_irq()
192 static void dump_irq(struct ssb_bus *bus) in dump_irq()
204 struct ssb_bus *bus = mcore->dev->bus; in ssb_mips_serial_init()
216 struct ssb_bus *bus = mcore->dev->bus; in ssb_mips_flash_detect()
267 struct ssb_bus *bus = mcore->dev->bus; in ssb_cpu_clock()
295 struct ssb_bus *bus; in ssb_mipscore_init()
H A Dbridge_pcmcia_80211.c30 struct ssb_bus *ssb; in ssb_host_pcmcia_probe()
79 struct ssb_bus *ssb = dev->priv; in ssb_host_pcmcia_remove()
90 struct ssb_bus *ssb = dev->priv; in ssb_host_pcmcia_suspend()
97 struct ssb_bus *ssb = dev->priv; in ssb_host_pcmcia_resume()
H A Dpcihost_wrapper.c25 struct ssb_bus *ssb = pci_get_drvdata(dev); in ssb_pcihost_suspend()
46 struct ssb_bus *ssb = pci_get_drvdata(dev); in ssb_pcihost_resume()
70 struct ssb_bus *ssb; in ssb_pcihost_probe()
111 struct ssb_bus *ssb = pci_get_drvdata(dev); in ssb_pcihost_remove()
H A Dpci.c963 struct ssb_bus *bus = dev->bus; in ssb_pci_read8()
976 struct ssb_bus *bus = dev->bus; in ssb_pci_read16()
989 struct ssb_bus *bus = dev->bus; in ssb_pci_read32()
1004 struct ssb_bus *bus = dev->bus; in ssb_pci_block_read()
1037 struct ssb_bus *bus = dev->bus; in ssb_pci_write8()
1050 struct ssb_bus *bus = dev->bus; in ssb_pci_write16()
1063 struct ssb_bus *bus = dev->bus; in ssb_pci_write32()
1078 struct ssb_bus *bus = dev->bus; in ssb_pci_block_write()
1124 struct ssb_bus *bus; in ssb_sprom_show()
1138 struct ssb_bus *bus; in ssb_sprom_store()
[all …]
H A Dscan.c160 static u32 scan_read32(struct ssb_bus *bus, u8 current_coreidx, in scan_read32()
187 static int scan_switchcore(struct ssb_bus *bus, u8 coreidx) in scan_switchcore()
202 void ssb_iounmap(struct ssb_bus *bus) in ssb_iounmap()
223 static void __iomem *ssb_ioremap(struct ssb_bus *bus, in ssb_ioremap()
251 static int we_support_multiple_80211_cores(struct ssb_bus *bus) in we_support_multiple_80211_cores()
271 int ssb_bus_scan(struct ssb_bus *bus, in ssb_bus_scan()
H A Ddriver_chipcommon_pmu.c93 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu0_pllinit_r0()
224 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu1_pllinit_r0()
319 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu_pll_init()
425 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu_resources_init()
543 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu_set_ldo_voltage()
592 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu_set_ldo_paref()
633 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu_get_alp_clock()
647 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu_get_cpu_clock()
662 struct ssb_bus *bus = cc->dev->bus; in ssb_pmu_get_controlclock()
H A Ddriver_chipcommon.c46 struct ssb_bus *bus; in ssb_chipco_set_clockmode()
121 struct ssb_bus *bus = cc->dev->bus; in chipco_pctl_get_slowclksrc()
213 struct ssb_bus *bus = cc->dev->bus; in chipco_powercontrol_init()
244 struct ssb_bus *bus = cc->dev->bus; in pmu_fast_powerup_delay()
261 struct ssb_bus *bus = cc->dev->bus; in calc_fast_powerup_delay()
335 struct ssb_bus *bus = cc->dev->bus; in ssb_chipco_watchdog_ticks_per_ms()
438 struct ssb_bus *bus = dev->bus; in ssb_chipco_timing_init()
604 struct ssb_bus *bus = cc->dev->bus; in ssb_chipco_serial_init()
H A Ddriver_pcicore.c399 struct ssb_bus *bus = pc->dev->bus; in pcicore_is_in_hostmode()
462 struct ssb_bus *bus = pdev->bus; in ssb_pcicore_pci_setup_workarounds()
536 struct ssb_bus *bus = pdev->bus; in ssb_pcicore_init_clientmode()
686 struct ssb_bus *bus; in ssb_pcicore_dev_irqvecs_enable()
/openbmc/linux/include/linux/ssb/
H A Dssb_embedded.h9 extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks);
12 u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask);
13 u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value);
14 u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value);
15 u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value);
16 u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value);
17 u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value);
H A Dssb.h19 struct ssb_bus;
275 struct ssb_bus *bus;
416 struct ssb_bus { struct
530 extern int ssb_bus_pcibus_register(struct ssb_bus *bus,
545 extern void ssb_bus_unregister(struct ssb_bus *bus);
553 int (*sprom_callback)(struct ssb_bus *bus,
558 extern int ssb_bus_suspend(struct ssb_bus *bus);
561 extern int ssb_bus_resume(struct ssb_bus *bus);
563 extern u32 ssb_clockspeed(struct ssb_bus *bus);
662 extern int ssb_bus_may_powerdown(struct ssb_bus *bus);
[all …]
/openbmc/linux/arch/mips/include/asm/mach-bcm47xx/
H A Dbcm47xx.h26 struct ssb_bus ssb;
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dsdio.h13 struct ssb_bus ssb;
H A Dsdio.c65 struct ssb_bus *bus = dev->dev->sdev->bus; in b43_sdio_request_irq()
81 struct ssb_bus *bus = dev->dev->sdev->bus; in b43_sdio_free_irq()
H A Dphy_lp.c199 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_baseband_rev0_1_init()
504 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_2062_init()
1274 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_rev2plus_rc_calib()
2390 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_b2062_tune()
2480 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_b2063_tune()
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Drfkill.c43 struct ssb_bus *bus = dev->dev->bus; in b43legacy_rfkill_poll()
H A Dleds.c178 struct ssb_bus *bus = dev->dev->bus; in b43legacy_leds_init()
/openbmc/linux/arch/mips/bcm63xx/boards/
H A Dboard_bcm963xx.c705 int bcm63xx_get_fallback_sprom(struct ssb_bus *bus, struct ssb_sprom *out) in bcm63xx_get_fallback_sprom()

12