Searched refs:cpenable (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/gpio/
H A Dgpio-xtensa.c45 static inline unsigned long enable_cp(unsigned long *cpenable) enable_cp() argument
50 RSR_CPENABLE(*cpenable); enable_cp()
51 WSR_CPENABLE(*cpenable | BIT(XCHAL_CP_ID_XTIOP)); enable_cp()
56 static inline void disable_cp(unsigned long flags, unsigned long cpenable) disable_cp() argument
58 WSR_CPENABLE(cpenable); disable_cp()
64 static inline unsigned long enable_cp(unsigned long *cpenable) enable_cp() argument
66 *cpenable = 0; /* avoid uninitialized value warning */ enable_cp()
70 static inline void disable_cp(unsigned long flags, unsigned long cpenable) disable_cp() argument
/linux-4.1.27/arch/xtensa/kernel/
H A Dprocess.c60 unsigned long cpenable; coprocessor_release_all() local
69 cpenable = ti->cpenable; coprocessor_release_all()
74 cpenable &= ~(1 << i); coprocessor_release_all()
78 ti->cpenable = cpenable; coprocessor_release_all()
86 unsigned long cpenable; coprocessor_flush_all() local
91 cpenable = ti->cpenable; coprocessor_flush_all()
94 if ((cpenable & 1) != 0 && coprocessor_owner[i] == ti) coprocessor_flush_all()
96 cpenable >>= 1; coprocessor_flush_all()
273 ti->cpenable = 0; copy_thread()
H A Dcoprocessor.S273 rsr a0, cpenable
276 wsr a0, cpenable
H A Dasm-offsets.c91 DEFINE(THREAD_CPENABLE, offsetof (struct thread_info, cpenable)); main()
H A Dhead.S164 wsr a0, cpenable
H A Dentry.S1877 xsr a3, cpenable
/linux-4.1.27/arch/xtensa/include/asm/
H A Dcoprocessor.h97 __asm__ __volatile__("rsr %0, cpenable" : "=a" (x)); \
100 __asm__ __volatile__("wsr %0, cpenable; rsync" :: "a" (x)); \
H A Dthread_info.h54 unsigned long cpenable; member in struct:thread_info

Completed in 224 milliseconds