Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/tty/serial/
Dstm32-usart.c48 .cr3 = 0x14,
65 .cr3 = 0x08,
87 .cr3 = 0x08,
181 static void stm32_usart_config_reg_rs485(u32 *cr1, u32 *cr3, u32 delay_ADE, in stm32_usart_config_reg_rs485() argument
188 *cr3 |= USART_CR3_DEM; in stm32_usart_config_reg_rs485()
224 u32 usartdiv, baud, cr1, cr3; in stm32_usart_config_rs485() local
233 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485()
243 stm32_usart_config_reg_rs485(&cr1, &cr3, in stm32_usart_config_rs485()
249 cr3 &= ~USART_CR3_DEP; in stm32_usart_config_rs485()
251 cr3 |= USART_CR3_DEP; in stm32_usart_config_rs485()
[all …]
/linux-6.1.9/arch/x86/power/
Dhibernate_asm_64.S30 movq %r9, %cr3
37 movq %cr3, %rcx; # flush TLB
38 movq %rcx, %cr3
93 movq %cr3, %rax
123 movq %rax, %cr3
128 movq %cr3, %rcx; # flush TLB
129 movq %rcx, %cr3;
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
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()
/linux-6.1.9/arch/x86/kernel/
Drelocate_kernel_64.S68 movq %cr3, %rax
101 movq %r9, %cr3
159 movq %r9, %cr3
180 movq %cr3, %rax
181 movq %rax, %cr3
222 movq %rax, %cr3
240 movq %rax, %cr3
Dsev_verify_cbit.S56 movq %cr3, %rcx
59 movq %rdi, %cr3
68 movq %rcx, %cr3
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
Dprocess_32.c62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
82 cr3 = __read_cr3(); in __show_regs()
85 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
/linux-6.1.9/arch/x86/entry/
Dcalling.h169 mov %cr3, \scratch_reg
171 mov \scratch_reg, %cr3
180 mov %cr3, \scratch_reg
208 mov \scratch_reg, %cr3
220 movq %cr3, \scratch_reg
231 movq \scratch_reg, %cr3
268 movq \save_reg, %cr3
Dentry_32.S60 movl %cr3, \scratch_reg
62 movl \scratch_reg, %cr3
75 movl %cr3, %eax
90 movl %cr3, \scratch_reg
95 movl \scratch_reg, %cr3
296 movl \cr3_reg, %cr3
/linux-6.1.9/arch/x86/platform/olpc/
Dxo1-wakeup.S25 # Set up %cr3
27 movl %eax, %cr3
51 movl %cr3, %eax
52 movl %eax, %cr3
/linux-6.1.9/arch/x86/include/asm/xen/
Dinterface_32.h101 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) argument
Dinterface_64.h134 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12) argument
/linux-6.1.9/arch/x86/boot/compressed/
Defi_thunk_64.S122 movl %cr3, %eax
123 movl %eax, %cr3
156 movl %cr3, %eax
157 movl %eax, %cr3
/linux-6.1.9/arch/x86/kvm/svm/
Dnested.c61 u64 cr3 = svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_pdptr() local
65 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr()
66 offset_in_page(cr3) + index * 8, 8); in nested_svm_get_tdp_pdptr()
302 CC(kvm_vcpu_is_illegal_gpa(vcpu, save->cr3))) in __nested_vmcb_check_save()
392 to->cr3 = from->cr3; in __nested_copy_vmcb_save_to_cache()
497 static int nested_svm_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, in nested_svm_load_cr3() argument
500 if (CC(kvm_vcpu_is_illegal_gpa(vcpu, cr3))) in nested_svm_load_cr3()
504 CC(!load_pdptrs(vcpu, cr3))) in nested_svm_load_cr3()
507 vcpu->arch.cr3 = cr3; in nested_svm_load_cr3()
513 kvm_mmu_new_pgd(vcpu, cr3); in nested_svm_load_cr3()
[all …]
/linux-6.1.9/include/xen/interface/hvm/
Dhvm_vcpu.h24 uint32_t cr3; member
87 uint64_t cr3; member
/linux-6.1.9/drivers/staging/media/imx/
Dimx7-media-csi.c350 u32 cr3; in imx7_csi_dma_reflash() local
352 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dma_reflash()
353 cr3 |= BIT_DMA_REFLASH_RFF; in imx7_csi_dma_reflash()
354 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dma_reflash()
368 u32 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dmareq_rff_enable() local
370 cr3 |= BIT_DMA_REQ_EN_RFF; in imx7_csi_dmareq_rff_enable()
371 cr3 |= BIT_HRESP_ERR_EN; in imx7_csi_dmareq_rff_enable()
372 cr3 &= ~BIT_RXFF_LEVEL_MASK; in imx7_csi_dmareq_rff_enable()
373 cr3 |= BIT_RXFF_LEVEL(2); in imx7_csi_dmareq_rff_enable()
375 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dmareq_rff_enable()
[all …]
/linux-6.1.9/arch/x86/kernel/acpi/
Dwakeup_32.S27 movl %cr3, %eax
28 movl %eax, %cr3
/linux-6.1.9/include/trace/events/
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)
/linux-6.1.9/arch/x86/platform/pvh/
Dhead.S87 mov %eax, %cr3
116 mov %eax, %cr3
/linux-6.1.9/arch/x86/include/asm/
Dsuspend_32.h20 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h41 unsigned long cr0, cr2, cr3, cr4; member
/linux-6.1.9/arch/x86/mm/
Dtlb.c689 unsigned long cr3 = __read_cr3(); in initialize_tlbstate_and_flush() local
692 WARN_ON((cr3 & CR3_ADDR_MASK) != __pa(mm->pgd)); in initialize_tlbstate_and_flush()
1074 unsigned long cr3 = build_cr3(this_cpu_read(cpu_tlbstate.loaded_mm)->pgd, in __get_current_cr3_fast() local
1080 VM_BUG_ON(cr3 != __read_cr3()); in __get_current_cr3_fast()
1081 return cr3; in __get_current_cr3_fast()
/linux-6.1.9/arch/powerpc/kernel/
Dcpu_setup_6xx.S336 cmplwi cr3,r3,0x8001 /* 7455 */
344 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
407 cmplwi cr3,r3,0x8001 /* 7455 */
415 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
/linux-6.1.9/arch/x86/xen/
Dmmu_pv.c1309 static void __xen_write_cr3(bool kernel, unsigned long cr3) in __xen_write_cr3() argument
1314 trace_xen_mmu_write_cr3(kernel, cr3); in __xen_write_cr3()
1316 if (cr3) in __xen_write_cr3()
1317 mfn = pfn_to_mfn(PFN_DOWN(cr3)); in __xen_write_cr3()
1329 this_cpu_write(xen_cr3, cr3); in __xen_write_cr3()
1333 xen_mc_callback(set_current_cr3, (void *)cr3); in __xen_write_cr3()
1336 static void xen_write_cr3(unsigned long cr3) in xen_write_cr3() argument
1338 pgd_t *user_pgd = xen_get_user_pgd(__va(cr3)); in xen_write_cr3()
1346 this_cpu_write(xen_cr3, cr3); in xen_write_cr3()
1348 __xen_write_cr3(true, cr3); in xen_write_cr3()
[all …]

123