Home
last modified time | relevance | path

Searched refs:memattr (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c724 efi_memory_attribute_protocol_t *memattr; in efi_remap_image() local
733 status = efi_bs_call(locate_protocol, &guid, NULL, (void **)&memattr); in efi_remap_image()
738 status = memattr->get_memory_attributes(memattr, image_base, in efi_remap_image()
747 status = memattr->set_memory_attributes(memattr, image_base, code_size, in efi_remap_image()
758 status = memattr->clear_memory_attributes(memattr, image_base, in efi_remap_image()
764 status = memattr->set_memory_attributes(memattr, in efi_remap_image()
H A Dx86-stub.c29 static efi_memory_attribute_protocol_t *memattr; variable
280 if (memattr != NULL) { in efi_adjust_memory_range_protection()
281 status = efi_call_proto(memattr, set_memory_attributes, in efi_adjust_memory_range_protection()
290 status = efi_call_proto(memattr, clear_memory_attributes, in efi_adjust_memory_range_protection()
845 efi_bs_call(locate_protocol, &guid, NULL, (void **)&memattr); in efi_stub_entry()
/linux-6.15/drivers/firmware/efi/
H A DMakefile14 obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o
/linux-6.15/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c129 u64 memattr = cfg->arm_mali_lpae_cfg.memattr; in panfrost_mmu_enable() local
139 mmu_write(pfdev, AS_MEMATTR_LO(as_nr), lower_32_bits(memattr)); in panfrost_mmu_enable()
140 mmu_write(pfdev, AS_MEMATTR_HI(as_nr), upper_32_bits(memattr)); in panfrost_mmu_enable()
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c265 u64 memattr; member
610 u64 transtab, u64 transcfg, u64 memattr) in panthor_mmu_as_enable() argument
621 gpu_write(ptdev, AS_MEMATTR_LO(as_nr), lower_32_bits(memattr)); in panthor_mmu_as_enable()
622 gpu_write(ptdev, AS_MEMATTR_HI(as_nr), upper_32_bits(memattr)); in panthor_mmu_as_enable()
787 ret = panthor_mmu_as_enable(vm->ptdev, vm->as.id, transtab, transcfg, vm->memattr); in panthor_vm_active()
1976 u64 memattr = 0; in mair_to_memattr() local
2010 memattr |= (u64)out_attr << (8 * i); in mair_to_memattr()
2013 return memattr; in mair_to_memattr()
2385 vm->memattr = mair_to_memattr(mair, ptdev->coherent); in panthor_vm_create()
/linux-6.15/include/linux/
H A Dio-pgtable.h169 u64 memattr; member
/linux-6.15/arch/arm64/kvm/
H A Dat.c577 static u8 s2_memattr_to_attr(u8 memattr) in s2_memattr_to_attr() argument
579 memattr &= 0b1111; in s2_memattr_to_attr()
581 switch (memattr) { in s2_memattr_to_attr()
586 return memattr << 2; in s2_memattr_to_attr()
/linux-6.15/arch/arm64/kvm/hyp/
H A Dpgtable.c869 u64 memattr = pte & KVM_PTE_LEAF_ATTR_LO_S2_MEMATTR; in stage2_pte_cacheable() local
870 return kvm_pte_valid(pte) && memattr == KVM_S2_MEMATTR(pgt, NORMAL); in stage2_pte_cacheable()
/linux-6.15/drivers/iommu/
H A Dio-pgtable-arm.c1210 cfg->arm_mali_lpae_cfg.memattr = in arm_mali_lpae_alloc_pgtable()