static void bcma_sprom_read(struct bcma_bus *bus, u16 offset, u16 *sprom, size_t words) { int i; for (i = 0; i < words; i++) sprom[i] = bcma_read16(bus->drv_cc.core, offset + (i * 2)); }
static void bcma_sprom_read(struct bcma_bus *bus, u16 offset, u16 *sprom) { int i; for (i = 0; i < SSB_SPROMSIZE_WORDS_R4; i++) sprom[i] = bcma_read16(bus->drv_cc.core, offset + (i * 2)); }
static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) { return bcma_read16(dev->bdev, offset); }