Searched refs:fucop_ctl (Results 1 – 3 of 3) sorted by relevance
20 #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() local60 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() local69 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()
48 long fucop_ctl; member
19 DEFINE(FUCOP_CTL_OFFSET, offsetof(struct pt_regs, fucop_ctl)); in main()