Home
last modified time | relevance | path

Searched refs:sctlr (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Darm32-stub.c14 static void get_cpu_state(u32 *cpsr, u32 *sctlr) in get_cpu_state() argument
18 asm("mrc p15, 4, %0, c1, c0, 0" : "=r"(*sctlr)); in get_cpu_state()
20 asm("mrc p15, 0, %0, c1, c0, 0" : "=r"(*sctlr)); in get_cpu_state()
26 u32 cpsr, sctlr; in check_platform_features() local
29 get_cpu_state(&cpsr, &sctlr); in check_platform_features()
33 (sctlr & 1) ? "en" : "dis"); in check_platform_features()
44 efi_entry_state->sctlr_before_ebs = sctlr; in check_platform_features()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Daarch32.c76 u32 sctlr = vcpu_cp15(vcpu, c1_SCTLR); in get_except32_cpsr() local
96 if (sctlr & BIT(31)) in get_except32_cpsr()
103 if (!(sctlr & BIT(23))) in get_except32_cpsr()
119 if (sctlr & BIT(25)) in get_except32_cpsr()
146 if (sctlr & BIT(30)) in get_except32_cpsr()
159 u32 sctlr = vcpu_cp15(vcpu, c1_SCTLR); in prepare_fault32() local
168 if (sctlr & (1 << 13)) in prepare_fault32()
Dinject_fault.c49 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local
66 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1); in enter_exception64()
95 if (!(sctlr & SCTLR_EL1_SPAN)) in enter_exception64()
106 if (sctlr & SCTLR_ELx_DSSBS) in enter_exception64()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-sprd.c293 struct spi_controller *sctlr = sdev->controller; in sprd_spi_chipselect() local
294 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_chipselect()
789 static int sprd_spi_transfer_one(struct spi_controller *sctlr, in sprd_spi_transfer_one() argument
799 if (sctlr->can_dma(sctlr, sdev, t)) in sprd_spi_transfer_one()
810 spi_finalize_current_transfer(sctlr); in sprd_spi_transfer_one()
890 static bool sprd_spi_can_dma(struct spi_controller *sctlr, in sprd_spi_can_dma() argument
893 struct sprd_spi *ss = spi_controller_get_devdata(sctlr); in sprd_spi_can_dma()
921 struct spi_controller *sctlr; in sprd_spi_probe() local
927 sctlr = spi_alloc_master(&pdev->dev, sizeof(*ss)); in sprd_spi_probe()
928 if (!sctlr) in sprd_spi_probe()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/vhe/
Dtlb.c16 u64 sctlr; member
39 val = cxt->sctlr = read_sysreg_el1(SYS_SCTLR); in __tlb_switch_to_guest()
76 write_sysreg_el1(cxt->sctlr, SYS_SCTLR); in __tlb_switch_to_host()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_emulate.h404 u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1); in kvm_vcpu_set_be() local
405 sctlr |= (1 << 25); in kvm_vcpu_set_be()
406 vcpu_write_sys_reg(vcpu, sctlr, SCTLR_EL1); in kvm_vcpu_set_be()