Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/tty/serial/
Dstm32-usart.c66 static void stm32_config_reg_rs485(u32 *cr1, u32 *cr3, u32 delay_ADE, in stm32_config_reg_rs485() argument
73 *cr3 |= USART_CR3_DEM; in stm32_config_reg_rs485()
107 u32 usartdiv, baud, cr1, cr3; in stm32_config_rs485() local
118 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_config_rs485()
128 stm32_config_reg_rs485(&cr1, &cr3, in stm32_config_rs485()
133 cr3 &= ~USART_CR3_DEP; in stm32_config_rs485()
136 cr3 |= USART_CR3_DEP; in stm32_config_rs485()
140 writel_relaxed(cr3, port->membase + ofs->cr3); in stm32_config_rs485()
143 stm32_clr_bits(port, ofs->cr3, USART_CR3_DEM | USART_CR3_DEP); in stm32_config_rs485()
292 stm32_clr_bits(port, ofs->cr3, USART_CR3_DMAT); in stm32_tx_dma_complete()
[all …]
Dstm32-usart.h14 u8 cr3; member
49 .cr3 = 0x14,
66 .cr3 = 0x08,
87 .cr3 = 0x08,
/Linux-v5.4/arch/x86/power/
Dhibernate_asm_64.S46 movq %cr3, %rax
74 movq %rax, %cr3
79 movq %cr3, %rcx; # flush TLB
80 movq %rcx, %cr3;
105 movq %r9, %cr3
112 movq %cr3, %rcx; # flush TLB
113 movq %rcx, %cr3
Dhibernate_asm_32.S29 movl %cr3, %eax
52 movl %eax, %cr3
57 movl %cr3, %eax; # flush TLB
58 movl %eax, %cr3
85 movl %ebp, %cr3
Dhibernate.c63 unsigned long cr3; member
180 rdr->cr3 = restore_cr3 & ~CR3_PCID_MASK; in arch_hibernation_header_save()
201 restore_cr3 = rdr->cr3; in arch_hibernation_header_restore()
/Linux-v5.4/arch/x86/kernel/
Drelocate_kernel_64.S64 movq %cr3, %rax
97 movq %r9, %cr3
143 movq %r9, %cr3
164 movq %cr3, %rax
165 movq %rax, %cr3
206 movq %rax, %cr3
219 movq %rax, %cr3
Drelocate_kernel_32.S53 movl %cr3, %eax
86 movl %eax, %cr3
132 movl %eax, %cr3
146 movl %eax, %cr3
185 movl %eax, %cr3
199 movl %eax, %cr3
Dprocess_32.c63 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
86 cr3 = __read_cr3(); in __show_regs()
89 cr0, cr2, cr3, cr4); in __show_regs()
/Linux-v5.4/arch/x86/entry/
Dcalling.h199 mov %cr3, \scratch_reg
201 mov \scratch_reg, %cr3
210 mov %cr3, \scratch_reg
238 mov \scratch_reg, %cr3
250 movq %cr3, \scratch_reg
261 movq \scratch_reg, %cr3
298 movq \save_reg, %cr3
/Linux-v5.4/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-v5.4/arch/x86/platform/olpc/
Dxo1-wakeup.S25 # Set up %cr3
27 movl %eax, %cr3
51 movl %cr3, %eax
52 movl %eax, %cr3
/Linux-v5.4/arch/x86/boot/compressed/
Defi_thunk_64.S122 movl %cr3, %eax
123 movl %eax, %cr3
155 movl %cr3, %eax
156 movl %eax, %cr3
/Linux-v5.4/drivers/staging/media/imx/
Dimx7-media-csi.c295 u32 cr3 = imx7_csi_reg_read(csi, CSI_CSICR18); in imx7_csi_dma_reflash() local
297 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dma_reflash()
298 cr3 |= BIT_DMA_REFLASH_RFF; in imx7_csi_dma_reflash()
299 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dma_reflash()
334 u32 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dmareq_rff_enable() local
340 cr3 |= BIT_DMA_REQ_EN_RFF; in imx7_csi_dmareq_rff_enable()
341 cr3 |= BIT_HRESP_ERR_EN; in imx7_csi_dmareq_rff_enable()
342 cr3 &= ~BIT_RXFF_LEVEL; in imx7_csi_dmareq_rff_enable()
343 cr3 |= 0x2 << 4; in imx7_csi_dmareq_rff_enable()
345 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dmareq_rff_enable()
[all …]
/Linux-v5.4/include/xen/interface/hvm/
Dhvm_vcpu.h41 uint32_t cr3; member
104 uint64_t cr3; member
/Linux-v5.4/arch/x86/kernel/acpi/
Dwakeup_32.S28 movl %cr3, %eax
29 movl %eax, %cr3
/Linux-v5.4/arch/x86/include/asm/
Dmmu_context.h350 unsigned long cr3 = build_cr3(this_cpu_read(cpu_tlbstate.loaded_mm)->pgd, in __get_current_cr3_fast() local
356 VM_BUG_ON(cr3 != __read_cr3()); in __get_current_cr3_fast()
357 return cr3; in __get_current_cr3_fast()
Dsuspend_32.h22 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h37 unsigned long cr0, cr2, cr3, cr4; member
/Linux-v5.4/include/trace/events/
Dxen.h384 TP_PROTO(bool kernel, unsigned long cr3),
385 TP_ARGS(kernel, cr3),
388 __field(unsigned long, cr3)
391 __entry->cr3 = cr3),
393 __entry->kernel ? "kernel" : "user", __entry->cr3)
/Linux-v5.4/arch/x86/platform/pvh/
Dhead.S87 mov %eax, %cr3
126 mov %eax, %cr3
/Linux-v5.4/arch/x86/kvm/
Dmmu.h84 static inline unsigned long kvm_get_pcid(struct kvm_vcpu *vcpu, gpa_t cr3) in kvm_get_pcid() argument
89 ? cr3 & X86_CR3_PCID_MASK in kvm_get_pcid()
/Linux-v5.4/arch/x86/xen/
Dmmu_pv.c1394 static void __xen_write_cr3(bool kernel, unsigned long cr3) in __xen_write_cr3() argument
1399 trace_xen_mmu_write_cr3(kernel, cr3); in __xen_write_cr3()
1401 if (cr3) in __xen_write_cr3()
1402 mfn = pfn_to_mfn(PFN_DOWN(cr3)); in __xen_write_cr3()
1414 this_cpu_write(xen_cr3, cr3); in __xen_write_cr3()
1418 xen_mc_callback(set_current_cr3, (void *)cr3); in __xen_write_cr3()
1421 static void xen_write_cr3(unsigned long cr3) in xen_write_cr3() argument
1429 this_cpu_write(xen_cr3, cr3); in xen_write_cr3()
1431 __xen_write_cr3(true, cr3); in xen_write_cr3()
1435 pgd_t *user_pgd = xen_get_user_pgd(__va(cr3)); in xen_write_cr3()
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dcpu_setup_6xx.S335 cmplwi cr3,r3,0x8001 /* 7455 */
343 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
406 cmplwi cr3,r3,0x8001 /* 7455 */
414 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
/Linux-v5.4/arch/powerpc/boot/
Dppc_asm.h16 #define cr3 3 macro

123