/Linux-v6.1/arch/arm64/kvm/hyp/ |
D | exception.c | 84 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local 101 sctlr = __vcpu_read_sys_reg(vcpu, SCTLR_EL1); in enter_exception64() 131 if (!(sctlr & SCTLR_EL1_SPAN)) in enter_exception64() 142 if (sctlr & SCTLR_ELx_DSSBS) in enter_exception64() 179 u32 sctlr = __vcpu_read_sys_reg(vcpu, SCTLR_EL1); in get_except32_cpsr() local 199 if (sctlr & BIT(31)) in get_except32_cpsr() 206 if (!(sctlr & BIT(23))) in get_except32_cpsr() 222 if (sctlr & BIT(25)) in get_except32_cpsr() 249 if (sctlr & BIT(30)) in get_except32_cpsr() 275 u32 sctlr = __vcpu_read_sys_reg(vcpu, SCTLR_EL1); in enter_exception32() local [all …]
|
/Linux-v6.1/drivers/firmware/efi/libstub/ |
D | arm32-stub.c | 14 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()
|
/Linux-v6.1/arch/arm64/kernel/ |
D | pointer_auth.c | 70 u64 sctlr; in ptrauth_set_enabled_keys() local 82 sctlr = tsk->thread.sctlr_user; in ptrauth_set_enabled_keys() 83 sctlr &= ~arg_to_enxx_mask(keys); in ptrauth_set_enabled_keys() 84 sctlr |= arg_to_enxx_mask(enabled); in ptrauth_set_enabled_keys() 85 tsk->thread.sctlr_user = sctlr; in ptrauth_set_enabled_keys() 87 update_sctlr_el1(sctlr); in ptrauth_set_enabled_keys()
|
D | mte.c | 203 unsigned long sctlr = task->thread.sctlr_user; in mte_update_sctlr_user() local 213 sctlr &= ~SCTLR_EL1_TCF0_MASK; in mte_update_sctlr_user() 220 sctlr |= SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, ASYMM); in mte_update_sctlr_user() 222 sctlr |= SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, ASYNC); in mte_update_sctlr_user() 224 sctlr |= SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, SYNC); in mte_update_sctlr_user() 225 task->thread.sctlr_user = sctlr; in mte_update_sctlr_user()
|
D | process.c | 504 void update_sctlr_el1(u64 sctlr) in update_sctlr_el1() argument 510 sysreg_clear_set(sctlr_el1, SCTLR_USER_MASK & ~SCTLR_ELx_ENIA, sctlr); in update_sctlr_el1()
|
/Linux-v6.1/drivers/spi/ |
D | spi-sprd.c | 293 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 …]
|
/Linux-v6.1/arch/arm64/kvm/hyp/vhe/ |
D | tlb.c | 16 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()
|
/Linux-v6.1/arch/arm64/include/asm/ |
D | kvm_emulate.h | 395 u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1); in kvm_vcpu_set_be() local 396 sctlr |= SCTLR_ELx_EE; in kvm_vcpu_set_be() 397 vcpu_write_sys_reg(vcpu, sctlr, SCTLR_EL1); in kvm_vcpu_set_be()
|
D | processor.h | 328 void update_sctlr_el1(u64 sctlr);
|