Home
last modified time | relevance | path

Searched refs:reg3 (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/arch/arm/lib/
Dcopy_from_user.S46 .macro ldr4w ptr reg1 reg2 reg3 reg4 abort
49 ldr1w \ptr, \reg3, \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}
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
67 str1w \ptr, \reg3, \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})
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}
Dcsumpartialcopy.S43 .macro load4l, reg1, reg2, reg3, reg4
44 ldmia r0!, {\reg1, \reg2, \reg3, \reg4}
Dcsumpartialcopyuser.S56 .macro load4l, reg1, reg2, reg3, reg4
59 ldrusr \reg3, r0, 4
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
Dtest-core.h246 #define TEST_RRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ argument
247 TESTCASE_START(code1 #reg1 code2 #reg2 code3 #reg3 code4) \
250 TEST_ARG_REG(reg3, val3) \
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) \
259 TEST_ARG_REG(reg3, val3) \
262 TEST_INSTRUCTION(code1 #reg1 code2 #reg2 code3 #reg3 code4 #reg4) \
288 #define TEST_PRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ argument
289 TESTCASE_START(code1 #reg1 code2 #reg2 code3 #reg3 code4) \
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_ptrauth.h69 .macro ptrauth_switch_to_guest g_ctxt, reg1, reg2, reg3
77 ptrauth_restore_state \reg1, \reg2, \reg3
81 .macro ptrauth_switch_to_hyp g_ctxt, h_ctxt, reg1, reg2, reg3
89 ptrauth_save_state \reg1, \reg2, \reg3
91 ptrauth_restore_state \reg1, \reg2, \reg3
97 .macro ptrauth_switch_to_guest g_ctxt, reg1, reg2, reg3
99 .macro ptrauth_switch_to_hyp g_ctxt, h_ctxt, reg1, reg2, reg3
/kernel/linux/linux-5.10/arch/s390/kvm/
Dtrace.h287 TP_PROTO(VCPU_PROTO_COMMON, int g, int reg1, int reg3, u64 addr),
288 TP_ARGS(VCPU_ARGS_COMMON, g, reg1, reg3, addr),
294 __field(int, reg3)
302 __entry->reg3 = reg3;
308 __entry->reg1, __entry->reg3, __entry->addr)
312 TP_PROTO(VCPU_PROTO_COMMON, int g, int reg1, int reg3, u64 addr),
313 TP_ARGS(VCPU_ARGS_COMMON, g, reg1, reg3, addr),
319 __field(int, reg3)
327 __entry->reg3 = reg3;
333 __entry->reg1, __entry->reg3, __entry->addr)
Dpriv.c1296 int reg3 = vcpu->arch.sie_block->ipa & 0x000f; in kvm_s390_handle_lctl() local
1312 VCPU_EVENT(vcpu, 4, "LCTL: r1:%d, r3:%d, addr: 0x%llx", reg1, reg3, ga); in kvm_s390_handle_lctl()
1313 trace_kvm_s390_handle_lctl(vcpu, 0, reg1, reg3, ga); in kvm_s390_handle_lctl()
1315 nr_regs = ((reg3 - reg1) & 0xf) + 1; in kvm_s390_handle_lctl()
1324 if (reg == reg3) in kvm_s390_handle_lctl()
1335 int reg3 = vcpu->arch.sie_block->ipa & 0x000f; in kvm_s390_handle_stctl() local
1351 VCPU_EVENT(vcpu, 4, "STCTL r1:%d, r3:%d, addr: 0x%llx", reg1, reg3, ga); in kvm_s390_handle_stctl()
1352 trace_kvm_s390_handle_stctl(vcpu, 0, reg1, reg3, ga); in kvm_s390_handle_stctl()
1358 if (reg == reg3) in kvm_s390_handle_stctl()
1369 int reg3 = vcpu->arch.sie_block->ipa & 0x000f; in handle_lctlg() local
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dcpcmd.c30 register unsigned long reg3 asm ("3") = cmdlen; in diag8_noresponse()
34 : "+d" (reg3) : "d" (reg2) : "cc"); in diag8_noresponse()
35 return reg3; in diag8_noresponse()
43 register unsigned long reg3 asm ("3") = (addr_t) response; in diag8_response()
53 : "d" (reg2), "d" (reg3), "d" (*rlen) : "cc"); in diag8_response()
/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
173 reg3 = RT715_PRIV_DATA_R_H | nid; in rt715_sdw_read()
174 ret = regmap_write(rt715->sdw_regmap, reg3, in rt715_sdw_read()
178 reg4 = reg3 + 0x1000; in rt715_sdw_read()
261 reg, reg2, reg3, reg4, *val); in rt715_sdw_read()
273 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt715_sdw_write() local
295 reg3 = RT715_PRIV_DATA_W_H | nid; in rt715_sdw_write()
296 ret = regmap_write(rt715->sdw_regmap, reg3, in rt715_sdw_write()
300 reg4 = reg3 + 0x1000; in rt715_sdw_write()
340 __func__, reg, reg2, reg3, reg4, val2, val); in rt715_sdw_write()
Drt700-sdw.c89 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt700_sdw_read() local
111 reg3 = RT700_PRIV_DATA_R_H | nid; in rt700_sdw_read()
113 reg3, ((*val >> 8) & 0xff)); in rt700_sdw_read()
116 reg4 = reg3 + 0x1000; in rt700_sdw_read()
199 __func__, reg, reg2, reg3, reg4, *val); in rt700_sdw_read()
211 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt700_sdw_write() local
233 reg3 = RT700_PRIV_DATA_W_H | nid; in rt700_sdw_write()
235 reg3, ((val >> 8) & 0xff)); in rt700_sdw_write()
238 reg4 = reg3 + 0x1000; in rt700_sdw_write()
278 __func__, reg, reg2, reg3, reg4, val2, val); in rt700_sdw_write()
Drt711-sdw.c93 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt711_sdw_read() local
115 reg3 = RT711_PRIV_DATA_R_H | nid; in rt711_sdw_read()
117 reg3, ((*val >> 8) & 0xff)); in rt711_sdw_read()
120 reg4 = reg3 + 0x1000; in rt711_sdw_read()
203 __func__, reg, reg2, reg3, reg4, *val); in rt711_sdw_read()
215 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt711_sdw_write() local
237 reg3 = RT711_PRIV_DATA_W_H | nid; in rt711_sdw_write()
239 reg3, ((val >> 8) & 0xff)); in rt711_sdw_write()
242 reg4 = reg3 + 0x1000; in rt711_sdw_write()
282 __func__, reg, reg2, reg3, reg4, val2, val); in rt711_sdw_write()
Dcx2072x.c692 union cx2072x_reg_i2spcm_ctrl_reg3 reg3; in cx2072x_config_i2spcm() local
717 reg3.r.rx_master = 1; in cx2072x_config_i2spcm()
723 reg3.r.rx_master = 0; in cx2072x_config_i2spcm()
807 reg3.r.rx_endian_sel = !is_big_endian; in cx2072x_config_i2spcm()
808 reg3.r.rx_dstart_dly = has_one_bit_delay; in cx2072x_config_i2spcm()
815 reg3.r.rx_slot_1 = 0; in cx2072x_config_i2spcm()
817 reg3.r.rx_slot_2 = 0; in cx2072x_config_i2spcm()
819 reg3.r.rx_slot_2 = i2s_right_slot; in cx2072x_config_i2spcm()
857 reg3.ulval); in cx2072x_config_i2spcm()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/
Dit_pthread_test.h46 register int reg3 __asm__("r3") = parm4; in Syscall()
51 …olatile__("svc 0" : "=r"(reg0) : "r"(reg7), "r"(reg0), "r"(reg1), "r"(reg2), "r"(reg3) : "memory"); in Syscall()
/kernel/linux/linux-5.10/arch/m68k/atari/
Ddebug.c219 int clksrc, clkmode, div, reg3, reg5; in atari_init_scc_port() local
239 reg3 = (cflag & CSIZE) == CS8 ? 0xc0 : 0x40; in atari_init_scc_port()
247 SCC_WRITE(3, reg3); in atari_init_scc_port()
257 SCC_WRITE(3, reg3 | 1); in atari_init_scc_port()
/kernel/linux/linux-5.10/drivers/hwmon/
Dnct7904.c392 unsigned int reg1, reg2, reg3; in nct7904_read_temp() local
467 reg3 = DTS_T_CPU1_W_REG; in nct7904_read_temp()
472 reg3 = DTS_T_CPU1_WH_REG; in nct7904_read_temp()
477 reg3 = DTS_T_CPU1_C_REG; in nct7904_read_temp()
482 reg3 = DTS_T_CPU1_CH_REG; in nct7904_read_temp()
495 reg3 + (channel - 5) * 4); in nct7904_read_temp()
569 unsigned int reg1, reg2, reg3; in nct7904_write_temp() local
577 reg3 = DTS_T_CPU1_W_REG; in nct7904_write_temp()
582 reg3 = DTS_T_CPU1_WH_REG; in nct7904_write_temp()
587 reg3 = DTS_T_CPU1_C_REG; in nct7904_write_temp()
[all …]
/kernel/liteos_a/testsuites/unittest/process/basic/process/
Dit_test_process.h44 register int reg3 __asm__("r3") = parm4; in Syscall()
49 …olatile__("svc 0" : "=r"(reg0) : "r"(reg7), "r"(reg0), "r"(reg1), "r"(reg2), "r"(reg3) : "memory"); in Syscall()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c86 const struct bpf_reg_state *reg3 = cur_regs(env) + BPF_REG_3; in nfp_bpf_map_update_value_ok() local
92 state = env->cur_state->frame[reg3->frameno]; in nfp_bpf_map_update_value_ok()
101 off = reg3->off + reg3->var_off.value; in nfp_bpf_map_update_value_ok()
176 const struct bpf_reg_state *reg3 = cur_regs(env) + BPF_REG_3; in nfp_bpf_check_helper_call() local
214 !nfp_bpf_stack_arg_ok("map_update", env, reg3, NULL) || in nfp_bpf_check_helper_call()
247 if (reg3->var_off.mask & BPF_F_INDEX_MASK || in nfp_bpf_check_helper_call()
248 (reg3->var_off.value & BPF_F_INDEX_MASK) != in nfp_bpf_check_helper_call()
252 tnum_strn(tn_buf, sizeof(tn_buf), reg3->var_off); in nfp_bpf_check_helper_call()
/kernel/linux/linux-5.10/drivers/media/usb/msi2500/
Dmsi2500.c674 u32 reg3, reg4, reg7; in msi2500_set_usb_adc() local
760 reg3 = 0x01000303; in msi2500_set_usb_adc()
765 reg3 |= 0x1 << 20; in msi2500_set_usb_adc()
767 reg3 |= 0x5 << 20; in msi2500_set_usb_adc()
769 reg3 |= 0x9 << 20; in msi2500_set_usb_adc()
771 reg3 |= 0xd << 20; in msi2500_set_usb_adc()
784 reg3 |= div_n << 16; in msi2500_set_usb_adc()
785 reg3 |= (div_out / 2 - 1) << 10; in msi2500_set_usb_adc()
786 reg3 |= ((k_cw >> 20) & 0x000001) << 15; /* [20] */ in msi2500_set_usb_adc()
791 f_sr, f_vco, div_n, k, div_out, reg3, reg4); in msi2500_set_usb_adc()
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dchecksum.h33 register unsigned long reg3 asm("3") = (unsigned long) len; in csum_partial()
38 : "+d" (sum), "+d" (reg2), "+d" (reg3) : : "cc", "memory"); in csum_partial()
Dap.h309 register unsigned long reg3 asm ("3") = (unsigned long) length; in ap_nqap()
316 : "+d" (reg0), "=d" (reg1), "+d" (reg2), "+d" (reg3) in ap_nqap()
Dpage.h59 register unsigned long reg3 asm ("3") = 0x1000; in copy_page()
64 : "+d" (reg2), "+d" (reg3), "+d" (reg4), "+d" (reg5) in copy_page()
/kernel/linux/linux-5.10/drivers/misc/cardreader/
Drtl8411.c42 u8 reg3 = 0; in rtl8411_fetch_vendor_settings() local
56 pci_read_config_byte(pdev, PCR_SETTING_REG3, &reg3); in rtl8411_fetch_vendor_settings()
57 pcr_dbg(pcr, "Cfg 0x%x: 0x%x\n", PCR_SETTING_REG3, reg3); in rtl8411_fetch_vendor_settings()
58 pcr->sd30_drive_sel_3v3 = rtl8411_reg_to_sd30_drive_sel_3v3(reg3); in rtl8411_fetch_vendor_settings()
/kernel/linux/linux-5.10/drivers/ide/
Dali14xx.c73 static struct { u8 reg1, reg2, reg3, reg4; } regTab[4] = { member
141 outReg(param3, regTab[driveNum].reg3); in ali14xx_set_pio_mode()

12