/linux-master/drivers/hid/ |
H A D | hid-roccat-savu.c | 28 ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(buttons, 0x7, 0x2f);
|
H A D | wacom_wac.c | 519 int buttons = 0, nbuttons = features->numbered_buttons; local 533 buttons = (data[3] << 1) | (data[2] & 0x01); 536 buttons = data[6]; 538 buttons = (data[4] << 1) | (data[3] & 0x01); 540 buttons = (data[8] << 8) | data[6]; 545 * Three "buttons" are available on the 24HD which are 586 * Do not send hardware buttons under Android. They 596 buttons = (data[4] << 1) | (data[3] & 0x01); 604 buttons = ((data[2] >> 4) << 7) | 616 buttons 1555 int buttons = data[44]; local [all...] |
/linux-master/drivers/mfd/ |
H A D | rohm-bd718x7.c | 28 .buttons = &button,
|
H A D | mc13xxx-core.c | 474 pdata->buttons, sizeof(*pdata->buttons));
|
/linux-master/arch/arm/mach-orion5x/ |
H A D | ts409-setup.c | 232 .buttons = qnap_ts409_buttons,
|
H A D | mv2120-setup.c | 94 .buttons = mv2120_buttons,
|
H A D | dns323-setup.c | 356 .buttons = dns323ab_buttons, 370 .buttons = dns323c_buttons,
|
H A D | ts209-setup.c | 218 .buttons = qnap_ts209_buttons,
|
H A D | net2big-setup.c | 337 .buttons = net2big_buttons,
|
/linux-master/drivers/input/joystick/ |
H A D | tmdc.c | 81 const short *buttons; member in struct:tmdc_model 280 port->btn = model->buttons;
|
/linux-master/sound/soc/codecs/ |
H A D | nau8824.c | 929 int buttons = 0; local 931 /* The chip supports up to 8 buttons, but ALSA defines 932 * only 6 buttons. 935 buttons |= SND_JACK_BTN_0; 937 buttons |= SND_JACK_BTN_1; 939 buttons |= SND_JACK_BTN_2; 941 buttons |= SND_JACK_BTN_3; 943 buttons |= SND_JACK_BTN_4; 945 buttons |= SND_JACK_BTN_5; 947 return buttons; [all...] |
H A D | nau8825.c | 1710 int buttons = 0; local 1712 /* The chip supports up to 8 buttons, but ALSA defines only 6 buttons */ 1714 buttons |= SND_JACK_BTN_0; 1716 buttons |= SND_JACK_BTN_1; 1718 buttons |= SND_JACK_BTN_2; 1720 buttons |= SND_JACK_BTN_3; 1722 buttons |= SND_JACK_BTN_4; 1724 buttons |= SND_JACK_BTN_5; 1726 return buttons; [all...] |
/linux-master/include/linux/mfd/ |
H A D | mc13xxx.h | 230 struct mc13xxx_buttons_platform_data *buttons; member in struct:mc13xxx_platform_data
|
/linux-master/arch/arm/mach-sa1100/ |
H A D | h3xxx.c | 190 .buttons = h3xxx_button_table,
|
H A D | collie.c | 251 .buttons = collie_gpio_keys,
|
H A D | assabet.c | 489 .buttons = assabet_keys_buttons,
|
/linux-master/drivers/input/mouse/ |
H A D | sentelic.c | 316 static const int buttons[] = { local 327 *btn = buttons[(val & 0x30) >> 4]; 847 * (scrolling wheel, 4th and 5th buttons) 871 if (fsp_get_buttons(psmouse, &pad->buttons)) { 873 "Unable to retrieve number of buttons.\n"); 880 if (pad->buttons == 0x06) {
|
H A D | psmouse.h | 145 void psmouse_report_standard_buttons(struct input_dev *, u8 buttons);
|
H A D | cyapa_gen5.c | 2678 u8 buttons = report_data->report_head[PIP_BUTTONS_OFFSET]; local 2680 buttons = (buttons << CAPABILITY_BTN_SHIFT) & CAPABILITY_BTN_MASK; 2684 !!(buttons & CAPABILITY_LEFT_BTN_MASK)); 2688 !!(buttons & CAPABILITY_MIDDLE_BTN_MASK)); 2692 !!(buttons & CAPABILITY_RIGHT_BTN_MASK));
|
H A D | psmouse-base.c | 126 void psmouse_report_standard_buttons(struct input_dev *dev, u8 buttons) argument 128 input_report_key(dev, BTN_LEFT, buttons & BIT(0)); 129 input_report_key(dev, BTN_MIDDLE, buttons & BIT(2)); 130 input_report_key(dev, BTN_RIGHT, buttons & BIT(1)); 172 /* Scroll wheel and buttons on IntelliMouse Explorer */ 203 /* Report scroll buttons on NetMice */ 206 /* Extra buttons on Genius NewNet 3D */ 696 * We have no way of figuring true number of buttons so let's 1225 * the buttons is still a question, though. We assume 3.
|
/linux-master/arch/mips/alchemy/ |
H A D | board-mtx1.c | 92 .buttons = mtx1_gpio_button,
|
/linux-master/tools/testing/selftests/hid/tests/ |
H A D | test_tablet.py | 45 We extend it with the various buttons when we need to check them. 503 # assert no other buttons than the tested ones are set 504 buttons = [ 510 buttons.remove(button) 511 for b in buttons: 902 Pen with two buttons and a rubber end, but which reports
|
/linux-master/drivers/media/usb/em28xx/ |
H A D | em28xx.h | 512 const struct em28xx_button *buttons; member in struct:em28xx_board
|
/linux-master/drivers/input/misc/ |
H A D | soc_button_array.c | 41 * Some of the buttons like volume up/down are auto repeat, while others 43 * buttons into them based on whether the key should be auto repeat. 54 * used for the power and home buttons. The intend of this AML code is to 55 * disable these buttons when the lid is closed. 222 /* These devices often use cheap buttons, use 50 ms debounce */ 232 gpio_keys_pdata->buttons = gpio_keys; 292 * input reports and some buttons should generate wakeups where as 395 /* There are package.count - 1 buttons + 1 terminating empty entry */ 491 * Definition of buttons on the tablet. The ACPI index of each button 541 * devices use MSHW0040 for power and volume buttons, howeve [all...] |
/linux-master/drivers/input/ |
H A D | joydev.c | 353 for (data.buttons = i = 0; i < 32 && i < joydev->nkey; i++) 354 data.buttons |=
|