Home
last modified time | relevance | path

Searched refs:cr0 (Results 1 - 25 of 231) sorted by relevance

12345678910

/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dcpu_setup_6xx.S188 cmpwi cr0,r10,7
191 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
192 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq
333 cmplwi cr0,r3,0x8000 /* 7450 */
343 /* cr0 is 74xx */
344 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
345 cror 4*cr0
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dcpu_setup_6xx.S214 cmpwi cr0,r10,7
217 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
218 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq
362 cmplwi cr0,r3,0x8000 /* 7450 */
372 /* cr0 is 74xx */
373 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
374 cror 4*cr0
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/vdso32/
H A Dgettimeofday.S46 crclr cr0*4+so
68 cmpli cr0,r3,CLOCK_REALTIME
70 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
76 cror cr0*4+eq,cr0*4+eq,cr5*4+eq
77 bne cr0, .Lgettime_fallback
110 cmpl cr0,r8,r0 /* check if updated */
144 cmpl cr0,r0,r8 /* check if updated */
160 cmpw cr0,r
[all...]
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
H A Dtlb_low_64e.S144 cmpldi cr0,r14,0
161 cmpdi cr0,r14,0
167 cmpdi cr0,r14,0
173 cmpdi cr0,r14,0
218 cmpldi cr0,r15,8 /* Check for vmalloc region */
247 cmpldi cr0,r15,0 /* Check for user region */
298 crmove cr2*4+2,cr0*4+2 /* cr2.eq != 0 if kernel address */
392 cmpldi cr0,r14,0
399 cmpdi cr0,r14,0
405 cmpdi cr0,r1
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
H A Dinit.c18 unsigned long cr0; in fpu__init_cpu_generic() local
28 cr0 = read_cr0(); in fpu__init_cpu_generic()
29 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu__init_cpu_generic()
31 cr0 |= X86_CR0_EM; in fpu__init_cpu_generic()
32 write_cr0(cr0); in fpu__init_cpu_generic()
54 unsigned long cr0; in fpu__probe_without_cpuid() local
59 cr0 = read_cr0(); in fpu__probe_without_cpuid()
60 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu__probe_without_cpuid()
61 write_cr0(cr0); in fpu__probe_without_cpuid()
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/
H A Dinit.c22 unsigned long cr0; in fpu__init_cpu_generic() local
32 cr0 = read_cr0(); in fpu__init_cpu_generic()
33 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu__init_cpu_generic()
35 cr0 |= X86_CR0_EM; in fpu__init_cpu_generic()
36 write_cr0(cr0); in fpu__init_cpu_generic()
58 unsigned long cr0; in fpu__probe_without_cpuid() local
63 cr0 = read_cr0(); in fpu__probe_without_cpuid()
64 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu__probe_without_cpuid()
65 write_cr0(cr0); in fpu__probe_without_cpuid()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dmc13783_ts.c71 int cr0, cr1; in mc13783_ts_report_sample() local
83 cr0 = (priv->sample[2] >> 12) & 0xfff; in mc13783_ts_report_sample()
88 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample()
93 cr0 = (cr0 + cr1) / 2; in mc13783_ts_report_sample()
95 if (!cr0 || !sample_tolerance || in mc13783_ts_report_sample()
99 if (cr0) { in mc13783_ts_report_sample()
104 x1, y1, 0x1000 - cr0); in mc13783_ts_report_sample()
111 cr0 ? 0x1000 - cr0 in mc13783_ts_report_sample()
[all...]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dmc13783_ts.c71 int cr0, cr1; in mc13783_ts_report_sample() local
83 cr0 = (priv->sample[2] >> 12) & 0xfff; in mc13783_ts_report_sample()
88 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample()
93 cr0 = (cr0 + cr1) / 2; in mc13783_ts_report_sample()
95 if (!cr0 || !sample_tolerance || in mc13783_ts_report_sample()
99 if (cr0) { in mc13783_ts_report_sample()
104 x1, y1, 0x1000 - cr0); in mc13783_ts_report_sample()
111 cr0 ? 0x1000 - cr0 in mc13783_ts_report_sample()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/lib/
H A Dmemcmp_64.S176 cmpld cr0,rA,rB
178 bne cr0,.LcmpAB_lightweight
204 cmpld cr0,rA,rB
207 bne cr0,.LcmpAB_lightweight
234 cmpld cr0,rA,rB
235 bne cr0,.LcmpAB_lightweight
278 cmpld cr0,rA,rB
296 bne cr0,.LcmpAB
300 cmpld cr0,rA,rB
323 bne cr0,
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp_64.S176 cmpld cr0,rA,rB
178 bne cr0,.LcmpAB_lightweight
204 cmpld cr0,rA,rB
207 bne cr0,.LcmpAB_lightweight
234 cmpld cr0,rA,rB
235 bne cr0,.LcmpAB_lightweight
278 cmpld cr0,rA,rB
296 bne cr0,.LcmpAB
300 cmpld cr0,rA,rB
323 bne cr0,
[all...]
/kernel/linux/linux-6.6/arch/powerpc/lib/
H A Dmemcmp_64.S176 cmpld cr0,rA,rB
178 bne cr0,.LcmpAB_lightweight
204 cmpld cr0,rA,rB
207 bne cr0,.LcmpAB_lightweight
234 cmpld cr0,rA,rB
235 bne cr0,.LcmpAB_lightweight
278 cmpld cr0,rA,rB
296 bne cr0,.LcmpAB
300 cmpld cr0,rA,rB
323 bne cr0,
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp_64.S176 cmpld cr0,rA,rB
178 bne cr0,.LcmpAB_lightweight
204 cmpld cr0,rA,rB
207 bne cr0,.LcmpAB_lightweight
234 cmpld cr0,rA,rB
235 bne cr0,.LcmpAB_lightweight
278 cmpld cr0,rA,rB
296 bne cr0,.LcmpAB
300 cmpld cr0,rA,rB
323 bne cr0,
[all...]
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/
H A Dtlb_low_64e.S147 cmpldi cr0,r14,0
155 cmpdi cr0,r14,0
161 cmpdi cr0,r14,0
167 cmpdi cr0,r14,0
242 cmpldi cr0,r15,0 /* Check for user region */
292 crmove cr2*4+2,cr0*4+2 /* cr2.eq != 0 if kernel address */
386 cmpldi cr0,r14,0
393 cmpdi cr0,r14,0
399 cmpdi cr0,r14,0
404 cmpdi cr0,r1
[all...]
/kernel/linux/linux-5.10/arch/x86/realmode/rm/
H A Dreboot.S31 movl %cr0, %eax
33 movl %eax, %cr0
98 movl %cr0, %edx
101 movl %edx, %cr0
103 movl %cr0, %edx
109 movl %edx, %cr0
/kernel/linux/linux-6.6/arch/x86/realmode/rm/
H A Dreboot.S31 movl %cr0, %eax
33 movl %eax, %cr0
98 movl %cr0, %edx
101 movl %edx, %cr0
103 movl %cr0, %edx
109 movl %edx, %cr0
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-dw-core.c29 u32 cr0; member
268 u32 cr0 = 0; in dw_spi_prepare_cr0() local
272 cr0 |= FIELD_PREP(DW_PSSI_CTRLR0_FRF_MASK, DW_SPI_CTRLR0_FRF_MOTO_SPI); in dw_spi_prepare_cr0()
280 cr0 |= DW_PSSI_CTRLR0_SCPOL; in dw_spi_prepare_cr0()
282 cr0 |= DW_PSSI_CTRLR0_SCPHA; in dw_spi_prepare_cr0()
286 cr0 |= DW_PSSI_CTRLR0_SRL; in dw_spi_prepare_cr0()
289 cr0 |= FIELD_PREP(DW_HSSI_CTRLR0_FRF_MASK, DW_SPI_CTRLR0_FRF_MOTO_SPI); in dw_spi_prepare_cr0()
297 cr0 |= DW_HSSI_CTRLR0_SCPOL; in dw_spi_prepare_cr0()
299 cr0 |= DW_HSSI_CTRLR0_SCPHA; in dw_spi_prepare_cr0()
303 cr0 | in dw_spi_prepare_cr0()
317 u32 cr0 = chip->cr0; dw_spi_update_config() local
863 u32 cr0, tmp = dw_readl(dws, DW_SPI_CTRLR0); dw_spi_hw_init() local
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dnmi.c120 union ctlreg0 cr0, cr0_new; in s390_handle_damage() local
134 __ctl_store(cr0.val, 0, 0); in s390_handle_damage()
135 cr0_new = cr0; in s390_handle_damage()
149 __ctl_load(cr0.val, 0, 0); in s390_handle_damage()
261 union ctlreg0 cr0; in s390_validate_registers() local
272 cr0.val = S390_lowcore.cregs_save_area[0]; in s390_validate_registers()
273 cr0.afp = cr0.vx = 1; in s390_validate_registers()
274 __ctl_load(cr0.val, 0, 0); in s390_validate_registers()
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dcpuflags.c18 unsigned long cr0; in has_fpu() local
20 asm volatile("mov %%cr0,%0" : "=r" (cr0)); in has_fpu()
21 if (cr0 & (X86_CR0_EM|X86_CR0_TS)) { in has_fpu()
22 cr0 &= ~(X86_CR0_EM|X86_CR0_TS); in has_fpu()
23 asm volatile("mov %0,%%cr0" : : "r" (cr0)); in has_fpu()
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dcpuflags.c18 unsigned long cr0; in has_fpu() local
20 asm volatile("mov %%cr0,%0" : "=r" (cr0)); in has_fpu()
21 if (cr0 & (X86_CR0_EM|X86_CR0_TS)) { in has_fpu()
22 cr0 &= ~(X86_CR0_EM|X86_CR0_TS); in has_fpu()
23 asm volatile("mov %0,%%cr0" : : "r" (cr0)); in has_fpu()
/kernel/linux/linux-6.6/arch/x86/platform/pvh/
H A Dhead.S31 * - `cr0`: bit 0 (PE) must be set. All the other writeable bits are cleared.
89 mov %eax, %cr0
118 mov %cr0, %eax
120 mov %eax, %cr0
130 mov %cr0, %eax
132 mov %eax, %cr0
/kernel/linux/linux-5.10/arch/s390/lib/
H A Ddelay.c36 unsigned long cr0, cr0_new, psw_mask; in __udelay_disabled() local
41 __ctl_store(cr0, 0, 0); in __udelay_disabled()
42 cr0_new = cr0 & ~CR0_IRQ_SUBCLASS_MASK; in __udelay_disabled()
52 __ctl_load(cr0, 0, 0); in __udelay_disabled()
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-dw-core.c28 u32 cr0; member
268 u32 cr0 = 0; in dw_spi_prepare_cr0() local
272 cr0 |= SSI_MOTO_SPI << SPI_FRF_OFFSET; in dw_spi_prepare_cr0()
279 cr0 |= ((spi->mode & SPI_CPOL) ? 1 : 0) << SPI_SCOL_OFFSET; in dw_spi_prepare_cr0()
280 cr0 |= ((spi->mode & SPI_CPHA) ? 1 : 0) << SPI_SCPH_OFFSET; in dw_spi_prepare_cr0()
283 cr0 |= ((spi->mode & SPI_LOOP) ? 1 : 0) << SPI_SRL_OFFSET; in dw_spi_prepare_cr0()
286 cr0 |= SSI_MOTO_SPI << DWC_SSI_CTRLR0_FRF_OFFSET; in dw_spi_prepare_cr0()
293 cr0 |= ((spi->mode & SPI_CPOL) ? 1 : 0) << DWC_SSI_CTRLR0_SCPOL_OFFSET; in dw_spi_prepare_cr0()
294 cr0 |= ((spi->mode & SPI_CPHA) ? 1 : 0) << DWC_SSI_CTRLR0_SCPH_OFFSET; in dw_spi_prepare_cr0()
297 cr0 | in dw_spi_prepare_cr0()
310 u32 cr0 = chip->cr0; dw_spi_update_config() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/vdso64/
H A Ddatapage.S37 cmpldi cr0,r4,0
38 crclr cr0*4+so
59 crclr cr0*4+so
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dsmm.c58 CHECK_SMRAM32_OFFSET(cr0, 0xFFFC); in check_smram_offsets()
98 CHECK_SMRAM64_OFFSET(cr0, 0xFF58); in check_smram_offsets()
190 smram->cr0 = kvm_read_cr0(vcpu); in enter_smm_save_state_32()
249 smram->cr0 = kvm_read_cr0(vcpu); in enter_smm_save_state_64()
285 unsigned long cr0; in enter_smm() local
325 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
326 static_call(kvm_x86_set_cr0)(vcpu, cr0); in enter_smm()
327 vcpu->arch.cr0 = cr0; in enter_smm()
422 rsm_enter_protected_mode(struct kvm_vcpu *vcpu, u64 cr0, u64 cr3, u64 cr4) rsm_enter_protected_mode() argument
575 unsigned long cr0; emulator_leave_smm() local
[all...]
/kernel/linux/linux-5.10/arch/x86/platform/pvh/
H A Dhead.S30 * - `cr0`: bit 0 (PE) must be set. All the other writeable bits are cleared.
89 mov %eax, %cr0
128 mov %cr0, %eax
130 mov %eax, %cr0
140 mov %cr0, %eax
142 mov %eax, %cr0

Completed in 11 milliseconds

12345678910