Home
last modified time | relevance | path

Searched refs:testbit (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/sound/core/
H A Djack.c109 int testbit = SND_JACK_BTN_0 >> i; in snd_jack_dev_register() local
111 if (!(jack->type & testbit)) in snd_jack_dev_register()
150 int testbit = ((SND_JACK_BTN_0 >> i) & jack_kctl->mask_bits); in snd_jack_inject_report() local
152 if (jack->type & testbit) in snd_jack_inject_report()
154 status & testbit); in snd_jack_inject_report()
158 int testbit = ((1 << i) & jack_kctl->mask_bits); in snd_jack_inject_report() local
160 if (jack->type & testbit) in snd_jack_inject_report()
163 status & testbit); in snd_jack_inject_report()
677 int testbit = ((SND_JACK_BTN_0 >> i) & ~mask_bits); in snd_jack_report() local
679 if (jack->type & testbit) in snd_jack_report()
685 int testbit = ((1 << i) & ~mask_bits); snd_jack_report() local
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Djack.c103 int testbit = SND_JACK_BTN_0 >> i; in snd_jack_dev_register() local
105 if (!(jack->type & testbit)) in snd_jack_dev_register()
384 int testbit = SND_JACK_BTN_0 >> i; in snd_jack_report() local
386 if (jack->type & testbit) in snd_jack_report()
388 status & testbit); in snd_jack_report()
392 int testbit = 1 << i; in snd_jack_report() local
393 if (jack->type & testbit) in snd_jack_report()
396 status & testbit); in snd_jack_report()
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-winbond.c211 * @testreg: register number where the testbit bit is located
212 * @testbit: index of a bit to check whether an actual conflict exists
221 u8 testbit; member
265 .testbit = WB_SIO_UARTB_ENABLE_ON,
293 .testbit = WB_SIO_UARTC_ENABLE_ON,
310 .testbit = WB_SIO_UARTD_ENABLE_ON,
327 .testbit = WB_SIO_UARTE_ENABLE_ON,
344 .testbit = WB_SIO_REG_GO_ENFDC,
533 conflict->testbit)) { in winbond_gpio_configure_port()
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-winbond.c211 * @testreg: register number where the testbit bit is located
212 * @testbit: index of a bit to check whether an actual conflict exists
221 u8 testbit; member
265 .testbit = WB_SIO_UARTB_ENABLE_ON,
293 .testbit = WB_SIO_UARTC_ENABLE_ON,
310 .testbit = WB_SIO_UARTD_ENABLE_ON,
327 .testbit = WB_SIO_UARTE_ENABLE_ON,
344 .testbit = WB_SIO_REG_GO_ENFDC,
533 conflict->testbit)) { in winbond_gpio_configure_port()
/kernel/linux/linux-5.10/drivers/tty/
H A Dsynclinkmp.c4723 u16 testbit; in get_signals() local
4736 testbit = BIT1 << (info->port_num * 2); // Port 0..3 RI is GPDATA<1,3,5,7> in get_signals()
4737 if (!(gpstatus & testbit)) in get_signals()
4740 testbit = BIT0 << (info->port_num * 2); // Port 0..3 DSR is GPDATA<0,2,4,6> in get_signals()
4741 if (!(gpstatus & testbit)) in get_signals()

Completed in 10 milliseconds