Lines Matching refs:ssb_bus
15 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()
47 static inline int ssb_pci_init(struct ssb_bus *bus) in ssb_pci_init()
56 extern int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus,
58 extern int ssb_pcmcia_switch_segment(struct ssb_bus *bus,
60 extern int ssb_pcmcia_get_invariants(struct ssb_bus *bus,
62 extern int ssb_pcmcia_hardware_setup(struct ssb_bus *bus);
63 extern void ssb_pcmcia_exit(struct ssb_bus *bus);
64 extern int ssb_pcmcia_init(struct ssb_bus *bus);
69 static inline int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus, in ssb_pcmcia_switch_coreidx()
74 static inline int ssb_pcmcia_switch_segment(struct ssb_bus *bus, in ssb_pcmcia_switch_segment()
79 static inline int ssb_pcmcia_hardware_setup(struct ssb_bus *bus) in ssb_pcmcia_hardware_setup()
83 static inline void ssb_pcmcia_exit(struct ssb_bus *bus) in ssb_pcmcia_exit()
86 static inline int ssb_pcmcia_init(struct ssb_bus *bus) in ssb_pcmcia_init()
101 extern int ssb_sdio_get_invariants(struct ssb_bus *bus,
104 extern u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset);
105 extern int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx);
106 extern void ssb_sdio_exit(struct ssb_bus *bus);
107 extern int ssb_sdio_init(struct ssb_bus *bus);
111 static inline u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) in ssb_sdio_scan_read32()
115 static inline int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) in ssb_sdio_scan_switch_coreidx()
119 static inline void ssb_sdio_exit(struct ssb_bus *bus) in ssb_sdio_exit()
122 static inline int ssb_sdio_init(struct ssb_bus *bus) in ssb_sdio_init()
135 extern int ssb_host_soc_get_invariants(struct ssb_bus *bus,
141 extern int ssb_bus_scan(struct ssb_bus *bus,
143 extern void ssb_iounmap(struct ssb_bus *ssb);
148 ssize_t ssb_attr_sprom_show(struct ssb_bus *bus, char *buf,
149 int (*sprom_read)(struct ssb_bus *bus, u16 *sprom));
151 ssize_t ssb_attr_sprom_store(struct ssb_bus *bus,
154 int (*sprom_write)(struct ssb_bus *bus, const u16 *sprom));
155 extern int ssb_fill_sprom_with_fallback(struct ssb_bus *bus,
161 extern struct ssb_bus *ssb_pci_dev_to_bus(struct pci_dev *pdev);
163 int (*func)(struct ssb_bus *bus, unsigned long data));
164 extern struct ssb_bus *ssb_pcmcia_dev_to_bus(struct pcmcia_device *pdev);
168 struct ssb_bus *bus;
172 extern int ssb_devices_freeze(struct ssb_bus *bus, struct ssb_freeze_context *ctx);
236 extern int ssb_watchdog_register(struct ssb_bus *bus);
238 static inline int ssb_watchdog_register(struct ssb_bus *bus) in ssb_watchdog_register()
253 extern int ssb_gpio_init(struct ssb_bus *bus);
254 extern int ssb_gpio_unregister(struct ssb_bus *bus);
256 static inline int ssb_gpio_init(struct ssb_bus *bus) in ssb_gpio_init()
260 static inline int ssb_gpio_unregister(struct ssb_bus *bus) in ssb_gpio_unregister()