Home
last modified time | relevance | path

Searched refs:__arch_getw (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/arch/arm/include/asm/
H A Dio.h43 #define __arch_getw(a) (*(volatile unsigned short *)(a)) macro
87 *buf++ = __arch_getw(addr); in __raw_readsw()
103 #define __raw_readw(a) __arch_getw(a)
121 #define readw(c) ({ u16 __v = __arch_getw(c); __iormb(); __v; })
/openbmc/u-boot/arch/nds32/include/asm/
H A Dio.h67 #define __arch_getw(a) (*(unsigned short *)(a)) macro
87 #define __raw_readw(a) __arch_getw(a)
130 val = __arch_getw(addr); in readw()
/openbmc/u-boot/arch/riscv/include/asm/
H A Dio.h48 #define __arch_getw(a) (*(unsigned short *)(a)) macro
63 #define __raw_readw(a) __arch_getw(a)
108 val = __arch_getw(addr); in readw()
/openbmc/u-boot/arch/sh/include/asm/
H A Dio.h34 #define __arch_getw(a) (*(volatile unsigned short *)(a)) macro
54 #define __raw_readw(a) __arch_getw(a)