Lines Matching refs:button
378 * event by tapping very lightly on the push button but most
380 * user to hold the button whereas shorter intervals require
444 struct gpio_keys_button *button;
447 button = &da850_evm_ui_keys[i];
448 button->code = KEY_F8 - i;
449 button->desc = da850_evm_ui_exp[DA850_EVM_UI_EXP_PB8 + i];
450 button->gpio = gpio + DA850_EVM_UI_EXP_PB8 + i;
621 struct gpio_keys_button *button;
623 button = &da850_evm_bb_keys[0];
624 button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_PB1];
625 button->gpio = gpio + DA850_EVM_BB_EXP_USER_PB1;
628 button = &da850_evm_bb_keys[i + 1];
629 button->code = SW_LID + i;
630 button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_SW1 + i];
631 button->gpio = gpio + DA850_EVM_BB_EXP_USER_SW1 + i;