Home
last modified time | relevance | path

Searched refs:reg2 (Results 1 – 25 of 136) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dasm-macros.h19 .macro ANDI32 reg1, reg2, mask
24 and \reg1, \reg1, \reg2
26 andi \reg1, \reg2, %lo(\mask)
29 andhi \reg1, \reg2, %hi(\mask)
39 .macro ORI32 reg1, reg2, mask
42 orhi \reg1, \reg2, %hi(\mask)
43 ori \reg1, \reg2, %lo(\mask)
45 ori \reg1, \reg2, %lo(\mask)
48 orhi \reg1, \reg2, %hi(\mask)
58 .macro XORI32 reg1, reg2, mask
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_ptrauth.h26 .macro ptrauth_save_state base, reg1, reg2
28 mrs_s \reg2, SYS_APIAKEYHI_EL1
29 stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APIAKEYLO_EL1)]
31 mrs_s \reg2, SYS_APIBKEYHI_EL1
32 stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APIBKEYLO_EL1)]
34 mrs_s \reg2, SYS_APDAKEYHI_EL1
35 stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APDAKEYLO_EL1)]
37 mrs_s \reg2, SYS_APDBKEYHI_EL1
38 stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APDBKEYLO_EL1)]
40 mrs_s \reg2, SYS_APGAKEYHI_EL1
[all …]
Dalternative-macros.h211 .macro uao_ldp l, reg1, reg2, addr, post_inc
213 8888: ldp \reg1, \reg2, [\addr], \post_inc;
218 ldtr \reg2, [\addr, #8];
226 .macro uao_stp l, reg1, reg2, addr, post_inc
228 8888: stp \reg1, \reg2, [\addr], \post_inc;
233 sttr \reg2, [\addr, #8];
253 .macro uao_ldp l, reg1, reg2, addr, post_inc
254 USER(\l, ldp \reg1, \reg2, [\addr], \post_inc)
256 .macro uao_stp l, reg1, reg2, addr, post_inc
257 USER(\l, stp \reg1, \reg2, [\addr], \post_inc)
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
Dtest-core.h238 #define TEST_RR(code1, reg1, val1, code2, reg2, val2, code3) \ argument
239 TESTCASE_START(code1 #reg1 code2 #reg2 code3) \
241 TEST_ARG_REG(reg2, val2) \
243 TEST_INSTRUCTION(code1 #reg1 code2 #reg2 code3) \
246 #define TEST_RRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ argument
247 TESTCASE_START(code1 #reg1 code2 #reg2 code3 #reg3 code4) \
249 TEST_ARG_REG(reg2, val2) \
252 TEST_INSTRUCTION(code1 #reg1 code2 #reg2 code3 #reg3 code4) \
255 #define TEST_RRRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4, reg4, val4) \ argument
256 TESTCASE_START(code1 #reg1 code2 #reg2 code3 #reg3 code4 #reg4) \
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dap.h58 register unsigned long reg2 asm ("2") = 0; in ap_instructions_available()
65 : "+d" (reg1), "+d" (reg2) in ap_instructions_available()
82 register unsigned long reg2 asm ("2"); in ap_tapq()
85 : "=d" (reg1), "=d" (reg2) in ap_tapq()
89 *info = reg2; in ap_tapq()
177 register struct ap_config_info *reg2 asm ("2") = config; in ap_qci()
185 : "d" (reg0), "d" (reg2) in ap_qci()
229 register void *reg2 asm ("2") = ind; in ap_aqic()
236 : "d" (reg0), "d" (reg2) in ap_aqic()
277 register unsigned long reg2 asm ("2"); in ap_qact()
[all …]
/kernel/linux/linux-5.10/arch/arm/lib/
Dcopy_from_user.S46 .macro ldr4w ptr reg1 reg2 reg3 reg4 abort
48 ldr1w \ptr, \reg2, \abort
53 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
54 ldr4w \ptr, \reg1, \reg2, \reg3, \reg4, \abort
66 .macro ldr4w ptr reg1 reg2 reg3 reg4 abort
67 USERL(\abort, ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4})
70 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
71 USERL(\abort, ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8})
86 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
87 stmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
[all …]
Dmemcpy.S21 .macro ldr4w ptr reg1 reg2 reg3 reg4 abort
22 ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4}
25 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
26 ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
37 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
38 stmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
45 .macro enter reg1 reg2 argument
46 stmdb sp!, {r0, \reg1, \reg2}
49 .macro usave reg1 reg2 argument
50 UNWIND( .save {r0, \reg1, \reg2} )
[all …]
Dcopy_to_user.S40 .macro ldr4w ptr reg1 reg2 reg3 reg4 abort
41 ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4}
44 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
45 ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
64 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
66 str1w \ptr, \reg2, \abort
83 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
84 USERL(\abort, stmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8})
93 .macro enter reg1 reg2 argument
95 stmdb sp!, {r0, r2, r3, \reg1, \reg2}
[all …]
Dcsumpartialcopy.S29 .macro load2b, reg1, reg2 argument
31 ldrb \reg2, [r0], #1
38 .macro load2l, reg1, reg2 argument
40 ldr \reg2, [r0], #4
43 .macro load4l, reg1, reg2, reg3, reg4
44 ldmia r0!, {\reg1, \reg2, \reg3, \reg4}
Dcsumpartialcopyuser.S42 .macro load2b, reg1, reg2 argument
44 ldrusr \reg2, r0, 1
51 .macro load2l, reg1, reg2 argument
53 ldrusr \reg2, r0, 4
56 .macro load4l, reg1, reg2, reg3, reg4
58 ldrusr \reg2, r0, 4
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt715-sdw.c151 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt715_sdw_read() local
167 reg2 = reg + 0x1000; in rt715_sdw_read()
168 reg2 |= 0x80; in rt715_sdw_read()
169 ret = regmap_write(rt715->sdw_regmap, reg2, val2); in rt715_sdw_read()
195 reg2 = reg + 0x1000; in rt715_sdw_read()
196 reg2 |= 0x80; in rt715_sdw_read()
197 ret = regmap_write(rt715->sdw_regmap, reg2, (*val & 0xff)); in rt715_sdw_read()
201 reg2 = reg - 0x1000; in rt715_sdw_read()
202 reg2 &= ~0x80; in rt715_sdw_read()
203 ret = regmap_write(rt715->sdw_regmap, reg2, in rt715_sdw_read()
[all …]
Drt700-sdw.c89 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt700_sdw_read() local
105 reg2 = reg + 0x1000; in rt700_sdw_read()
106 reg2 |= 0x80; in rt700_sdw_read()
107 ret = regmap_write(rt700->sdw_regmap, reg2, val2); in rt700_sdw_read()
133 reg2 = reg + 0x1000; in rt700_sdw_read()
134 reg2 |= 0x80; in rt700_sdw_read()
135 ret = regmap_write(rt700->sdw_regmap, reg2, (*val & 0xff)); in rt700_sdw_read()
139 reg2 = reg - 0x1000; in rt700_sdw_read()
140 reg2 &= ~0x80; in rt700_sdw_read()
142 reg2, ((*val >> 8) & 0xff)); in rt700_sdw_read()
[all …]
Drt711-sdw.c93 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt711_sdw_read() local
109 reg2 = reg + 0x1000; in rt711_sdw_read()
110 reg2 |= 0x80; in rt711_sdw_read()
111 ret = regmap_write(rt711->sdw_regmap, reg2, val2); in rt711_sdw_read()
137 reg2 = reg + 0x1000; in rt711_sdw_read()
138 reg2 |= 0x80; in rt711_sdw_read()
139 ret = regmap_write(rt711->sdw_regmap, reg2, (*val & 0xff)); in rt711_sdw_read()
143 reg2 = reg - 0x1000; in rt711_sdw_read()
144 reg2 &= ~0x80; in rt711_sdw_read()
146 reg2, ((*val >> 8) & 0xff)); in rt711_sdw_read()
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dhyp-stub.S29 .macro store_primary_cpu_mode reg1, reg2 argument
32 str_l \reg1, __boot_cpu_mode, \reg2
41 .macro compare_cpu_mode_with_primary mode, reg1, reg2 argument
42 adr_l \reg2, __boot_cpu_mode
43 ldr \reg1, [\reg2]
46 strne \reg1, [\reg2] @ record what happened and give up
51 .macro store_primary_cpu_mode reg1:req, reg2:req
58 .macro compare_cpu_mode_with_primary mode, reg1, reg2 argument
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-aspeed.c26 u32 reg1, reg2; in aspeed_rtc_read_time() local
34 reg2 = readl(rtc->base + RTC_YEAR); in aspeed_rtc_read_time()
36 } while (reg2 != readl(rtc->base + RTC_YEAR)); in aspeed_rtc_read_time()
43 cent = (reg2 >> 16) & 0x1f; in aspeed_rtc_read_time()
44 year = (reg2 >> 8) & 0x7f; in aspeed_rtc_read_time()
45 tm->tm_mon = ((reg2 >> 0) & 0x0f) - 1; in aspeed_rtc_read_time()
56 u32 reg1, reg2, ctrl; in aspeed_rtc_set_time() local
65 reg2 = ((cent & 0x1f) << 16) | ((year & 0x7f) << 8) | in aspeed_rtc_set_time()
72 writel(reg2, rtc->base + RTC_YEAR); in aspeed_rtc_set_time()
/kernel/linux/linux-5.10/arch/x86/events/intel/
Duncore_nhmex.c354 struct hw_perf_event_extra *reg2 = &hwc->branch_reg; in nhmex_bbox_hw_config() local
373 reg2->config = event->attr.config2; in nhmex_bbox_hw_config()
381 struct hw_perf_event_extra *reg2 = &hwc->branch_reg; in nhmex_bbox_msr_enable_event() local
385 wrmsrl(reg1->reg + 1, reg2->config); in nhmex_bbox_msr_enable_event()
445 struct hw_perf_event_extra *reg2 = &hwc->branch_reg; in nhmex_sbox_hw_config() local
458 reg2->config = event->attr.config2; in nhmex_sbox_hw_config()
466 struct hw_perf_event_extra *reg2 = &hwc->branch_reg; in nhmex_sbox_msr_enable_event() local
471 wrmsrl(reg1->reg + 2, reg2->config); in nhmex_sbox_msr_enable_event()
672 struct hw_perf_event_extra *reg2 = &event->hw.branch_reg; in nhmex_mbox_get_constraint() local
693 if (reg2->idx != EXTRA_REG_NONE && in nhmex_mbox_get_constraint()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dtua6100.c65 u8 reg2[] = { 0x02, 0x00, 0x00 }; in tua6100_set_params() local
68 struct i2c_msg msg2 = { .addr = priv->i2c_address, .flags = 0, .buf = reg2, .len = 3 }; in tua6100_set_params()
92 reg2[1] = (_R_VAL >> 8) & 0x03; in tua6100_set_params()
93 reg2[2] = _R_VAL; in tua6100_set_params()
95 reg2[1] |= 0x1c; in tua6100_set_params()
97 reg2[1] |= 0x0c; in tua6100_set_params()
99 reg2[1] |= 0x1c; in tua6100_set_params()
/kernel/linux/linux-5.10/arch/arm64/lib/
Dmemcpy.S51 .macro ldp1 reg1, reg2, ptr, val
52 ldp \reg1, \reg2, [\ptr], \val
55 .macro stp1 reg1, reg2, ptr, val
56 stp \reg1, \reg2, [\ptr], \val
Dcopy_to_user.S46 .macro ldp1 reg1, reg2, ptr, val
47 ldp \reg1, \reg2, [\ptr], \val
50 .macro stp1 reg1, reg2, ptr, val
51 uao_stp 9997f, \reg1, \reg2, \ptr, \val
Dcopy_from_user.S47 .macro ldp1 reg1, reg2, ptr, val
48 uao_ldp 9997f, \reg1, \reg2, \ptr, \val
51 .macro stp1 reg1, reg2, ptr, val
52 stp \reg1, \reg2, [\ptr], \val
Dcopy_in_user.S48 .macro ldp1 reg1, reg2, ptr, val
49 uao_ldp 9997f, \reg1, \reg2, \ptr, \val
52 .macro stp1 reg1, reg2, ptr, val
53 uao_stp 9997f, \reg1, \reg2, \ptr, \val
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dkvm_emul.S20 #define LL64(reg, offs, reg2) ld reg, (offs)(reg2) argument
21 #define STL64(reg, offs, reg2) std reg, (offs)(reg2) argument
23 #define LL64(reg, offs, reg2) lwz reg, (offs + 4)(reg2) argument
24 #define STL64(reg, offs, reg2) stw reg, (offs + 4)(reg2) argument
/kernel/linux/linux-5.10/arch/s390/boot/
Dmem_detect.c72 unsigned long reg1, reg2; in __diag260() local
86 : "=&d" (reg1), "=&a" (reg2), in __diag260()
118 unsigned long reg1, reg2; in tprot() local
134 [reg2] "=&a" (reg2), in tprot()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dcpcmd.c29 register unsigned long reg2 asm ("2") = (addr_t) cpcmd_buf; in diag8_noresponse()
34 : "+d" (reg3) : "d" (reg2) : "cc"); in diag8_noresponse()
42 register unsigned long reg2 asm ("2") = (addr_t) cpcmd_buf; in diag8_response()
53 : "d" (reg2), "d" (reg3), "d" (*rlen) : "cc"); in diag8_response()
/kernel/linux/linux-5.10/arch/x86/crypto/
Dcrct10dif-pcl-asm_64.S64 # Fold reg1, reg2 into the next 32 data bytes, storing the result back into
65 # reg1, reg2.
66 .macro fold_32_bytes offset, reg1, reg2 argument
72 movdqa \reg2, %xmm13
75 pclmulqdq $0x00, FOLD_CONSTS, \reg2
79 pxor %xmm12, \reg2
80 xorps %xmm13, \reg2

123456