Home
last modified time | relevance | path

Searched refs:fucop_ctl (Results 1 – 3 of 3) sorted by relevance

/arch/nds32/include/asm/
Dfpu.h20 #define test_tsk_fpu(regs) (regs->fucop_ctl & FUCOP_CTL_mskCP0EN)
48 regs->fucop_ctl &= ~FUCOP_CTL_mskCP0EN; in disable_ptreg_fpu()
53 regs->fucop_ctl |= FUCOP_CTL_mskCP0EN; in enable_ptreg_fpu()
58 unsigned long fucop_ctl; in enable_fpu() local
60 fucop_ctl = __nds32__mfsr(NDS32_SR_FUCOP_CTL) | FUCOP_CTL_mskCP0EN; in enable_fpu()
61 __nds32__mtsr(fucop_ctl, NDS32_SR_FUCOP_CTL); in enable_fpu()
67 unsigned long fucop_ctl; in disable_fpu() local
69 fucop_ctl = __nds32__mfsr(NDS32_SR_FUCOP_CTL) & ~FUCOP_CTL_mskCP0EN; in disable_fpu()
70 __nds32__mtsr(fucop_ctl, NDS32_SR_FUCOP_CTL); in disable_fpu()
Dptrace.h48 long fucop_ctl; member
/arch/nds32/kernel/
Dasm-offsets.c19 DEFINE(FUCOP_CTL_OFFSET, offsetof(struct pt_regs, fucop_ctl)); in main()