Home
last modified time | relevance | path

Searched refs:fcsr (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/arch/mips/kernel/
Dfpu-probe.c51 unsigned long sr, mask, fcsr, fcsr0, fcsr1; in cpu_set_fpu_fcsr_mask() local
53 fcsr = c->fpu_csr31; in cpu_set_fpu_fcsr_mask()
59 fcsr0 = fcsr & mask; in cpu_set_fpu_fcsr_mask()
63 fcsr1 = fcsr | ~mask; in cpu_set_fpu_fcsr_mask()
67 write_32bit_cp1_register(CP1_STATUS, fcsr); in cpu_set_fpu_fcsr_mask()
84 unsigned long sr, fir, fcsr, fcsr0, fcsr1; in cpu_set_fpu_2008() local
91 fcsr = read_32bit_cp1_register(CP1_STATUS); in cpu_set_fpu_2008()
98 fcsr0 = fcsr & ~(FPU_CSR_ABS2008 | FPU_CSR_NAN2008 | in cpu_set_fpu_2008()
103 fcsr1 = fcsr | FPU_CSR_ABS2008 | FPU_CSR_NAN2008; in cpu_set_fpu_2008()
107 write_32bit_cp1_register(CP1_STATUS, fcsr); in cpu_set_fpu_2008()
[all …]
Dptrace.c590 unsigned int fcsr; member
622 .fcsr = target->thread.fpu.fcr31, in msa_get()
679 target->thread.fpu.fcr31 = ctrl_regs.fcsr & ~FPU_CSR_ALL_X; in msa_set()
/Linux-v5.10/arch/riscv/kernel/
Dptrace.c59 membuf_write(&to, fstate, offsetof(struct __riscv_d_ext_state, fcsr)); in riscv_fpr_get()
60 membuf_store(&to, fstate->fcsr); in riscv_fpr_get()
73 offsetof(struct __riscv_d_ext_state, fcsr)); in riscv_fpr_set()
76 offsetof(struct __riscv_d_ext_state, fcsr) + in riscv_fpr_set()
77 sizeof(fstate->fcsr)); in riscv_fpr_set()
Dasm-offsets.c68 OFFSET(TASK_THREAD_FCSR, task_struct, thread.fstate.fcsr); in asm_offsets()
300 offsetof(struct task_struct, thread.fstate.fcsr) in asm_offsets()
Dhead.S384 csrw fcsr, 0
/Linux-v5.10/arch/riscv/include/uapi/asm/
Dptrace.h56 __u32 fcsr; member
61 __u32 fcsr; member
66 __u32 fcsr; member
/Linux-v5.10/drivers/input/touchscreen/
Ducb1400_ts.c321 u16 fcsr; in ucb1400_ts_probe() local
358 fcsr = ucb1400_reg_read(ucb->ac97, UCB_FCSR); in ucb1400_ts_probe()
359 ucb1400_reg_write(ucb->ac97, UCB_FCSR, fcsr | UCB_FCSR_AVE); in ucb1400_ts_probe()