FreeBSD/sys/mips/cavium/octopci_bus_space.c
/*
 * Write `count' 1, 2, 4, or 8 byte quantities from the buffer
 * provided to bus space described by tag/handle/offset.
 */
Write `count' 1, 2, 4, or 8 byte quantities from the buffer
provided to bus space described by tag/handle/offset.
Write ` count ' 1 2 4 or 8 byte quantities from the buffer provided to bus space described by tag / handle / offset .
void
octopci_bs_wm_1(void *t, bus_space_handle_t bsh,
    bus_size_t offset, const uint8_t *addr, size_t count)
{
	bus_addr_t baddr = bsh + offset;
	while (count--)
		wr8(baddr, *addr++);
}
void octopci_bs_wm_1 ( void * t , bus_space_handle_t bsh , bus_size_t offset , const uint8_t * addr , size_t count ) { bus_addr_t baddr = bsh + offset ; while ( count -- ) wr8 ( baddr , * addr ++ ) ; }
Write `count' 1, 2, 4, or 8 byte quantities from the buffer
 provided to bus space described by tag/handle/offset.
Write ` count ' 1 2 4 or 8 byte quantities from the buffer provided to bus space described by tag / handle / offset .