Home
last modified time | relevance | path

Searched refs:cpenable (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/arch/xtensa/kernel/
Dprocess.c68 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()
[all …]
Dcoprocessor.S176 rsr a0, cpenable
179 wsr a0, cpenable
Dasm-offsets.c95 DEFINE(THREAD_CPENABLE, offsetof (struct thread_info, cpenable)); in main()
Dhead.S163 wsr a0, cpenable
Dentry.S2024 xsr a3, cpenable
/Linux-v5.10/drivers/gpio/
Dgpio-xtensa.c42 static inline unsigned long enable_cp(unsigned long *cpenable) in enable_cp() argument
47 *cpenable = xtensa_get_sr(cpenable); in enable_cp()
48 xtensa_set_sr(*cpenable | BIT(XCHAL_CP_ID_XTIOP), cpenable); in enable_cp()
52 static inline void disable_cp(unsigned long flags, unsigned long cpenable) in disable_cp() argument
54 xtensa_set_sr(cpenable, cpenable); in disable_cp()
60 static inline unsigned long enable_cp(unsigned long *cpenable) in enable_cp() argument
62 *cpenable = 0; /* avoid uninitialized value warning */ in enable_cp()
66 static inline void disable_cp(unsigned long flags, unsigned long cpenable) in disable_cp() argument
/Linux-v5.10/arch/xtensa/include/asm/
Dthread_info.h57 unsigned long cpenable; member