Lines Matching refs:bus

259 	struct bcma_bus *bus;  member
322 int (*sprom_callback)(struct bcma_bus *bus,
365 return core->bus->ops->read8(core, offset); in bcma_read8()
369 return core->bus->ops->read16(core, offset); in bcma_read16()
373 return core->bus->ops->read32(core, offset); in bcma_read32()
378 core->bus->ops->write8(core, offset, value); in bcma_write8()
383 core->bus->ops->write16(core, offset, value); in bcma_write16()
388 core->bus->ops->write32(core, offset, value); in bcma_write32()
394 core->bus->ops->block_read(core, buffer, count, offset, reg_width); in bcma_block_read()
400 core->bus->ops->block_write(core, buffer, count, offset, reg_width); in bcma_block_write()
405 return core->bus->ops->aread32(core, offset); in bcma_aread32()
410 core->bus->ops->awrite32(core, offset, value); in bcma_awrite32()
440 extern struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
442 static inline struct bcma_device *bcma_find_core(struct bcma_bus *bus, in bcma_find_core() argument
445 return bcma_find_core_unit(bus, coreid, 0); in bcma_find_core()
449 extern void bcma_host_pci_up(struct bcma_bus *bus);
450 extern void bcma_host_pci_down(struct bcma_bus *bus);
451 extern int bcma_host_pci_irq_ctl(struct bcma_bus *bus,
454 static inline void bcma_host_pci_up(struct bcma_bus *bus) in bcma_host_pci_up() argument
457 static inline void bcma_host_pci_down(struct bcma_bus *bus) in bcma_host_pci_down() argument
460 static inline int bcma_host_pci_irq_ctl(struct bcma_bus *bus, in bcma_host_pci_irq_ctl() argument
463 if (bus->hosttype == BCMA_HOSTTYPE_PCI) in bcma_host_pci_irq_ctl()