Home
last modified time | relevance | path

Searched refs:button (Results 1 – 200 of 219) sorted by relevance

12

/linux-4.4.14/drivers/input/keyboard/
Dgpio_keys_polled.c49 struct gpio_keys_button *button, in gpio_keys_button_event() argument
54 unsigned int type = button->type ?: EV_KEY; in gpio_keys_button_event()
58 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
59 __set_bit(button->code, bdev->rel_axis_seen); in gpio_keys_button_event()
63 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
64 __set_bit(button->code, bdev->abs_axis_seen); in gpio_keys_button_event()
67 input_event(input, type, button->code, state); in gpio_keys_button_event()
73 struct gpio_keys_button *button, in gpio_keys_polled_check_state() argument
79 state = !!gpiod_get_value_cansleep(button->gpiod); in gpio_keys_polled_check_state()
81 state = !!gpiod_get_value(button->gpiod); in gpio_keys_polled_check_state()
[all …]
Dgpio_keys.c36 const struct gpio_keys_button *button; member
127 if (gpio_is_valid(bdata->button->gpio)) in gpio_keys_disable_button()
184 if (bdata->button->type != type) in gpio_keys_attr_show_helper()
190 __set_bit(bdata->button->code, bits); in gpio_keys_attr_show_helper()
232 if (bdata->button->type != type) in gpio_keys_attr_store_helper()
235 if (test_bit(bdata->button->code, bits) && in gpio_keys_attr_store_helper()
236 !bdata->button->can_disable) { in gpio_keys_attr_store_helper()
252 if (bdata->button->type != type) in gpio_keys_attr_store_helper()
255 if (test_bit(bdata->button->code, bits)) in gpio_keys_attr_store_helper()
341 const struct gpio_keys_button *button = bdata->button; in gpio_keys_gpio_report_event() local
[all …]
Dtca6416-keypad.c109 struct tca6416_button *button = &chip->buttons[pin_index]; in tca6416_keys_scan() local
110 unsigned int type = button->type ?: EV_KEY; in tca6416_keys_scan()
112 ^ button->active_low; in tca6416_keys_scan()
114 input_event(input, type, button->code, !!state); in tca6416_keys_scan()
/linux-4.4.14/drivers/acpi/
Dbutton.c144 struct acpi_button *button = acpi_driver_data(device); in acpi_button_add_fs() local
149 if (button->type != ACPI_BUTTON_TYPE_LID) in acpi_button_add_fs()
201 struct acpi_button *button = acpi_driver_data(device); in acpi_button_remove_fs() local
203 if (button->type != ACPI_BUTTON_TYPE_LID) in acpi_button_remove_fs()
251 struct acpi_button *button = acpi_driver_data(device); in acpi_lid_send_state() local
261 input_report_switch(button->input, SW_LID, !state); in acpi_lid_send_state()
262 input_sync(button->input); in acpi_lid_send_state()
283 struct acpi_button *button = acpi_driver_data(device); in acpi_button_notify() local
291 input = button->input; in acpi_button_notify()
292 if (button->type == ACPI_BUTTON_TYPE_LID) { in acpi_button_notify()
[all …]
DMakefile64 obj-$(CONFIG_ACPI_BUTTON) += button.o
/linux-4.4.14/drivers/platform/x86/
Dsurfacepro3_button.c72 struct surface_button *button = acpi_driver_data(device); in surface_button_notify() local
111 input = button->input; in surface_button_notify()
116 if (button->suspended) in surface_button_notify()
126 struct surface_button *button = acpi_driver_data(device); in surface_button_suspend() local
128 button->suspended = true; in surface_button_suspend()
135 struct surface_button *button = acpi_driver_data(device); in surface_button_resume() local
137 button->suspended = false; in surface_button_resume()
144 struct surface_button *button; in surface_button_add() local
154 button = kzalloc(sizeof(struct surface_button), GFP_KERNEL); in surface_button_add()
155 if (!button) in surface_button_add()
[all …]
Dxo15-ebook.c51 struct ebook_switch *button = acpi_driver_data(device); in ebook_send_state() local
60 input_report_switch(button->input, SW_TABLET_MODE, !state); in ebook_send_state()
61 input_sync(button->input); in ebook_send_state()
90 struct ebook_switch *button; in ebook_switch_add() local
96 button = kzalloc(sizeof(struct ebook_switch), GFP_KERNEL); in ebook_switch_add()
97 if (!button) in ebook_switch_add()
100 device->driver_data = button; in ebook_switch_add()
102 button->input = input = input_allocate_device(); in ebook_switch_add()
120 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid); in ebook_switch_add()
123 input->phys = button->phys; in ebook_switch_add()
[all …]
DKconfig153 on hardware type (hw switch slider or keyboard toggle button). For
243 tristate "HP wireless button"
247 This driver provides supports for new HP wireless button for Windows 8.
760 tristate "power button driver for Intel MID platforms"
763 This driver handles the power button on the Intel MID platforms.
/linux-4.4.14/scripts/kconfig/lxdialog/
Dyesno.c44 int i, x, y, key = 0, button = 0; in dialog_yesno() local
93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); in dialog_yesno()
95 print_buttons(dialog, height, width, button); in dialog_yesno()
101 return button; in dialog_yesno()
Dinputbox.c48 int input_x = 0, key = 0, button = -1; in dialog_inputbox() local
122 if (button == -1) { /* Input box selected */ in dialog_inputbox()
244 switch (button) { in dialog_inputbox()
246 button = 1; /* Indicates "Help" button is selected */ in dialog_inputbox()
250 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
256 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
264 switch (button) { in dialog_inputbox()
266 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
270 button = 1; /* Indicates "Help" button is selected */ in dialog_inputbox()
274 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
[all …]
Dchecklist.c121 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
290 button = 1; in dialog_checklist()
302 return button; in dialog_checklist()
306 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist()
307 ? 1 : (button > 1 ? 0 : button); in dialog_checklist()
309 print_buttons(dialog, height, width, button); in dialog_checklist()
Dmenubox.c189 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local
377 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_menu()
378 ? 4 : (button > 4 ? 0 : button); in dialog_menu()
380 print_buttons(dialog, height, width, button); in dialog_menu()
417 return button; in dialog_menu()
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dgpio-keys.txt10 Each button (key) is represented as a sub-node of "gpio-keys":
22 - linux,input-type: Specify event type this button/key generates.
26 - wakeup-source: Boolean, button can wake-up the system.
28 - linux,can-disable: Boolean, indicates that button is connected
30 suppress events from the button.
39 button@21 {
44 button@22 {
Dti,palmas-pwrbutton.txt1 Texas Instruments Palmas family power button module
7 This module provides a simple power button event via an Interrupt.
11 - "ti,palmas-pwrbutton": For Palmas compatible power on button
13 - interrupts: Interrupt number of power button submodule on device.
18 button should be kept pressed for Palmas to power off automatically.
22 which the power button should be kept pressed for Palmas to register
De3x0-button.txt1 National Instruments Ettus Research USRP E3x0 button driver
5 This module provides a simple power button event via two interrupts.
9 - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
20 button {
21 compatible = "ettus,e3x0-button";
Dgpio-keys-polled.txt11 Each button (key) is represented as a sub-node of "gpio-keys-polled":
19 - linux,input-type: Specify event type this button/key generates.
22 value is sent for events this button generates when pressed.
26 e.g. to make a button generate a value of -1 use:
30 - wakeup-source: Boolean, button can wake-up the system.
41 button@21 {
Dsun4i-lradc-keys.txt28 button@191 {
35 button@392 {
42 button@601 {
49 button@795 {
56 button@987 {
Dtps65218-pwrbutton.txt1 Texas Instruments TPS65218 power button
3 This driver provides a simple power button event via an Interrupt.
13 power-button {
Dtwl4030-pwrbutton.txt6 This module provides a simple power button event via an Interrupt.
/linux-4.4.14/Documentation/input/
Dgamepad.txt7 having user-space deal with different button-mappings for each gamepad, this
46 Furthermore, many gamepads have a fancy branded button that is used as
47 special system-button. It often looks different to the other buttons and
52 Analog-sticks may also provide a digital button if you press them.
97 Please note that 2- and 3-button pads are fairly rare and old. You might
101 BTN_EAST. For vertical layouts, the upper button is BTN_EAST. For
102 horizontal layouts, the button more on the right is BTN_EAST.
112 If rectangular-shaped, the upper-left button is BTN_NORTH, lower-left
141 If only one trigger-button combination is present (upper+lower), they are
148 1-button Pad: Mapped as BTN_START
[all …]
Dsentelic.txt7 A) MSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward
8 page (5th button)
33 Bit4 => 1 = 4th mouse button is pressed, Forward one page.
34 0 = 4th mouse button is not pressed.
35 Bit5 => 1 = 5th mouse button is pressed, Backward one page.
36 0 = 5th mouse button is not pressed.
64 Bit4 => 1 = 4th mouse button is pressed, Forward one page.
65 0 = 4th mouse button is not pressed.
66 Bit5 => 1 = 5th mouse button is pressed, Backward one page.
67 0 = 5th mouse button is not pressed.
[all …]
Damijoy.txt19 (6) - Fire button
22 (9) - Thumb button
30 (5) - Middle button
31 (6) - Left button
34 (9) - Right button
38 (1) - Top button
39 (2) - Top2 button
40 (3) - Trigger button
41 (4) - Thumb button
54 (5) - Touch button
[all …]
Dinput-programming.txt11 just one button and the button is accessible at i/o port BUTTON_PORT. When
34 if (request_irq(BUTTON_IRQ, button_interrupt, 0, "button", NULL)) {
35 printk(KERN_ERR "button.c: Can't allocate irq %d\n", button_irq);
41 printk(KERN_ERR "button.c: Not enough memory\n");
51 printk(KERN_ERR "button.c: Failed to register device\n");
109 which upon every interrupt from the button checks its state and reports it
124 This doesn't seem important in the one button case, but is quite important
140 if (request_irq(BUTTON_IRQ, button_interrupt, 0, "button", NULL)) {
141 printk(KERN_ERR "button.c: Can't allocate irq %d\n", button_irq);
199 struct for each absolute axis your device has. If our button device had also
[all …]
Datarikbd.txt34 mouse button states)
60 button being pressed or released, or motion in either axis exceeding a
72 ; where y is the right button state
73 ; and x is the left button state
77 Note that the value of the button state bits should be valid even if the
138 this mode the ikbd monitors the state of the Joystick 1 fire button at the
142 only stops the output but also temporarily stops scanning the button (samples
183 received while port 0 is presumed to be a mouse, the button is logically
214 %00000mss ; mouse button action
216 ; mss=0xy, mouse button press or release causes mouse
[all …]
Djoystick-api.txt34 __u8 number; /* axis/button number */
46 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */
65 The values of ``number'' correspond to the axis or button that
67 is, you have both an axis 0 and a button 0). Generally,
89 For a button, ``value'' for a press button event is 1 and for a release
90 button event is 0.
117 task of detecting double clicks, figuring out if movement of axis and button
281 int buttons; /* immediate button state */
Djoystick-parport.txt226 For the basic 1-button Multisystem joystick you connect its wires to the
240 resistors on each of the direction and button signals, like this:
249 For joysticks with two buttons you connect the second button to pin 7 on
274 and one pullup resistor. First, you connect the Directions and the button
284 For two button sticks you also connect the other button.
308 supports only one button per joystick. For more information on how to build the
341 All the Sega controllers are more or less based on the standard 2-button
347 The SMS gamepads are almost exactly the same as normal 2-button
451 4 | Multisystem 1-button joystick
452 5 | Multisystem 2-button joystick
[all …]
Djoystick.txt170 with CH Flightstick Pro, ThrustMaster FCS or 6 and 8 button gamepads. Saitek
176 * 2-axis, 4-button joystick
177 * 3-axis, 4-button joystick
178 * 4-axis, 4-button joystick
196 2btn | 2-button n-axis joystick
197 y-joy | Two 2-button 2-axis joysticks on an Y-cable
198 y-pad | Two 2-button 2-axis gamepads on an Y-cable
202 gamepad | 4/6-button n-axis gamepad
203 gamepad8 | 8-button 2-axis gamepad
257 although the joystick has only 8. The 9th button is the mode switch on the
[all …]
Delantech.txt69 Note that a mouse button is also associated with either the touchpad or the
199 B: 1 = swap left and right button
248 L, R, M = 1 when Left, Right, Middle mouse button pressed
312 L, R = 1 when Left, Right mouse button pressed
321 L, R = 1 when Left, Right mouse button pressed
429 L, R = 1 when Left, Right mouse button pressed
453 b2 (on EF113 only, 0 otherwise), b2.R.L indicates one button pressed:
491 L, R = 1 when Left, Right mouse button pressed
572 L, R = 1 when Left, Right mouse button pressed
658 L, R = 1 when Left, Right mouse button pressed
[all …]
Dcs461x.txt9 is present here, but have not tested completely. The button analysis
14 4-button joystick; I mean the jstest utility. Also I've tried to
Devent-codes.txt61 - A special type for power button and switch input.
261 For touchpads where the button is placed beneath the surface, such that
262 pressing down on the pad causes a button click, this property should be
266 version field under the name integrated button. For backwards
294 The kernel does not provide button emulation for such devices but treats
312 the primary button press. BTN_{MIDDLE,RIGHT,4,5,etc.} should be used to report
343 button may be used for buttons on the tablet except BTN_{MOUSE,LEFT}.
345 meaningful buttons, like BTN_FORWARD, unless the button is labeled for that
Dappletouch.txt28 tap for middle button mouse emulation, 3 finger tap for right button mouse
Dyealink.txt50 Physical USB-P1K button layout input events
63 The "up" and "down" keys, are symbolised by arrows on the button.
65 on the button.
Dalps.txt280 (v6 touchpad does not have middle button)
308 L: Left button
309 R / M: Non-clickpads: Right / Middle button
311 are in the button area, then the 2 coordinates reported
312 are for fingers outside the button area and these report
313 extra fingers being present in the right / left button
Diforce-protocol.txt31 This packet is used to indicate the state of each button and the value of each
/linux-4.4.14/drivers/staging/unisys/visorinput/
Dvisorinput.c526 int xmotion, ymotion, zmotion, button; in visorinput_channel_interrupt() local
572 button = calc_button(r.activity.arg1); in visorinput_channel_interrupt()
573 if (button < 0) in visorinput_channel_interrupt()
575 input_report_key(visorinput_dev, button, 1); in visorinput_channel_interrupt()
579 button = calc_button(r.activity.arg1); in visorinput_channel_interrupt()
580 if (button < 0) in visorinput_channel_interrupt()
582 input_report_key(visorinput_dev, button, 0); in visorinput_channel_interrupt()
586 button = calc_button(r.activity.arg1); in visorinput_channel_interrupt()
587 if (button < 0) in visorinput_channel_interrupt()
589 input_report_key(visorinput_dev, button, 1); in visorinput_channel_interrupt()
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dkirkwood-netxbig.dtsi62 * button@1 and button@2 represent a three position rocker
65 button@1 {
71 button@2 {
77 button@3 {
78 label = "Function button";
212 pmx_button_function: pmx-button-function {
216 pmx_button_power_off: pmx-button-power-off {
220 pmx_button_power_on: pmx-button-power-on {
Dkirkwood-dnskw.dtsi16 button@1 {
17 label = "Power button";
21 button@2 {
22 label = "USB unmount button";
26 button@3 {
27 label = "Reset button";
84 pmx_button_power: pmx-button-power {
132 pmx_button_unmount: pmx-button-unmount {
136 pmx_button_reset: pmx-button-reset {
Dkirkwood-ts219-6281.dts19 pmx_USB_copy_button: pmx-USB-copy-button {
23 pmx_reset_button: pmx-reset-button {
42 button@1 {
47 button@2 {
Ds3c6410-mini6410.dts77 button-k1 {
84 button-k2 {
91 button-k3 {
98 button-k4 {
105 button-k5 {
112 button-k6 {
119 button-k7 {
126 button-k8 {
Dkirkwood-ts219-6282.dts29 pmx_reset_button: pmx-reset-button {
33 pmx_USB_copy_button: pmx-USB-copy-button {
52 button@1 {
57 button@2 {
Dkirkwood-ts419.dtsi20 pmx_USB_copy_button: pmx-USB-copy-button {
24 pmx_reset_button: pmx-reset-button {
48 button@1 {
53 button@2 {
Dkirkwood-netgear_readynas_duo_v2.dts43 pmx_button_power: pmx-button-power {
48 pmx_button_backup: pmx-button-backup {
53 pmx_button_reset: pmx-button-reset {
165 power-button {
171 reset-button {
177 backup-button {
Demev2-kzm9d.dts36 button@1 {
43 button@2 {
50 button@3 {
57 button@4 {
Dkirkwood-netgear_readynas_nv+_v2.dts45 pmx_button_power: pmx-button-power {
50 pmx_button_backup: pmx-button-backup {
55 pmx_button_reset: pmx-button-reset {
177 power-button {
183 reset-button {
189 backup-button {
Dkirkwood-ib62x0.dts38 pmx_button_reset: pmx-button-reset {
42 pmx_button_usb_copy: pmx-button-usb-copy {
65 button@1 {
70 button@2 {
Dkirkwood-blackarmor-nas220.dts39 button@1{
45 button@2{
130 pmx_button_reset: pmx-button-reset {
135 pmx_button_power: pmx-button-power {
Dsun7i-a20-olinuxino-micro.dts146 button@191 {
153 button@392 {
160 button@601 {
167 button@795 {
174 button@987 {
181 button@1184 {
188 button@1398 {
Dlpc4350-hitex-eval.dts48 button@0 {
54 button@1 {
61 button@2 {
67 button@3 {
73 button@4 {
79 button@5 {
85 button@6 {
91 button@7 {
Darmada-xp-lenovo-ix4-300d.dts201 power-button {
207 reset-button {
213 select-button {
219 scroll-button {
304 power_button_pin: power-button-pin {
309 reset_button_pin: reset-button-pin {
313 select_button_pin: select-button-pin {
318 scroll_button_pin: scroll-button-pin {
Dkirkwood-iconnect.dts34 pmx_button_reset: pmx-button-reset {
38 pmx_button_otb: pmx-button-otb {
139 button@1 {
145 button@2 {
Darmada-370-seagate-personal-cloud.dtsi130 button@1 {
131 label = "Power button";
136 button@2 {
142 button@3 {
Darmada-370-seagate-nas-xbay.dtsi162 button@1 {
163 label = "Power button";
168 button@2 {
169 label = "Backup button";
174 button@3 {
Dsun4i-a10-inet9f-rev03.dts109 button@200 {
116 button@600 {
123 button@800 {
130 button@1000 {
137 button@1200 {
Dsun4i-a10-inet97fv2.dts102 button@200 {
109 button@600 {
116 button@800 {
123 button@1000 {
130 button@1200 {
Dkirkwood-nsa3x0-common.dtsi80 button@1 {
85 button@2 {
90 button@3 {
Dkirkwood-lsxl.dtsi48 pmx_button_function: pmx-button-function {
110 button@1 {
115 button@2 {
121 button@3 {
Darmada-370-netgear-rn102.dts233 power-button {
239 reset-button {
245 backup-button {
281 backup_button_pin: backup-button-pin {
286 power_button_pin: power-button-pin {
291 reset_button_pin: reset-button-pin {
Dsun5i-a13-olinuxino.dts112 button@191 {
119 button@392 {
126 button@601 {
133 button@795 {
140 button@987 {
Darmada-370-netgear-rn104.dts255 backup-button {
261 power-button {
267 reset-button {
288 backup_button_pin: backup-button-pin {
293 power_button_pin: power-button-pin {
308 reset_button_pin: reset-button-pin {
Dkirkwood-ns2-common.dtsi60 button@1 {
61 label = "Power push button";
Dkirkwood-cloudbox.dts63 button@1 {
64 label = "Power push button";
Dsun5i-a10s-olinuxino-micro.dts131 button@191 {
138 button@392 {
145 button@601 {
152 button@795 {
159 button@987 {
Dspear320-hmi.dts139 button@1 {
140 label = "user button 1";
147 button@2 {
148 label = "user button 2";
Darmada-370-dlink-dns327l.dts164 power-button {
170 backup-button {
176 reset-button {
311 power_button_pin: power-button-pin {
316 backup_button_pin: backup-button-pin {
321 reset_button_pin: reset-button-pin {
Dkirkwood-lswxl.dts94 pmx_button_function: pmx-button-function {
156 button@1 {
162 button@2 {
169 button@3 {
Dkirkwood-lswvl.dts94 pmx_button_function: pmx-button-function {
156 button@1 {
162 button@2 {
169 button@3 {
Dkirkwood-iomega_ix2_200.dts34 pmx_button_reset: pmx-button-reset {
38 pmx_button_power: pmx-button-power {
50 pmx_button_otb: pmx-button-otb {
Dsun8i-a33-sinlinx-sina33.dts74 button@200 {
81 button@400 {
88 button@600 {
Dsun8i-a33-ga10h-v1.1.dts84 button@200 {
91 button@400 {
98 button@600 {
Dimx28-eukrea-mbmx28lc.dtsi30 button-sw3 {
43 button-sw4 {
195 gpio_button_sw3_pins_mbmx28lc: gpio-button-sw3-mbmx28lc@0 {
205 gpio_button_sw4_pins_mbmx28lc: gpio-button-sw4-mbmx28lc@0 {
Domap3-pandora-common.dtsi83 up-button {
90 down-button {
97 left-button {
104 right-button {
111 pageup-button {
118 pagedown-button {
125 home-button {
132 end-button {
Dsun4i-a10-gemei-g9.dts117 button@158 {
124 button@349 {
131 button@1142 {
Dsun8i-a23-gt90h-v4.dts84 button@200 {
91 button@400 {
98 button@600 {
Dsun8i-a23-evb.dts84 button@190 {
91 button@390 {
98 button@600 {
Dsun4i-a10-chuwi-v7-cw0825.dts97 button@800 {
104 button@1000 {
111 button@1200 {
Dlpc4357-ea4357-devkit.dts58 button@0 {
64 button@1 {
70 button@2 {
76 button@3 {
82 button@4 {
Dimx6q-gk802.dts43 recovery-button {
86 /* Recovery button, active-low */
Dkirkwood-mv88f6281gtw-ge.dts112 button@1 {
117 button@2 {
Dsun4i-a10-inet1.dts113 button@200 {
120 button@1000 {
127 button@1200 {
Dste-snowball.dts48 button@1 {
55 button@2 {
62 button@3 {
69 button@4 {
76 button@5 {
Dkirkwood-laplug.dts65 button@1{
66 label = "Power push button";
Dste-href-stuib.dtsi23 button@139 {
29 button@145 {
Dste-nomadik-s8815.dts83 user-button {
162 user-button {
Dsun7i-a20-pcduino3.dts87 button@0 {
92 button@1 {
97 button@2 {
Dsun4i-a10-pcduino.dts87 button@0 {
93 button@1 {
99 button@2 {
Dste-href-tvk1281618.dtsi25 button@139 {
31 button@145 {
Dsunxi-q8-common.dtsi64 button@200 {
71 button@400 {
Darmada-xp-netgear-rn2120.dts277 power-button {
283 reset-button {
304 power_button_pin: power-button-pin {
309 reset_button_pin: reset-button-pin {
Dorion5x-lacie-ethernet-disk-mini-v2.dts48 button@1 {
144 pmx_power_button: pmx-power-button {
Dkirkwood-b3.dts49 pmx_button_power: pmx-button-power {
157 power-button {
Dimx28-apf28dev.dts224 user-button {
225 label = "User button";
Dr8a7790-lager.dts77 button@1 {
84 button@2 {
91 button@3 {
98 button@4 {
Dsun6i-a31s-sina31s.dts100 button@158 {
107 button@349 {
Dsun4i-a10-pov-protab2-ips9.dts102 button@400 {
109 button@800 {
Dsun7i-a20-wexler-tab7200.dts107 button@571 {
114 button@761 {
Dsun5i-a13-hsg-h702.dts104 button@200 {
111 button@400 {
Dmoxart-uc7112lx.dts67 button@25 {
Dsun5i-a13-inet-98v-rev2.dts101 button@200 {
108 button@400 {
Drk3066a-bqcurie2.dts72 button@0 {
80 button@1 {
Dste-hrefprev60.dtsi20 button@1 {
Dsun6i-a31s-primo81.dts110 button@158 {
117 button@349 {
Dorion5x-linkstation-lswtgl.dts141 button@1 {
148 button@2 {
Dsun5i-a13-utoo-p66.dts116 button@200 {
123 button@400 {
Darmada-385-linksys.dtsi239 button@1 {
245 button@2 {
Dkirkwood-openblocks_a6.dts120 button@1 {
Darmada-xp-linksys-mamba.dts304 button@1 {
310 button@2 {
Dkirkwood-openblocks_a7.dts138 button@1 {
Dimx6qdl-apf6dev.dtsi93 user-button {
94 label = "User button";
Dkirkwood-t5325.dts176 button@1 {
Darmada-xp-synology-ds414.dts184 * button is pressed. The converter needs to be
186 * power button. This is possibly due to UART0_TXD
Dea3250.dts168 button@21 {
Darmada-xp-axpwifiap.dts160 button@1 {
Dimx51-eukrea-mbimxsd51-baseboard.dts40 button-1 {
Dam335x-pepper.dts626 button@0 {
633 button@1 {
Darmada-xp-openblocks-ax3-4.dts150 button@1 {
Darmada-370-rd.dts149 button@1 {
Dspear1310-evb.dts159 button@1 {
Drk3288-evb.dtsi101 button@0 {
Dspear1340-evb.dts221 button@1 {
Dam437x-idk-evm.dts108 label = "power-button";
Drk3188-radxarock.dts61 button@0 {
Drk3288-r89.dts71 button@0 {
Drk3066a-rayeager.dts67 button@0 {
Darmada-370-synology-ds213j.dts176 /* rear USB port, near reset button */
Domap3-gta04.dtsi36 aux-button {
Drk3288-firefly.dtsi93 button@0 {
Drk3288-popmetal.dts72 button@0 {
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-input.c509 struct em28xx_button *button = &dev->board.buttons[j]; in em28xx_query_buttons() local
511 if (button->reg_r != dev->button_polling_addresses[i]) { in em28xx_query_buttons()
516 is_pressed = regval & button->mask; in em28xx_query_buttons()
518 & button->mask; in em28xx_query_buttons()
519 if (button->inverted) { in em28xx_query_buttons()
524 if (is_pressed && button->reg_clearing) in em28xx_query_buttons()
525 em28xx_write_reg(dev, button->reg_clearing, in em28xx_query_buttons()
526 (~regval & button->mask) in em28xx_query_buttons()
527 | (regval & ~button->mask)); in em28xx_query_buttons()
533 switch (button->role) { in em28xx_query_buttons()
[all …]
/linux-4.4.14/drivers/input/misc/
Dkeyspan_remote.c96 u8 button; member
175 static void keyspan_report_button(struct usb_keyspan *remote, int button, int press) in keyspan_report_button() argument
179 input_event(input, EV_MSC, MSC_SCAN, button); in keyspan_report_button()
180 input_report_key(input, remote->keymap[button], press); in keyspan_report_button()
277 message.button = 0; in keyspan_check_data()
282 message.button = message.button << 1; in keyspan_check_data()
286 message.button = (message.button << 1) + 1; in keyspan_check_data()
326 __func__, message.system, message.button, message.toggle); in keyspan_check_data()
329 keyspan_report_button(remote, message.button, 1); in keyspan_check_data()
330 keyspan_report_button(remote, message.button, 0); in keyspan_check_data()
DKconfig20 reporting power button status.
30 reporting power button status.
185 reporting power button status.
207 reporting power button status.
294 tristate "Cobalt button interface"
298 Say Y here if you want to support MIPS Cobalt button interface.
304 tristate "x86 Wistron laptop button interface"
312 Say Y here for support of Wistron laptop button interfaces, used on
320 tristate "x86 Atlas button interface"
432 tristate "Retu Power button Driver"
[all …]
Dad714x.c119 struct ad714x_button_drv *button; member
216 struct ad714x_button_plat *hw = &ad714x->hw->button[idx]; in ad714x_button_state_machine()
217 struct ad714x_button_drv *sw = &ad714x->sw->button[idx]; in ad714x_button_state_machine()
1014 ad714x->sw->button = bt_drv = drv_mem; in ad714x_probe()
1126 struct ad714x_button_plat *bt_plat = ad714x->hw->button; in ad714x_probe()
DMakefile30 obj-$(CONFIG_INPUT_E3X0_BUTTON) += e3x0-button.o
/linux-4.4.14/drivers/input/joystick/
Damijoy.c56 int i, data = 0, button = 0; in amijoy_interrupt() local
62 case 0: data = ~amiga_custom.joy0dat; button = (~ciaa.pra >> 6) & 1; break; in amijoy_interrupt()
63 case 1: data = ~amiga_custom.joy1dat; button = (~ciaa.pra >> 7) & 1; break; in amijoy_interrupt()
66 input_report_key(amijoy_dev[i], BTN_TRIGGER, button); in amijoy_interrupt()
/linux-4.4.14/drivers/input/tablet/
Dwacom_serial4.c314 u8 in_proximity_p, stylus_p, button; in wacom_handle_packet() local
320 button = (wacom->data[3] & 0x78) >> 3; in wacom_handle_packet()
336 tool = (button & wacom->eraser_mask) ? ERASER : STYLUS; in wacom_handle_packet()
353 input_report_key(wacom->dev, BTN_TOUCH, button & 1); in wacom_handle_packet()
354 input_report_key(wacom->dev, BTN_STYLUS, button & 2); in wacom_handle_packet()
355 input_report_key(wacom->dev, BTN_STYLUS2, button & 4); in wacom_handle_packet()
357 input_report_key(wacom->dev, BTN_LEFT, button & 1); in wacom_handle_packet()
358 input_report_key(wacom->dev, BTN_RIGHT, button & 2); in wacom_handle_packet()
359 input_report_key(wacom->dev, BTN_MIDDLE, button & 4); in wacom_handle_packet()
/linux-4.4.14/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-savu5 press of a button. A profile is split into general settings and
6 button settings. buttons holds informations about button layout.
28 press of a button. A profile is split into general settings and
29 button settings. profile holds informations like resolution, sensitivity
51 keystrokes for a specific button for a specific profile.
62 press of a button. profile holds number of actual profile.
Dsysfs-driver-hid-roccat-koneplus47 Description: The mouse can store a macro with max 500 key/button strokes
50 button for a specific profile. Button and profile numbers are
59 press of a button. A profile is split in settings and buttons.
60 profile_buttons holds information about button layout.
74 press of a button. A profile is split in settings and buttons.
75 profile_buttons holds information about button layout.
86 press of a button. A profile is split in settings and buttons.
102 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-pyra5 press of a button.
52 press of a button. A profile is split in settings and buttons.
53 profile_buttons holds information about button layout.
67 press of a button. A profile is split in settings and buttons.
68 profile_buttons holds information about button layout.
79 press of a button. A profile is split in settings and buttons.
95 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-konepure5 press of a button. actual_profile holds number of actual profile.
32 Description: The mouse can store a macro with max 500 key/button strokes
35 button for a specific profile. Button and profile numbers are
44 press of a button. A profile is split in settings and buttons.
45 profile_buttons holds information about button layout.
59 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-kovaplus66 press of a button. A profile is split in settings and buttons.
67 profile_buttons holds information about button layout.
81 press of a button. A profile is split in settings and buttons.
82 profile_buttons holds information about button layout.
93 press of a button. A profile is split in settings and buttons.
109 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-arvo11 …<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/button
14 Description: The keyboard can store short macros with consist of 1 button with
17 button for a specific profile. Button and profile numbers are
Dsysfs-driver-hid-roccat-lua4 Description: When written, cpi, button and light settings can be configured.
Dsysfs-driver-hid-roccat-ryos13 press of a button. profile holds index of actual profile.
107 keystrokes for a specific button for a specific profile.
Dsysfs-driver-hid-roccat-isku114 keystrokes for a specific button for a specific profile.
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-motherboard.dtsi62 button@1 {
69 button@2 {
76 button@3 {
83 button@4 {
90 button@5 {
97 button@6 {
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-driver-input-axp-pek4 Description: Startup time in us. Board is powered on if the button is pressed
10 Description: Shutdown time in us. Board is powered off if the button is pressed
Dsysfs-driver-wacom29 button is pressed on the stylus. This luminance level is
30 normally lower than the level when a button is pressed.
37 when the stylus touches the tablet surface, or any button is
62 of all eight button OLED displays.
64 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/button<n>_rawimg
Dsysfs-firmware-acpi69 as the power button, it can also handle a variable
176 Let's take power button fixed event for example, please kill acpid
178 when pressing the power button.
181 # press the power button for 3 times;
187 # press the power button for 3 times;
197 # press the power button for 3 times;
201 # press the power button for 3 times;
Dsysfs-driver-hid-roccat-kone5 press of a button.
43 press of a button. A profile holds information like button
Dsysfs-driver-hid-lenovo27 a left or right mouse button click.
/linux-4.4.14/arch/arm/mach-davinci/
Dboard-da850-evm.c446 struct gpio_keys_button *button; in da850_evm_ui_keys_init() local
449 button = &da850_evm_ui_keys[i]; in da850_evm_ui_keys_init()
450 button->code = KEY_F8 - i; in da850_evm_ui_keys_init()
451 button->desc = da850_evm_ui_exp[DA850_EVM_UI_EXP_PB8 + i]; in da850_evm_ui_keys_init()
452 button->gpio = gpio + DA850_EVM_UI_EXP_PB8 + i; in da850_evm_ui_keys_init()
623 struct gpio_keys_button *button; in da850_evm_bb_keys_init() local
625 button = &da850_evm_bb_keys[0]; in da850_evm_bb_keys_init()
626 button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_PB1]; in da850_evm_bb_keys_init()
627 button->gpio = gpio + DA850_EVM_BB_EXP_USER_PB1; in da850_evm_bb_keys_init()
630 button = &da850_evm_bb_keys[i + 1]; in da850_evm_bb_keys_init()
[all …]
/linux-4.4.14/drivers/input/joystick/iforce/
Diforce-ff.c186 static unsigned char find_button(struct iforce *iforce, signed short button) in find_button() argument
191 if (iforce->type->btn[i] == button) in find_button()
298 || old->trigger.button != new->trigger.button in need_core()
310 u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, in make_core() argument
321 data[2] = LO(axes) | find_button(iforce, button); in make_core()
407 effect->trigger.button, in iforce_upload_periodic()
467 effect->trigger.button, in iforce_upload_constant()
532 effect->trigger.button, effect->trigger.interval, in iforce_upload_condition()
/linux-4.4.14/drivers/input/touchscreen/
Dar1021_i2c.c32 unsigned int x, y, button; in ar1021_i2c_irq() local
44 button = data[0] & BIT(0); in ar1021_i2c_irq()
50 input_report_key(input, BTN_TOUCH, button); in ar1021_i2c_irq()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dda7219.txt46 - dlg,btn-cfg : Periodic button press measurements for 4-pole jack (ms)
62 - dlg,c-mic-btn-thr : Impedance threshold between button C and Mic
64 - dlg,btn-avg : Number of 8-bit readings for averaged button measurement
66 - dlg,adc-1bit-rpt : Repeat count for 1-bit button measurement
Dnau8825.txt34 …- nuvoton,sar-threshold: Impedance threshold for each button. Array that contains up to 8 buttons …
36 …nuvoton,micbias-voltage', SAR_VOLTAGE is configured by 'nuvoton,sar-voltage', R - button impedance.
41 - nuvoton,sar-voltage: Reference voltage for button impedance measurement.
/linux-4.4.14/arch/powerpc/platforms/cell/
DKconfig71 bool "IBM Cell Blade Pinhole reset button"
76 This adds a method to trigger system reset via front panel pinhole button.
79 tristate "IBM Cell Blade power button"
/linux-4.4.14/arch/mips/boot/dts/qca/
Dar9132_tl_wr1043nd_v1.dts74 button@0 {
81 button@1 {
/linux-4.4.14/drivers/media/usb/pwc/
DKconfig45 This option makes USB Philips cameras register the snapshot button as
46 an input device to report button events.
/linux-4.4.14/Documentation/
Drfkill.txt16 The subsystem also provides the ability to react on button presses and
63 Platform drivers might implement input devices if the rfkill button is just
64 that, a button. If that button influences the hardware then you need to
Demail-clients.txt104 paste with the middle button.
173 before middle button or shift-insert or use
254 and install the extension, then add a button for it using
/linux-4.4.14/Documentation/devicetree/bindings/power_supply/
Drestart-poweroff.txt5 user presses a button.
/linux-4.4.14/include/linux/input/
Dad714x.h58 struct ad714x_button_plat *button; member
/linux-4.4.14/scripts/kconfig/
Dgconf.c117 GtkToolButton *button; in replace_button_icon() local
124 button = GTK_TOOL_BUTTON(glade_xml_get_widget(xml, btn_name)); in replace_button_icon()
127 gtk_tool_button_set_icon_widget(button, image); in replace_button_icon()
707 void on_back_clicked(GtkButton * button, gpointer user_data) in on_back_clicked() argument
722 void on_load_clicked(GtkButton * button, gpointer user_data) in on_load_clicked() argument
728 void on_single_clicked(GtkButton * button, gpointer user_data) in on_single_clicked() argument
737 void on_split_clicked(GtkButton * button, gpointer user_data) in on_split_clicked() argument
753 void on_full_clicked(GtkButton * button, gpointer user_data) in on_full_clicked() argument
764 void on_collapse_clicked(GtkButton * button, gpointer user_data) in on_collapse_clicked() argument
770 void on_expand_clicked(GtkButton * button, gpointer user_data) in on_expand_clicked() argument
/linux-4.4.14/drivers/hid/
Dhid-roccat-arvo.h67 uint8_t button; member
Dhid-roccat-kovaplus.h116 uint8_t button; member
Dhid-roccat-kone.h154 uint8_t button; member
Dhid-roccat-kovaplus.c316 roccat_report.button = 0; in kovaplus_sysfs_set_actual_profile()
588 roccat_report.button = button_report->data1; in kovaplus_report_to_chrdev()
590 roccat_report.button = 0; in kovaplus_report_to_chrdev()
Dhid-roccat-arvo.c240 static BIN_ATTR(button, 0220, NULL, arvo_sysfs_write_button,
393 roccat_report.button = special_report->event & in arvo_report_to_chrdev()
Dhid-logitech-hidpp.c652 u8 button; member
730 raw_xy->button = (data[8] >> 2) & 0x01; in hidpp_touchpad_raw_xy_event()
835 input_event(wd->input, EV_KEY, BTN_LEFT, raw->button); in wtp_send_raw_xy_event()
874 .button = data[0] & 0x01, in wtp_mouse_raw_xy_event()
Dhid-rmi.c442 int button = 0; in rmi_f30_input_event() local
458 input_event(hdata->input, EV_KEY, BTN_LEFT + button++, in rmi_f30_input_event()
/linux-4.4.14/drivers/media/usb/uvc/
DKconfig18 to report button events.
/linux-4.4.14/Documentation/devicetree/bindings/extcon/
Dextcon-sm5502.txt6 attached or detached and button is pressed or released. It is interfaced to
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dnxp,lpc1850-gpio.txt35 button@0 {
/linux-4.4.14/arch/cris/boot/dts/
Dp1343.dts70 activity-button@0 {
/linux-4.4.14/arch/arm64/boot/dts/apm/
Dapm-merlin.dts29 button@1 {
Dapm-mustang.dts29 button@1 {
/linux-4.4.14/drivers/iio/proximity/
DKconfig43 proximity/button sensor.
/linux-4.4.14/drivers/char/
DKconfig201 time the orange button is pressed a number of times, the number of
202 times the button was pressed will be written to that device.
205 perform actions based on how many times the button is pressed in a
208 Do not hold the button down for too long, as the driver does not
210 button; it will still execute a hard reset if the button is held
217 below to be able to initiate a system shutdown from the button.
224 shutdown and reboot by pressing the orange button a number of times.
229 time with "insmod button reboot_count=<something>".
/linux-4.4.14/Documentation/arm/
DNetwinder59 10 ISA GP10 (Orange reset button)
/linux-4.4.14/Documentation/devicetree/bindings/power/
Dwakeup-source.txt63 button@1 {
/linux-4.4.14/Documentation/frv/
Dgdbstub.txt9 permits the NMI interrupt button or serial port events to jump the kernel into
118 (*) Pressing the NMI button on the board will also cause a jump into the
/linux-4.4.14/include/uapi/linux/
Dinput.h291 __u16 button; member
/linux-4.4.14/Documentation/devicetree/bindings/mips/img/
Dxilfpga.txt76 When the example project bitstream is loaded, the cpu_reset button
/linux-4.4.14/drivers/staging/media/lirc/
DTODO.lirc_zilog20 receiving button presses again and ir_send worked without error.)
/linux-4.4.14/drivers/input/mouse/
Dbcm5974.c183 u8 button; /* left button */ member
569 dev->bt_data->unknown1, dev->bt_data->button, in report_bt_state()
572 input_report_key(dev->input, BTN_LEFT, dev->bt_data->button); in report_bt_state()
DKconfig24 includes the standard 2 or 3-button PS/2 mouse, as well as PS/2
416 a tap or tap-and-a-half drag gesture emulates the left mouse button.
/linux-4.4.14/drivers/macintosh/
DKconfig175 tristate "Support for mouse button 2+3 emulation"
179 button with keypresses. If you say Y here, the emulation is still
186 If you have an Apple machine with a 1-button mouse, say Y here.
/linux-4.4.14/Documentation/laptops/
Dsonypi.txt18 - capture button events (only on Vaio Picturebook series)
20 - bluetooth button (only on C1VR model)
/linux-4.4.14/drivers/media/usb/gspca/
Dcpia1.c350 u8 button; /* snapshot button pressed (R/O) */ member
542 if (a != sd->params.qx3.button) { in do_command()
547 sd->params.qx3.button = a; in do_command()
549 if (sd->params.qx3.button) { in do_command()
699 params->qx3.button = 0; in reset_camera_params()
1642 if (sd->params.qx3.button) { in sd_stopN()
/linux-4.4.14/drivers/usb/storage/
DKconfig152 USB hard drive's onetouch button.
154 This code registers the button on the front of Maxtor OneTouch USB
/linux-4.4.14/Documentation/arm/Samsung-S3C24XX/
DSuspend.txt73 "button-irq-eint0", NULL);
/linux-4.4.14/Documentation/power/
Ds2ram.txt40 holding the power button down, and look at the dmesg output for things
/linux-4.4.14/drivers/hid/usbhid/
Dhid-pidff.c317 pidff->set_effect[PID_TRIGGER_BUTTON].value[0] = effect->trigger.button; in pidff_set_effect_report()
340 effect->trigger.button != old->trigger.button || in pidff_needs_set_effect()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-core.h208 struct v4l2_ctrl *button; member
/linux-4.4.14/drivers/usb/misc/
Dcytherm.c221 static DEVICE_ATTR(button, S_IRUGO, show_button, set_button);
/linux-4.4.14/arch/arm/mach-omap1/
DKconfig76 touchscreen, PDA-ish buttons, a resume button, bicolor LED,
/linux-4.4.14/arch/cris/arch-v10/
DKconfig390 int "Power button bit on port G"
394 Configure where power button is connected.
/linux-4.4.14/Documentation/usb/
Dusb-serial.txt60 This means that in order to talk to the device, the sync button must be
77 If after pressing the sync button, nothing shows up in the system log,
132 reset button, continuing to hold onto the power until the bootloader screen
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts73 button@0 {
/linux-4.4.14/Documentation/dvb/
Dfaq.txt46 the DVB button in the xine GUI. Channel switching works using the
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
Dstamp.c585 .button = ad7147_spi_button_plat,
630 .button = ad7142_i2c_button_plat,

12