/arch/s390/include/asm/ |
D | atomic.h | 84 #define atomic_add(_i, _v) atomic_add_return(_i, _v) argument 85 #define atomic_add_negative(_i, _v) (atomic_add_return(_i, _v) < 0) argument 86 #define atomic_inc(_v) atomic_add_return(1, _v) argument 87 #define atomic_inc_return(_v) atomic_add_return(1, _v) argument 88 #define atomic_inc_and_test(_v) (atomic_add_return(1, _v) == 0) argument 94 #define atomic_sub(_i, _v) atomic_sub_return(_i, _v) argument 95 #define atomic_sub_and_test(_i, _v) (atomic_sub_return(_i, _v) == 0) argument 96 #define atomic_dec(_v) atomic_sub_return(1, _v) argument 97 #define atomic_dec_return(_v) atomic_sub_return(1, _v) argument 98 #define atomic_dec_and_test(_v) (atomic_sub_return(1, _v) == 0) argument [all …]
|
/arch/ia64/include/asm/ |
D | page.h | 142 #define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;}) 143 #define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;}) 145 #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;}) 146 #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;})
|
D | intrinsics.h | 58 volatile __typeof__(*(v)) *_v = (v); \ 61 IA64_FETCHADD(_tmp, _v, -16, sizeof(*(v)), sem); \ 63 IA64_FETCHADD(_tmp, _v, -8, sizeof(*(v)), sem); \ 65 IA64_FETCHADD(_tmp, _v, -4, sizeof(*(v)), sem); \ 67 IA64_FETCHADD(_tmp, _v, -1, sizeof(*(v)), sem); \ 69 IA64_FETCHADD(_tmp, _v, 1, sizeof(*(v)), sem); \ 71 IA64_FETCHADD(_tmp, _v, 4, sizeof(*(v)), sem); \ 73 IA64_FETCHADD(_tmp, _v, 8, sizeof(*(v)), sem); \ 75 IA64_FETCHADD(_tmp, _v, 16, sizeof(*(v)), sem); \
|
/arch/m68k/include/asm/ |
D | segment_mm.h | 34 mm_segment_t _v; in get_fs() local 35 __asm__ ("movec %/dfc,%0":"=r" (_v.seg):); in get_fs() 37 return _v; in get_fs()
|
/arch/ia64/kvm/ |
D | vcpu.h | 428 #define __kvm_pa(x) ({union kvm_va _v; _v.l = (long) (x); \ 429 _v.f.reg = 0; _v.l; }) 430 #define __kvm_va(x) ({union kvm_va _v; _v.l = (long) (x); \ 431 _v.f.reg = -1; _v.p; }) 433 #define _REGION_ID(x) ({union ia64_rr _v; _v.val = (long)(x); \ 434 _v.rid; }) 435 #define _REGION_PAGE_SIZE(x) ({union ia64_rr _v; _v.val = (long)(x); \ 436 _v.ps; }) 437 #define _REGION_HW_WALKER(x) ({union ia64_rr _v; _v.val = (long)(x); \ 438 _v.ve; }) [all …]
|
/arch/x86/include/asm/ |
D | io_64.h | 82 RETURN_TYPE _v; 88 __IN1(s) __IN2(s, s1, "w") : "=a" (_v) : "Nd" (port), ##i); \ 89 return _v; \ 91 __IN1(s##_p) __IN2(s, s1, "w") : "=a" (_v) : "Nd" (port), ##i); \ 93 return _v; }
|
/arch/mips/include/asm/sn/ |
D | agent.h | 37 #define SET_MY_HUB_NIC(_v) \ argument 38 SET_HUB_NIC(cpuid(), (_v))
|
/arch/powerpc/include/asm/ |
D | io.h | 743 #define setbits32(_addr, _v) out_be32((_addr), in_be32(_addr) | (_v)) argument 744 #define clrbits32(_addr, _v) out_be32((_addr), in_be32(_addr) & ~(_v)) argument 746 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v)) argument 747 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v)) argument 749 #define setbits8(_addr, _v) out_8((_addr), in_8(_addr) | (_v)) argument 750 #define clrbits8(_addr, _v) out_8((_addr), in_8(_addr) & ~(_v)) argument
|
/arch/arm/plat-s3c/include/plat/ |
D | regs-fb.h | 87 #define VIDCON1_LINECNT_GET(_v) (((_v) >> 16) & 0x7ff) 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))
|