Home
last modified time | relevance | path

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

1234567

/openbmc/linux/arch/nios2/include/asm/
H A Dasm-macros.h24 and \reg1, \reg1, \reg2
78 .macro BT reg1, reg2, bit
98 BT \reg1, \reg2, \bit
110 BT \reg1, \reg2, \bit
127 xori \reg2, \reg2, (1 << \bit)
130 xorhi \reg2, \reg2, (1 << (\bit - 16))
148 ori \reg2, \reg2, (1 << \bit)
151 orhi \reg2, \reg2, (1 << (\bit - 16))
169 andi \reg2, \reg2, %lo(~(1 << \bit))
172 andhi \reg2, \reg2, %lo(~(1 << (\bit - 16)))
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_ptrauth.h26 .macro ptrauth_save_state base, reg1, reg2
28 mrs_s \reg2, SYS_APIAKEYHI_EL1
31 mrs_s \reg2, SYS_APIBKEYHI_EL1
34 mrs_s \reg2, SYS_APDAKEYHI_EL1
37 mrs_s \reg2, SYS_APDBKEYHI_EL1
40 mrs_s \reg2, SYS_APGAKEYHI_EL1
47 msr_s SYS_APIAKEYHI_EL1, \reg2
50 msr_s SYS_APIBKEYHI_EL1, \reg2
53 msr_s SYS_APDAKEYHI_EL1, \reg2
56 msr_s SYS_APDBKEYHI_EL1, \reg2
[all …]
/openbmc/linux/arch/arm/probes/kprobes/
H A Dtest-core.h242 TEST_ARG_REG(reg2, val2) \
250 TEST_ARG_REG(reg2, val2) \
259 TEST_ARG_REG(reg2, val2) \
276 TEST_ARG_REG(reg2, val2) \
284 TEST_ARG_PTR(reg2, val2) \
292 TEST_ARG_REG(reg2, val2) \
301 TEST_ARG_PTR(reg2, val2) \
310 TEST_ARG_REG(reg2, val2) \
352 TEST_ARG_REG(reg2, val2) \
354 TEST_BRANCH_F(code1 #reg1 code2 #reg2 code3) \
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Dap.h136 unsigned long reg2; in ap_tapq() local
144 : [reg1] "=&d" (reg1.value), [reg2] "=&d" (reg2) in ap_tapq()
148 info->value = reg2; in ap_tapq()
258 : [reg0] "d" (reg0), [reg2] "d" (reg2) in ap_qci()
312 : [reg0] "d" (reg0), [reg2] "d" (reg2) in ap_aqic()
349 unsigned long reg2; in ap_qact() local
359 : [reg1] "+&d" (reg1.value), [reg2] "=&d" (reg2) in ap_qact()
362 apinfo->val = reg2; in ap_qact()
413 : [reg0] "d" (reg0), [reg2] "d" (reg2) in ap_aapq()
496 unsigned long reg2; in ap_dqap() local
[all …]
/openbmc/linux/sound/soc/codecs/
H A Drt715-sdw.c169 reg2 = reg + 0x1000; in rt715_sdw_read()
170 reg2 |= 0x80; in rt715_sdw_read()
197 reg2 = reg + 0x1000; in rt715_sdw_read()
198 reg2 |= 0x80; in rt715_sdw_read()
203 reg2 = reg - 0x1000; in rt715_sdw_read()
204 reg2 &= ~0x80; in rt715_sdw_read()
218 reg2 |= 0x80; in rt715_sdw_read()
292 reg2 |= 0x80; in rt715_sdw_write()
322 reg2 |= 0x80; in rt715_sdw_write()
328 reg2 &= ~0x80; in rt715_sdw_write()
[all …]
H A Drt700-sdw.c106 reg2 = reg + 0x1000; in rt700_sdw_read()
107 reg2 |= 0x80; in rt700_sdw_read()
134 reg2 = reg + 0x1000; in rt700_sdw_read()
135 reg2 |= 0x80; in rt700_sdw_read()
140 reg2 = reg - 0x1000; in rt700_sdw_read()
141 reg2 &= ~0x80; in rt700_sdw_read()
155 reg2 |= 0x80; in rt700_sdw_read()
229 reg2 |= 0x80; in rt700_sdw_write()
259 reg2 |= 0x80; in rt700_sdw_write()
265 reg2 &= ~0x80; in rt700_sdw_write()
[all …]
H A Drt711-sdw.c110 reg2 = reg + 0x1000; in rt711_sdw_read()
111 reg2 |= 0x80; in rt711_sdw_read()
138 reg2 = reg + 0x1000; in rt711_sdw_read()
139 reg2 |= 0x80; in rt711_sdw_read()
144 reg2 = reg - 0x1000; in rt711_sdw_read()
145 reg2 &= ~0x80; in rt711_sdw_read()
159 reg2 |= 0x80; in rt711_sdw_read()
233 reg2 |= 0x80; in rt711_sdw_write()
263 reg2 |= 0x80; in rt711_sdw_write()
269 reg2 &= ~0x80; in rt711_sdw_write()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_ecc.c68 uint8_t idx, reg1, reg2, reg3, tmp1, tmp2; in nand_calculate_ecc() local
72 reg1 = reg2 = reg3 = 0; in nand_calculate_ecc()
83 reg2 ^= ~((uint8_t) i); in nand_calculate_ecc()
89 tmp1 |= (reg2 & 0x80) >> 1; /* B7 -> B6 */ in nand_calculate_ecc()
91 tmp1 |= (reg2 & 0x40) >> 2; /* B6 -> B4 */ in nand_calculate_ecc()
93 tmp1 |= (reg2 & 0x20) >> 3; /* B5 -> B2 */ in nand_calculate_ecc()
95 tmp1 |= (reg2 & 0x10) >> 4; /* B4 -> B0 */ in nand_calculate_ecc()
98 tmp2 |= (reg2 & 0x08) << 3; /* B3 -> B6 */ in nand_calculate_ecc()
100 tmp2 |= (reg2 & 0x04) << 2; /* B2 -> B4 */ in nand_calculate_ecc()
102 tmp2 |= (reg2 & 0x02) << 1; /* B1 -> B2 */ in nand_calculate_ecc()
[all …]
/openbmc/linux/crypto/
H A Daria_generic.c32 u32 reg0, reg1, reg2, reg3; in aria_set_encrypt_key() local
45 reg2 = w0[2] ^ ck[2]; in aria_set_encrypt_key()
69 w1[2] ^= reg2; in aria_set_encrypt_key()
74 reg2 = w1[2]; in aria_set_encrypt_key()
79 reg2 ^= ck[6]; in aria_set_encrypt_key()
86 reg2 ^= w0[2]; in aria_set_encrypt_key()
91 w2[2] = reg2; in aria_set_encrypt_key()
96 reg2 ^= ck[10]; in aria_set_encrypt_key()
103 w3[2] = reg2 ^ w1[2]; in aria_set_encrypt_key()
200 u32 reg0, reg1, reg2, reg3; in __aria_crypt() local
[all …]
/openbmc/linux/arch/arm/kernel/
H A Dhyp-stub.S31 .macro store_primary_cpu_mode reg1, reg2 argument
34 str_l \reg1, __boot_cpu_mode, \reg2
43 .macro compare_cpu_mode_with_primary mode, reg1, reg2 argument
44 adr_l \reg2, __boot_cpu_mode
45 ldr \reg1, [\reg2]
48 strne \reg1, [\reg2] @ record what happened and give up
53 .macro store_primary_cpu_mode reg1:req, reg2:req
60 .macro compare_cpu_mode_with_primary mode, reg1, reg2 argument
/openbmc/linux/arch/arm/lib/
H A 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}
H A Dcsumpartialcopy.S29 .macro load2b, reg1, reg2
31 ldrb \reg2, [r0], #1
38 .macro load2l, reg1, reg2
40 ldr \reg2, [r0], #4
43 .macro load4l, reg1, reg2, reg3, reg4
44 ldmia r0!, {\reg1, \reg2, \reg3, \reg4}
H A Dcsumpartialcopyuser.S42 .macro load2b, reg1, reg2
44 ldrusr \reg2, r0, 1
51 .macro load2l, reg1, reg2
53 ldrusr \reg2, r0, 4
56 .macro load4l, reg1, reg2, reg3, reg4
58 ldrusr \reg2, r0, 4
H A 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})
H A 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}
/openbmc/u-boot/post/lib_powerpc/
H A Drlwnm.c62 unsigned int reg2 = (reg + 2) % 32; in cpu_post_test_rlwnm() local
72 ASM_STW(reg2, stk, 0), in cpu_post_test_rlwnm()
75 ASM_122(test->cmd, reg2, reg1, reg0, test->mb, test->me), in cpu_post_test_rlwnm()
76 ASM_STW(reg2, stk, 12), in cpu_post_test_rlwnm()
77 ASM_LWZ(reg2, stk, 0), in cpu_post_test_rlwnm()
93 ASM_STW(reg2, stk, 0), in cpu_post_test_rlwnm()
96 ASM_122(test->cmd, reg2, reg1, reg0, test->mb, test->me) | in cpu_post_test_rlwnm()
98 ASM_STW(reg2, stk, 12), in cpu_post_test_rlwnm()
99 ASM_LWZ(reg2, stk, 0), in cpu_post_test_rlwnm()
H A Dthreex.c127 unsigned int reg2 = (reg + 2) % 32; in cpu_post_test_threex() local
137 ASM_STW(reg2, stk, 0), in cpu_post_test_threex()
140 ASM_12X(test->cmd, reg2, reg1, reg0), in cpu_post_test_threex()
141 ASM_STW(reg2, stk, 12), in cpu_post_test_threex()
142 ASM_LWZ(reg2, stk, 0), in cpu_post_test_threex()
158 ASM_STW(reg2, stk, 0), in cpu_post_test_threex()
161 ASM_12X(test->cmd, reg2, reg1, reg0) | BIT_C, in cpu_post_test_threex()
162 ASM_STW(reg2, stk, 12), in cpu_post_test_threex()
163 ASM_LWZ(reg2, stk, 0), in cpu_post_test_threex()
H A Dthree.c157 unsigned int reg2 = (reg + 2) % 32; in cpu_post_test_three() local
167 ASM_STW(reg2, stk, 0), in cpu_post_test_three()
170 ASM_12(test->cmd, reg2, reg1, reg0), in cpu_post_test_three()
171 ASM_STW(reg2, stk, 12), in cpu_post_test_three()
172 ASM_LWZ(reg2, stk, 0), in cpu_post_test_three()
188 ASM_STW(reg2, stk, 0), in cpu_post_test_three()
191 ASM_12(test->cmd, reg2, reg1, reg0) | BIT_C, in cpu_post_test_three()
192 ASM_STW(reg2, stk, 12), in cpu_post_test_three()
193 ASM_LWZ(reg2, stk, 0), in cpu_post_test_three()
/openbmc/linux/drivers/rtc/
H A 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()
/openbmc/linux/arch/x86/events/intel/
H A Duncore_nhmex.c693 if (reg2->idx != EXTRA_REG_NONE && in nhmex_mbox_get_constraint()
695 !nhmex_mbox_get_shared_reg(box, reg2->idx, reg2->config)) in nhmex_mbox_get_constraint()
708 if (reg2->idx != EXTRA_REG_NONE) in nhmex_mbox_get_constraint()
709 reg2->alloc = 1; in nhmex_mbox_get_constraint()
752 if (reg2->alloc) { in nhmex_mbox_put_constraint()
754 reg2->alloc = 0; in nhmex_mbox_put_constraint()
810 reg2->config = ~0ULL; in nhmex_mbox_hw_config()
852 wrmsrl(reg2->reg, 0); in nhmex_mbox_msr_enable_event()
853 if (reg2->config != ~0ULL) { in nhmex_mbox_msr_enable_event()
854 wrmsrl(reg2->reg + 1, in nhmex_mbox_msr_enable_event()
[all …]
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit.h103 #define hppa_or(reg1, reg2, target) \ argument
105 #define hppa_or_cond(reg1, reg2, cond, f, target) \ argument
106 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x09, target)
107 #define hppa_and(reg1, reg2, target) \ argument
109 #define hppa_and_cond(reg1, reg2, cond, f, target) \ argument
110 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x08, target)
111 #define hppa_xor(reg1, reg2, target) \ argument
113 #define hppa_add(reg1, reg2, target) \ argument
115 #define hppa_addc(reg1, reg2, target) \ argument
117 #define hppa_sub(reg1, reg2, target) \ argument
[all …]
/openbmc/u-boot/drivers/ddr/imx/imx8m/
H A Dddrphy_utils.c51 unsigned int reg, reg2; in get_stream_message() local
57 reg2 = reg32_read(IP2APB_DDRPHY_IPS_BASE_ADDR(0) + 4 * 0xd0034); in get_stream_message()
59 reg2 = (reg2 << 16) | reg; in get_stream_message()
63 return reg2; in get_stream_message()
/openbmc/linux/drivers/media/dvb-frontends/
H A 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()
/openbmc/linux/arch/powerpc/kernel/
H A 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
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_pmdemand.c387 u32 reg1, reg2; in intel_pmdemand_init_pmdemand_params() local
420 REG_FIELD_GET(XELPDP_PMDEMAND_CDCLK_FREQ_MASK, reg2); in intel_pmdemand_init_pmdemand_params()
422 REG_FIELD_GET(XELPDP_PMDEMAND_DDICLK_FREQ_MASK, reg2); in intel_pmdemand_init_pmdemand_params()
424 REG_FIELD_GET(XELPDP_PMDEMAND_SCALERS_MASK, reg2); in intel_pmdemand_init_pmdemand_params()
471 u32 *reg1, u32 *reg2, bool serialized) in intel_pmdemand_update_params() argument
510 update_reg(reg2, ddiclk_max, XELPDP_PMDEMAND_DDICLK_FREQ_MASK); in intel_pmdemand_update_params()
511 update_reg(reg2, scalers, XELPDP_PMDEMAND_SCALERS_MASK); in intel_pmdemand_update_params()
512 update_reg(reg2, plls, XELPDP_PMDEMAND_PLLS_MASK); in intel_pmdemand_update_params()
525 u32 reg2, mod_reg2; in intel_pmdemand_program_params() local
536 mod_reg2 = reg2; in intel_pmdemand_program_params()
[all …]

1234567