Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 1029) sorted by relevance

12345678910>>...42

/arch/arm/include/asm/hardware/
A Dcp14.h12 #define dbg_write(val, reg) WCP14_##reg(val) argument
14 #define etm_write(val, reg) WCP14_##reg(val) argument
24 #define MCR14(val, op1, crn, crm, op2) \ argument
153 #define WCP14_DBGWFAR(val) MCR14(val, 0, c0, c6, 0) argument
154 #define WCP14_DBGVCR(val) MCR14(val, 0, c0, c7, 0) argument
155 #define WCP14_DBGECR(val) MCR14(val, 0, c0, c9, 0) argument
161 #define WCP14_DBGDRCR(val) MCR14(val, 0, c0, c4, 2) argument
162 #define WCP14_DBGBVR0(val) MCR14(val, 0, c0, c0, 4) argument
163 #define WCP14_DBGBVR1(val) MCR14(val, 0, c0, c1, 4) argument
412 #define WCP14_ETMCR(val) MCR14(val, 1, c0, c0, 0) argument
[all …]
/arch/loongarch/include/asm/
A Dkvm_csr.h49 #define write_gcsr_crmd(val) gcsr_write(val, LOONGARCH_CSR_CRMD) argument
51 #define write_gcsr_prmd(val) gcsr_write(val, LOONGARCH_CSR_PRMD) argument
53 #define write_gcsr_euen(val) gcsr_write(val, LOONGARCH_CSR_EUEN) argument
55 #define write_gcsr_misc(val) gcsr_write(val, LOONGARCH_CSR_MISC) argument
61 #define write_gcsr_era(val) gcsr_write(val, LOONGARCH_CSR_ERA) argument
75 #define write_gcsr_pgd(val) gcsr_write(val, LOONGARCH_CSR_PGD) argument
174 #define set_gcsr_estat(val) \ argument
176 #define clear_gcsr_estat(val) \ argument
180 #define kvm_write_hw_gcsr(id, val) gcsr_write(val, id) argument
200 int gid, unsigned long val) in kvm_set_sw_gcsr()
[all …]
A Dpercpu.h128 #define _pcp_protect(operation, pcp, val) \ argument
138 #define _percpu_add(pcp, val) \ argument
143 #define _percpu_and(pcp, val) \ argument
146 #define _percpu_or(pcp, val) \ argument
149 #define _percpu_xchg(pcp, val) ((typeof(pcp)) \ argument
152 #define this_cpu_add_4(pcp, val) _percpu_add(pcp, val) argument
153 #define this_cpu_add_8(pcp, val) _percpu_add(pcp, val) argument
158 #define this_cpu_and_4(pcp, val) _percpu_and(pcp, val) argument
159 #define this_cpu_and_8(pcp, val) _percpu_and(pcp, val) argument
161 #define this_cpu_or_4(pcp, val) _percpu_or(pcp, val) argument
[all …]
/arch/alpha/lib/
A Dfpreg.c15 #define STT(reg,val) asm volatile ("ftoit $f"#reg",%0" : "=r"(val)); argument
17 #define STT(reg,val) asm volatile ("stt $f"#reg",%0" : "=m"(val)); argument
23 unsigned long val; in alpha_read_fp_reg() local
70 #define LDT(reg,val) asm volatile ("itoft %0,$f"#reg : : "r"(val)); argument
72 #define LDT(reg,val) asm volatile ("ldt $f"#reg",%0" : : "m"(val)); argument
76 alpha_write_fp_reg (unsigned long reg, unsigned long val) in alpha_write_fp_reg()
126 #define STS(reg,val) asm volatile ("sts $f"#reg",%0" : "=m"(val)); argument
132 unsigned long val; in alpha_read_fp_reg_s() local
181 #define LDS(reg,val) asm volatile ("itofs %0,$f"#reg : : "r"(val)); argument
183 #define LDS(reg,val) asm volatile ("lds $f"#reg",%0" : : "m"(val)); argument
[all …]
/arch/s390/include/asm/
A Dpercpu.h27 #define arch_this_cpu_to_op_simple(pcp, val, op) \ argument
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
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
66 #define arch_this_cpu_add(pcp, val, op1, op2, szcast) \ argument
93 #define arch_this_cpu_add_return(pcp, val, op) \ argument
112 #define arch_this_cpu_to_op(pcp, val, op) \ argument
127 #define this_cpu_and_4(pcp, val) arch_this_cpu_to_op(pcp, val, "lan") argument
[all …]
A Druntime-const.h23 #define runtime_const_shift_right_32(val, sym) \ argument
47 static inline void __runtime_fixup_32(u32 *p, unsigned int val) in __runtime_fixup_32()
52 static inline void __runtime_fixup_ptr(void *where, unsigned long val) in __runtime_fixup_ptr()
59 static inline void __runtime_fixup_shift(void *where, unsigned long val) in __runtime_fixup_shift()
69 unsigned long val, s32 *start, s32 *end) in runtime_const_fixup()
/arch/alpha/include/uapi/asm/
A Dcompiler.h14 # define __kernel_insbl(val, shift) __builtin_alpha_insbl(val, shift) argument
15 # define __kernel_inswl(val, shift) __builtin_alpha_inswl(val, shift) argument
16 # define __kernel_insql(val, shift) __builtin_alpha_insql(val, shift) argument
22 # define __kernel_insbl(val, shift) \ argument
26 # define __kernel_inswl(val, shift) \ argument
30 # define __kernel_insql(val, shift) \ argument
34 # define __kernel_inslh(val, shift) \ argument
38 # define __kernel_extbl(val, shift) \ argument
42 # define __kernel_extwl(val, shift) \ argument
96 #define __kernel_stb(val,mem) ((mem) = (val)) argument
[all …]
/arch/arm64/include/asm/
A Darm_pmuv3.h65 static inline void write_pmcr(u64 val) in write_pmcr()
75 static inline void write_pmselr(u32 val) in write_pmselr()
80 static inline void write_pmccntr(u64 val) in write_pmccntr()
90 static inline void write_pmicntr(u64 val) in write_pmicntr()
100 static inline void write_pmcntenset(u64 val) in write_pmcntenset()
105 static inline void write_pmcntenclr(u64 val) in write_pmcntenclr()
120 static inline void write_pmccfiltr(u64 val) in write_pmccfiltr()
130 static inline void write_pmicfiltr(u64 val) in write_pmicfiltr()
140 static inline void write_pmovsclr(u64 val) in write_pmovsclr()
150 static inline void write_pmuserenr(u32 val) in write_pmuserenr()
[all …]
A Dpercpu.h183 #define this_cpu_add_1(pcp, val) \ argument
185 #define this_cpu_add_2(pcp, val) \ argument
187 #define this_cpu_add_4(pcp, val) \ argument
189 #define this_cpu_add_8(pcp, val) \ argument
201 #define this_cpu_and_1(pcp, val) \ argument
203 #define this_cpu_and_2(pcp, val) \ argument
205 #define this_cpu_and_4(pcp, val) \ argument
207 #define this_cpu_and_8(pcp, val) \ argument
210 #define this_cpu_or_1(pcp, val) \ argument
212 #define this_cpu_or_2(pcp, val) \ argument
[all …]
/arch/powerpc/lib/
A Dqspinlock.c105 static inline int decode_tail_cpu(u32 val) in decode_tail_cpu()
110 static inline int get_owner_cpu(u32 val) in get_owner_cpu()
392 u32 val = READ_ONCE(lock->val); in yield_to_prev() local
461 u32 val; in try_to_steal_lock() local
530 u32 val, old, tail; in queued_spin_lock_mcs_queue() local
741 static int steal_spins_set(void *data, u64 val) in steal_spins_set()
776 static int steal_spins_get(void *data, u64 *val) in steal_spins_get()
801 static int head_spins_set(void *data, u64 val) in head_spins_set()
808 static int head_spins_get(void *data, u64 *val) in head_spins_get()
929 static int pv_yield_prev_set(void *data, u64 val) in pv_yield_prev_set()
[all …]
/arch/sparc/kernel/
A Dpcr.c57 u64 val; in direct_pcr_read() local
72 u64 val; in direct_pic_read() local
111 static void n2_pcr_write(unsigned long reg_num, u64 val) in n2_pcr_write()
146 unsigned long val; in n4_pcr_read() local
153 static void n4_pcr_write(unsigned long reg_num, u64 val) in n4_pcr_write()
160 unsigned long val; in n4_pic_read() local
169 static void n4_pic_write(unsigned long reg_num, u64 val) in n4_pic_write()
197 unsigned long val; in n5_pcr_read() local
204 static void n5_pcr_write(unsigned long reg_num, u64 val) in n5_pcr_write()
223 unsigned long val; in m7_pcr_read() local
[all …]
/arch/arm64/kvm/
A Dvgic-sys-reg-v3.c14 u64 val) in set_gic_ctlr()
64 u64 val; in get_gic_ctlr() local
111 u64 val) in set_gic_bpr0()
123 u64 *val) in get_gic_bpr0()
134 u64 val) in set_gic_bpr1()
148 u64 *val) in get_gic_bpr1()
163 u64 val) in set_gic_grpen0()
229 u64 val) in set_gic_ap0r()
242 u64 *val) in get_gic_ap0r()
255 u64 val) in set_gic_ap1r()
[all …]
/arch/arm64/boot/dts/ti/
A Dk3-pinctrl.h72 #define AM62AX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
75 #define AM62DX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
78 #define AM62PX_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
81 #define AM62X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
82 #define AM62X_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
84 #define AM64X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
87 #define AM65X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
90 #define J721E_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
93 #define J721S2_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
96 #define J722S_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) argument
[all …]
/arch/arc/include/asm/
A Dspinlock.h19 unsigned int val; in arch_spin_lock() local
46 unsigned int val, got_it = 0; in arch_spin_trylock() local
81 unsigned int val; in arch_read_lock() local
111 unsigned int val, got_it = 0; in arch_read_trylock() local
136 unsigned int val; in arch_write_lock() local
169 unsigned int val, got_it = 0; in arch_write_trylock() local
195 unsigned int val; in arch_read_unlock() local
224 unsigned int val = __ARCH_SPIN_LOCK_LOCKED__; in arch_spin_lock() local
246 unsigned int val = __ARCH_SPIN_LOCK_LOCKED__; in arch_spin_trylock() local
263 unsigned int val = __ARCH_SPIN_LOCK_UNLOCKED__; in arch_spin_unlock() local
/arch/arm/probes/kprobes/
A Dtest-arm.c19 #define TEST_ARM_TO_THUMB_INTERWORK_R(code1, reg, val, code2) \ argument
34 #define TEST_ARM_TO_THUMB_INTERWORK_P(code1, reg, val, code2) \ argument
57 #define _DATA_PROCESSING_DNM(op,s,val) \ in kprobe_arm_test_cases() argument
80 #define DATA_PROCESSING_DNM(op,val) \ in kprobe_arm_test_cases() argument
84 #define DATA_PROCESSING_NM(op,val) \ in kprobe_arm_test_cases() argument
106 #define _DATA_PROCESSING_DM(op,s,val) \ in kprobe_arm_test_cases() argument
127 #define DATA_PROCESSING_DM(op,val) \ in kprobe_arm_test_cases() argument
A Dtest-thumb.c41 #define TEST_THUMB_TO_ARM_INTERWORK_P(code1, reg, val, code2) \ argument
91 #define DATA_PROCESSING16(op,val) \ in kprobe_thumb16_test_cases() argument
478 #define _DATA_PROCESSING32_DNM(op,s,val) \ in kprobe_thumb32_test_cases() argument
490 #define DATA_PROCESSING32_DNM(op,val) \ in kprobe_thumb32_test_cases() argument
494 #define DATA_PROCESSING32_NM(op,val) \ in kprobe_thumb32_test_cases() argument
506 #define _DATA_PROCESSING32_DM(op,s,val) \ in kprobe_thumb32_test_cases() argument
519 #define DATA_PROCESSING32_DM(op,val) \ in kprobe_thumb32_test_cases() argument
/arch/mips/boot/tools/
A Drelocs.c131 #define le16_to_cpu(val) (val) argument
132 #define le32_to_cpu(val) (val) argument
133 #define le64_to_cpu(val) (val) argument
138 #define cpu_to_le16(val) (val) argument
139 #define cpu_to_le32(val) (val) argument
140 #define cpu_to_le64(val) (val) argument
149 #define be16_to_cpu(val) (val) argument
150 #define be32_to_cpu(val) (val) argument
151 #define be64_to_cpu(val) (val) argument
156 #define cpu_to_be16(val) (val) argument
[all …]
/arch/mips/include/asm/
A Dmipsregs.h1540 #define write_r10k_perf_cntr(counter,val) \ argument
1559 #define write_r10k_perf_cntl(counter,val) \ argument
1666 #define __write_ulong_c0_register(reg, sel, val) \ argument
1725 #define __write_64bit_c0_split(source, sel, val) \ argument
1830 #define write_c0_conf(val) __write_32bit_c0_register($3, 0, val) argument
2117 #define write_c0_pgd(val) __write_64bit_c0_register($9, 7, val) argument
2317 #define __write_ulong_gc0_register(reg, sel, val) \ argument
2547 #define write_32bit_cp1_register(dest, val) \ argument
2574 #define wrdsp(val, mask) \ argument
2806 #define wrdsp(val, mask) \ argument
[all …]
A Dmipsmtregs.h433 #define write_vpe_c0_count(val) mttc0($9, 0, val) argument
435 #define write_vpe_c0_status(val) mttc0($12, 0, val) argument
437 #define write_vpe_c0_cause(val) mttc0($13, 0, val) argument
439 #define write_vpe_c0_config(val) mttc0($16, 0, val) argument
445 #define write_vpe_c0_ebase(val) mttc0($15, 1, val) argument
449 #define write_vpe_c0_epc(val) mttc0($14, 0, val) argument
454 #define write_tc_c0_tcstatus(val) mttc0($2, 1, val) argument
456 #define write_tc_c0_tcbind(val) mttc0($2, 2, val) argument
460 #define write_tc_c0_tchalt(val) mttc0($2, 4, val) argument
466 #define write_tc_gpr_sp(val) mttgpr($29, val) argument
[all …]
/arch/x86/include/asm/
A Dpgtable-invert.h16 static inline bool __pte_needs_invert(u64 val) in __pte_needs_invert()
22 static inline u64 protnone_mask(u64 val) in protnone_mask()
27 static inline u64 flip_protnone_guard(u64 oldval, u64 val, u64 mask) in flip_protnone_guard()
/arch/arm/nwfpe/
A Dfpmodule.inl32 unsigned int val = regs->uregs[nReg]; local
39 writeRegister(const unsigned int nReg, const unsigned long val)
50 static inline void writeCPSR(const unsigned long val)
64 static inline void writeConditionCodes(const unsigned long val)
/arch/arc/kernel/
A Dunaligned.c27 #define __get8_unaligned_check(val, addr, err) \ argument
43 #define get16_unaligned_check(val, addr) \ argument
54 #define get32_unaligned_check(val, addr) \ argument
69 #define put16_unaligned_check(val, addr) \ argument
96 #define put32_unaligned_check(val, addr) \ argument
136 int val; in fixup_load() local
/arch/s390/tools/
A Drelocs.c25 #define ELF_R_SYM(val) ELF64_R_SYM(val) argument
63 #define le16_to_cpu(val) (val) argument
64 #define le32_to_cpu(val) (val) argument
65 #define le64_to_cpu(val) (val) argument
66 #define be16_to_cpu(val) bswap_16(val) argument
67 #define be32_to_cpu(val) bswap_32(val) argument
68 #define be64_to_cpu(val) bswap_64(val) argument
72 #define le16_to_cpu(val) bswap_16(val) argument
75 #define be16_to_cpu(val) (val) argument
76 #define be32_to_cpu(val) (val) argument
[all …]
/arch/x86/virt/vmx/tdx/
A Dtdx_global_metadata.c13 u64 val; in get_tdx_sys_info_features() local
24 u64 val; in get_tdx_sys_info_tdmr() local
43 u64 val; in get_tdx_sys_info_td_ctrl() local
58 u64 val; in get_tdx_sys_info_td_conf() local
/arch/powerpc/include/asm/
A Dkvm_booke.h26 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr()
36 static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) in kvmppc_set_cr()
46 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer()
62 static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_ctr()
72 static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_lr()
82 static inline void kvmppc_set_pc(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_pc()
92 static inline void kvmppc_set_fpr(struct kvm_vcpu *vcpu, int i, u64 val) in kvmppc_set_fpr()

Completed in 794 milliseconds

12345678910>>...42