Home
last modified time | relevance | path

Searched refs:cr0 (Results 1 – 25 of 130) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/powerpc/kernel/
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 */
344 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
345 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
346 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
347 cror 4*cr0+eq,4*cr0+eq,4*cr5+eq
348 cror 4*cr0+eq,4*cr0+eq,4*cr7+eq
373 cmpwi cr0,r3,0x0200
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/vdso64/
Dgettimeofday.S45 crclr cr0*4+so
61 cmpwi cr0,r3,CLOCK_REALTIME
63 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
69 cror cr0*4+eq,cr0*4+eq,cr5*4+eq
70 bne cr0,99f
102 cmpld cr0,r0,r8 /* check if updated */
135 cmpld cr0,r0,r8 /* check if updated */
147 cmpd cr0,r5,r7
160 crclr cr0*4+so
185 cmpwi cr0,r3,CLOCK_REALTIME
[all …]
Dgetcpu.S21 cmpdi cr0,r3,0
25 beq cr0,1f
29 2: crclr cr0*4+so
Ddatapage.S37 cmpldi cr0,r4,0
38 crclr cr0*4+so
59 crclr cr0*4+so
Dcacheflush.S38 crclr cr0*4+so
55 crclr cr0*4+so
73 crclr cr0*4+so
/kernel/linux/linux-5.10/arch/powerpc/kernel/vdso32/
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,r4,r7
174 crclr cr0*4+so
199 cmplwi cr0, r3, CLOCK_MAX
[all …]
Dgetcpu.S22 cmpwi cr0,r3,0
26 beq cr0,1f
28 1: crclr cr0*4+so
38 cmpwi cr0, r3, 0
41 beq cr0, 1f
44 crclr cr0*4+so
Dcacheflush.S50 crclr cr0*4+so
72 crclr cr0*4+so
96 crclr cr0*4+so
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
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-5.10/arch/powerpc/mm/nohash/
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,r14,0
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
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 : cr0); in mc13783_ts_report_sample()
112 input_report_key(idev, BTN_TOUCH, cr0); in mc13783_ts_report_sample()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/
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,.LcmpAB
[all …]
/kernel/linux/linux-5.10/arch/powerpc/lib/
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,.LcmpAB
[all …]
/kernel/linux/linux-5.10/arch/x86/realmode/rm/
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
Dwakeup_asm.S52 movl %cr0, %eax
54 movl %eax, %cr0
64 movl %eax, %cr0
132 movl %ecx, %cr0
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_stub_32.S36 movl %cr0, %edx
38 movl %edx, %cr0
53 movl %cr0, %edx
55 movl %edx, %cr0
/kernel/linux/linux-5.10/arch/x86/boot/
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-5.10/arch/s390/lib/
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/
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 |= ((spi->mode & SPI_LOOP) ? 1 : 0) << DWC_SSI_CTRLR0_SRL_OFFSET; in dw_spi_prepare_cr0()
[all …]
/kernel/linux/linux-5.10/arch/x86/platform/pvh/
Dhead.S89 mov %eax, %cr0
128 mov %cr0, %eax
130 mov %eax, %cr0
140 mov %cr0, %eax
142 mov %eax, %cr0
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Defi_thunk_64.S114 movl %cr0, %eax
116 movl %eax, %cr0
156 movl %cr0, %eax
158 movl %eax, %cr0
/kernel/linux/linux-5.10/arch/powerpc/purgatory/
Dtrampoline_64.S58 cmpdi %cr0, %r3, 0
62 cmpdi %cr0, %r5, 0
71 cmpld %cr0, %r6, %r5
85 cmpwi %cr0,%r6,2 /* v2 or later? */
/kernel/linux/linux-5.10/arch/x86/kernel/
Drelocate_kernel_32.S52 movl %cr0, %eax
116 movl %cr0, %eax
119 movl %eax, %cr0
193 movl %cr0, %eax
195 movl %eax, %cr0
211 movl %eax, %cr0
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/
Dssp.c160 ssp->cr0 = Ser4SSCR0; in ssp_save_state()
176 Ser4SSCR0 = ssp->cr0 & ~SSCR0_SSE; in ssp_restore_state()
178 Ser4SSCR0 = ssp->cr0; in ssp_restore_state()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dpowernow-k6.c105 unsigned long cr0; in powernow_k6_set_cpu_multiplier() local
114 cr0 = read_cr0(); in powernow_k6_set_cpu_multiplier()
115 write_cr0(cr0 | X86_CR0_CD); in powernow_k6_set_cpu_multiplier()
129 write_cr0(cr0); in powernow_k6_set_cpu_multiplier()

123456