Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_alsa_jack.c156 #define IS_BIT_SET(bit, array) !!((array[LONG(bit)]) & (1UL << OFF(bit))) macro
168 if (IS_BIT_SET(switch_no, bits)) in sys_input_get_switch_state()
170 *state = IS_BIT_SET(switch_no, bits); in sys_input_get_switch_state()
471 !IS_BIT_SET(switch_event, bits)) { in create_jack_for_gpio()
/external/adhd/cras/src/tests/
Dalsa_jack_unittest.cc34 #define IS_BIT_SET(bit, array) !!((array[LONG(bit)]) & (1UL << OFF(bit))) macro