Lines Matching refs:bus
257 struct bcma_bus *bus; member
311 int (*sprom_callback)(struct bcma_bus *bus,
354 return core->bus->ops->read8(core, offset); in bcma_read8()
358 return core->bus->ops->read16(core, offset); in bcma_read16()
362 return core->bus->ops->read32(core, offset); in bcma_read32()
367 core->bus->ops->write8(core, offset, value); in bcma_write8()
372 core->bus->ops->write16(core, offset, value); in bcma_write16()
377 core->bus->ops->write32(core, offset, value); in bcma_write32()
383 core->bus->ops->block_read(core, buffer, count, offset, reg_width); in bcma_block_read()
389 core->bus->ops->block_write(core, buffer, count, offset, reg_width); in bcma_block_write()
394 return core->bus->ops->aread32(core, offset); in bcma_aread32()
399 core->bus->ops->awrite32(core, offset, value); in bcma_awrite32()
429 extern struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
431 static inline struct bcma_device *bcma_find_core(struct bcma_bus *bus, in bcma_find_core() argument
434 return bcma_find_core_unit(bus, coreid, 0); in bcma_find_core()
438 extern void bcma_host_pci_up(struct bcma_bus *bus);
439 extern void bcma_host_pci_down(struct bcma_bus *bus);
440 extern int bcma_host_pci_irq_ctl(struct bcma_bus *bus,
443 static inline void bcma_host_pci_up(struct bcma_bus *bus) in bcma_host_pci_up() argument
446 static inline void bcma_host_pci_down(struct bcma_bus *bus) in bcma_host_pci_down() argument
449 static inline int bcma_host_pci_irq_ctl(struct bcma_bus *bus, in bcma_host_pci_irq_ctl() argument
452 if (bus->hosttype == BCMA_HOSTTYPE_PCI) in bcma_host_pci_irq_ctl()