/arch/s390/include/asm/ |
D | percpu.h | 27 #define arch_this_cpu_to_op_simple(pcp, val, op) \ argument 29 typedef typeof(pcp) pcp_op_T__; \ 33 ptr__ = raw_cpu_ptr(&(pcp)); \ 44 #define this_cpu_add_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument 45 #define this_cpu_add_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument 46 #define this_cpu_add_return_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument 47 #define this_cpu_add_return_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument 48 #define this_cpu_and_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument 49 #define this_cpu_and_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument 50 #define this_cpu_or_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument [all …]
|
/arch/loongarch/include/asm/ |
D | percpu.h | 162 #define _protect_cmpxchg_local(pcp, o, n) \ argument 164 typeof(*raw_cpu_ptr(&(pcp))) __ret; \ 166 __ret = cmpxchg_local(raw_cpu_ptr(&(pcp)), o, n); \ 171 #define _percpu_read(pcp) \ argument 173 typeof(pcp) __retval; \ 174 __retval = (typeof(pcp))__percpu_read(&(pcp), sizeof(pcp)); \ 178 #define _percpu_write(pcp, val) \ argument 180 __percpu_write(&(pcp), (unsigned long)(val), sizeof(pcp)); \ 183 #define _pcp_protect(operation, pcp, val) \ argument 185 typeof(pcp) __retval; \ [all …]
|
/arch/x86/include/asm/ |
D | percpu.h | 238 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, , pcp, oval, nval) argument 239 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, volatile, pcp, oval, nval) argument 243 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nval); argument 244 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, volatile, pcp, oval, nval); argument 270 #define raw_cpu_cmpxchg128(pcp, oval, nval) percpu_cmpxchg128_op(16, , pcp, oval, nval) argument 271 #define this_cpu_cmpxchg128(pcp, oval, nval) percpu_cmpxchg128_op(16, volatile, pcp, oval, nval) argument 283 #define this_cpu_read_stable_1(pcp) percpu_stable_op(1, "mov", pcp) argument 284 #define this_cpu_read_stable_2(pcp) percpu_stable_op(2, "mov", pcp) argument 285 #define this_cpu_read_stable_4(pcp) percpu_stable_op(4, "mov", pcp) argument 286 #define this_cpu_read_stable_8(pcp) percpu_stable_op(8, "mov", pcp) argument [all …]
|
/arch/arm64/include/asm/ |
D | percpu.h | 149 #define _pcp_protect(op, pcp, ...) \ argument 152 op(raw_cpu_ptr(&(pcp)), __VA_ARGS__); \ 156 #define _pcp_protect_return(op, pcp, args...) \ argument 158 typeof(pcp) __retval; \ 160 __retval = (typeof(pcp))op(raw_cpu_ptr(&(pcp)), ##args); \ 165 #define this_cpu_read_1(pcp) \ argument 166 _pcp_protect_return(__percpu_read_8, pcp) 167 #define this_cpu_read_2(pcp) \ argument 168 _pcp_protect_return(__percpu_read_16, pcp) 169 #define this_cpu_read_4(pcp) \ argument [all …]
|
/arch/sparc/kernel/ |
D | pcic.c | 608 struct pcidev_cookie *pcp; in pcibios_fixup_bus() local 631 pcp = pci_devcookie_alloc(); in pcibios_fixup_bus() 632 pcp->pbm = &pcic->pbm; in pcibios_fixup_bus() 633 pcp->prom_node = of_find_node_by_phandle(node); in pcibios_fixup_bus() 634 dev->sysdata = pcp; in pcibios_fixup_bus()
|
/arch/arm/boot/dts/aspeed/ |
D | aspeed-bmc-ampere-mtmitchell.dts | 583 /*F0-F7*/ "s0-pcp-oc-warn-n","s1-pcp-oc-warn-n","power-chassis-control",
|