Home
last modified time | relevance | path

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

12

/linux-6.1.9/crypto/
Daria_generic.c32 u32 reg0, reg1, reg2, reg3; in aria_set_encrypt_key() local
46 reg3 = w0[3] ^ ck[3]; in aria_set_encrypt_key()
48 aria_subst_diff_odd(&reg0, &reg1, &reg2, &reg3); in aria_set_encrypt_key()
70 w1[3] ^= reg3; in aria_set_encrypt_key()
75 reg3 = w1[3]; in aria_set_encrypt_key()
80 reg3 ^= ck[7]; in aria_set_encrypt_key()
82 aria_subst_diff_even(&reg0, &reg1, &reg2, &reg3); in aria_set_encrypt_key()
87 reg3 ^= w0[3]; in aria_set_encrypt_key()
92 w2[3] = reg3; in aria_set_encrypt_key()
97 reg3 ^= ck[11]; in aria_set_encrypt_key()
[all …]
/linux-6.1.9/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
/linux-6.1.9/arch/arm/probes/kprobes/
Dtest-core.h247 #define TEST_RRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ argument
248 TESTCASE_START(code1 #reg1 code2 #reg2 code3 #reg3 code4) \
251 TEST_ARG_REG(reg3, val3) \
253 TEST_INSTRUCTION(code1 #reg1 code2 #reg2 code3 #reg3 code4) \
256 #define TEST_RRRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4, reg4, val4) \ argument
257 TESTCASE_START(code1 #reg1 code2 #reg2 code3 #reg3 code4 #reg4) \
260 TEST_ARG_REG(reg3, val3) \
263 TEST_INSTRUCTION(code1 #reg1 code2 #reg2 code3 #reg3 code4 #reg4) \
289 #define TEST_PRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ argument
290 TESTCASE_START(code1 #reg1 code2 #reg2 code3 #reg3 code4) \
[all …]
/linux-6.1.9/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
/linux-6.1.9/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.c1310 int reg3 = vcpu->arch.sie_block->ipa & 0x000f; in kvm_s390_handle_lctl() local
1326 VCPU_EVENT(vcpu, 4, "LCTL: r1:%d, r3:%d, addr: 0x%llx", reg1, reg3, ga); in kvm_s390_handle_lctl()
1327 trace_kvm_s390_handle_lctl(vcpu, 0, reg1, reg3, ga); in kvm_s390_handle_lctl()
1329 nr_regs = ((reg3 - reg1) & 0xf) + 1; in kvm_s390_handle_lctl()
1338 if (reg == reg3) in kvm_s390_handle_lctl()
1349 int reg3 = vcpu->arch.sie_block->ipa & 0x000f; in kvm_s390_handle_stctl() local
1365 VCPU_EVENT(vcpu, 4, "STCTL r1:%d, r3:%d, addr: 0x%llx", reg1, reg3, ga); in kvm_s390_handle_stctl()
1366 trace_kvm_s390_handle_stctl(vcpu, 0, reg1, reg3, ga); in kvm_s390_handle_stctl()
1372 if (reg == reg3) in kvm_s390_handle_stctl()
1383 int reg3 = vcpu->arch.sie_block->ipa & 0x000f; in handle_lctlg() local
[all …]
/linux-6.1.9/sound/soc/codecs/
Drt715-sdw.c152 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt715_sdw_read() local
174 reg3 = RT715_PRIV_DATA_R_H | nid; in rt715_sdw_read()
175 ret = regmap_write(rt715->sdw_regmap, reg3, in rt715_sdw_read()
179 reg4 = reg3 + 0x1000; in rt715_sdw_read()
262 reg, reg2, reg3, reg4, *val); in rt715_sdw_read()
274 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt715_sdw_write() local
296 reg3 = RT715_PRIV_DATA_W_H | nid; in rt715_sdw_write()
297 ret = regmap_write(rt715->sdw_regmap, reg3, in rt715_sdw_write()
301 reg4 = reg3 + 0x1000; in rt715_sdw_write()
341 __func__, reg, reg2, reg3, reg4, val2, val); in rt715_sdw_write()
Drt711-sdw.c94 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt711_sdw_read() local
116 reg3 = RT711_PRIV_DATA_R_H | nid; in rt711_sdw_read()
118 reg3, ((*val >> 8) & 0xff)); in rt711_sdw_read()
121 reg4 = reg3 + 0x1000; in rt711_sdw_read()
204 __func__, reg, reg2, reg3, reg4, *val); in rt711_sdw_read()
216 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt711_sdw_write() local
238 reg3 = RT711_PRIV_DATA_W_H | nid; in rt711_sdw_write()
240 reg3, ((val >> 8) & 0xff)); in rt711_sdw_write()
243 reg4 = reg3 + 0x1000; in rt711_sdw_write()
283 __func__, reg, reg2, reg3, reg4, val2, val); in rt711_sdw_write()
Drt700-sdw.c90 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt700_sdw_read() local
112 reg3 = RT700_PRIV_DATA_R_H | nid; in rt700_sdw_read()
114 reg3, ((*val >> 8) & 0xff)); in rt700_sdw_read()
117 reg4 = reg3 + 0x1000; in rt700_sdw_read()
200 __func__, reg, reg2, reg3, reg4, *val); in rt700_sdw_read()
212 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt700_sdw_write() local
234 reg3 = RT700_PRIV_DATA_W_H | nid; in rt700_sdw_write()
236 reg3, ((val >> 8) & 0xff)); in rt700_sdw_write()
239 reg4 = reg3 + 0x1000; in rt700_sdw_write()
279 __func__, reg, reg2, reg3, reg4, val2, val); in rt700_sdw_write()
Dcx2072x.c692 union cx2072x_reg_i2spcm_ctrl_reg3 reg3; in cx2072x_config_i2spcm() local
716 reg3.r.rx_master = 1; in cx2072x_config_i2spcm()
721 reg3.r.rx_master = 0; in cx2072x_config_i2spcm()
804 reg3.r.rx_endian_sel = !is_big_endian; in cx2072x_config_i2spcm()
805 reg3.r.rx_dstart_dly = has_one_bit_delay; in cx2072x_config_i2spcm()
812 reg3.r.rx_slot_1 = 0; in cx2072x_config_i2spcm()
814 reg3.r.rx_slot_2 = 0; in cx2072x_config_i2spcm()
816 reg3.r.rx_slot_2 = i2s_right_slot; in cx2072x_config_i2spcm()
851 reg3.ulval); in cx2072x_config_i2spcm()
/linux-6.1.9/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()
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/i2c/busses/
Di2c-mchp-pci1xxxx.c525 u8 reg3; in pci1xxxx_i2c_isr() local
534 reg3 = readb(p2); in pci1xxxx_i2c_isr()
535 if (reg3 & INTR_STAT_DMA_TERM) { in pci1xxxx_i2c_isr()
649 u8 reg3; in pci1xxxx_i2c_configure_core_reg() local
652 reg3 = readb(p3); in pci1xxxx_i2c_configure_core_reg()
655 reg3 |= SMB_CONFIG3_ENMI | SMB_CONFIG3_ENIDI; in pci1xxxx_i2c_configure_core_reg()
658 reg3 &= ~(SMB_CONFIG3_ENMI | SMB_CONFIG3_ENIDI); in pci1xxxx_i2c_configure_core_reg()
662 writeb(reg3, p3); in pci1xxxx_i2c_configure_core_reg()
/linux-6.1.9/drivers/video/fbdev/
Dvalkyriefb.h68 struct vpreg reg3; member
/linux-6.1.9/drivers/clk/
Dclk-axi-clkgen.c321 unsigned int reg1, unsigned int reg2, unsigned int reg3, in axi_clkgen_set_div() argument
330 if (reg3 != 0) { in axi_clkgen_set_div()
331 axi_clkgen_mmcm_write(axi_clkgen, reg3, in axi_clkgen_set_div()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_hsi.h656 __le32 reg3; member
780 __le32 reg3; member
862 __le32 reg3; member
1680 __le32 reg3; member
3492 __le32 reg3; member
3576 __le32 reg3; member
3665 __le32 reg3; member
4614 __le32 reg3; member
5334 __le32 reg3; member
5680 __le32 reg3; member
[all …]
/linux-6.1.9/arch/sparc/lib/
Dcopy_page.S38 #define TOUCH(reg0, reg1, reg2, reg3, reg4, reg5, reg6, reg7) \ argument
40 fsrc2 %reg2, %f52; fsrc2 %reg3, %f54; \
/linux-6.1.9/drivers/gpu/drm/mga/
Dmga_drv.h338 #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ argument
343 (DMAREG(reg3) << 24))); \

12