Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/ssb/
Dssb_private.h47 extern int ssb_pci_switch_core(struct ssb_bus *bus,
49 extern int ssb_pci_switch_coreidx(struct ssb_bus *bus,
51 extern int ssb_pci_xtal(struct ssb_bus *bus, u32 what,
53 extern int ssb_pci_get_invariants(struct ssb_bus *bus,
55 extern void ssb_pci_exit(struct ssb_bus *bus);
56 extern int ssb_pci_init(struct ssb_bus *bus);
61 static inline int ssb_pci_switch_core(struct ssb_bus *bus, in ssb_pci_switch_core()
66 static inline int ssb_pci_switch_coreidx(struct ssb_bus *bus, in ssb_pci_switch_coreidx()
71 static inline int ssb_pci_xtal(struct ssb_bus *bus, u32 what, in ssb_pci_xtal()
76 static inline void ssb_pci_exit(struct ssb_bus *bus) in ssb_pci_exit()
[all …]
Ddriver_gpio.c25 static struct ssb_bus *ssb_gpio_get_bus(struct gpio_chip *chip) in ssb_gpio_get_bus()
27 return container_of(chip, struct ssb_bus, gpio); in ssb_gpio_get_bus()
33 struct ssb_bus *bus = ssb_gpio_get_bus(chip); in ssb_gpio_to_irq()
48 struct ssb_bus *bus = ssb_gpio_get_bus(chip); in ssb_gpio_chipco_get_value()
56 struct ssb_bus *bus = ssb_gpio_get_bus(chip); in ssb_gpio_chipco_set_value()
64 struct ssb_bus *bus = ssb_gpio_get_bus(chip); in ssb_gpio_chipco_direction_input()
73 struct ssb_bus *bus = ssb_gpio_get_bus(chip); in ssb_gpio_chipco_direction_output()
82 struct ssb_bus *bus = ssb_gpio_get_bus(chip); in ssb_gpio_chipco_request()
95 struct ssb_bus *bus = ssb_gpio_get_bus(chip); in ssb_gpio_chipco_free()
104 struct ssb_bus *bus = irq_data_get_irq_chip_data(d); in ssb_gpio_irq_chipco_mask()
[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 int ssb_pcmcia_switch_core(struct ssb_bus *bus, in ssb_pcmcia_switch_core()
168 int ssb_pcmcia_switch_segment(struct ssb_bus *bus, u8 seg) in ssb_pcmcia_switch_segment()
201 struct ssb_bus *bus = dev->bus; in select_core_and_segment()
227 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read8()
243 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read16()
259 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read32()
279 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()
98 ssize_t ssb_attr_sprom_store(struct ssb_bus *bus, in ssb_attr_sprom_store()
101 int (*sprom_write)(struct ssb_bus *bus, const u16 *sprom)) in ssb_attr_sprom_store()
169 int ssb_arch_register_fallback_sprom(int (*sprom_callback)(struct ssb_bus *bus, in ssb_arch_register_fallback_sprom()
179 int ssb_fill_sprom_with_fallback(struct ssb_bus *bus, struct ssb_sprom *out) in ssb_fill_sprom_with_fallback()
188 bool ssb_is_sprom_available(struct ssb_bus *bus) in ssb_is_sprom_available()
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 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.c56 struct ssb_bus *ssb_pci_dev_to_bus(struct pci_dev *pdev) in ssb_pci_dev_to_bus()
58 struct ssb_bus *bus; in ssb_pci_dev_to_bus()
75 struct ssb_bus *ssb_pcmcia_dev_to_bus(struct pcmcia_device *pdev) in ssb_pcmcia_dev_to_bus()
77 struct ssb_bus *bus; in ssb_pcmcia_dev_to_bus()
94 int (*func)(struct ssb_bus *bus, unsigned long data)) in ssb_for_each_bus_call()
96 struct ssb_bus *bus; in ssb_for_each_bus_call()
159 int ssb_bus_resume(struct ssb_bus *bus) in ssb_bus_resume()
185 int ssb_bus_suspend(struct ssb_bus *bus) in ssb_bus_suspend()
204 int ssb_devices_freeze(struct ssb_bus *bus, struct ssb_freeze_context *ctx) in ssb_devices_freeze()
240 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()
191 static void dump_irq(struct ssb_bus *bus) in dump_irq()
203 struct ssb_bus *bus = mcore->dev->bus; in ssb_mips_serial_init()
215 struct ssb_bus *bus = mcore->dev->bus; in ssb_mips_flash_detect()
266 struct ssb_bus *bus = mcore->dev->bus; in ssb_cpu_clock()
294 struct ssb_bus *bus; in ssb_mipscore_init()
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()
115 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()
85 int ssb_pci_xtal(struct ssb_bus *bus, u32 what, int turn_on) in ssb_pci_xtal()
272 static int sprom_do_read(struct ssb_bus *bus, u16 *sprom) in sprom_do_read()
282 static int sprom_do_write(struct ssb_bus *bus, const u16 *sprom) in sprom_do_write()
813 static int sprom_extract(struct ssb_bus *bus, struct ssb_sprom *out, in sprom_extract()
859 static int ssb_pci_sprom_get(struct ssb_bus *bus, in ssb_pci_sprom_get()
928 static void ssb_pci_get_boardinfo(struct ssb_bus *bus, in ssb_pci_get_boardinfo()
935 int ssb_pci_get_invariants(struct ssb_bus *bus, in ssb_pci_get_invariants()
950 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.c394 struct ssb_bus *bus = pc->dev->bus; in pcicore_is_in_hostmode()
456 struct ssb_bus *bus = pdev->bus; in ssb_pcicore_pci_setup_workarounds()
530 struct ssb_bus *bus = pdev->bus; in ssb_pcicore_init_clientmode()
680 struct ssb_bus *bus; in ssb_pcicore_dev_irqvecs_enable()
/linux-4.1.27/include/linux/ssb/
Dssb_embedded.h8 extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks);
11 u32 ssb_gpio_in(struct ssb_bus *bus, u32 mask);
12 u32 ssb_gpio_out(struct ssb_bus *bus, u32 mask, u32 value);
13 u32 ssb_gpio_outen(struct ssb_bus *bus, u32 mask, u32 value);
14 u32 ssb_gpio_control(struct ssb_bus *bus, u32 mask, u32 value);
15 u32 ssb_gpio_intmask(struct ssb_bus *bus, u32 mask, u32 value);
16 u32 ssb_gpio_polarity(struct ssb_bus *bus, u32 mask, u32 value);
Dssb.h18 struct ssb_bus;
268 struct ssb_bus *bus;
409 struct ssb_bus { struct
518 typedef int (*ssb_invariants_func_t)(struct ssb_bus *bus, argument
525 extern int ssb_bus_ssbbus_register(struct ssb_bus *bus,
529 extern int ssb_bus_pcibus_register(struct ssb_bus *bus,
533 extern int ssb_bus_pcmciabus_register(struct ssb_bus *bus,
538 extern int ssb_bus_sdiobus_register(struct ssb_bus *bus,
544 extern void ssb_bus_unregister(struct ssb_bus *bus);
547 extern bool ssb_is_sprom_available(struct ssb_bus *bus);
[all …]
/linux-4.1.27/drivers/net/wireless/b43/
Dpcmcia.c47 struct ssb_bus *ssb = dev->priv; in b43_pcmcia_suspend()
54 struct ssb_bus *ssb = dev->priv; in b43_pcmcia_resume()
65 struct ssb_bus *ssb; in b43_pcmcia_probe()
115 struct ssb_bus *ssb = dev->priv; in b43_pcmcia_remove()
Dsdio.c69 struct ssb_bus *bus = dev->dev->sdev->bus; in b43_sdio_request_irq()
85 struct ssb_bus *bus = dev->dev->sdev->bus; in b43_sdio_free_irq()
Dsdio.h12 struct ssb_bus ssb;
Dphy_lp.c211 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_baseband_rev0_1_init()
516 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_2062_init()
1286 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_rev2plus_rc_calib()
2413 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_b2062_tune()
2503 struct ssb_bus *bus = dev->dev->sdev->bus; in lpphy_b2063_tune()
Dmain.c2867 struct ssb_bus *bus = dev->dev->sdev->bus; in b43_ssb_gpio_dev()
4747 struct ssb_bus *bus; in b43_imcfglo_timeouts_workaround()
5567 static void b43_sprom_fixup(struct ssb_bus *bus) in b43_sprom_fixup()
/linux-4.1.27/arch/mips/include/asm/mach-bcm47xx/
Dbcm47xx.h38 struct ssb_bus ssb;
/linux-4.1.27/drivers/net/wireless/b43legacy/
Drfkill.c56 struct ssb_bus *bus = dev->dev->bus; in b43legacy_rfkill_poll()
Dleds.c191 struct ssb_bus *bus = dev->dev->bus; in b43legacy_leds_init()
Dmain.c1908 struct ssb_bus *bus = dev->dev->bus; in b43legacy_gpio_init()
1956 struct ssb_bus *bus = dev->dev->bus; in b43legacy_gpio_cleanup()
3288 struct ssb_bus *bus = dev->dev->bus; in b43legacy_wireless_core_init()
3661 struct ssb_bus *bus = dev->dev->bus; in b43legacy_wireless_core_attach()
3804 static void b43legacy_sprom_fixup(struct ssb_bus *bus) in b43legacy_sprom_fixup()
/linux-4.1.27/arch/mips/bcm47xx/
Dsetup.c104 static int bcm47xx_get_invariants(struct ssb_bus *bus, in bcm47xx_get_invariants()
Dsprom.c648 static int bcm47xx_get_sprom_ssb(struct ssb_bus *bus, struct ssb_sprom *out) in bcm47xx_get_sprom_ssb()
/linux-4.1.27/arch/mips/bcm63xx/boards/
Dboard_bcm963xx.c737 int bcm63xx_get_fallback_sprom(struct ssb_bus *bus, struct ssb_sprom *out) in bcm63xx_get_fallback_sprom()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Db44.c1797 struct ssb_bus *bus = bp->sdev->bus; in b44_get_drvinfo()