Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/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 */
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 …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/vdso64/
H A 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 …]
H A Dgetcpu.S21 cmpdi cr0,r3,0
25 beq cr0,1f
29 2: crclr cr0*4+so
H A Ddatapage.S37 cmpldi cr0,r4,0
38 crclr cr0*4+so
59 crclr cr0*4+so
/OK3568_Linux_fs/kernel/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,r4,r7
174 crclr cr0*4+so
199 cmplwi cr0, r3, CLOCK_MAX
[all …]
H A 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
/OK3568_Linux_fs/kernel/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,r14,0
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 : cr0); in mc13783_ts_report_sample()
112 input_report_key(idev, BTN_TOUCH, cr0); in mc13783_ts_report_sample()
/OK3568_Linux_fs/kernel/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,.LcmpAB
[all …]
/OK3568_Linux_fs/kernel/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,.LcmpAB
[all …]
/OK3568_Linux_fs/u-boot/include/faraday/
H A Dftpmu010.h143 #define FTPMU010_PDLLCR0_HCLKOUTDIS(cr0) (((cr0) & 0xf) << 20) argument
144 #define FTPMU010_PDLLCR0_DLLFRAG(cr0) (1 << 19) argument
148 #define FTPMU010_PDLLCR0_PLL1FRANG(cr0) (((cr0) & 0x3) << 12) argument
149 #define FTPMU010_PDLLCR0_PLL1NS(cr0) (((cr0) & 0x1ff) << 3) argument
173 void ftpmu010_sdram_clk_disable(unsigned int cr0);
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/libffi/libffi/
H A D0001-arm-sysv-reverted-clang-VFP-mitigation.patch33 ldcle p11, cr0, [r0] @ vldrle d0, [r0]
34 ldcgt p11, cr0, [r0], {16} @ vldmgt r0, {d0-d7}
46 stc p10, cr0, [r2] @ vstr s0, [r2]
53 stc p11, cr0, [r2] @ vstr d0, [r2]
60 stc p11, cr0, [r2], {8} @ vstm r2, {d0-d3}
72 stc p11, cr0, [sp], {16} @ vstm sp, {d0-d7}
84 ldc p10, cr0, [r2] @ vldr s0, [r2]
91 ldc p11, cr0, [r2] @ vldr d0, [r2]
98 ldc p11, cr0, [r2], {8} @ vldm r2, {d0-d3}
/OK3568_Linux_fs/kernel/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
H A Dwakeup_asm.S52 movl %cr0, %eax
54 movl %eax, %cr0
64 movl %eax, %cr0
132 movl %ecx, %cr0
/OK3568_Linux_fs/u-boot/arch/x86/cpu/intel_common/
H A Dcar.S103 movl %cr0, %eax
106 movl %eax, %cr0
130 movl %cr0, %eax
132 movl %eax, %cr0
162 movl %cr0, %eax
164 movl %eax, %cr0
180 movl %cr0, %eax
182 movl %eax, %cr0
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 |= ((spi->mode & SPI_LOOP) ? 1 : 0) << DWC_SSI_CTRLR0_SRL_OFFSET; in dw_spi_prepare_cr0()
[all …]
H A Dspi-rockchip.c620 u32 cr0 = CR0_FRF_SPI << CR0_FRF_OFFSET in rockchip_spi_config() local
628 cr0 |= CR0_OPM_SLAVE << CR0_OPM_OFFSET; in rockchip_spi_config()
631 cr0 |= rs->rsd << CR0_RSD_OFFSET; in rockchip_spi_config()
632 cr0 |= rs->csm << CR0_CSM_OFFSET; in rockchip_spi_config()
633 cr0 |= (spi->mode & 0x3U) << CR0_SCPH_OFFSET; in rockchip_spi_config()
635 cr0 |= CR0_FBM_LSB << CR0_FBM_OFFSET; in rockchip_spi_config()
637 cr0 |= BIT(spi->chip_select) << CR0_SOI_OFFSET; in rockchip_spi_config()
640 cr0 |= CR0_XFM_TR << CR0_XFM_OFFSET; in rockchip_spi_config()
642 cr0 |= CR0_XFM_RO << CR0_XFM_OFFSET; in rockchip_spi_config()
649 cr0 |= CR0_XFM_TR << CR0_XFM_OFFSET; in rockchip_spi_config()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/platform/efi/
H A Defi_stub_32.S36 movl %cr0, %edx
38 movl %edx, %cr0
53 movl %cr0, %edx
55 movl %edx, %cr0
/OK3568_Linux_fs/u-boot/arch/x86/cpu/
H A Dstart16.S34 movl %cr0, %eax
36 movl %eax, %cr0
44 movl %cr0, %eax
46 movl %eax, %cr0
/OK3568_Linux_fs/u-boot/arch/x86/cpu/i386/
H A Dcpu.c389 unsigned long cr0; in x86_enable_caches() local
391 cr0 = read_cr0(); in x86_enable_caches()
392 cr0 &= ~(X86_CR0_NW | X86_CR0_CD); in x86_enable_caches()
393 write_cr0(cr0); in x86_enable_caches()
400 unsigned long cr0; in x86_disable_caches() local
402 cr0 = read_cr0(); in x86_disable_caches()
403 cr0 |= X86_CR0_NW | X86_CR0_CD; in x86_disable_caches()
405 write_cr0(cr0); in x86_disable_caches()
/OK3568_Linux_fs/kernel/arch/x86/platform/pvh/
H A Dhead.S89 mov %eax, %cr0
128 mov %cr0, %eax
130 mov %eax, %cr0
140 mov %cr0, %eax
142 mov %eax, %cr0
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A 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

1234567