Searched refs:buttons (Results 51 - 75 of 88) sorted by relevance

1234

/linux-master/drivers/hid/
H A Dhid-roccat-savu.c28 ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(buttons, 0x7, 0x2f);
H A Dwacom_wac.c519 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 Drohm-bd718x7.c28 .buttons = &button,
H A Dmc13xxx-core.c474 pdata->buttons, sizeof(*pdata->buttons));
/linux-master/arch/arm/mach-orion5x/
H A Dts409-setup.c232 .buttons = qnap_ts409_buttons,
H A Dmv2120-setup.c94 .buttons = mv2120_buttons,
H A Ddns323-setup.c356 .buttons = dns323ab_buttons,
370 .buttons = dns323c_buttons,
H A Dts209-setup.c218 .buttons = qnap_ts209_buttons,
H A Dnet2big-setup.c337 .buttons = net2big_buttons,
/linux-master/drivers/input/joystick/
H A Dtmdc.c81 const short *buttons; member in struct:tmdc_model
280 port->btn = model->buttons;
/linux-master/sound/soc/codecs/
H A Dnau8824.c929 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 Dnau8825.c1710 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 Dmc13xxx.h230 struct mc13xxx_buttons_platform_data *buttons; member in struct:mc13xxx_platform_data
/linux-master/arch/arm/mach-sa1100/
H A Dh3xxx.c190 .buttons = h3xxx_button_table,
H A Dcollie.c251 .buttons = collie_gpio_keys,
H A Dassabet.c489 .buttons = assabet_keys_buttons,
/linux-master/drivers/input/mouse/
H A Dsentelic.c316 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 Dpsmouse.h145 void psmouse_report_standard_buttons(struct input_dev *, u8 buttons);
H A Dcyapa_gen5.c2678 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 Dpsmouse-base.c126 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 Dboard-mtx1.c92 .buttons = mtx1_gpio_button,
/linux-master/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py45 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 Dem28xx.h512 const struct em28xx_button *buttons; member in struct:em28xx_board
/linux-master/drivers/input/misc/
H A Dsoc_button_array.c41 * 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 Djoydev.c353 for (data.buttons = i = 0; i < 32 && i < joydev->nkey; i++)
354 data.buttons |=

Completed in 536 milliseconds

1234