Lines Matching refs:mask_bits
21 unsigned int mask_bits; /* only masked status bits are reported via kctl */ member
145 status & jack_kctl->mask_bits); in snd_jack_inject_report()
152 int testbit = ((SND_JACK_BTN_0 >> i) & jack_kctl->mask_bits); in snd_jack_inject_report()
160 int testbit = ((1 << i) & jack_kctl->mask_bits); in snd_jack_inject_report()
226 snd_jack_inject_report(jack_kctl, !!enable ? jack_kctl->mask_bits : 0); in jackin_inject_write()
253 static int parse_mask_bits(unsigned int mask_bits, char *buf, size_t buf_size) in parse_mask_bits() argument
257 scnprintf(buf, buf_size, "0x%04x", mask_bits); in parse_mask_bits()
260 if (mask_bits & (1 << i)) { in parse_mask_bits()
276 len = parse_mask_bits(jack_kctl->mask_bits, buf, sizeof(buf)); in jack_kctl_mask_bits_read()
448 jack_kctl->mask_bits = mask; in snd_jack_kctl_new()
655 unsigned int mask_bits = 0; in snd_jack_report() local
667 mask_bits |= jack_kctl->mask_bits; in snd_jack_report()
670 status & jack_kctl->mask_bits); in snd_jack_report()
680 int testbit = ((SND_JACK_BTN_0 >> i) & ~mask_bits); in snd_jack_report()
688 int testbit = ((1 << i) & ~mask_bits); in snd_jack_report()