Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/ssb/
Dssb_private.h15 extern int ssb_pci_switch_core(struct ssb_bus *bus,
17 extern int ssb_pci_switch_coreidx(struct ssb_bus *bus,
19 extern int ssb_pci_xtal(struct ssb_bus *bus, u32 what,
21 extern int ssb_pci_get_invariants(struct ssb_bus *bus,
23 extern void ssb_pci_exit(struct ssb_bus *bus);
24 extern int ssb_pci_init(struct ssb_bus *bus);
29 static inline int ssb_pci_switch_core(struct ssb_bus *bus, in ssb_pci_switch_core()
34 static inline int ssb_pci_switch_coreidx(struct ssb_bus *bus, in ssb_pci_switch_coreidx()
39 static inline int ssb_pci_xtal(struct ssb_bus *bus, u32 what, in ssb_pci_xtal()
44 static inline void ssb_pci_exit(struct ssb_bus *bus) in ssb_pci_exit()
[all …]
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()
99 struct ssb_bus *bus = irq_data_get_irq_chip_data(d); in ssb_gpio_irq_chipco_mask()
107 struct ssb_bus *bus = irq_data_get_irq_chip_data(d); in ssb_gpio_irq_chipco_unmask()
123 struct ssb_bus *bus = dev_id; in ssb_gpio_irq_chipco_handler()
[all …]
Dpcmcia.c71 static int ssb_pcmcia_cfg_write(struct ssb_bus *bus, u8 offset, u8 value) in ssb_pcmcia_cfg_write()
83 static int ssb_pcmcia_cfg_read(struct ssb_bus *bus, u8 offset, u8 *value) in ssb_pcmcia_cfg_read()
94 int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus, in ssb_pcmcia_switch_coreidx()
150 static int ssb_pcmcia_switch_core(struct ssb_bus *bus, struct ssb_device *dev) in ssb_pcmcia_switch_core()
166 int ssb_pcmcia_switch_segment(struct ssb_bus *bus, u8 seg) in ssb_pcmcia_switch_segment()
199 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()
[all …]
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()
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()
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()
Dsdio.c104 static inline struct device *ssb_sdio_dev(struct ssb_bus *bus) in ssb_sdio_dev()
110 static int ssb_sdio_writeb(struct ssb_bus *bus, unsigned int addr, u8 val) in ssb_sdio_writeb()
124 static u8 ssb_sdio_readb(struct ssb_bus *bus, unsigned int addr)
140 static int ssb_sdio_set_sbaddr_window(struct ssb_bus *bus, u32 address) in ssb_sdio_set_sbaddr_window()
167 u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) in ssb_sdio_scan_read32()
184 int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) in ssb_sdio_scan_switch_coreidx()
203 static int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev) in ssb_sdio_switch_core()
231 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()
[all …]
Dmain.c58 struct ssb_bus *ssb_pci_dev_to_bus(struct pci_dev *pdev) in ssb_pci_dev_to_bus()
60 struct ssb_bus *bus; in ssb_pci_dev_to_bus()
77 struct ssb_bus *ssb_pcmcia_dev_to_bus(struct pcmcia_device *pdev) in ssb_pcmcia_dev_to_bus()
79 struct ssb_bus *bus; in ssb_pcmcia_dev_to_bus()
96 int (*func)(struct ssb_bus *bus, unsigned long data)) in ssb_for_each_bus_call()
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()
207 int ssb_devices_freeze(struct ssb_bus *bus, struct ssb_freeze_context *ctx) in ssb_devices_freeze()
243 struct ssb_bus *bus = ctx->bus; in ssb_devices_thaw()
[all …]
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()
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()
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()
Dpci.c32 int ssb_pci_switch_coreidx(struct ssb_bus *bus, u8 coreidx) in ssb_pci_switch_coreidx()
63 int ssb_pci_switch_core(struct ssb_bus *bus, in ssb_pci_switch_core()
84 int ssb_pci_xtal(struct ssb_bus *bus, u32 what, int turn_on) in ssb_pci_xtal()
271 static int sprom_do_read(struct ssb_bus *bus, u16 *sprom) in sprom_do_read()
281 static int sprom_do_write(struct ssb_bus *bus, const u16 *sprom) in sprom_do_write()
811 static int sprom_extract(struct ssb_bus *bus, struct ssb_sprom *out, in sprom_extract()
857 static int ssb_pci_sprom_get(struct ssb_bus *bus, in ssb_pci_sprom_get()
926 static void ssb_pci_get_boardinfo(struct ssb_bus *bus, in ssb_pci_get_boardinfo()
933 int ssb_pci_get_invariants(struct ssb_bus *bus, in ssb_pci_get_invariants()
947 static int ssb_pci_assert_buspower(struct ssb_bus *bus) in ssb_pci_assert_buspower()
[all …]
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()
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()
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()
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()
/linux-5.19.10/include/linux/ssb/
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);
Dssb.h19 struct ssb_bus;
275 struct ssb_bus *bus;
416 struct ssb_bus { struct
523 typedef int (*ssb_invariants_func_t)(struct ssb_bus *bus, argument
527 extern int ssb_bus_host_soc_register(struct ssb_bus *bus,
530 extern int ssb_bus_pcibus_register(struct ssb_bus *bus,
534 extern int ssb_bus_pcmciabus_register(struct ssb_bus *bus,
539 extern int ssb_bus_sdiobus_register(struct ssb_bus *bus,
545 extern void ssb_bus_unregister(struct ssb_bus *bus);
548 extern bool ssb_is_sprom_available(struct ssb_bus *bus);
[all …]
/linux-5.19.10/arch/mips/include/asm/mach-bcm47xx/
Dbcm47xx.h26 struct ssb_bus ssb;
/linux-5.19.10/drivers/net/wireless/broadcom/b43/
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()
Dsdio.h13 struct ssb_bus ssb;
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()
/linux-5.19.10/drivers/net/wireless/broadcom/b43legacy/
Drfkill.c43 struct ssb_bus *bus = dev->dev->bus; in b43legacy_rfkill_poll()
Dleds.c178 struct ssb_bus *bus = dev->dev->bus; in b43legacy_leds_init()
/linux-5.19.10/arch/mips/bcm63xx/boards/
Dboard_bcm963xx.c705 int bcm63xx_get_fallback_sprom(struct ssb_bus *bus, struct ssb_sprom *out) in bcm63xx_get_fallback_sprom()

12