/linux-6.12.1/drivers/tty/serial/ |
D | stm32-usart.c | 49 .cr3 = 0x14, 67 .cr3 = 0x08, 90 .cr3 = 0x08, 185 static void stm32_usart_config_reg_rs485(u32 *cr1, u32 *cr3, u32 delay_ADE, in stm32_usart_config_reg_rs485() argument 192 *cr3 |= USART_CR3_DEM; in stm32_usart_config_reg_rs485() 228 u32 usartdiv, baud, cr1, cr3; in stm32_usart_config_rs485() local 235 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485() 245 stm32_usart_config_reg_rs485(&cr1, &cr3, in stm32_usart_config_rs485() 251 cr3 &= ~USART_CR3_DEP; in stm32_usart_config_rs485() 253 cr3 |= USART_CR3_DEP; in stm32_usart_config_rs485() [all …]
|
/linux-6.12.1/arch/x86/power/ |
D | hibernate_asm_64.S | 30 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;
|
D | hibernate_asm_32.S | 29 movl %cr3, %eax 53 movl %eax, %cr3 58 movl %cr3, %eax; # flush TLB 59 movl %eax, %cr3 87 movl %ebp, %cr3
|
D | hibernate.c | 60 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.12.1/drivers/firmware/efi/libstub/ |
D | x86-5lvl.c | 13 static void (*la57_toggle)(void *cr3); 69 u64 *cr3 = (u64 *)__native_read_cr3(); in efi_5level_switch() local 82 new_cr3[0] = (u64)cr3 | _PAGE_TABLE_NOENC; in efi_5level_switch() 85 new_cr3 = (u64 *)(cr3[0] & PAGE_MASK); in efi_5level_switch()
|
/linux-6.12.1/arch/x86/kernel/ |
D | relocate_kernel_64.S | 71 movq %cr3, %rax 104 movq %r9, %cr3 161 movq %r9, %cr3 183 movq %cr3, %rax 184 movq %rax, %cr3 225 movq %rax, %cr3 243 movq %rax, %cr3
|
D | sev_verify_cbit.S | 56 movq %cr3, %rcx 59 movq %rdi, %cr3 68 movq %rcx, %cr3
|
D | relocate_kernel_32.S | 54 movl %cr3, %eax 87 movl %eax, %cr3 136 movl %eax, %cr3 150 movl %eax, %cr3 192 movl %eax, %cr3 209 movl %eax, %cr3
|
D | process_32.c | 62 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.12.1/scripts/gdb/linux/ |
D | pgtable.py | 66 def __init__(self, cr3, page_levels): argument 67 self.cr3 = cr3 69 self.page_level_write_through = is_bit_defined_tupled(cr3, 3) 70 self.page_level_cache_disabled = is_bit_defined_tupled(cr3, 4) 71 self.next_entry_physical_address = cr3 & PHYSICAL_ADDRESS_MASK & page_mask()
|
/linux-6.12.1/arch/x86/platform/olpc/ |
D | xo1-wakeup.S | 25 # Set up %cr3 27 movl %eax, %cr3 51 movl %cr3, %eax 52 movl %eax, %cr3
|
/linux-6.12.1/arch/x86/include/asm/xen/ |
D | interface_32.h | 101 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) argument
|
D | interface_64.h | 134 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12) argument
|
/linux-6.12.1/arch/x86/entry/ |
D | calling.h | 174 mov %cr3, \scratch_reg 176 mov \scratch_reg, %cr3 184 mov %cr3, \scratch_reg 212 mov \scratch_reg, %cr3 231 movq %cr3, \scratch_reg 242 movq \scratch_reg, %cr3 273 movq \save_reg, %cr3
|
D | entry_32.S | 60 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.12.1/arch/x86/kvm/ |
D | smm.c | 57 CHECK_SMRAM32_OFFSET(cr3, 0xFFF8); in check_smram_offsets() 97 CHECK_SMRAM64_OFFSET(cr3, 0xFF50); in check_smram_offsets() 190 smram->cr3 = kvm_read_cr3(vcpu); in enter_smm_save_state_32() 243 smram->cr3 = kvm_read_cr3(vcpu); in enter_smm_save_state_64() 415 u64 cr0, u64 cr3, u64 cr4) in rsm_enter_protected_mode() argument 423 pcid = cr3 & 0xfff; in rsm_enter_protected_mode() 424 cr3 &= ~0xfff; in rsm_enter_protected_mode() 427 bad = kvm_set_cr3(vcpu, cr3); in rsm_enter_protected_mode() 449 bad = kvm_set_cr3(vcpu, cr3 | pcid); in rsm_enter_protected_mode() 499 smstate->cr3, smstate->cr4); in rsm_load_state_32() [all …]
|
D | cpuid.h | 269 static inline bool kvm_vcpu_is_legal_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) in kvm_vcpu_is_legal_cr3() argument 272 cr3 &= ~(X86_CR3_LAM_U48 | X86_CR3_LAM_U57); in kvm_vcpu_is_legal_cr3() 274 return kvm_vcpu_is_legal_gpa(vcpu, cr3); in kvm_vcpu_is_legal_cr3()
|
D | smm.h | 64 u32 cr3; member 128 u64 cr3; member
|
/linux-6.12.1/arch/x86/mm/ |
D | tlb.c | 158 unsigned long cr3 = __sme_pa(pgd) | lam; in build_cr3() local 161 cr3 |= kern_pcid(asid); in build_cr3() 166 return cr3; in build_cr3() 698 unsigned long cr3 = __read_cr3(); in initialize_tlbstate_and_flush() local 701 WARN_ON((cr3 & CR3_ADDR_MASK) != __pa(mm->pgd)); in initialize_tlbstate_and_flush() 704 WARN_ON(cr3 & (X86_CR3_LAM_U48 | X86_CR3_LAM_U57)); in initialize_tlbstate_and_flush() 1089 unsigned long cr3 = in __get_current_cr3_fast() local 1097 VM_BUG_ON(cr3 != __read_cr3()); in __get_current_cr3_fast() 1098 return cr3; in __get_current_cr3_fast()
|
/linux-6.12.1/drivers/media/platform/nxp/ |
D | imx7-media-csi.c | 362 u32 cr3; in imx7_csi_dma_reflash() local 364 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dma_reflash() 365 cr3 |= BIT_DMA_REFLASH_RFF; in imx7_csi_dma_reflash() 366 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dma_reflash() 380 u32 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dmareq_rff_enable() local 382 cr3 |= BIT_DMA_REQ_EN_RFF; in imx7_csi_dmareq_rff_enable() 383 cr3 |= BIT_HRESP_ERR_EN; in imx7_csi_dmareq_rff_enable() 384 cr3 &= ~BIT_RXFF_LEVEL_MASK; in imx7_csi_dmareq_rff_enable() 385 cr3 |= BIT_RXFF_LEVEL(2); in imx7_csi_dmareq_rff_enable() 387 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dmareq_rff_enable() [all …]
|
/linux-6.12.1/arch/x86/boot/compressed/ |
D | efi_mixed.S | 188 movl %cr3, %eax 189 movl %eax, %cr3 220 movl %cr3, %eax 221 movl %eax, %cr3
|
/linux-6.12.1/include/xen/interface/hvm/ |
D | hvm_vcpu.h | 24 uint32_t cr3; member 87 uint64_t cr3; member
|
/linux-6.12.1/arch/x86/kvm/svm/ |
D | nested.c | 62 u64 cr3 = svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_pdptr() local 70 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr() 71 (cr3 & GENMASK(11, 5)) + index * 8, 8); in nested_svm_get_tdp_pdptr() 309 CC(!kvm_vcpu_is_legal_cr3(vcpu, save->cr3))) in __nested_vmcb_check_save() 401 to->cr3 = from->cr3; in __nested_copy_vmcb_save_to_cache() 511 static int nested_svm_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, in nested_svm_load_cr3() argument 514 if (CC(!kvm_vcpu_is_legal_cr3(vcpu, cr3))) in nested_svm_load_cr3() 518 CC(!load_pdptrs(vcpu, cr3))) in nested_svm_load_cr3() 521 vcpu->arch.cr3 = cr3; in nested_svm_load_cr3() 527 kvm_mmu_new_pgd(vcpu, cr3); in nested_svm_load_cr3() [all …]
|
/linux-6.12.1/include/trace/events/ |
D | xen.h | 368 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.12.1/arch/x86/kernel/acpi/ |
D | wakeup_32.S | 27 movl %cr3, %eax 28 movl %eax, %cr3
|