Lines Matching refs:pi_desc
11 struct pi_desc { struct
33 static inline bool pi_test_and_set_on(struct pi_desc *pi_desc) in pi_test_and_set_on() argument
36 (unsigned long *)&pi_desc->control); in pi_test_and_set_on()
39 static inline bool pi_test_and_clear_on(struct pi_desc *pi_desc) in pi_test_and_clear_on() argument
42 (unsigned long *)&pi_desc->control); in pi_test_and_clear_on()
45 static inline bool pi_test_and_clear_sn(struct pi_desc *pi_desc) in pi_test_and_clear_sn() argument
48 (unsigned long *)&pi_desc->control); in pi_test_and_clear_sn()
51 static inline bool pi_test_and_set_pir(int vector, struct pi_desc *pi_desc) in pi_test_and_set_pir() argument
53 return test_and_set_bit(vector, (unsigned long *)pi_desc->pir); in pi_test_and_set_pir()
56 static inline bool pi_is_pir_empty(struct pi_desc *pi_desc) in pi_is_pir_empty() argument
58 return bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS); in pi_is_pir_empty()
61 static inline void pi_set_sn(struct pi_desc *pi_desc) in pi_set_sn() argument
64 (unsigned long *)&pi_desc->control); in pi_set_sn()
67 static inline void pi_set_on(struct pi_desc *pi_desc) in pi_set_on() argument
70 (unsigned long *)&pi_desc->control); in pi_set_on()
73 static inline void pi_clear_on(struct pi_desc *pi_desc) in pi_clear_on() argument
76 (unsigned long *)&pi_desc->control); in pi_clear_on()
79 static inline void pi_clear_sn(struct pi_desc *pi_desc) in pi_clear_sn() argument
82 (unsigned long *)&pi_desc->control); in pi_clear_sn()
85 static inline bool pi_test_on(struct pi_desc *pi_desc) in pi_test_on() argument
88 (unsigned long *)&pi_desc->control); in pi_test_on()
91 static inline bool pi_test_sn(struct pi_desc *pi_desc) in pi_test_sn() argument
94 (unsigned long *)&pi_desc->control); in pi_test_sn()