Searched refs:cpenable (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/arch/xtensa/kernel/ |
D | process.c | 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() [all …]
|
D | coprocessor.S | 176 rsr a0, cpenable 179 wsr a0, cpenable
|
D | asm-offsets.c | 95 DEFINE(THREAD_CPENABLE, offsetof (struct thread_info, cpenable)); in main()
|
D | head.S | 163 wsr a0, cpenable
|
D | entry.S | 2024 xsr a3, cpenable
|
/Linux-v5.10/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-v5.10/arch/xtensa/include/asm/ |
D | thread_info.h | 57 unsigned long cpenable; member
|