Lines Matching refs:bit
53 void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num);
62 static inline void airq_iv_free_bit(struct airq_iv *iv, unsigned long bit) in airq_iv_free_bit() argument
64 airq_iv_free(iv, bit, 1); in airq_iv_free_bit()
72 static inline void airq_iv_lock(struct airq_iv *iv, unsigned long bit) in airq_iv_lock() argument
75 bit_spin_lock(bit ^ be_to_le, iv->bitlock); in airq_iv_lock()
78 static inline void airq_iv_unlock(struct airq_iv *iv, unsigned long bit) in airq_iv_unlock() argument
81 bit_spin_unlock(bit ^ be_to_le, iv->bitlock); in airq_iv_unlock()
84 static inline void airq_iv_set_data(struct airq_iv *iv, unsigned long bit, in airq_iv_set_data() argument
87 iv->data[bit] = data; in airq_iv_set_data()
91 unsigned long bit) in airq_iv_get_data() argument
93 return iv->data[bit]; in airq_iv_get_data()
96 static inline void airq_iv_set_ptr(struct airq_iv *iv, unsigned long bit, in airq_iv_set_ptr() argument
99 iv->ptr[bit] = ptr; in airq_iv_set_ptr()
103 unsigned long bit) in airq_iv_get_ptr() argument
105 return iv->ptr[bit]; in airq_iv_get_ptr()