Lines Matching refs:bus
268 struct ssb_bus *bus;
333 SSB_BUSTYPE_SSB, /* This SSB bus is the system bus */
334 SSB_BUSTYPE_PCI, /* SSB is connected to PCI bus */
335 SSB_BUSTYPE_PCMCIA, /* SSB is connected to PCMCIA bus */
336 SSB_BUSTYPE_SDIO, /* SSB is connected to SDIO bus */
428 /* The host-bus this backplane is running on. */
430 /* Pointers to the host-bus. Check bustype before using any of these pointers. */
432 /* Pointer to the PCI bus (only valid if bustype == SSB_BUSTYPE_PCI). */
459 /* Software ID number for this bus. */
496 /* Is the bus already powered up? */
518 typedef int (*ssb_invariants_func_t)(struct ssb_bus *bus,
521 /* Register a SSB system bus. get_invariants() is called after the
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);
552 int (*sprom_callback)(struct ssb_bus *bus,
555 /* Suspend a SSB bus.
556 * Call this from the parent bus suspend routine. */
557 extern int ssb_bus_suspend(struct ssb_bus *bus);
558 /* Resume a SSB bus.
559 * Call this from the parent bus resume routine. */
560 extern int ssb_bus_resume(struct ssb_bus *bus);
562 extern u32 ssb_clockspeed(struct ssb_bus *bus);
627 "unsupported bustype %d\n", dev->bus->bustype);
642 if (sdev->bus->bustype == SSB_BUSTYPE_PCI)
643 pci_set_power_state(sdev->bus->host_pci, state);
658 * that the bus may be completely powered down. SSB will decide,
659 * if it's really time to power down the bus, based on if there
661 extern int ssb_bus_may_powerdown(struct ssb_bus *bus);
662 /* Before initializing and enabling a device, call this to power-up the bus.
665 extern int ssb_bus_powerup(struct ssb_bus *bus, bool dynamic_pctl);
667 extern void ssb_commit_settings(struct ssb_bus *bus);