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/offset.
 */
Write `count' 2 or 4 byte quantities from the buffer
provided to bus space described by tag/handle/offset.
Write ` count ' 2 or 4 byte quantities from the buffer provided to bus space described by tag / handle / offset .
void
gt_pci_bs_wm_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++);
}
void gt_pci_bs_wm_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 ++ ) ; }
Write `count' 2 or 4 byte quantities from the buffer
 provided to bus space described by tag/handle/offset.
Write ` count ' 2 or 4 byte quantities from the buffer provided to bus space described by tag / handle / offset .