Lines Matching refs:cpenable
68 unsigned long cpenable; in coprocessor_release_all() local
77 cpenable = ti->cpenable; in coprocessor_release_all()
82 cpenable &= ~(1 << i); in coprocessor_release_all()
86 ti->cpenable = cpenable; in coprocessor_release_all()
88 xtensa_set_sr(0, cpenable); in coprocessor_release_all()
95 unsigned long cpenable, old_cpenable; in coprocessor_flush_all() local
100 old_cpenable = xtensa_get_sr(cpenable); in coprocessor_flush_all()
101 cpenable = ti->cpenable; in coprocessor_flush_all()
102 xtensa_set_sr(cpenable, cpenable); in coprocessor_flush_all()
105 if ((cpenable & 1) != 0 && coprocessor_owner[i] == ti) in coprocessor_flush_all()
107 cpenable >>= 1; in coprocessor_flush_all()
109 xtensa_set_sr(old_cpenable, cpenable); in coprocessor_flush_all()
309 ti->cpenable = 0; in copy_thread()