| /linux/arch/arm64/include/asm/ |
| H A D | processor.h | 163 } uw; member 270 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() 271 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 272 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist() 273 sizeof_field(struct thread_struct, uw.fpmr) + in arch_thread_struct_whitelist() 274 sizeof_field(struct thread_struct, uw.pad) + in arch_thread_struct_whitelist() 275 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist() 277 *offset = offsetof(struct thread_struct, uw); in arch_thread_struct_whitelist() 278 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist() 286 __tls = &(t)->thread.uw.tp2_value; \ [all …]
|
| H A D | kvm_nested.h | 373 bool uw; member
|
| /linux/arch/arm64/kernel/ |
| H A D | fpsimd.c | 418 write_sysreg_s(current->thread.uw.fpmr, SYS_FPMR); in task_fpsimd_load() 423 ¤t->thread.uw.fpsimd_state.fpsr, in task_fpsimd_load() 427 fpsimd_load_state(¤t->thread.uw.fpsimd_state); in task_fpsimd_load() 665 struct user_fpsimd_state const *fst = &task->thread.uw.fpsimd_state; in fpsimd_to_sve() 689 struct user_fpsimd_state *fst = &task->thread.uw.fpsimd_state; in sve_to_fpsimd() 717 __fpsimd_zero_vregs(&task->thread.uw.fpsimd_state); in task_smstop_sm() 718 task->thread.uw.fpsimd_state.fpsr = 0x0800009f; in task_smstop_sm() 720 task->thread.uw.fpmr = 0; in task_smstop_sm() 788 struct user_fpsimd_state const *fst = &task->thread.uw.fpsimd_state; in fpsimd_sync_to_effective_state_zeropad() 1535 &next->thread.uw.fpsimd_state; in fpsimd_thread_switch() [all …]
|
| H A D | ptrace.c | 599 uregs = &target->thread.uw.fpsimd_state; in __fpr_get() 631 newstate = target->thread.uw.fpsimd_state; in __fpr_set() 638 target->thread.uw.fpsimd_state = newstate; in __fpr_set() 670 ret = membuf_store(&to, target->thread.uw.tp_value); in tls_get() 686 tls[0] = target->thread.uw.tp_value; in tls_set() 694 target->thread.uw.tp_value = tls[0]; in tls_set() 710 return membuf_store(&to, target->thread.uw.fpmr); in fpmr_get() 723 fpmr = target->thread.uw.fpmr; in fpmr_set() 729 target->thread.uw.fpmr = fpmr; in fpmr_set() 861 membuf_write(&to, &target->thread.uw.fpsimd_state.fpsr, in sve_get_common() [all …]
|
| H A D | sys_compat.c | 91 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
|
| H A D | process.c | 258 current->thread.uw.tp_value = 0; in tls_thread_flush() 485 p->thread.uw.tp_value = tls; in copy_thread() 533 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch()
|
| H A D | signal.c | 254 ¤t->thread.uw.fpsimd_state; in preserve_fpsimd_context() 313 __put_user_error(current->thread.uw.fpmr, &ctx->fpmr, err); in preserve_fpmr_context() 328 current->thread.uw.fpmr = fpmr; in restore_fpmr_context()
|
| /linux/arch/arm64/kvm/ |
| H A D | at.c | 957 wr->ur = wr->uw = false; in compute_s1_direct_permissions() 960 wr->pr = wr->pw = wr->ur = wr->uw = true; in compute_s1_direct_permissions() 964 wr->pw = wr->ur = wr->uw = false; in compute_s1_direct_permissions() 968 wr->pw = wr->uw = false; in compute_s1_direct_permissions() 973 wr->px = !((wr->desc & PTE_PXN) || wr->uw); in compute_s1_direct_permissions() 976 wr->ur = wr->uw = wr->ux = false; in compute_s1_direct_permissions() 1014 wr->ur = wr->uw = false; in compute_s1_hierarchical_permissions() 1017 wr->pw = wr->uw = false; in compute_s1_hierarchical_permissions() 1020 wr->pw = wr->ur = wr->uw = false; in compute_s1_hierarchical_permissions() 1047 (wr)->uw = (w); \ [all …]
|
| /linux/arch/sparc/include/asm/ |
| H A D | uaccess_64.h | 155 case 4: __get_kernel_asm(__gu_val, uw, addr, __gu_ret); break; \ 193 case 4: __get_user_asm(__gu_val, uw, addr, __gu_ret); break; \
|
| /linux/arch/arm64/kvm/vgic/ |
| H A D | vgic-mmio.h | 67 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ argument 76 .uaccess_write = uw, \
|
| H A D | vgic-mmio-v3.c | 607 #define REGISTER_DESC_WITH_BITS_PER_IRQ_SHARED(off, rd, wr, ur, uw, bpi, acc) \ argument 623 .uaccess_write = uw, \
|
| /linux/drivers/gpu/drm/amd/pm/ |
| H A D | amdgpu_pm.c | 3317 unsigned int uw; in amdgpu_hwmon_get_power() local 3326 uw = (query >> 8) * 1000000 + (query & 0xff) * 1000; in amdgpu_hwmon_get_power() 3328 return uw; in amdgpu_hwmon_get_power()
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 7300 u32 uw, frs_current; in tcpm_fw_get_caps() local 7449 if (fwnode_property_read_u32(caps, "op-sink-microwatt", &uw) < 0) { in tcpm_fw_get_caps() 7454 port->pd_list[i]->operating_snk_mw = uw / 1000; in tcpm_fw_get_caps()
|