/linux-4.4.14/drivers/ssb/ |
D | ssb_private.h | 47 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 …]
|
D | driver_gpio.c | 25 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 …]
|
D | pcmcia.c | 71 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() 167 int ssb_pcmcia_switch_segment(struct ssb_bus *bus, u8 seg) in ssb_pcmcia_switch_segment() 200 struct ssb_bus *bus = dev->bus; in select_core_and_segment() 226 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read8() 242 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read16() 258 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_read32() 278 struct ssb_bus *bus = dev->bus; in ssb_pcmcia_block_read() [all …]
|
D | host_soc.c | 17 struct ssb_bus *bus = dev->bus; in ssb_host_soc_read8() 25 struct ssb_bus *bus = dev->bus; in ssb_host_soc_read16() 33 struct ssb_bus *bus = dev->bus; in ssb_host_soc_read32() 43 struct ssb_bus *bus = dev->bus; in ssb_host_soc_block_read() 90 struct ssb_bus *bus = dev->bus; in ssb_host_soc_write8() 98 struct ssb_bus *bus = dev->bus; in ssb_host_soc_write16() 106 struct ssb_bus *bus = dev->bus; in ssb_host_soc_write32() 116 struct ssb_bus *bus = dev->bus; in ssb_host_soc_block_write()
|
D | sprom.c | 20 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()
|
D | embedded.c | 23 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()
|
D | sdio.c | 104 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 …]
|
D | main.c | 56 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 …]
|
D | driver_mipscore.c | 85 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()
|
D | bridge_pcmcia_80211.c | 30 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()
|
D | pcihost_wrapper.c | 25 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()
|
D | pci.c | 32 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 …]
|
D | scan.c | 160 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()
|
D | driver_chipcommon_pmu.c | 93 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()
|
D | driver_chipcommon.c | 46 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()
|
D | driver_pcicore.c | 394 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.4.14/include/linux/ssb/ |
D | ssb_embedded.h | 8 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);
|
D | ssb.h | 18 struct ssb_bus; 274 struct ssb_bus *bus; 415 struct ssb_bus { struct 524 typedef int (*ssb_invariants_func_t)(struct ssb_bus *bus, argument 531 extern int ssb_bus_ssbbus_register(struct ssb_bus *bus, 535 extern int ssb_bus_pcibus_register(struct ssb_bus *bus, 539 extern int ssb_bus_pcmciabus_register(struct ssb_bus *bus, 544 extern int ssb_bus_sdiobus_register(struct ssb_bus *bus, 550 extern void ssb_bus_unregister(struct ssb_bus *bus); 553 extern bool ssb_is_sprom_available(struct ssb_bus *bus); [all …]
|
/linux-4.4.14/arch/mips/include/asm/mach-bcm47xx/ |
D | bcm47xx.h | 38 struct ssb_bus ssb;
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | sdio.c | 69 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()
|
D | sdio.h | 12 struct ssb_bus ssb;
|
D | phy_lp.c | 211 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()
|
D | main.c | 2867 struct ssb_bus *bus = dev->dev->sdev->bus; in b43_ssb_gpio_dev() 4743 struct ssb_bus *bus; in b43_imcfglo_timeouts_workaround() 5563 static void b43_sprom_fixup(struct ssb_bus *bus) in b43_sprom_fixup()
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | rfkill.c | 56 struct ssb_bus *bus = dev->dev->bus; in b43legacy_rfkill_poll()
|
D | leds.c | 191 struct ssb_bus *bus = dev->dev->bus; in b43legacy_leds_init()
|
D | main.c | 1908 struct ssb_bus *bus = dev->dev->bus; in b43legacy_gpio_init() 1956 struct ssb_bus *bus = dev->dev->bus; in b43legacy_gpio_cleanup() 3284 struct ssb_bus *bus = dev->dev->bus; in b43legacy_wireless_core_init() 3657 struct ssb_bus *bus = dev->dev->bus; in b43legacy_wireless_core_attach() 3800 static void b43legacy_sprom_fixup(struct ssb_bus *bus) in b43legacy_sprom_fixup()
|
/linux-4.4.14/arch/mips/bcm47xx/ |
D | setup.c | 104 static int bcm47xx_get_invariants(struct ssb_bus *bus, in bcm47xx_get_invariants()
|
D | sprom.c | 603 static int bcm47xx_get_sprom_ssb(struct ssb_bus *bus, struct ssb_sprom *out) in bcm47xx_get_sprom_ssb()
|
/linux-4.4.14/arch/mips/bcm63xx/boards/ |
D | board_bcm963xx.c | 738 int bcm63xx_get_fallback_sprom(struct ssb_bus *bus, struct ssb_sprom *out) in bcm63xx_get_fallback_sprom()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | b44.c | 1797 struct ssb_bus *bus = bp->sdev->bus; in b44_get_drvinfo()
|