Home
last modified time | relevance | path

Searched refs:get_cr (Results 1 – 21 of 21) sorted by relevance

/openbmc/u-boot/arch/arm/lib/
H A Dcache-cp15.c198 reg = get_cr(); /* get control reg. */ in mmu_setup()
204 return get_cr() & CR_M; in mmu_enabled()
223 reg = get_cr(); /* get control reg. */ in cache_enable()
232 reg = get_cr(); in cache_disable()
241 reg = get_cr(); in cache_disable()
277 return (get_cr() & CR_I) != 0; in icache_status()
309 return (get_cr() & CR_C) != 0; in dcache_status()
/openbmc/linux/arch/arm/include/asm/
H A Dcp15.h46 #define vectors_high() (get_cr() & CR_V)
57 static inline unsigned long get_cr(void) in get_cr() function
113 static inline unsigned long get_cr(void) in get_cr() function
/openbmc/u-boot/arch/arm/cpu/armv7/
H A Dmpu_v7r.c37 reg = get_cr(); in disable_mpu()
48 reg = get_cr(); in enable_mpu()
57 return get_cr() & CR_M; in mpu_enabled()
/openbmc/linux/arch/arm/mm/
H A Dcache-feroceon-l2.c242 cr = get_cr(); in flush_and_disable_dcache()
259 cr = get_cr(); in enable_dcache()
272 cr = get_cr(); in invalidate_and_disable_icache()
285 cr = get_cr(); in enable_icache()
H A Dnommu.c45 unsigned long reg = get_cr(); in setup_vectors_base()
72 unsigned long base = 0, reg = get_cr(); in setup_vectors_base()
H A Ddma-mapping-nommu.c51 dev->dma_coherent = (get_cr() & CR_M) ? coherent : true; in arch_setup_dma_ops()
H A Dcache-xsc3l2.c197 if (get_cr() & CR_L2) { in xsc3_l2_init()
H A Dalignment.c96 return cpu_architecture() >= CPU_ARCH_ARMv6 && get_cr() & CR_U; in cpu_is_v6_unaligned()
1032 cr_no_alignment = get_cr() & ~CR_A; in alignment_init()
H A Dinit.c391 return !!(get_cr() & CR_XP); in arch_has_strict_perms()
H A Dioremap.c305 (((cpu_architecture() >= CPU_ARCH_ARMv6) && (get_cr() & CR_XP)) || in __arm_ioremap_pfn_caller()
H A Dmmu.c445 unsigned int cr = get_cr(); in build_mem_type_table()
1688 cr = get_cr(); in early_paging_init()
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dcpu.c198 reg = get_cr(); in mmu_setup()
216 set_cr(get_cr() | CR_C); in enable_caches()
/openbmc/u-boot/arch/arm/mach-kirkwood/
H A Dcpu.c296 temp = get_cr(); in arch_misc_init()
/openbmc/linux/arch/x86/kvm/
H A Demulate.c789 if (!(ctxt->ops->get_cr(ctxt, 0) & X86_CR0_PE)) { in emulator_recalc_and_set_mode()
3377 (ctxt->ops->get_cr(ctxt, 4) & X86_CR4_UMIP) && in em_store_sreg()
3455 cr0 = ctxt->ops->get_cr(ctxt, 0); in em_clts()
3481 if ((ctxt->ops->get_cr(ctxt, 4) & X86_CR4_UMIP) && in emulate_store_desc_ptr()
3544 if ((ctxt->ops->get_cr(ctxt, 4) & X86_CR4_UMIP) && in em_smsw()
3550 ctxt->dst.val = ctxt->ops->get_cr(ctxt, 0); in em_smsw()
3833 if (!(ctxt->ops->get_cr(ctxt, 4) & X86_CR4_OSXSAVE)) in em_xsetbv()
3883 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_dr_read()
3936 u64 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_rdtsc()
3946 u64 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_rdpmc()
[all …]
H A Dkvm_emulate.h197 ulong (*get_cr)(struct x86_emulate_ctxt *ctxt, int cr); member
H A Dx86.c8360 .get_cr = emulator_get_cr,
/openbmc/u-boot/arch/arm/mach-orion5x/
H A Dcpu.c271 temp = get_cr(); in arch_misc_init()
/openbmc/u-boot/arch/arm/mach-exynos/
H A Dspl_boot.c56 cr = get_cr(); in config_branch_prediction()
/openbmc/u-boot/arch/arm/include/asm/
H A Dsystem.h367 static inline unsigned int get_cr(void) in get_cr() function
/openbmc/u-boot/arch/arm/mach-imx/
H A Dhab.c641 if (is_soc_type(MXC_SOC_MX6) && get_cr() & CR_M) { in imx_hab_authenticate_image()
/openbmc/linux/arch/arm/kernel/
H A Dsetup.c721 proc_arch[cpu_architecture()], get_cr()); in setup_processor()