Home
last modified time | relevance | path

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

/third_party/alsa-lib/src/pcm/
Dmask_inline.h30 #define MASK_OFS(i) ((i) >> 5) macro
133 mask->bits[MASK_OFS(val)] |= MASK_BIT(val); in snd_mask_set()
139 mask->bits[MASK_OFS(val)] &= ~MASK_BIT(val); in snd_mask_reset()
147 mask->bits[MASK_OFS(i)] |= MASK_BIT(i); in snd_mask_set_range()
155 mask->bits[MASK_OFS(i)] &= ~MASK_BIT(i); in snd_mask_reset_range()
162 v = mask->bits[MASK_OFS(val)] & MASK_BIT(val); in snd_mask_leave()
164 mask->bits[MASK_OFS(val)] = v; in snd_mask_leave()
194 return mask->bits[MASK_OFS(val)] & MASK_BIT(val); in snd_mask_test()