Home
last modified time | relevance | path

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

123456

/linux-6.15/arch/powerpc/kernel/
H A Dcpu_setup_6xx.S217 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
218 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq
373 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
374 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
375 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
376 cror 4*cr0+eq,4*cr0+eq,4*cr5+eq
377 cror 4*cr0+eq,4*cr0+eq,4*cr7+eq
444 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
445 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
446 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
[all …]
/linux-6.15/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()
/linux-6.15/arch/powerpc/kernel/vdso/
H A Dgetcpu.S22 PPC_LCMPI 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
H A Dcacheflush.S54 crclr cr0*4+so
76 crclr cr0*4+so
92 crclr cr0*4+so
/linux-6.15/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()
/linux-6.15/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp_64.S176 cmpld cr0,rA,rB
204 cmpld cr0,rA,rB
234 cmpld cr0,rA,rB
278 cmpld cr0,rA,rB
296 bne cr0,.LcmpAB
300 cmpld cr0,rA,rB
323 bne cr0,.LcmpAB
327 cmpld cr0,rA,rB
343 bne cr0,.LcmpAB
374 bgt cr0,.Lout
[all …]
/linux-6.15/arch/powerpc/lib/
H A Dmemcmp_64.S176 cmpld cr0,rA,rB
204 cmpld cr0,rA,rB
234 cmpld cr0,rA,rB
278 cmpld cr0,rA,rB
296 bne cr0,.LcmpAB
300 cmpld cr0,rA,rB
323 bne cr0,.LcmpAB
327 cmpld cr0,rA,rB
343 bne cr0,.LcmpAB
374 bgt cr0,.Lout
[all …]
/linux-6.15/arch/x86/realmode/rm/
H A Dreboot.S32 movl %cr0, %eax
34 movl %eax, %cr0
99 movl %cr0, %edx
102 movl %edx, %cr0
104 movl %cr0, %edx
110 movl %edx, %cr0
H A Dwakeup_asm.S52 movl %cr0, %eax
54 movl %eax, %cr0
64 movl %eax, %cr0
132 movl %ecx, %cr0
/linux-6.15/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
386 cmpldi cr0,r14,0
393 cmpdi cr0,r14,0
399 cmpdi cr0,r14,0
404 cmpdi cr0,r14,0
577 cmpdi cr0,r15,0
584 cmpdi cr0,r15,0
[all …]
/linux-6.15/arch/x86/boot/
H A Dcpuflags.c17 unsigned long cr0; in has_fpu() local
19 asm volatile("mov %%cr0,%0" : "=r" (cr0)); in has_fpu()
20 if (cr0 & (X86_CR0_EM|X86_CR0_TS)) { in has_fpu()
21 cr0 &= ~(X86_CR0_EM|X86_CR0_TS); in has_fpu()
22 asm volatile("mov %0,%%cr0" : : "r" (cr0)); in has_fpu()
/linux-6.15/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
/linux-6.15/drivers/spi/
H A Dspi-dw-core.c31 u32 cr0; member
270 u32 cr0 = 0; in dw_spi_prepare_cr0() local
282 cr0 |= DW_PSSI_CTRLR0_SCPOL; in dw_spi_prepare_cr0()
284 cr0 |= DW_PSSI_CTRLR0_SCPHA; in dw_spi_prepare_cr0()
288 cr0 |= DW_PSSI_CTRLR0_SRL; in dw_spi_prepare_cr0()
299 cr0 |= DW_HSSI_CTRLR0_SCPOL; in dw_spi_prepare_cr0()
301 cr0 |= DW_HSSI_CTRLR0_SCPHA; in dw_spi_prepare_cr0()
305 cr0 |= DW_HSSI_CTRLR0_SRL; in dw_spi_prepare_cr0()
309 cr0 |= DW_HSSI_CTRLR0_MST; in dw_spi_prepare_cr0()
312 return cr0; in dw_spi_prepare_cr0()
[all …]
H A Dspi-rockchip.c535 u32 cr0 = CR0_FRF_SPI << CR0_FRF_OFFSET in rockchip_spi_config() local
546 cr0 |= rs->rsd << CR0_RSD_OFFSET; in rockchip_spi_config()
549 cr0 |= CR0_FBM_LSB << CR0_FBM_OFFSET; in rockchip_spi_config()
554 cr0 |= CR0_XFM_TR << CR0_XFM_OFFSET; in rockchip_spi_config()
556 cr0 |= CR0_XFM_RO << CR0_XFM_OFFSET; in rockchip_spi_config()
558 cr0 |= CR0_XFM_TO << CR0_XFM_OFFSET; in rockchip_spi_config()
562 cr0 |= CR0_DFS_4BIT << CR0_DFS_OFFSET; in rockchip_spi_config()
566 cr0 |= CR0_DFS_8BIT << CR0_DFS_OFFSET; in rockchip_spi_config()
570 cr0 |= CR0_DFS_16BIT << CR0_DFS_OFFSET; in rockchip_spi_config()
732 u32 cr0; in rockchip_spi_setup() local
[all …]
/linux-6.15/arch/x86/boot/compressed/
H A Dla57toggle.S67 movl %cr0, %eax
69 movl %eax, %cr0
88 movl %cr0, %eax
90 movl %eax, %cr0
/linux-6.15/drivers/clk/renesas/
H A Drcar-gen4-cpg.c86 u32 cr0 = readl(pll_clk->pllcr0_reg); in cpg_pll_8_25_clk_recalc_rate() local
90 ni = (FIELD_GET(CPG_PLLxCR0_NI8, cr0) + 1) * 2; in cpg_pll_8_25_clk_recalc_rate()
92 if (cr0 & CPG_PLLxCR0_SSMODE_FM) { in cpg_pll_8_25_clk_recalc_rate()
105 u32 cr0 = readl(pll_clk->pllcr0_reg); in cpg_pll_8_25_clk_determine_rate() local
114 if (cr0 & CPG_PLLxCR0_SSMODE_FM) { in cpg_pll_8_25_clk_determine_rate()
139 u32 cr0 = readl(pll_clk->pllcr0_reg); in cpg_pll_8_25_clk_set_rate() local
143 if (cr0 & CPG_PLLxCR0_SSMODE_FM) { in cpg_pll_8_25_clk_set_rate()
163 if (cr0 & CPG_PLLxCR0_SSMODE_FM) in cpg_pll_8_25_clk_set_rate()
200 u32 cr0 = readl(pll_clk->pllcr0_reg); in cpg_pll_9_24_clk_recalc_rate() local
204 ni = FIELD_GET(CPG_PLLxCR0_NI9, cr0) + 1; in cpg_pll_9_24_clk_recalc_rate()
[all …]
/linux-6.15/drivers/firmware/efi/libstub/
H A Dx86-mixed.S69 movl %cr0, %eax
71 movl %eax, %cr0
123 movl %cr0, %eax
125 movl %eax, %cr0
181 movl %cr0, %eax
183 movl %eax, %cr0
/linux-6.15/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()
243 smram->cr0 = kvm_read_cr0(vcpu); in enter_smm_save_state_64()
279 unsigned long cr0; in enter_smm() local
319 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
320 kvm_x86_call(set_cr0)(vcpu, cr0); in enter_smm()
416 u64 cr0, u64 cr3, u64 cr4) in rsm_enter_protected_mode() argument
441 bad = kvm_set_cr0(vcpu, cr0); in rsm_enter_protected_mode()
568 unsigned long cr0; in emulator_leave_smm() local
608 cr0 = kvm_read_cr0(vcpu); in emulator_leave_smm()
[all …]
/linux-6.15/arch/powerpc/purgatory/
H A Dtrampoline_64.S57 cmpdi %cr0, %r3, 0
61 cmpdi %cr0, %r5, 0
70 cmpld %cr0, %r6, %r5
84 cmpwi %cr0,%r6,2 /* v2 or later? */
/linux-6.15/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
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dset_sregs_test.c83 sregs.cr0 &= ~(X86_CR0_CD | X86_CR0_NW); in test_cr_bits()
114 TEST_INVALID_CR_BIT(vcpu, cr0, sregs, BIT(i)); in test_cr_bits()
117 TEST_INVALID_CR_BIT(vcpu, cr0, sregs, X86_CR0_NW); in test_cr_bits()
118 TEST_INVALID_CR_BIT(vcpu, cr0, sregs, X86_CR0_PG); in test_cr_bits()
/linux-6.15/arch/arm/mach-sa1100/
H A 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()
/linux-6.15/drivers/cpufreq/
H A 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()
/linux-6.15/arch/x86/platform/pvh/
H A Dhead.S163 mov %eax, %cr0
204 mov %cr0, %eax
206 mov %eax, %cr0
216 mov %cr0, %eax
218 mov %eax, %cr0
/linux-6.15/arch/x86/kernel/cpu/mtrr/
H A Dcyrix.c139 u32 cr0; in prepare_set() local
151 cr0 = read_cr0() | X86_CR0_CD; in prepare_set()
153 write_cr0(cr0); in prepare_set()

123456