Searched refs:rotary (Results 1 – 8 of 8) sorted by relevance
| /linux-4.4.14/drivers/input/misc/ |
| D | bfin_rotary.c | 55 static void report_rotary_event(struct bfin_rot *rotary, int delta) in report_rotary_event() argument 57 struct input_dev *input = rotary->input; in report_rotary_event() 59 if (rotary->up_key) { in report_rotary_event() 61 delta > 0 ? rotary->up_key : rotary->down_key); in report_rotary_event() 63 input_report_rel(input, rotary->rel_code, delta); in report_rotary_event() 70 struct bfin_rot *rotary = dev_id; in bfin_rotary_isr() local 73 switch (readw(rotary->base + CNT_STATUS_OFF)) { in bfin_rotary_isr() 80 delta = readl(rotary->base + CNT_COUNTER_OFF); in bfin_rotary_isr() 82 report_rotary_event(rotary, delta); in bfin_rotary_isr() 86 report_key_event(rotary->input, rotary->button_key); in bfin_rotary_isr() [all …]
|
| D | Kconfig | 562 Say Y here to add support for rotary encoders connected to GPIO lines. 563 Check file:Documentation/input/rotary-encoder.txt for more 629 module will be called bfin-rotary.
|
| /linux-4.4.14/Documentation/devicetree/bindings/input/ |
| D | rotary-encoder.txt | 7 - linux,axis: the input subsystem axis to map to this rotary encoder. 9 - rotary-encoder,steps: Number of steps in a full turnaround of the 12 - rotary-encoder,relative-axis: register a relative axis rather than an 15 - rotary-encoder,rollover: Automatic rollove when the rotary value becomes 17 - rotary-encoder,steps-per-period: Number of steps (stable states) per period. 22 - wakeup-source: Boolean, rotary encoder can wake up the system. 25 - rotary-encoder,half-period: Makes the driver work on half-period mode. 27 be used, such as "rotary-encoder,steps-per-period = <2>". 29 See Documentation/input/rotary-encoder.txt for more information. 33 rotary@0 { [all …]
|
| D | pxa27x-keypad.txt | 29 linux key-code for rotary up. Bit[15:0] is the linux key-code 30 for rotary down. It is for rotary 0. 31 - marvell,rotary1 : Same as marvell,rotary0. It is for rotary 1. 32 - marvell,rotary-rel-key : When rotary is used for relative axes 35 is for rotary 1, and Bit[15:0] is for rotary 0.
|
| /linux-4.4.14/Documentation/input/ |
| D | rotary-encoder.txt | 1 rotary-encoder - a generic driver for GPIO connected devices 80 name 'rotary-encoder' and associate the IRQs and some specific platform 84 include/linux/rotary-encoder.h and needs to be filled with the number of 120 .name = "rotary-encoder",
|
| /linux-4.4.14/arch/arm/boot/dts/ |
| D | imx28-cfa10049.dts | 66 rotary_pins_cfa10049: rotary-10049@0 { 77 rotary_btn_pins_cfa10049: rotary-btn-10049@0 { 412 rotary { 413 compatible = "rotary-encoder"; 418 rotary-encoder,relative-axis;
|
| /linux-4.4.14/drivers/net/arcnet/ |
| D | com20020-pci.c | 183 dev->dev_id ^= inb(priv->misc + ci->rotary) >> 4; in com20020pci_probe() 328 .rotary = 0x0, 360 .rotary = 0x0,
|
| D | com20020.h | 59 int rotary; member
|