Home
last modified time | relevance | path

Searched refs:ssb_device (Results 1 – 25 of 27) sorted by relevance

12

/linux/include/linux/ssb/
H A Dssb.h204 struct ssb_device;
208 u8 (*read8)(struct ssb_device *dev, u16 offset);
209 u16 (*read16)(struct ssb_device *dev, u16 offset);
210 u32 (*read32)(struct ssb_device *dev, u16 offset);
211 void (*write8)(struct ssb_device *dev, u16 offset, u8 value);
212 void (*write16)(struct ssb_device *dev, u16 offset, u16 value);
213 void (*write32)(struct ssb_device *dev, u16 offset, u32 value);
215 void (*block_read)(struct ssb_device *dev, void *buffer,
217 void (*block_write)(struct ssb_device *dev, const void *buffer,
265 struct ssb_device *sdev;
[all …]
H A Dssb_driver_mips.h7 struct ssb_device;
37 struct ssb_device *dev;
51 extern unsigned int ssb_mips_irq(struct ssb_device *dev);
64 static inline unsigned int ssb_mips_irq(struct ssb_device *dev) in ssb_mips_irq()
H A Dssb_driver_gige.h39 struct ssb_device *dev;
122 extern int ssb_gige_pcibios_plat_dev_init(struct ssb_device *sdev,
124 extern int ssb_gige_map_irq(struct ssb_device *sdev,
142 static inline int ssb_gige_pcibios_plat_dev_init(struct ssb_device *sdev, in ssb_gige_pcibios_plat_dev_init()
147 static inline int ssb_gige_map_irq(struct ssb_device *sdev, in ssb_gige_map_irq()
H A Dssb_driver_pci.h85 struct ssb_device *dev;
95 struct ssb_device *dev);
114 struct ssb_device *dev) in ssb_pcicore_dev_irqvecs_enable()
H A Dssb_driver_chipcommon.h576 struct ssb_device;
588 struct ssb_device *dev;
H A Dssb_driver_extif.h162 struct ssb_device *dev;
/linux/drivers/ssb/
H A Ddriver_mipscore.c73 static inline u32 ssb_irqflag(struct ssb_device *dev) in ssb_irqflag()
83 static struct ssb_device *find_device(struct ssb_device *rdev, int irqflag) in find_device()
88 struct ssb_device *dev; in find_device()
101 unsigned int ssb_mips_irq(struct ssb_device *dev) in ssb_mips_irq()
104 struct ssb_device *mdev = bus->mipscore.dev; in ssb_mips_irq()
129 struct ssb_device *dev = bus->mipscore.dev; in clear_irq()
141 static void set_irq(struct ssb_device *dev, unsigned int irq) in set_irq()
145 struct ssb_device *mdev = bus->mipscore.dev; in set_irq()
165 struct ssb_device *olddev = find_device(dev, oldipsflag); in set_irq()
177 static void print_irq(struct ssb_device *dev, unsigned int irq) in print_irq()
[all …]
H A Dhost_soc.c16 static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) in ssb_host_soc_read8()
24 static u16 ssb_host_soc_read16(struct ssb_device *dev, u16 offset) in ssb_host_soc_read16()
32 static u32 ssb_host_soc_read32(struct ssb_device *dev, u16 offset) in ssb_host_soc_read32()
41 static void ssb_host_soc_block_read(struct ssb_device *dev, void *buffer, in ssb_host_soc_block_read()
89 static void ssb_host_soc_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_host_soc_write8()
97 static void ssb_host_soc_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_host_soc_write16()
105 static void ssb_host_soc_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_host_soc_write32()
114 static void ssb_host_soc_block_write(struct ssb_device *dev, const void *buffer, in ssb_host_soc_block_write()
H A Dmain.c114 static struct ssb_device *ssb_device_get(struct ssb_device *dev) in ssb_device_get()
121 static void ssb_device_put(struct ssb_device *dev) in ssb_device_put()
129 struct ssb_device *ssb_dev = dev_to_ssb_dev(dev); in ssb_device_resume()
146 struct ssb_device *ssb_dev = dev_to_ssb_dev(dev); in ssb_device_suspend()
209 struct ssb_device *sdev; in ssb_devices_freeze()
244 struct ssb_device *sdev; in ssb_devices_thaw()
276 struct ssb_device *ssb_dev = dev_to_ssb_dev(dev); in ssb_device_shutdown()
288 struct ssb_device *ssb_dev = dev_to_ssb_dev(dev); in ssb_device_remove()
298 struct ssb_device *ssb_dev = dev_to_ssb_dev(dev); in ssb_device_probe()
328 struct ssb_device *ssb_dev = dev_to_ssb_dev(dev); in ssb_bus_match()
[all …]
H A Dsdio.c203 static int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev) in ssb_sdio_switch_core()
229 static u8 ssb_sdio_read8(struct ssb_device *dev, u16 offset) in ssb_sdio_read8()
251 static u16 ssb_sdio_read16(struct ssb_device *dev, u16 offset) in ssb_sdio_read16()
273 static u32 ssb_sdio_read32(struct ssb_device *dev, u16 offset) in ssb_sdio_read32()
297 static void ssb_sdio_block_read(struct ssb_device *dev, void *buffer, in ssb_sdio_block_read()
343 static void ssb_sdio_write8(struct ssb_device *dev, u16 offset, u8 val) in ssb_sdio_write8()
362 static void ssb_sdio_write16(struct ssb_device *dev, u16 offset, u16 val) in ssb_sdio_write16()
381 static void ssb_sdio_write32(struct ssb_device *dev, u16 offset, u32 val) in ssb_sdio_write32()
404 static void ssb_sdio_block_write(struct ssb_device *dev, const void *buffer, in ssb_sdio_block_write()
H A Dpcmcia.c150 static int ssb_pcmcia_switch_core(struct ssb_bus *bus, struct ssb_device *dev) in ssb_pcmcia_switch_core()
196 static int select_core_and_segment(struct ssb_device *dev, in select_core_and_segment()
223 static u8 ssb_pcmcia_read8(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read8()
239 static u16 ssb_pcmcia_read16(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read16()
255 static u32 ssb_pcmcia_read32(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read32()
274 static void ssb_pcmcia_block_read(struct ssb_device *dev, void *buffer, in ssb_pcmcia_block_read()
331 static void ssb_pcmcia_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pcmcia_write8()
344 static void ssb_pcmcia_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pcmcia_write16()
357 static void ssb_pcmcia_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pcmcia_write32()
373 static void ssb_pcmcia_block_write(struct ssb_device *dev, const void *buffer, in ssb_pcmcia_block_write()
H A Ddriver_gige.c170 static int ssb_gige_probe(struct ssb_device *sdev, in ssb_gige_probe()
250 int ssb_gige_pcibios_plat_dev_init(struct ssb_device *sdev, in ssb_gige_pcibios_plat_dev_init()
275 int ssb_gige_map_irq(struct ssb_device *sdev, in ssb_gige_map_irq()
H A Dpci.c64 struct ssb_device *dev) in ssb_pci_switch_core()
961 static u8 ssb_pci_read8(struct ssb_device *dev, u16 offset) in ssb_pci_read8()
974 static u16 ssb_pci_read16(struct ssb_device *dev, u16 offset) in ssb_pci_read16()
987 static u32 ssb_pci_read32(struct ssb_device *dev, u16 offset) in ssb_pci_read32()
1001 static void ssb_pci_block_read(struct ssb_device *dev, void *buffer, in ssb_pci_block_read()
1035 static void ssb_pci_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pci_write8()
1048 static void ssb_pci_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pci_write16()
1061 static void ssb_pci_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pci_write32()
1075 static void ssb_pci_block_write(struct ssb_device *dev, const void *buffer, in ssb_pci_block_write()
H A Ddriver_pcicore.c461 struct ssb_device *pdev = pc->dev; in ssb_pcicore_pci_setup_workarounds()
535 struct ssb_device *pdev = pc->dev; in ssb_pcicore_init_clientmode()
554 struct ssb_device *dev = pc->dev; in ssb_pcicore_init()
683 struct ssb_device *dev) in ssb_pcicore_dev_irqvecs_enable()
685 struct ssb_device *pdev = pc->dev; in ssb_pcicore_dev_irqvecs_enable()
H A Dssb_private.h16 struct ssb_device *dev);
30 struct ssb_device *dev) in ssb_pci_switch_core()
H A Dembedded.c177 struct ssb_device *dev; in gige_pci_init_callback()
219 struct ssb_device *dev; in gige_map_irq_callback()
H A Ddriver_chipcommon.c45 struct ssb_device *ccdev = cc->dev; in ssb_chipco_set_clockmode()
437 struct ssb_device *dev = cc->dev; in ssb_chipco_timing_init()
H A Dscan.c278 struct ssb_device *dev; in ssb_bus_scan()
/linux/drivers/usb/host/
H A Dssb-hcd.c41 static void ssb_hcd_5354wa(struct ssb_device *dev) in ssb_hcd_5354wa()
55 static void ssb_hcd_usb20wa(struct ssb_device *dev) in ssb_hcd_usb20wa()
82 static u32 ssb_hcd_init_chip(struct ssb_device *dev) in ssb_hcd_init_chip()
103 static struct platform_device *ssb_hcd_create_pdev(struct ssb_device *dev, bool ohci, u32 addr, u32… in ssb_hcd_create_pdev()
149 static int ssb_hcd_probe(struct ssb_device *dev, in ssb_hcd_probe()
204 static void ssb_hcd_remove(struct ssb_device *dev) in ssb_hcd_remove()
218 static void ssb_hcd_shutdown(struct ssb_device *dev) in ssb_hcd_shutdown()
225 static int ssb_hcd_suspend(struct ssb_device *dev, pm_message_t state) in ssb_hcd_suspend()
232 static int ssb_hcd_resume(struct ssb_device *dev) in ssb_hcd_resume()
/linux/drivers/net/wireless/broadcom/b43/
H A Dbus.h18 struct ssb_device *sdev;
91 struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev);
H A Dbus.c178 struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev) in b43_bus_dev_ssb_init()
/linux/drivers/net/ethernet/broadcom/
H A Db44.h356 struct ssb_device;
399 struct ssb_device *sdev;
H A Db44.c146 static inline void b44_sync_dma_desc_for_device(struct ssb_device *sdev, in b44_sync_dma_desc_for_device()
155 static inline void b44_sync_dma_desc_for_cpu(struct ssb_device *sdev, in b44_sync_dma_desc_for_cpu()
1257 struct ssb_device *sdev = bp->sdev; in b44_chip_reset()
2139 struct ssb_device *sdev = bp->sdev; in b44_get_invariants()
2234 struct ssb_device *sdev = bp->sdev; in b44_register_phy_one()
2322 static int b44_init_one(struct ssb_device *sdev, in b44_init_one()
2452 static void b44_remove_one(struct ssb_device *sdev) in b44_remove_one()
2468 static int b44_suspend(struct ssb_device *sdev, pm_message_t state) in b44_suspend()
2497 static int b44_resume(struct ssb_device *sdev) in b44_resume()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Db43legacy.h679 struct ssb_device *dev;
788 struct ssb_device *ssb_dev = dev_to_ssb_dev(dev); in dev_to_b43legacy_wldev()
H A Dmain.c1557 static int b43legacy_one_core_attach(struct ssb_device *dev,
1559 static void b43legacy_one_core_detach(struct ssb_device *dev);
1879 struct ssb_device *gpiodev, *pcidev = NULL; in b43legacy_gpio_init()
1927 struct ssb_device *gpiodev, *pcidev = NULL; in b43legacy_gpio_cleanup()
2564 struct ssb_device *sdev = dev->dev; in b43legacy_put_phy_into_reset()
3718 static void b43legacy_one_core_detach(struct ssb_device *dev) in b43legacy_one_core_detach()
3736 static int b43legacy_one_core_attach(struct ssb_device *dev, in b43legacy_one_core_attach()
3780 static void b43legacy_wireless_exit(struct ssb_device *dev, in b43legacy_wireless_exit()
3789 static int b43legacy_wireless_init(struct ssb_device *dev) in b43legacy_wireless_init()
3849 static int b43legacy_probe(struct ssb_device *dev, in b43legacy_probe()
[all …]

12