FreeBSD/sys/mips/malta/gt_pci_bus_space.c
/*
 * Write `count' 2 or 4 byte quantities from the buffer provided
 * to bus space described by tag/handle starting at `offset'.
 */
Write `count' 2 or 4 byte quantities from the buffer provided
to bus space described by tag/handle starting at `offset'.
Write ` count ' 2 or 4 byte quantities from the buffer provided to bus space described by tag / handle starting at ` offset ' .
void
gt_pci_bs_wr_2(void *t, bus_space_handle_t bsh,
    bus_size_t offset, const uint16_t *addr, size_t count)
{
	bus_addr_t baddr = bsh + offset;
	while (count--) {
		wr16(baddr, *addr++);
		baddr += 2;
	}
}
void gt_pci_bs_wr_2 ( void * t , bus_space_handle_t bsh , bus_size_t offset , const uint16_t * addr , size_t count ) { bus_addr_t baddr = bsh + offset ; while ( count -- ) { wr16 ( baddr , * addr ++ ) ; baddr += 2 ; } }
Write `count' 2 or 4 byte quantities from the buffer provided
 to bus space described by tag/handle starting at `offset'.
Write ` count ' 2 or 4 byte quantities from the buffer provided to bus space described by tag / handle starting at ` offset ' .