FreeBSD/sys/mips/cavium/octopci_bus_space.c
/*
 * Read `count' 1, 2, 4, or 8 byte quantities from bus space
 * described by tag/handle and starting at `offset' and copy into
 * buffer provided.
 */
Read `count' 1, 2, 4, or 8 byte quantities from bus space
described by tag/handle and starting at `offset' and copy into
buffer provided.
Read ` count ' 1 2 4 or 8 byte quantities from bus space described by tag / handle and starting at ` offset ' and copy into buffer provided .
void
octopci_bs_rr_1(void *t, bus_space_handle_t bsh,
    bus_size_t offset, uint8_t *addr, size_t count)
{
	bus_addr_t baddr = bsh + offset;
	while (count--) {
		*addr++ = rd8(baddr);
		baddr += 1;
	}
}
void octopci_bs_rr_1 ( void * t , bus_space_handle_t bsh , bus_size_t offset , uint8_t * addr , size_t count ) { bus_addr_t baddr = bsh + offset ; while ( count -- ) { * addr ++ = rd8 ( baddr ) ; baddr += 1 ; } }
Read `count' 1, 2, 4, or 8 byte quantities from bus space
 described by tag/handle and starting at `offset' and copy into
 buffer provided.
Read ` count ' 1 2 4 or 8 byte quantities from bus space described by tag / handle and starting at ` offset ' and copy into buffer provided .