| /Linux-v5.15/arch/powerpc/kernel/ |
| D | cpu_setup_6xx.S | 188 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 …]
|
| /Linux-v5.15/arch/x86/kernel/fpu/ |
| D | init.c | 18 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()
|
| /Linux-v5.15/arch/powerpc/mm/nohash/ |
| D | tlb_low_64e.S | 144 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 …]
|
| /Linux-v5.15/arch/powerpc/kernel/vdso32/ |
| D | getcpu.S | 22 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
|
| D | cacheflush.S | 54 crclr cr0*4+so 76 crclr cr0*4+so 92 crclr cr0*4+so
|
| D | datapage.S | 37 crclr cr0*4+so 55 crclr cr0*4+so
|
| /Linux-v5.15/drivers/input/touchscreen/ |
| D | mc13783_ts.c | 71 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()
|
| /Linux-v5.15/arch/powerpc/lib/ |
| D | memcmp_64.S | 176 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 …]
|
| /Linux-v5.15/tools/testing/selftests/powerpc/stringloops/ |
| D | memcmp_64.S | 176 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 …]
|
| /Linux-v5.15/arch/x86/realmode/rm/ |
| D | reboot.S | 31 movl %cr0, %eax 33 movl %eax, %cr0 98 movl %cr0, %edx 101 movl %edx, %cr0 103 movl %cr0, %edx 109 movl %edx, %cr0
|
| D | wakeup_asm.S | 52 movl %cr0, %eax 54 movl %eax, %cr0 64 movl %eax, %cr0 132 movl %ecx, %cr0
|
| /Linux-v5.15/arch/x86/platform/efi/ |
| D | efi_stub_32.S | 36 movl %cr0, %edx 38 movl %edx, %cr0 53 movl %cr0, %edx 55 movl %edx, %cr0
|
| /Linux-v5.15/arch/x86/boot/ |
| D | cpuflags.c | 18 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()
|
| /Linux-v5.15/drivers/spi/ |
| D | spi-dw-core.c | 28 u32 cr0; member 272 u32 cr0 = 0; in dw_spi_prepare_cr0() local 276 cr0 |= SSI_MOTO_SPI << SPI_FRF_OFFSET; in dw_spi_prepare_cr0() 283 cr0 |= ((spi->mode & SPI_CPOL) ? 1 : 0) << SPI_SCOL_OFFSET; in dw_spi_prepare_cr0() 284 cr0 |= ((spi->mode & SPI_CPHA) ? 1 : 0) << SPI_SCPH_OFFSET; in dw_spi_prepare_cr0() 287 cr0 |= ((spi->mode & SPI_LOOP) ? 1 : 0) << SPI_SRL_OFFSET; in dw_spi_prepare_cr0() 290 cr0 |= SSI_MOTO_SPI << DWC_SSI_CTRLR0_FRF_OFFSET; in dw_spi_prepare_cr0() 297 cr0 |= ((spi->mode & SPI_CPOL) ? 1 : 0) << DWC_SSI_CTRLR0_SCPOL_OFFSET; in dw_spi_prepare_cr0() 298 cr0 |= ((spi->mode & SPI_CPHA) ? 1 : 0) << DWC_SSI_CTRLR0_SCPH_OFFSET; in dw_spi_prepare_cr0() 301 cr0 |= ((spi->mode & SPI_LOOP) ? 1 : 0) << DWC_SSI_CTRLR0_SRL_OFFSET; in dw_spi_prepare_cr0() [all …]
|
| D | spi-rockchip.c | 497 u32 cr0 = CR0_FRF_SPI << CR0_FRF_OFFSET in rockchip_spi_config() local 505 cr0 |= CR0_OPM_SLAVE << CR0_OPM_OFFSET; in rockchip_spi_config() 508 cr0 |= rs->rsd << CR0_RSD_OFFSET; in rockchip_spi_config() 509 cr0 |= (spi->mode & 0x3U) << CR0_SCPH_OFFSET; in rockchip_spi_config() 511 cr0 |= CR0_FBM_LSB << CR0_FBM_OFFSET; in rockchip_spi_config() 513 cr0 |= BIT(spi->chip_select) << CR0_SOI_OFFSET; in rockchip_spi_config() 516 cr0 |= CR0_XFM_TR << CR0_XFM_OFFSET; in rockchip_spi_config() 518 cr0 |= CR0_XFM_RO << CR0_XFM_OFFSET; in rockchip_spi_config() 520 cr0 |= CR0_XFM_TO << CR0_XFM_OFFSET; in rockchip_spi_config() 524 cr0 |= CR0_DFS_4BIT << CR0_DFS_OFFSET; in rockchip_spi_config() [all …]
|
| /Linux-v5.15/arch/s390/kernel/ |
| D | nmi.c | 78 unsigned long origin, cr0, size; in nmi_init() local 94 __ctl_store(cr0, 0, 0); in nmi_init() 98 __ctl_load(cr0, 0, 0); in nmi_init() 274 union ctlreg0 cr0; in s390_validate_registers() local 289 cr0.val = S390_lowcore.cregs_save_area[0]; in s390_validate_registers() 290 cr0.afp = cr0.vx = 1; in s390_validate_registers() 291 __ctl_load(cr0.val, 0, 0); in s390_validate_registers()
|
| /Linux-v5.15/arch/x86/platform/pvh/ |
| D | head.S | 88 mov %eax, %cr0 117 mov %cr0, %eax 119 mov %eax, %cr0 129 mov %cr0, %eax 131 mov %eax, %cr0
|
| /Linux-v5.15/arch/powerpc/kernel/vdso64/ |
| D | getcpu.S | 21 cmpdi cr0,r3,0 25 beq cr0,1f 29 2: crclr cr0*4+so
|
| D | datapage.S | 34 cmpldi cr0,r4,0 35 crclr cr0*4+so 56 crclr cr0*4+so
|
| D | cacheflush.S | 42 crclr cr0*4+so 59 crclr cr0*4+so 69 crclr cr0*4+so
|
| /Linux-v5.15/arch/powerpc/purgatory/ |
| D | trampoline_64.S | 57 cmpdi %cr0, %r3, 0 61 cmpdi %cr0, %r5, 0 70 cmpld %cr0, %r6, %r5 84 cmpwi %cr0,%r6,2 /* v2 or later? */
|
| /Linux-v5.15/arch/x86/kernel/ |
| D | relocate_kernel_32.S | 50 movl %cr0, %eax 112 movl %cr0, %eax 115 movl %eax, %cr0 186 movl %cr0, %eax 188 movl %eax, %cr0 202 movl %eax, %cr0
|
| /Linux-v5.15/arch/x86/boot/compressed/ |
| D | efi_thunk_64.S | 118 movl %cr0, %eax 120 movl %eax, %cr0 163 movl %cr0, %eax 165 movl %eax, %cr0
|
| /Linux-v5.15/arch/arm/mach-sa1100/ |
| D | ssp.c | 160 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()
|
| /Linux-v5.15/drivers/cpufreq/ |
| D | powernow-k6.c | 105 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()
|