• Home
  • Raw
  • Download

Lines Matching refs:bus

142 	struct ssb_bus *bus;  member
320 typedef int (*ssb_invariants_func_t)(struct ssb_bus *bus,
327 extern int ssb_bus_ssbbus_register(struct ssb_bus *bus,
331 extern int ssb_bus_pcibus_register(struct ssb_bus *bus,
335 extern int ssb_bus_pcmciabus_register(struct ssb_bus *bus,
340 extern void ssb_bus_unregister(struct ssb_bus *bus);
344 extern int ssb_bus_suspend(struct ssb_bus *bus);
347 extern int ssb_bus_resume(struct ssb_bus *bus);
349 extern u32 ssb_clockspeed(struct ssb_bus *bus);
422 "unsupported bustype %d\n", dev->bus->bustype); in __ssb_dma_not_implemented()
428 switch (dev->bus->bustype) { in ssb_dma_mapping_error()
431 return pci_dma_mapping_error(dev->bus->host_pci, addr); in ssb_dma_mapping_error()
446 switch (dev->bus->bustype) { in ssb_dma_map_single()
449 return pci_map_single(dev->bus->host_pci, p, size, dir); in ssb_dma_map_single()
464 switch (dev->bus->bustype) { in ssb_dma_unmap_single()
467 pci_unmap_single(dev->bus->host_pci, dma_addr, size, dir); in ssb_dma_unmap_single()
485 switch (dev->bus->bustype) { in ssb_dma_sync_single_for_cpu()
488 pci_dma_sync_single_for_cpu(dev->bus->host_pci, dma_addr, in ssb_dma_sync_single_for_cpu()
507 switch (dev->bus->bustype) { in ssb_dma_sync_single_for_device()
510 pci_dma_sync_single_for_device(dev->bus->host_pci, dma_addr, in ssb_dma_sync_single_for_device()
530 switch (dev->bus->bustype) { in ssb_dma_sync_single_range_for_cpu()
534 pci_dma_sync_single_for_cpu(dev->bus->host_pci, dma_addr, in ssb_dma_sync_single_range_for_cpu()
555 switch (dev->bus->bustype) { in ssb_dma_sync_single_range_for_device()
559 pci_dma_sync_single_for_device(dev->bus->host_pci, dma_addr, in ssb_dma_sync_single_range_for_device()
586 if (sdev->bus->bustype == SSB_BUSTYPE_PCI) in ssb_pcihost_set_power_state()
587 pci_set_power_state(sdev->bus->host_pci, state); in ssb_pcihost_set_power_state()
605 extern int ssb_bus_may_powerdown(struct ssb_bus *bus);
609 extern int ssb_bus_powerup(struct ssb_bus *bus, bool dynamic_pctl);