Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/core/
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()
385 int testbit = SND_JACK_BTN_0 >> i; in snd_jack_report() local
387 if (jack->type & testbit) in snd_jack_report()
389 status & testbit); in snd_jack_report()
393 int testbit = 1 << i; in snd_jack_report() local
394 if (jack->type & testbit) in snd_jack_report()
397 status & testbit); in snd_jack_report()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-winbond.c221 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/
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()