FreeBSD/sys/arm/at91/board_tsc4370.c
/*
 * RD4HW()/WR4HW() read and write at91rm9200 hardware register space directly.
 * They serve the same purpose as the RD4()/WR4() idiom you see in many drivers,
 * except that those translate to bus_space calls, but in this code we need to
 * access the registers directly before the at91 bus_space stuff is set up.
 */
RD4HW()/WR4HW() read and write at91rm9200 hardware register space directly.
They serve the same purpose as the RD4()/WR4() idiom you see in many drivers,
except that those translate to bus_space calls, but in this code we need to
access the registers directly before the at91 bus_space stuff is set up.
RD4HW () / WR4HW () read and write at91rm9200 hardware register space directly . They serve the same purpose as the RD4 () / WR4 () idiom you see in many drivers except that those translate to bus_space calls but in this code we need to access the registers directly before the at91 bus_space stuff is set up .
static inline uint32_t 
RD4HW(uint32_t devbase, uint32_t regoff)
{
	return *(volatile uint32_t *)(AT91_BASE + devbase + regoff);
}
static inline uint32_t RD4HW ( uint32_t devbase , uint32_t regoff ) { return * ( volatile uint32_t * ) ( AT91_BASE + devbase + regoff ) ; }
RD4HW()/WR4HW() read and write at91rm9200 hardware register space directly.
RD4HW () / WR4HW () read and write at91rm9200 hardware register space directly .