/arch/ia64/include/uapi/asm/ |
D | intrinsics.h | 61 volatile __typeof__(*(v)) *_v = (v); \ 64 IA64_FETCHADD(_tmp, _v, -16, sizeof(*(v)), sem); \ 66 IA64_FETCHADD(_tmp, _v, -8, sizeof(*(v)), sem); \ 68 IA64_FETCHADD(_tmp, _v, -4, sizeof(*(v)), sem); \ 70 IA64_FETCHADD(_tmp, _v, -1, sizeof(*(v)), sem); \ 72 IA64_FETCHADD(_tmp, _v, 1, sizeof(*(v)), sem); \ 74 IA64_FETCHADD(_tmp, _v, 4, sizeof(*(v)), sem); \ 76 IA64_FETCHADD(_tmp, _v, 8, sizeof(*(v)), sem); \ 78 IA64_FETCHADD(_tmp, _v, 16, sizeof(*(v)), sem); \
|
/arch/s390/include/asm/ |
D | atomic.h | 58 #define atomic_sub(_i, _v) atomic_add(-(int)(_i), _v) argument 59 #define atomic_sub_return(_i, _v) atomic_add_return(-(int)(_i), _v) argument 60 #define atomic_fetch_sub(_i, _v) atomic_fetch_add(-(int)(_i), _v) argument 148 #define atomic64_sub_return(_i, _v) atomic64_add_return(-(s64)(_i), _v) argument 149 #define atomic64_fetch_sub(_i, _v) atomic64_fetch_add(-(s64)(_i), _v) argument 150 #define atomic64_sub(_i, _v) atomic64_add(-(s64)(_i), _v) argument
|
/arch/ia64/include/asm/ |
D | page.h | 144 #define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;}) 145 #define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;}) 147 #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;}) 148 #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;})
|
/arch/m68k/include/asm/ |
D | segment.h | 36 mm_segment_t _v; in get_fs() local 37 __asm__ ("movec %/dfc,%0":"=r" (_v.seg):); in get_fs() 38 return _v; in get_fs()
|
D | io_mm.h | 294 #define isa_rom_inb_p(p) ({ u8 _v = isa_rom_inb(p); isa_delay(); _v; }) 295 #define isa_rom_inw_p(p) ({ u16 _v = isa_rom_inw(p); isa_delay(); _v; })
|
/arch/mips/include/asm/sn/ |
D | agent.h | 36 #define SET_MY_HUB_NIC(_v) \ argument 37 SET_HUB_NIC(cpuid(), (_v))
|
/arch/powerpc/include/asm/ |
D | io.h | 860 #define setbits32(_addr, _v) out_be32((_addr), in_be32(_addr) | (_v)) argument 861 #define clrbits32(_addr, _v) out_be32((_addr), in_be32(_addr) & ~(_v)) argument 863 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v)) argument 864 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v)) argument 866 #define setbits8(_addr, _v) out_8((_addr), in_8(_addr) | (_v)) argument 867 #define clrbits8(_addr, _v) out_8((_addr), in_8(_addr) & ~(_v)) argument
|
/arch/mips/include/asm/sn/sn0/ |
D | hubmd.h | 440 #define SET_MY_LEDS(_v) \ argument 441 SET_CPU_LEDS(get_nasid(), get_slice(), (_v))
|