Home
last modified time | relevance | path

Searched refs:cr3 (Results 1 – 25 of 88) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Dstm32-usart.c63 static void stm32_usart_config_reg_rs485(u32 *cr1, u32 *cr3, u32 delay_ADE, in stm32_usart_config_reg_rs485() argument
70 *cr3 |= USART_CR3_DEM; in stm32_usart_config_reg_rs485()
106 u32 usartdiv, baud, cr1, cr3; in stm32_usart_config_rs485() local
117 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485()
127 stm32_usart_config_reg_rs485(&cr1, &cr3, in stm32_usart_config_rs485()
133 cr3 &= ~USART_CR3_DEP; in stm32_usart_config_rs485()
136 cr3 |= USART_CR3_DEP; in stm32_usart_config_rs485()
140 writel_relaxed(cr3, port->membase + ofs->cr3); in stm32_usart_config_rs485()
143 stm32_usart_clr_bits(port, ofs->cr3, in stm32_usart_config_rs485()
292 stm32_usart_clr_bits(port, ofs->cr3, USART_CR3_DMAT); in stm32_usart_tx_dma_complete()
[all …]
H A Dstm32-usart.h14 u8 cr3; member
49 .cr3 = 0x14,
66 .cr3 = 0x08,
87 .cr3 = 0x08,
/OK3568_Linux_fs/kernel/arch/x86/power/
H A Dhibernate_asm_64.S46 movq %cr3, %rax
75 movq %rax, %cr3
80 movq %cr3, %rcx; # flush TLB
81 movq %rcx, %cr3;
107 movq %r9, %cr3
114 movq %cr3, %rcx; # flush TLB
115 movq %rcx, %cr3
H A Dhibernate_asm_32.S29 movl %cr3, %eax
53 movl %eax, %cr3
58 movl %cr3, %eax; # flush TLB
59 movl %eax, %cr3
87 movl %ebp, %cr3
H A Dhibernate.c60 unsigned long cr3; member
118 rdr->cr3 = restore_cr3 & ~CR3_PCID_MASK; in arch_hibernation_header_save()
140 restore_cr3 = rdr->cr3; in arch_hibernation_header_restore()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Drelocate_kernel_64.S67 movq %cr3, %rax
100 movq %r9, %cr3
150 movq %r9, %cr3
171 movq %cr3, %rax
172 movq %rax, %cr3
213 movq %rax, %cr3
230 movq %rax, %cr3
H A Dsev_verify_cbit.S56 movq %cr3, %rcx
59 movq %rdi, %cr3
68 movq %rcx, %cr3
H A Drelocate_kernel_32.S54 movl %cr3, %eax
87 movl %eax, %cr3
136 movl %eax, %cr3
150 movl %eax, %cr3
192 movl %eax, %cr3
209 movl %eax, %cr3
H A Dprocess_32.c62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
85 cr3 = __read_cr3(); in __show_regs()
88 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
/OK3568_Linux_fs/kernel/arch/x86/entry/
H A Dcalling.h195 mov %cr3, \scratch_reg
197 mov \scratch_reg, %cr3
206 mov %cr3, \scratch_reg
234 mov \scratch_reg, %cr3
246 movq %cr3, \scratch_reg
257 movq \scratch_reg, %cr3
294 movq \save_reg, %cr3
H A Dentry_32.S137 movl %cr3, \scratch_reg
139 movl \scratch_reg, %cr3
152 movl %cr3, %eax
167 movl %cr3, \scratch_reg
172 movl \scratch_reg, %cr3
380 movl \cr3_reg, %cr3
/OK3568_Linux_fs/kernel/arch/x86/platform/olpc/
H A Dxo1-wakeup.S25 # Set up %cr3
27 movl %eax, %cr3
51 movl %cr3, %eax
52 movl %eax, %cr3
/OK3568_Linux_fs/kernel/arch/x86/boot/compressed/
H A Defi_thunk_64.S110 movl %cr3, %eax
111 movl %eax, %cr3
141 movl %cr3, %eax
142 movl %eax, %cr3
/OK3568_Linux_fs/kernel/arch/x86/include/asm/xen/
H A Dinterface_32.h101 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) argument
H A Dinterface_64.h134 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12) argument
/OK3568_Linux_fs/kernel/arch/x86/kvm/svm/
H A Dnested.c74 u64 cr3 = svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_pdptr() local
78 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr()
79 offset_in_page(cr3) + index * 8, 8); in nested_svm_get_tdp_pdptr()
278 (vmcb12->save.cr3 & vcpu->arch.cr3_lm_rsvd_bits)) in nested_vmcb_check_save()
372 static int nested_svm_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, in nested_svm_load_cr3() argument
375 if (cr3 & rsvd_bits(cpuid_maxphyaddr(vcpu), 63)) in nested_svm_load_cr3()
379 (cr3 != kvm_read_cr3(vcpu) || pdptrs_changed(vcpu))) { in nested_svm_load_cr3()
380 if (!load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3)) in nested_svm_load_cr3()
389 kvm_mmu_new_pgd(vcpu, cr3, false, false); in nested_svm_load_cr3()
391 vcpu->arch.cr3 = cr3; in nested_svm_load_cr3()
[all …]
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dsh_spi.c106 sh_spi_write(0x00, &ss->regs->cr3); in spi_setup_slave()
189 sh_spi_write(SH_SPI_MAX_BYTE, &ss->regs->cr3); in sh_spi_receive()
191 sh_spi_write(len, &ss->regs->cr3); in sh_spi_receive()
202 sh_spi_write(0, &ss->regs->cr3); in sh_spi_receive()
/OK3568_Linux_fs/kernel/drivers/staging/media/imx/
H A Dimx7-media-csi.c300 u32 cr3; in imx7_csi_dma_reflash() local
302 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dma_reflash()
303 cr3 |= BIT_DMA_REFLASH_RFF; in imx7_csi_dma_reflash()
304 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dma_reflash()
339 u32 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dmareq_rff_enable() local
345 cr3 |= BIT_DMA_REQ_EN_RFF; in imx7_csi_dmareq_rff_enable()
346 cr3 |= BIT_HRESP_ERR_EN; in imx7_csi_dmareq_rff_enable()
347 cr3 &= ~BIT_RXFF_LEVEL; in imx7_csi_dmareq_rff_enable()
348 cr3 |= 0x2 << 4; in imx7_csi_dmareq_rff_enable()
350 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dmareq_rff_enable()
[all …]
/OK3568_Linux_fs/kernel/include/xen/interface/hvm/
H A Dhvm_vcpu.h41 uint32_t cr3; member
104 uint64_t cr3; member
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dxen.h368 TP_PROTO(bool kernel, unsigned long cr3),
369 TP_ARGS(kernel, cr3),
372 __field(unsigned long, cr3)
375 __entry->cr3 = cr3),
377 __entry->kernel ? "kernel" : "user", __entry->cr3)
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h207 uint64_t cr3; in get_cr3() local
210 : /* output */ [cr3]"=r"(cr3)); in get_cr3()
211 return cr3; in get_cr3()
/OK3568_Linux_fs/kernel/arch/x86/kernel/acpi/
H A Dwakeup_32.S27 movl %cr3, %eax
28 movl %eax, %cr3
/OK3568_Linux_fs/kernel/arch/x86/platform/pvh/
H A Dhead.S87 mov %eax, %cr3
126 mov %eax, %cr3
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dtlb.c622 unsigned long cr3 = __read_cr3(); in initialize_tlbstate_and_flush() local
625 WARN_ON((cr3 & CR3_ADDR_MASK) != __pa(mm->pgd)); in initialize_tlbstate_and_flush()
973 unsigned long cr3 = build_cr3(this_cpu_read(cpu_tlbstate.loaded_mm)->pgd, in __get_current_cr3_fast() local
979 VM_BUG_ON(cr3 != __read_cr3()); in __get_current_cr3_fast()
980 return cr3; in __get_current_cr3_fast()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/i386/
H A Dinterrupt.c71 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in dump_regs() local
116 cr3 = read_cr3(); in dump_regs()
120 cr0, cr2, cr3, cr4); in dump_regs()

1234