Searched refs:riscv_v_flags (Results 1 – 5 of 5) sorted by relevance
33 static inline u32 riscv_v_flags(void) in riscv_v_flags() function35 return READ_ONCE(current->thread.riscv_v_flags); in riscv_v_flags()207 return !!(task->thread.riscv_v_flags & RISCV_PREEMPT_V_DIRTY); in riscv_preempt_v_dirty()212 return !!(task->thread.riscv_v_flags & RISCV_PREEMPT_V_NEED_RESTORE); in riscv_preempt_v_restore()218 task->thread.riscv_v_flags &= ~RISCV_PREEMPT_V_DIRTY; in riscv_preempt_v_clear_dirty()224 task->thread.riscv_v_flags |= RISCV_PREEMPT_V_NEED_RESTORE; in riscv_preempt_v_set_restore()229 return !!(task->thread.riscv_v_flags & RISCV_PREEMPT_V); in riscv_preempt_v_started()
52 return !irqs_disabled() && !(riscv_v_flags() & RISCV_KERNEL_MODE_V); in may_use_simd()
105 u32 riscv_v_flags; member
23 WRITE_ONCE(current->thread.riscv_v_flags, flags); in riscv_v_flags_set()30 orig = riscv_v_flags(); in riscv_v_start()41 orig = riscv_v_flags(); in riscv_v_stop()86 return ¤t->thread.riscv_v_flags; in riscv_v_flags_ptr()
233 p->thread.riscv_v_flags = 0; in copy_thread()