/linux-4.1.27/arch/powerpc/kernel/ |
D | cpu_setup_6xx.S | 191 cmpwi cr0,r10,7 194 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 195 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq 335 cmplwi cr0,r3,0x8000 /* 7450 */ 346 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq 347 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq 348 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 349 cror 4*cr0+eq,4*cr0+eq,4*cr5+eq 350 cror 4*cr0+eq,4*cr0+eq,4*cr7+eq 375 cmpwi cr0,r3,0x0200 [all …]
|
D | entry_64.S | 747 cmpwi cr0,r5,0 751 cmpwi cr0,r6,1 752 beq cr0,do_restore 760 cmpwi cr0,r0,0 894 cmpwi cr0,r3,0 911 cmpwi cr0,r3,0x500 916 1: cmpwi cr0,r3,0xe60 921 1: cmpwi cr0,r3,0x900 929 cmpwi cr0,r3,0x280 932 cmpwi cr0,r3,0xe80 [all …]
|
D | head_8xx.S | 461 cmpwi cr0, r11, RPN_PATTERN 525 cmpwi cr0, r10, 2028 /* Is dcbz? */ 527 cmpwi cr0, r10, 940 /* Is dcbi? */ 529 cmpwi cr0, r10, 108 /* Is dcbst? */ 531 cmpwi cr0, r10, 172 /* Is dcbf? */ 533 cmpwi cr0, r10, 1964 /* Is icbi? */
|
D | idle_book3e.S | 37 cmpwi cr0,r3,0
|
D | idle_power4.S | 41 cmpwi cr0,r0,0
|
D | exceptions-64e.S | 215 cmpwi cr0,r5,0 355 cmpwi cr0,r10,0; /* yes -> go out of line */ \ 740 cmpld cr0,r10,r14 742 blt+ cr0,1f 804 cmpld cr0,r10,r14 806 blt+ cr0,1f 995 cmpwi cr0,r3,0x500 997 cmpwi cr0,r3,0x900 999 cmpwi cr0,r3,0x280 1571 cmpdi cr0,r28,0
|
D | misc_32.S | 182 cmplwi cr0,r3,0 207 cmplwi cr0,r3,0 571 crclr 4*cr0+eq 593 crnot 4*cr0+eq,4*cr0+eq 765 cmplwi cr0,r3,PVR_476@h 767 cmplwi cr0,r3,PVR_476_ISS@h
|
D | head_64.S | 365 cmpldi cr0,r5,0 445 cmplwi cr0,r7,1 /* flagged to stay where we are ? */ 478 cmplwi cr0,r7,1
|
D | head_44x.S | 567 cmplw cr0,r10,r11 664 cmplw cr0,r10,r11 812 cmplwi cr0,r3,PVR_476FPE@h 814 cmplwi cr0,r3,PVR_476@h 816 cmplwi cr0,r3,PVR_476_ISS@h
|
D | idle_power7.S | 47 1: cmp cr0,r0,r0; \ 109 cmpwi cr0,r4,0
|
D | head_32.S | 1020 cmpwi cr0,r3,0 1180 cmpwi cr0,r8,0
|
D | entry_32.S | 391 cmplwi cr0,r5,0 848 cmplwi cr0,r5,0
|
/linux-4.1.27/arch/powerpc/kernel/vdso32/ |
D | gettimeofday.S | 60 crclr cr0*4+so 75 cmpli cr0,r3,CLOCK_REALTIME 77 cror cr0*4+eq,cr0*4+eq,cr1*4+eq 78 bne cr0,99f 111 cmpl cr0,r8,r0 /* check if updated */ 120 cmpw cr0,r4,r7 133 crclr cr0*4+so 157 cmpwi cr0,r3,CLOCK_REALTIME 159 cror cr0*4+eq,cr0*4+eq,cr1*4+eq 160 bne cr0,99f [all …]
|
D | getcpu.S | 33 cmpwi cr0,r3,0 37 beq cr0,1f 41 2: crclr cr0*4+so
|
D | datapage.S | 60 cmpli cr0,r4,0 64 crclr cr0*4+so 82 crclr cr0*4+so
|
D | cacheflush.S | 43 crclr cr0*4+so 60 crclr cr0*4+so 78 crclr cr0*4+so
|
/linux-4.1.27/arch/powerpc/kernel/vdso64/ |
D | gettimeofday.S | 48 crclr cr0*4+so 64 cmpwi cr0,r3,CLOCK_REALTIME 66 cror cr0*4+eq,cr0*4+eq,cr1*4+eq 67 bne cr0,99f 98 cmpld cr0,r0,r8 /* check if updated */ 105 cmpd cr0,r5,r7 118 crclr cr0*4+so 142 cmpwi cr0,r3,CLOCK_REALTIME 144 cror cr0*4+eq,cr0*4+eq,cr1*4+eq 145 bne cr0,99f [all …]
|
D | getcpu.S | 33 cmpdi cr0,r3,0 37 beq cr0,1f 41 2: crclr cr0*4+so
|
D | datapage.S | 60 cmpli cr0,r4,0 61 crclr cr0*4+so 82 crclr cr0*4+so
|
D | cacheflush.S | 43 crclr cr0*4+so 60 crclr cr0*4+so 78 crclr cr0*4+so
|
/linux-4.1.27/arch/powerpc/mm/ |
D | tlb_low_64e.S | 141 cmpldi cr0,r14,0 159 cmpdi cr0,r14,0 166 cmpdi cr0,r14,0 172 cmpdi cr0,r14,0 218 cmpldi cr0,r15,8 /* Check for vmalloc region */ 250 cmpldi cr0,r15,0 /* Check for user region */ 302 crmove cr2*4+2,cr0*4+2 /* cr2.eq != 0 if kernel address */ 393 cmpldi cr0,r14,0 400 cmpdi cr0,r14,0 406 cmpdi cr0,r14,0 [all …]
|
D | slb_low.S | 81 cmpldi cr0,r9,0xf 202 crnot 4*cr0+eq,4*cr0+eq 210 cmpldi cr0,r9,0 214 cmpldi cr0,r9,0 218 cmpldi cr0,r9,0 279 crclr 4*cr0+eq /* set result to "success" */ 298 crclr 4*cr0+eq /* set result to "success" */
|
D | tlb_nohash_low.S | 354 cmpwi cr0,r6,0 369 cmpwi cr0,r6,0
|
D | hash_low_32.S | 438 cmpl cr0,r0,r6 /* compare and try again */
|
/linux-4.1.27/arch/arm/include/asm/ |
D | vfpmacros.h | 12 MRC\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMRX \rd, \sysreg in toolkits() 16 MCR\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMXR \sysreg, \rd in toolkits() 22 LDC p11, cr0, [\base],#33*4 @ FLDMIAX \base!, {d0-d15} in toolkits() 24 LDC p11, cr0, [\base],#32*4 @ FLDMIAD \base!, {d0-d15} 31 ldcnel p11, cr0, [\base],#32*4 @ FLDMIAD \base!, {d16-d31} 37 ldceql p11, cr0, [\base],#32*4 @ FLDMIAD \base!, {d16-d31} 46 STC p11, cr0, [\base],#33*4 @ FSTMIAX \base!, {d0-d15} 48 STC p11, cr0, [\base],#32*4 @ FSTMIAD \base!, {d0-d15} 55 stcnel p11, cr0, [\base],#32*4 @ FSTMIAD \base!, {d16-d31} 61 stceql p11, cr0, [\base],#32*4 @ FSTMIAD \base!, {d16-d31}
|
D | vfp.h | 8 #define FPSID cr0
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | mc13783_ts.c | 75 int cr0, cr1; in mc13783_ts_report_sample() local 87 cr0 = (priv->sample[2] >> 12) & 0xfff; in mc13783_ts_report_sample() 92 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample() 97 cr0 = (cr0 + cr1) / 2; in mc13783_ts_report_sample() 99 if (!cr0 || !sample_tolerance || in mc13783_ts_report_sample() 103 if (cr0) { in mc13783_ts_report_sample() 108 x1, y1, 0x1000 - cr0); in mc13783_ts_report_sample() 114 cr0 ? 0x1000 - cr0 : cr0); in mc13783_ts_report_sample() 115 input_report_key(idev, BTN_TOUCH, cr0); in mc13783_ts_report_sample()
|
/linux-4.1.27/arch/x86/realmode/rm/ |
D | reboot.S | 30 movl %cr0, %eax 32 movl %eax, %cr0 96 movl %cr0, %edx 99 movl %edx, %cr0 101 movl %cr0, %edx 107 movl %edx, %cr0
|
D | wakeup_asm.S | 51 movl %cr0, %eax 53 movl %eax, %cr0 63 movl %eax, %cr0 131 movl %ecx, %cr0
|
/linux-4.1.27/arch/x86/boot/ |
D | cpuflags.c | 17 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()
|
D | pmjump.S | 39 movl %cr0, %edx 41 movl %edx, %cr0
|
/linux-4.1.27/arch/x86/include/asm/ |
D | lguest.h | 75 u32 cr0; in lguest_set_ts() local 77 cr0 = read_cr0(); in lguest_set_ts() 78 if (!(cr0 & 8)) in lguest_set_ts() 79 write_cr0(cr0 | 8); in lguest_set_ts()
|
D | suspend_32.h | 15 unsigned long cr0, cr2, cr3, cr4; member
|
D | suspend_64.h | 24 unsigned long cr0, cr2, cr3, cr4, cr8; member
|
D | irqflags.h | 143 #define GET_CR0_INTO_EAX movl %cr0, %eax
|
D | svm.h | 156 u64 cr0; member
|
D | kvm_host.h | 356 unsigned long cr0; member 733 void (*set_cr0)(struct kvm_vcpu *vcpu, unsigned long cr0); 959 int kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
|
/linux-4.1.27/arch/x86/platform/efi/ |
D | efi_stub_32.S | 62 movl %cr0, %edx 64 movl %edx, %cr0 88 movl %cr0, %edx 90 movl %edx, %cr0
|
D | efi_stub_64.S | 20 mov %cr0, %rax; \ 38 mov %rsi, %cr0; \
|
/linux-4.1.27/arch/s390/lib/ |
D | delay.c | 32 unsigned long cr0, cr6, new; in __udelay_disabled() local 37 __ctl_store(cr0, 0, 0); in __udelay_disabled() 39 new = (cr0 & 0xffff00e0) | 0x00000800; in __udelay_disabled() 49 __ctl_load(cr0, 0, 0); in __udelay_disabled()
|
/linux-4.1.27/arch/powerpc/lib/ |
D | memcmp_64.S | 110 cmpld cr0,rA,rB 128 bne cr0,.LcmpAB 132 cmpld cr0,rA,rB 155 bne cr0,.LcmpAB 159 cmpld cr0,rA,rB 175 bne cr0,.LcmpAB 197 bne cr0,.LcmpAB 206 bgt cr0,.Lout
|
D | copyuser_64.S | 35 crand cr0*4+2,cr0*4+2,cr6*4+2
|
/linux-4.1.27/tools/testing/selftests/powerpc/stringloops/ |
D | memcmp_64.S | 110 cmpld cr0,rA,rB 128 bne cr0,.LcmpAB 132 cmpld cr0,rA,rB 155 bne cr0,.LcmpAB 159 cmpld cr0,rA,rB 175 bne cr0,.LcmpAB 197 bne cr0,.LcmpAB 206 bgt cr0,.Lout
|
/linux-4.1.27/arch/s390/kernel/ |
D | nmi.c | 155 union ctlreg0 cr0; in s390_revalidate_registers() local 164 cr0.val = S390_lowcore.cregs_save_area[0]; in s390_revalidate_registers() 165 cr0.afp = cr0.vx = 1; in s390_revalidate_registers() 166 __ctl_load(cr0.val, 0, 0); in s390_revalidate_registers()
|
D | early.c | 250 unsigned long cr0, cr0_new; in early_pgm_check_handler() local 258 __ctl_store(cr0, 0, 0); in early_pgm_check_handler() 259 cr0_new = cr0 & ~(1UL << 28); in early_pgm_check_handler() 262 __ctl_load(cr0, 0, 0); in early_pgm_check_handler()
|
D | head64.S | 47 .Lctl: .quad 0x04040000 # cr0: AFP registers & secondary space
|
D | sclp.S | 50 lhi %r6,0x0200 # cr mask for ext int (cr0.54) 53 ahi %r6,0x0800 # cr mask for clock int (cr0.52)
|
/linux-4.1.27/arch/x86/kernel/ |
D | relocate_kernel_32.S | 53 movl %cr0, %eax 114 movl %cr0, %eax 117 movl %eax, %cr0 188 movl %cr0, %eax 190 movl %eax, %cr0 203 movl %eax, %cr0
|
D | i387.c | 200 unsigned long cr0; in fpu_init() local 218 cr0 = read_cr0(); in fpu_init() 219 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu_init() 221 cr0 |= X86_CR0_EM; in fpu_init() 222 write_cr0(cr0); in fpu_init() 653 unsigned long cr0; in fpu_detect() local 658 cr0 = read_cr0(); in fpu_detect() 659 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu_detect() 660 write_cr0(cr0); in fpu_detect()
|
D | relocate_kernel_64.S | 63 movq %cr0, %rax 117 movq %cr0, %rax 120 movq %rax, %cr0 200 movq %r8, %cr0
|
D | process_32.c | 71 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local 101 cr0 = read_cr0(); in __show_regs() 106 cr0, cr2, cr3, cr4); in __show_regs()
|
D | head_32.S | 325 movl %eax,%cr0 401 movl %eax,%cr0 /* ..and set paging (PG) bit */ 449 movl %cr0,%eax 452 movl %eax,%cr0
|
D | process_64.c | 61 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local 94 cr0 = read_cr0(); in __show_regs() 102 es, cr0); in __show_regs()
|
D | asm-offsets_64.c | 74 ENTRY(cr0); in main()
|
D | head_64.S | 220 movq %rax, %cr0
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
D | ssp.c | 163 ssp->cr0 = Ser4SSCR0; in ssp_save_state() 179 Ser4SSCR0 = ssp->cr0 & ~SSCR0_SSE; in ssp_restore_state() 181 Ser4SSCR0 = ssp->cr0; in ssp_restore_state()
|
/linux-4.1.27/arch/x86/boot/compressed/ |
D | efi_thunk_64.S | 125 movl %cr0, %eax 127 movl %eax, %cr0 170 movl %cr0, %eax 172 movl %eax, %cr0
|
D | head_64.S | 194 movl %eax, %cr0
|
/linux-4.1.27/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()
|
/linux-4.1.27/arch/score/include/asm/ |
D | asmmacro.h | 9 mfcr r30, cr0 66 mfcr r31, cr0 82 mfcr r30, cr0 85 mtcr r30, cr0 100 mtcr r31, cr0
|
/linux-4.1.27/drivers/spi/ |
D | spi-dw.c | 33 u16 cr0; member 294 u32 cr0 = 0; in dw_spi_transfer_one() local 309 cr0 = chip->cr0; in dw_spi_transfer_one() 335 cr0 = (transfer->bits_per_word - 1) in dw_spi_transfer_one() 353 cr0 &= ~SPI_TMOD_MASK; in dw_spi_transfer_one() 354 cr0 |= (chip->tmode << SPI_TMOD_OFFSET); in dw_spi_transfer_one() 357 dw_writel(dws, DW_SPI_CTRL0, cr0); in dw_spi_transfer_one() 463 chip->cr0 = (chip->bits_per_word - 1) in dw_spi_setup() 469 chip->cr0 |= 1 << SPI_SRL_OFFSET; in dw_spi_setup()
|
D | spi-txx9.c | 211 u32 cr0; in txx9spi_work_one() local 218 cr0 = txx9spi_rd(c, TXx9_SPCR0); in txx9spi_work_one() 219 cr0 &= ~TXx9_SPCR0_RXIFL_MASK; in txx9spi_work_one() 220 cr0 |= (count - 1) << 12; in txx9spi_work_one() 222 cr0 |= TXx9_SPCR0_RBSIE; in txx9spi_work_one() 223 txx9spi_wr(c, cr0, TXx9_SPCR0); in txx9spi_work_one()
|
D | spi-rockchip.c | 505 u32 cr0 = (CR0_BHT_8BIT << CR0_BHT_OFFSET) in rockchip_spi_config() local 508 cr0 |= (rs->n_bytes << CR0_DFS_OFFSET); in rockchip_spi_config() 509 cr0 |= ((rs->mode & 0x3) << CR0_SCPH_OFFSET); in rockchip_spi_config() 510 cr0 |= (rs->tmode << CR0_XFM_OFFSET); in rockchip_spi_config() 511 cr0 |= (rs->type << CR0_FRF_OFFSET); in rockchip_spi_config() 545 cr0 |= rsd << CR0_RSD_OFFSET; in rockchip_spi_config() 547 writel_relaxed(cr0, rs->regs + ROCKCHIP_SPI_CTRLR0); in rockchip_spi_config() 559 dev_dbg(rs->dev, "cr0 0x%x, div %d\n", cr0, div); in rockchip_spi_config()
|
D | spi-pxa2xx.c | 816 u32 cr0; in pump_transfers() local 895 cr0 = chip->cr0; in pump_transfers() 939 cr0 = pxa2xx_configure_sscr0(drv_data, clk_div, bits); in pump_transfers() 984 if ((pxa2xx_spi_read(drv_data, SSCR0) != cr0) in pump_transfers() 988 pxa2xx_spi_write(drv_data, SSCR0, cr0 & ~SSCR0_SSE); in pump_transfers() 994 pxa2xx_spi_write(drv_data, SSCR0, cr0); in pump_transfers() 1175 chip->cr0 = pxa2xx_configure_sscr0(drv_data, clk_div, in setup() 1201 / (1 + ((chip->cr0 & SSCR0_SCR(0xfff)) >> 8)), in setup() 1206 / (1 + ((chip->cr0 & SSCR0_SCR(0x0ff)) >> 8)), in setup() 1219 chip->cr0 |= SSCR0_EDSS; in setup()
|
D | spi-ep93xx.c | 317 u16 cr0; in ep93xx_spi_chip_setup() local 324 cr0 = div_scr << SSPCR0_SCR_SHIFT; in ep93xx_spi_chip_setup() 325 cr0 |= (chip->spi->mode & (SPI_CPHA|SPI_CPOL)) << SSPCR0_MODE_SHIFT; in ep93xx_spi_chip_setup() 326 cr0 |= dss; in ep93xx_spi_chip_setup() 330 dev_dbg(&espi->pdev->dev, "setup: cr0 %#x\n", cr0); in ep93xx_spi_chip_setup() 333 ep93xx_spi_write_u16(espi, SSPCR0, cr0); in ep93xx_spi_chip_setup()
|
D | spi-pl022.c | 433 u32 cr0; member 578 writel(chip->cr0, SSP_CR0(pl022->virtbase)); in restore_state() 580 writew(chip->cr0, SSP_CR0(pl022->virtbase)); in restore_state() 1951 chip->cr0 = 0; in pl022_setup() 1984 SSP_WRITE_BITS(chip->cr0, chip_info->duplex, in pl022_setup() 1986 SSP_WRITE_BITS(chip->cr0, chip_info->ctrl_len, in pl022_setup() 1988 SSP_WRITE_BITS(chip->cr0, chip_info->iface, in pl022_setup() 1993 SSP_WRITE_BITS(chip->cr0, bits - 1, in pl022_setup() 2010 SSP_WRITE_BITS(chip->cr0, bits - 1, in pl022_setup() 2012 SSP_WRITE_BITS(chip->cr0, chip_info->iface, in pl022_setup() [all …]
|
D | spi-pxa2xx.h | 94 u32 cr0; member
|
/linux-4.1.27/arch/s390/include/asm/ |
D | switch_to.h | 106 unsigned long cr0, flags; in save_vx_regs_safe() local 109 __ctl_store(cr0, 0, 0); in save_vx_regs_safe() 113 __ctl_load(cr0, 0, 0); in save_vx_regs_safe()
|
D | kvm_host.h | 486 unsigned long cr0; member
|
/linux-4.1.27/arch/s390/mm/ |
D | maccess.c | 113 unsigned long cr0, flags, prefix; in memcpy_absolute() local 116 __ctl_store(cr0, 0, 0); in memcpy_absolute() 128 __ctl_load(cr0, 0, 0); in memcpy_absolute()
|
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/ |
D | cyrix.c | 137 u32 cr0; in prepare_set() local 149 cr0 = read_cr0() | X86_CR0_CD; in prepare_set() 151 write_cr0(cr0); in prepare_set()
|
D | generic.c | 663 unsigned long cr0; in prepare_set() local 675 cr0 = read_cr0() | X86_CR0_CD; in prepare_set() 676 write_cr0(cr0); in prepare_set()
|
/linux-4.1.27/arch/arm/mach-mvebu/ |
D | pmsu_ll.S | 19 mrc 15, 0, r0, cr0, cr0, 5 @ get the CPU ID
|
D | coherency_ll.S | 69 mrc 15, 0, r3, cr0, cr0, 5
|
/linux-4.1.27/arch/score/kernel/ |
D | entry.S | 38 mfcr r8, cr0 41 mtcr r8, cr0 53 mfcr r8, cr0 55 mtcr r8, cr0 376 mfcr r9, cr0 391 mfcr r9, cr0 399 mtcr r6, cr0
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | mmu.txt | 52 pages, pae, pse, pse36, cr0.wp, and 1GB pages. Work is in progress to support 167 Contains the value of cr0.wp for which the page is valid. 169 Contains the value of cr4.smep && !cr0.wp for which the page is valid 171 treatment of cr0.wp=0 below). 173 Contains the value of cr4.smap && !cr0.wp for which the page is valid 175 treatment of cr0.wp=0 below). 321 - mov to cr0/cr4/efer 332 Emulating cr0.wp 335 If tdp is not enabled, the host must keep cr0.wp=1 so page write protection 337 cr0.wp=1, this does not present a problem. However when the guest cr0.wp=0, [all …]
|
D | api.txt | 344 __u64 cr0, cr2, cr3, cr4, cr8;
|
/linux-4.1.27/arch/x86/platform/olpc/ |
D | xo1-wakeup.S | 32 movl %eax, %cr0 66 movl %cr0, %edx
|
/linux-4.1.27/arch/powerpc/boot/ |
D | crt0.S | 118 cmplw cr0,r9,r8 129 cmplw cr0,r9,r8 201 cmpld cr0,r9,r8 212 cmpld cr0,r9,r8
|
D | 4xx.c | 338 u32 cr0 = mfdcr(DCRN_CPC0_CR0); in ibm440gp_fixup_clocks() local 368 if (cr0 & CPC0_CR0_U0EC) in ibm440gp_fixup_clocks() 373 uart0 = plb / CPC0_CR0_UDIV(cr0); in ibm440gp_fixup_clocks() 375 if (cr0 & CPC0_CR0_U1EC) in ibm440gp_fixup_clocks() 380 uart1 = plb / CPC0_CR0_UDIV(cr0); in ibm440gp_fixup_clocks()
|
D | ppc_asm.h | 17 #define cr0 0 macro
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | asmregs.h | 130 rctr: .reg %cr0 157 cr0: .reg %cr0
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
D | mpc52xx_sleep.S | 33 cmpi cr0, r10, 1 34 bne cr0, 1b
|
D | lite5200_sleep.S | 186 cmp cr0, r13, r12
|
/linux-4.1.27/arch/arm/include/asm/hardware/ |
D | ssp.h | 14 unsigned int cr0; member
|
/linux-4.1.27/arch/x86/power/ |
D | cpu.c | 106 ctxt->cr0 = read_cr0(); in __save_processor_state() 185 write_cr0(ctxt->cr0); in __restore_processor_state()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | dcr-low.S | 17 cmpli cr0,r3,1024; \
|
/linux-4.1.27/arch/x86/kvm/ |
D | svm.c | 1170 svm->vcpu.arch.cr0 = 0; in init_vmcb() 1533 ulong gcr0 = svm->vcpu.arch.cr0; in update_cr0_intercept() 1534 u64 *hcr0 = &svm->vmcb->save.cr0; in update_cr0_intercept() 1553 static void svm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) in svm_set_cr0() argument 1559 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0() 1564 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0() 1570 vcpu->arch.cr0 = cr0; in svm_set_cr0() 1573 cr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0() 1576 cr0 |= X86_CR0_TS; in svm_set_cr0() 1582 cr0 &= ~(X86_CR0_CD | X86_CR0_NW); in svm_set_cr0() [all …]
|
D | kvm_cache_regs.h | 53 return vcpu->arch.cr0 & mask; in kvm_read_cr0_bits()
|
D | vmx.c | 1979 ulong cr0; in vmx_fpu_activate() local 1984 cr0 = vmcs_readl(GUEST_CR0); in vmx_fpu_activate() 1985 cr0 &= ~(X86_CR0_TS | X86_CR0_MP); in vmx_fpu_activate() 1986 cr0 |= kvm_read_cr0_bits(vcpu, X86_CR0_TS | X86_CR0_MP); in vmx_fpu_activate() 1987 vmcs_writel(GUEST_CR0, cr0); in vmx_fpu_activate() 2035 (vcpu->arch.cr0 & X86_CR0_TS); in vmx_fpu_deactivate() 2038 vmcs_writel(CR0_READ_SHADOW, vcpu->arch.cr0); in vmx_fpu_deactivate() 3483 vcpu->arch.cr0 &= ~cr0_guest_owned_bits; in vmx_decache_cr0_guest_bits() 3484 vcpu->arch.cr0 |= vmcs_readl(GUEST_CR0) & cr0_guest_owned_bits; in vmx_decache_cr0_guest_bits() 3538 unsigned long cr0, in ept_update_paging_mode_cr0() argument [all …]
|
D | x86.c | 572 int kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0) in kvm_set_cr0() argument 578 cr0 |= X86_CR0_ET; in kvm_set_cr0() 581 if (cr0 & 0xffffffff00000000UL) in kvm_set_cr0() 585 cr0 &= ~CR0_RESERVED_BITS; in kvm_set_cr0() 587 if ((cr0 & X86_CR0_NW) && !(cr0 & X86_CR0_CD)) in kvm_set_cr0() 590 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_set_cr0() 593 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in kvm_set_cr0() 610 if (!(cr0 & X86_CR0_PG) && kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE)) in kvm_set_cr0() 613 kvm_x86_ops->set_cr0(vcpu, cr0); in kvm_set_cr0() 615 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_set_cr0() [all …]
|
D | emulate.c | 3325 ulong cr0; in em_clts() local 3327 cr0 = ctxt->ops->get_cr(ctxt, 0); in em_clts() 3328 cr0 &= ~X86_CR0_TS; in em_clts() 3329 ctxt->ops->set_cr(ctxt, 0, cr0); in em_clts()
|
/linux-4.1.27/arch/x86/xen/ |
D | enlighten.c | 990 unsigned long cr0 = this_cpu_read(xen_cr0_value); in xen_read_cr0() local 992 if (unlikely(cr0 == 0)) { in xen_read_cr0() 993 cr0 = native_read_cr0(); in xen_read_cr0() 994 this_cpu_write(xen_cr0_value, cr0); in xen_read_cr0() 997 return cr0; in xen_read_cr0() 1000 static void xen_write_cr0(unsigned long cr0) in xen_write_cr0() argument 1004 this_cpu_write(xen_cr0_value, cr0); in xen_write_cr0() 1010 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | irqflags.h | 51 cmpwi cr0,__rA,0; \
|
D | ppc_asm.h | 551 #define cr0 0 macro
|
/linux-4.1.27/arch/sh/include/cpu-sh5/cpu/ |
D | registers.h | 25 #define SR cr0
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_64_slb.S | 85 cmpd cr0, r11, r12
|
/linux-4.1.27/drivers/video/fbdev/ |
D | sstfb.c | 969 u8 cr0, cc; in sst_set_pll_att_ti() local 977 cr0 = sst_dac_read(DACREG_RMR); /* 5 CR0 */ in sst_set_pll_att_ti() 984 sst_dac_write(DACREG_RMR, (cr0 & 0xf0) in sst_set_pll_att_ti() 1015 cr0 & ~DACREG_CR0_PWDOWN & ~DACREG_CR0_EN_INDEXED); in sst_set_pll_att_ti() 1060 u8 cr0; in sst_set_vidmod_att_ti() local 1068 cr0 = sst_dac_read(DACREG_RMR); in sst_set_vidmod_att_ti() 1078 sst_dac_write(DACREG_RMR, (cr0 & 0x0f) | DACREG_CR0_16BPP); in sst_set_vidmod_att_ti()
|
/linux-4.1.27/sound/soc/pxa/ |
D | pxa-ssp.c | 48 uint32_t cr0; member 141 priv->cr0 = __raw_readl(ssp->mmio_base + SSCR0); in pxa_ssp_suspend() 160 __raw_writel(priv->cr0 & ~SSCR0_SSE, ssp->mmio_base + SSCR0); in pxa_ssp_resume()
|
/linux-4.1.27/drivers/s390/char/ |
D | sclp.c | 560 unsigned long cr0, cr0_sync; in sclp_sync_wait() local 581 __ctl_store(cr0, 0, 0); in sclp_sync_wait() 582 cr0_sync = cr0; in sclp_sync_wait() 597 __ctl_load(cr0, 0, 0); in sclp_sync_wait()
|
/linux-4.1.27/arch/x86/kernel/acpi/ |
D | wakeup_64.S | 91 movq %rbx, %cr0
|
/linux-4.1.27/arch/s390/kvm/ |
D | guestdbg.c | 135 vcpu->arch.guestdbg.cr0 = vcpu->arch.sie_block->gcr[0]; in kvm_s390_backup_guest_per_regs() 143 vcpu->arch.sie_block->gcr[0] = vcpu->arch.guestdbg.cr0; in kvm_s390_restore_guest_per_regs()
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
D | kvm.h | 148 __u64 cr0, cr2, cr3, cr4, cr8; member
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-ops.c | 197 u32 cr0, cmd; in ccp_do_cmd() local 207 cr0 = (cmd_q->id << REQ0_CMD_Q_SHIFT) in ccp_do_cmd() 212 cr0 |= REQ0_STOP_ON_COMPLETE in ccp_do_cmd() 216 cr0 |= REQ0_INT_ON_COMPLETE; in ccp_do_cmd() 229 iowrite32(cr0, ccp->io_regs + CMD_REQ0); in ccp_do_cmd() 233 if (cr0 & REQ0_INT_ON_COMPLETE) { in ccp_do_cmd()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | cache.S | 76 cmplwi cr0,r3,0x7000
|
/linux-4.1.27/tools/testing/selftests/powerpc/copyloops/ |
D | copyuser_64.S | 35 crand cr0*4+2,cr0*4+2,cr6*4+2
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-class-cxl | 84 AFU configuration records (eg. /sys/class/cxl/afu0.0/cr0):
|
/linux-4.1.27/arch/parisc/kernel/ |
D | entry.S | 799 mtctl %r0, %cr0 /* Needed for single stepping */ 1889 mtctl %r2,%cr0 /* for immediate trap */
|
/linux-4.1.27/fs/cifs/ |
D | cifspdu.h | 2711 char cr0; /* \n */ member
|
/linux-4.1.27/Documentation/s390/ |
D | Debugging390.txt | 49 16 Control registers, 32 bit on s/390 and 64 bit on z/Architecture, cr0-cr15,
|