Searched refs:testbit (Results 1 – 2 of 2) sorted by relevance
85 int testbit = SND_JACK_BTN_0 >> i; in snd_jack_dev_register() local87 if (!(jack->type & testbit)) in snd_jack_dev_register()239 int testbit = SND_JACK_BTN_0 >> i; in snd_jack_report() local241 if (jack->type & testbit) in snd_jack_report()243 status & testbit); in snd_jack_report()247 int testbit = 1 << i; in snd_jack_report() local248 if (jack->type & testbit) in snd_jack_report()251 status & testbit); in snd_jack_report()
4747 u16 testbit; in get_signals() local4760 testbit = BIT1 << (info->port_num * 2); // Port 0..3 RI is GPDATA<1,3,5,7> in get_signals()4761 if (!(gpstatus & testbit)) in get_signals()4764 testbit = BIT0 << (info->port_num * 2); // Port 0..3 DSR is GPDATA<0,2,4,6> in get_signals()4765 if (!(gpstatus & testbit)) in get_signals()