FreeBSD/sys/mips/nlm/hal/haldefs.h
/*
 * Routines to store 32/64 bit values to 64 bit addresses,
 * used when going thru XKPHYS to access registers
 */
Routines to store 32/64 bit values to 64 bit addresses,
used when going thru XKPHYS to access registers
Routines to store 32 / 64 bit values to 64 bit addresses used when going thru XKPHYS to access registers
static inline uint32_t
nlm_read_reg_xkphys(uint64_t base, uint32_t reg)
{
	uint64_t addr = base + reg * sizeof(uint32_t);
	return nlm_load_word_daddr(addr);
}
static inline uint32_t nlm_read_reg_xkphys ( uint64_t base , uint32_t reg ) { uint64_t addr = base + reg * sizeof ( uint32_t ) ; return nlm_load_word_daddr ( addr ) ; }
Routines to store 32/64 bit values to 64 bit addresses,
 used when going thru XKPHYS to access registers
Routines to store 32 / 64 bit values to 64 bit addresses used when going thru XKPHYS to access registers