Searched refs:cpenable (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/gpio/ |
D | gpio-xtensa.c | 42 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-6.12.1/arch/xtensa/kernel/ |
D | process.c | 76 xtensa_set_sr(XCHAL_CP_MASK, cpenable); in local_coprocessors_flush_release_all() 96 unique_owner[i]->cpenable = 0; in local_coprocessors_flush_release_all() 98 xtensa_set_sr(0, cpenable); in local_coprocessors_flush_release_all() 117 ti->cpenable = 0; in local_coprocessor_release_all() 119 xtensa_set_sr(0, cpenable); in local_coprocessor_release_all() 124 if (ti->cpenable) { in coprocessor_release_all() 141 old_cpenable = xtensa_xsr(ti->cpenable, cpenable); in local_coprocessor_flush_all() 147 xtensa_set_sr(old_cpenable, cpenable); in local_coprocessor_flush_all() 152 if (ti->cpenable) { in coprocessor_flush_all() 169 if (ti->cpenable) { in coprocessor_flush_release_all() [all …]
|
D | coprocessor.S | 181 rsr a0, cpenable 184 wsr a0, cpenable
|
D | asm-offsets.c | 101 DEFINE(THREAD_CPENABLE, offsetof(struct thread_info, cpenable)); in main()
|
D | head.S | 166 wsr a0, cpenable
|
D | entry.S | 2098 wsr a3, cpenable
|
/linux-6.12.1/arch/xtensa/include/asm/ |
D | thread_info.h | 68 unsigned long cpenable; member
|