Searched refs:is_pressed (Results 1 – 1 of 1) sorted by relevance
503 bool is_pressed, was_pressed; in em28xx_query_buttons() local526 is_pressed = regval & button->mask; in em28xx_query_buttons()530 is_pressed = !is_pressed; in em28xx_query_buttons()534 if (is_pressed && button->reg_clearing) in em28xx_query_buttons()539 if (!is_pressed || was_pressed) { in em28xx_query_buttons()