Home
last modified time | relevance | path

Searched refs:fstate (Results 1 – 8 of 8) sorted by relevance

/arch/riscv/kernel/
Dasm-offsets.c39 OFFSET(TASK_THREAD_F0, task_struct, thread.fstate.f[0]); in asm_offsets()
40 OFFSET(TASK_THREAD_F1, task_struct, thread.fstate.f[1]); in asm_offsets()
41 OFFSET(TASK_THREAD_F2, task_struct, thread.fstate.f[2]); in asm_offsets()
42 OFFSET(TASK_THREAD_F3, task_struct, thread.fstate.f[3]); in asm_offsets()
43 OFFSET(TASK_THREAD_F4, task_struct, thread.fstate.f[4]); in asm_offsets()
44 OFFSET(TASK_THREAD_F5, task_struct, thread.fstate.f[5]); in asm_offsets()
45 OFFSET(TASK_THREAD_F6, task_struct, thread.fstate.f[6]); in asm_offsets()
46 OFFSET(TASK_THREAD_F7, task_struct, thread.fstate.f[7]); in asm_offsets()
47 OFFSET(TASK_THREAD_F8, task_struct, thread.fstate.f[8]); in asm_offsets()
48 OFFSET(TASK_THREAD_F9, task_struct, thread.fstate.f[9]); in asm_offsets()
[all …]
Dptrace.c62 struct __riscv_d_ext_state *fstate = &target->thread.fstate; in riscv_fpr_get() local
64 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_get()
67 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_get()
69 sizeof(fstate->fcsr)); in riscv_fpr_get()
81 struct __riscv_d_ext_state *fstate = &target->thread.fstate; in riscv_fpr_set() local
83 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set()
86 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0, in riscv_fpr_set()
88 sizeof(fstate->fcsr)); in riscv_fpr_set()
Dprocess.c91 memset(&current->thread.fstate, 0, sizeof(current->thread.fstate)); in flush_thread()
Dsignal.c35 err = __copy_from_user(&current->thread.fstate, state, sizeof(*state)); in restore_fp_state()
63 err = __copy_to_user(state, &current->thread.fstate, sizeof(*state)); in save_fp_state()
/arch/riscv/include/asm/
Dprocessor.h36 struct __riscv_d_ext_state fstate; member
/arch/powerpc/platforms/powernv/
Dpci.c599 u8 fstate = 0; in pnv_pci_config_check_eeh() local
619 fstate = phb->get_pe_state(phb, pe_no); in pnv_pci_config_check_eeh()
623 &fstate, in pnv_pci_config_check_eeh()
634 (pdn->busno << 8) | (pdn->devfn), pe_no, fstate); in pnv_pci_config_check_eeh()
637 if (fstate == OPAL_EEH_STOPPED_MMIO_FREEZE || in pnv_pci_config_check_eeh()
638 fstate == OPAL_EEH_STOPPED_DMA_FREEZE || in pnv_pci_config_check_eeh()
639 fstate == OPAL_EEH_STOPPED_MMIO_DMA_FREEZE) { in pnv_pci_config_check_eeh()
Deeh-powernv.c574 u8 fstate = 0; in pnv_eeh_get_phb_state() local
581 &fstate, in pnv_eeh_get_phb_state()
613 u8 fstate = 0; in pnv_eeh_get_pe_state() local
637 fstate = phb->get_pe_state(phb, pe->addr); in pnv_eeh_get_pe_state()
641 &fstate, in pnv_eeh_get_pe_state()
653 switch (fstate) { in pnv_eeh_get_pe_state()
684 pe->addr, fstate); in pnv_eeh_get_pe_state()
Dpci-ioda.c604 u8 fstate = 0, state; in pnv_ioda_get_pe_state() local
641 &fstate, in pnv_ioda_get_pe_state()
656 if (fstate > state) in pnv_ioda_get_pe_state()
657 state = fstate; in pnv_ioda_get_pe_state()