Home
last modified time | relevance | path

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

/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