Searched refs:mouse (Results 1 - 170 of 170) sorted by relevance

/linux-4.4.14/drivers/input/mouse/
H A Dvsxxxaa.c2 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers)
3 * DEC VSXXX-GA mouse (rectangular mouse, with ball)
35 * anything if you break your mouse, your computer or whatever!
37 * In theory, this mouse is a simple RS232 device. In practice, it has got
62 * 7 (dev. avail.) - - The mouse shorts this one to pin 1.
64 * the mouse. To use it with the adaptor,
67 * So to get a working adaptor, you need to connect the mouse with three
126 static void vsxxxaa_drop_bytes(struct vsxxxaa *mouse, int num) vsxxxaa_drop_bytes() argument
128 if (num >= mouse->count) { vsxxxaa_drop_bytes()
129 mouse->count = 0; vsxxxaa_drop_bytes()
131 memmove(mouse->buf, mouse->buf + num, BUFLEN - num); vsxxxaa_drop_bytes()
132 mouse->count -= num; vsxxxaa_drop_bytes()
136 static void vsxxxaa_queue_byte(struct vsxxxaa *mouse, unsigned char byte) vsxxxaa_queue_byte() argument
138 if (mouse->count == BUFLEN) { vsxxxaa_queue_byte()
140 mouse->name, mouse->phys); vsxxxaa_queue_byte()
141 vsxxxaa_drop_bytes(mouse, 1); vsxxxaa_queue_byte()
146 mouse->buf[mouse->count++] = byte; vsxxxaa_queue_byte()
149 static void vsxxxaa_detection_done(struct vsxxxaa *mouse) vsxxxaa_detection_done() argument
151 switch (mouse->type) { vsxxxaa_detection_done()
153 strlcpy(mouse->name, "DEC VSXXX-AA/-GA mouse", vsxxxaa_detection_done()
154 sizeof(mouse->name)); vsxxxaa_detection_done()
158 strlcpy(mouse->name, "DEC VSXXX-AB digitizer", vsxxxaa_detection_done()
159 sizeof(mouse->name)); vsxxxaa_detection_done()
163 snprintf(mouse->name, sizeof(mouse->name), vsxxxaa_detection_done()
165 mouse->type); vsxxxaa_detection_done()
171 mouse->name, mouse->version, mouse->country, mouse->phys); vsxxxaa_detection_done()
177 static int vsxxxaa_check_packet(struct vsxxxaa *mouse, int packet_len) vsxxxaa_check_packet() argument
182 if (!IS_HDR_BYTE(mouse->buf[0])) { vsxxxaa_check_packet()
183 DBG("vsck: len=%d, 1st=0x%02x\n", packet_len, mouse->buf[0]); vsxxxaa_check_packet()
189 if (IS_HDR_BYTE(mouse->buf[i])) { vsxxxaa_check_packet()
194 packet_len, i, mouse->buf[i]); vsxxxaa_check_packet()
202 static inline int vsxxxaa_smells_like_packet(struct vsxxxaa *mouse, vsxxxaa_smells_like_packet() argument
205 return mouse->count >= len && MATCH_PACKET_TYPE(mouse->buf[0], type); vsxxxaa_smells_like_packet()
208 static void vsxxxaa_handle_REL_packet(struct vsxxxaa *mouse) vsxxxaa_handle_REL_packet() argument
210 struct input_dev *dev = mouse->dev; vsxxxaa_handle_REL_packet()
211 unsigned char *buf = mouse->buf; vsxxxaa_handle_REL_packet()
246 vsxxxaa_drop_bytes(mouse, 3); vsxxxaa_handle_REL_packet()
249 mouse->name, mouse->phys, dx, dy, vsxxxaa_handle_REL_packet()
264 static void vsxxxaa_handle_ABS_packet(struct vsxxxaa *mouse) vsxxxaa_handle_ABS_packet() argument
266 struct input_dev *dev = mouse->dev; vsxxxaa_handle_ABS_packet()
267 unsigned char *buf = mouse->buf; vsxxxaa_handle_ABS_packet()
297 vsxxxaa_drop_bytes(mouse, 5); vsxxxaa_handle_ABS_packet()
300 mouse->name, mouse->phys, x, y, vsxxxaa_handle_ABS_packet()
316 static void vsxxxaa_handle_POR_packet(struct vsxxxaa *mouse) vsxxxaa_handle_POR_packet() argument
318 struct input_dev *dev = mouse->dev; vsxxxaa_handle_POR_packet()
319 unsigned char *buf = mouse->buf; vsxxxaa_handle_POR_packet()
325 * after plugging the mouse in, or when explicitly vsxxxaa_handle_POR_packet()
338 * D: <0010> == mouse, <0100> == tablet vsxxxaa_handle_POR_packet()
341 mouse->version = buf[0] & 0x0f; vsxxxaa_handle_POR_packet()
342 mouse->country = (buf[1] >> 4) & 0x07; vsxxxaa_handle_POR_packet()
343 mouse->type = buf[1] & 0x0f; vsxxxaa_handle_POR_packet()
355 vsxxxaa_drop_bytes(mouse, 4); vsxxxaa_handle_POR_packet()
356 vsxxxaa_detection_done(mouse); vsxxxaa_handle_POR_packet()
368 mouse->name, mouse->phys, error); vsxxxaa_handle_POR_packet()
373 * If the mouse was hot-plugged, we need to force differential mode vsxxxaa_handle_POR_packet()
379 mouse->name, mouse->phys); vsxxxaa_handle_POR_packet()
380 serio_write(mouse->serio, 'S'); /* Standard format */ vsxxxaa_handle_POR_packet()
382 serio_write(mouse->serio, 'R'); /* Incremental */ vsxxxaa_handle_POR_packet()
384 serio_write(mouse->serio, 'L'); /* 72 samples/sec */ vsxxxaa_handle_POR_packet()
387 static void vsxxxaa_parse_buffer(struct vsxxxaa *mouse) vsxxxaa_parse_buffer() argument
389 unsigned char *buf = mouse->buf; vsxxxaa_parse_buffer()
401 * activity on the mouse. vsxxxaa_parse_buffer()
403 while (mouse->count > 0 && !IS_HDR_BYTE(buf[0])) { vsxxxaa_parse_buffer()
405 "sync with mouse data stream...\n", vsxxxaa_parse_buffer()
406 mouse->name, mouse->phys); vsxxxaa_parse_buffer()
407 vsxxxaa_drop_bytes(mouse, 1); vsxxxaa_parse_buffer()
414 if (vsxxxaa_smells_like_packet(mouse, VSXXXAA_PACKET_REL, 3)) { vsxxxaa_parse_buffer()
416 stray_bytes = vsxxxaa_check_packet(mouse, 3); vsxxxaa_parse_buffer()
418 vsxxxaa_handle_REL_packet(mouse); vsxxxaa_parse_buffer()
420 } else if (vsxxxaa_smells_like_packet(mouse, vsxxxaa_parse_buffer()
423 stray_bytes = vsxxxaa_check_packet(mouse, 5); vsxxxaa_parse_buffer()
425 vsxxxaa_handle_ABS_packet(mouse); vsxxxaa_parse_buffer()
427 } else if (vsxxxaa_smells_like_packet(mouse, vsxxxaa_parse_buffer()
430 stray_bytes = vsxxxaa_check_packet(mouse, 4); vsxxxaa_parse_buffer()
432 vsxxxaa_handle_POR_packet(mouse); vsxxxaa_parse_buffer()
441 vsxxxaa_drop_bytes(mouse, stray_bytes); vsxxxaa_parse_buffer()
450 struct vsxxxaa *mouse = serio_get_drvdata(serio); vsxxxaa_interrupt() local
452 vsxxxaa_queue_byte(mouse, data); vsxxxaa_interrupt()
453 vsxxxaa_parse_buffer(mouse); vsxxxaa_interrupt()
460 struct vsxxxaa *mouse = serio_get_drvdata(serio); vsxxxaa_disconnect() local
464 input_unregister_device(mouse->dev); vsxxxaa_disconnect()
465 kfree(mouse); vsxxxaa_disconnect()
470 struct vsxxxaa *mouse; vsxxxaa_connect() local
474 mouse = kzalloc(sizeof(struct vsxxxaa), GFP_KERNEL); vsxxxaa_connect()
476 if (!mouse || !input_dev) vsxxxaa_connect()
479 mouse->dev = input_dev; vsxxxaa_connect()
480 mouse->serio = serio; vsxxxaa_connect()
481 strlcat(mouse->name, "DEC VSXXX-AA/-GA mouse or VSXXX-AB digitizer", vsxxxaa_connect()
482 sizeof(mouse->name)); vsxxxaa_connect()
483 snprintf(mouse->phys, sizeof(mouse->phys), "%s/input0", serio->phys); vsxxxaa_connect()
485 input_dev->name = mouse->name; vsxxxaa_connect()
486 input_dev->phys = mouse->phys; vsxxxaa_connect()
502 serio_set_drvdata(serio, mouse); vsxxxaa_connect()
523 kfree(mouse); vsxxxaa_connect()
H A Datarimouse.c2 * Atari mouse driver for Linux/m68k
7 * Amiga mouse driver for Linux/m68k
14 * (the keyboard ACIA also handles the mouse and joystick data, and the keyboard
25 * Support for three button mouse (shamelessly stolen from MiNT)
56 MODULE_DESCRIPTION("Atari mouse driver");
128 atamouse_dev->name = "Atari mouse"; atamouse_init()
H A Dfocaltech.h2 * Focaltech TouchPad PS/2 mouse driver
H A Dlogips2pp.h2 * Logitech PS/2++ mouse driver header
H A Drpcmouse.c2 * Acorn RiscPC mouse driver for Linux/ARM
14 * This handles the Acorn RiscPCs mouse. We basically have a couple of
32 MODULE_DESCRIPTION("Acorn RiscPC mouse driver");
H A Damimouse.c2 * Amiga mouse driver for Linux/m68k
33 MODULE_DESCRIPTION("Amiga mouse driver");
143 .name = "amiga-mouse",
149 MODULE_ALIAS("platform:amiga-mouse");
H A Dpsmouse-base.c2 * PS/2 mouse driver
41 #define DRIVER_DESC "PS/2 mouse driver"
76 MODULE_PARM_DESC(resync_time, "How long can mouse stay idle before forcing resync (in seconds, 0 = never).");
108 * psmouse_mutex protects all operations changing state of mouse
111 * rarely more than one PS/2 mouse connected and since semaphore
365 * See if we need to force resync because mouse was idle for too long psmouse_interrupt()
385 * psmouse_sliced_command() sends an extended PS/2 command to the mouse
409 * psmouse_reset() resets the mouse into power-on state.
425 * Here we set the mouse resolution.
442 * Here we set the mouse report rate.
458 * Here we set the mouse scaling.
757 * the mouse may have.
784 * We always check for lifebook because it does not disturb mouse psmouse_extensions()
962 * Okay, all failed, we have a standard mouse here. The number of the buttons psmouse_extensions()
1171 * psmouse_probe() probes for a PS/2 mouse.
1180 * First, we check if it's a mouse. It should send 0x00 or 0x03 psmouse_probe()
1195 * Then we reset and disable the mouse so that it doesn't generate events. psmouse_probe()
1199 psmouse_warn(psmouse, "Failed to reset mouse on %s\n", psmouse_probe()
1206 * psmouse_initialize() initializes the mouse to a sane state.
1212 * We set the mouse report rate, resolution and scaling. psmouse_initialize()
1223 * psmouse_activate() enables the mouse so that we get motion reports from it.
1229 psmouse_warn(psmouse, "Failed to enable mouse on %s\n", psmouse_activate()
1239 * psmouse_deactivate() puts the mouse into poll mode so that we don't get motion
1246 psmouse_warn(psmouse, "Failed to deactivate mouse on %s\n", psmouse_deactivate()
1286 * mouse at least once ACKs disable we will do full reconnect if ACK psmouse_resync()
1298 * Poll the mouse. If it was reset the packet will be shorter than psmouse_resync()
1300 * do not handle scenario when mouse "upgrades" its protocol while psmouse_resync()
1302 * see a mouse that does it we'll adjust the code. psmouse_resync()
1321 * Now try to enable mouse. We try to do that even if poll failed and also psmouse_resync()
1323 * mouse. psmouse_resync()
1334 psmouse_warn(psmouse, "failed to re-enable mouse on %s\n", psmouse_resync()
1354 * psmouse_cleanup() resets the mouse into power-on state.
1375 psmouse_warn(psmouse, "Failed to disable mouse on %s\n", psmouse_cleanup()
1382 * Reset the mouse to defaults (bare PS/2 protocol). psmouse_cleanup()
1387 * Some boxes, such as HP nx7400, get terribly confused if mouse psmouse_cleanup()
1475 * If mouse's packet size is 3 there is no point in polling the psmouse_switch_protocol()
H A Dmaplemouse.c2 * SEGA Dreamcast mouse driver
18 MODULE_DESCRIPTION("SEGA Dreamcast mouse driver");
66 /* allow the mouse to be used */ probe_maple_mouse()
H A DMakefile2 # Makefile for the mouse drivers.
H A Dhgpk.h2 * OLPC HGPK (XO-1) touchpad PS/2 mouse driver
H A Dlogips2pp.c2 * Logitech PS/2++ mouse driver
18 /* Logitech mouse types */
24 /* Logitech mouse features */
178 * reasons to not use it even if the mouse supports it, and of course there are
205 { 1, 0, 0 }, /* Simple 2-button mouse */ get_model_info()
262 * Set up input device's properties based on the detected mouse model.
323 * Logitech magic init. Detect whether the mouse is a Logitech one
390 psmouse_warn(psmouse, "Detected unknown Logitech mouse model %d\n", model); ps2pp_init()
H A Dsermouse.c6 * Serial mouse driver for Linux
36 #define DRIVER_DESC "Serial mouse driver"
58 * second, which is as good as a PS/2 or USB mouse.
178 case 1: /* Extra mouse info */ sermouse_process_ms()
226 * to the mouse anymore.
H A Dgpio_mouse.c2 * Driver for simulating a mouse on GPIO lines.
179 MODULE_DESCRIPTION("GPIO mouse driver");
H A Dpxa930_trkball.c2 * PXA930 track ball mouse driver
22 #include <linux/platform_data/mouse-pxa930_trkball.h>
H A Dalps.h2 * ALPS touchpad PS/2 mouse driver
222 * @dev3: Generic PS/2 mouse (can be NULL, delayed registering).
224 * @phys3: Physical path for the generic PS/2 mouse.
225 * @dev3_register_work: Delayed work for registering PS/2 mouse.
H A Dcypress_ps2.c2 * Cypress Trackpad PS/2 mouse driver
487 * This is only true if one of the mouse buttons were tapped. Make cypress_parse_packet()
490 * disabling tap-to-click won't affect the mouse button zones. cypress_parse_packet()
703 * Reset Cypress Trackpad as a standard mouse. Then cypress_init()
704 * let psmouse driver commmunicating with it as default PS2 mouse. cypress_init()
H A Dvmmouse.c72 * @abs_dev: "Absolute" device used to report absolute mouse movement.
183 * This doesn't work well with the mouse wheel, though. See vmmouse_report_events()
224 * PSMOUSE_BAD_DATA in the hope that the caller will reset the mouse.
405 * Attempts to reset the mouse connections. Returns 0 on success and
417 "Unable to re-enable mouse when reconnecting, err: %d\n", vmmouse_reconnect()
H A Dsentelic.h2 * Finger Sensing Pad PS/2 mouse driver.
H A Dinport.c144 printk(KERN_INFO "inport.c: Didn't find InPort mouse at %#x\n", INPORT_BASE); inport_init()
H A Dlogibm.c149 logibm_dev->name = "Logitech bus mouse"; logibm_init()
H A Dtrackpoint.h2 * IBM TrackPoint PS/2 mouse driver
H A Dfocaltech.c2 * Focaltech TouchPad PS/2 mouse driver
37 * This way it at least works in PS/2 mouse compatibility mode.
H A Dhgpk.c2 * OLPC HGPK (XO-1) touchpad PS/2 mouse driver
83 "default hgpk mode: mouse, glidesensor or pentablet");
279 * HGPK Mouse Mode format (standard mouse format, sans middle button)
526 /* select between GlideSensor (mouse) or PenTablet */ hgpk_select_mode()
H A Dsynaptics.h2 * Synaptics TouchPad PS/2 mouse driver
H A Delantech.c221 * Dump a complete mouse movement packet to the syslog
828 * Process byte stream from mouse and handle complete packets
1594 * a touch action starts causing the mouse cursor or scrolled page elantech_set_properties()
H A Dsynaptics.c2 * Synaptics TouchPad PS/2 mouse driver
1511 /* Relative mode follows standard PS/2 mouse protocol */ __synaptics_init()
1529 * the same rate as a standard PS/2 mouse). __synaptics_init()
H A Dsynaptics_i2c.c510 /* Register the device as mouse */ synaptics_i2c_set_input_params()
H A Dsynaptics_usb.c17 * drivers/input/mouse/synaptics.c by Peter Osterlund
H A Dalps.c2 * ALPS touchpad PS/2 mouse driver
125 * which is what a normal mouse would report. Also, the value 0x0e
1407 /* Register dev3 mouse if we received PS/2 packet first time */ alps_report_bare_ps2_packet()
1796 * Switch mouse to poll (remote) mode so motion data will not alps_absolute_mode_v1_v2()
H A Dappletouch.c270 * By default newer Geyser devices send standard USB HID mouse
H A Dsentelic.c2 * Finger Sensing Pad PS/2 mouse driver.
/linux-4.4.14/drivers/hid/usbhid/
H A Dusbmouse.c44 #define DRIVER_DESC "USB HID Boot Protocol mouse driver"
64 struct usb_mouse *mouse = urb->context; usb_mouse_irq() local
65 signed char *data = mouse->data; usb_mouse_irq()
66 struct input_dev *dev = mouse->dev; usb_mouse_irq()
95 dev_err(&mouse->usbdev->dev, usb_mouse_irq()
97 mouse->usbdev->bus->bus_name, usb_mouse_irq()
98 mouse->usbdev->devpath, status); usb_mouse_irq()
103 struct usb_mouse *mouse = input_get_drvdata(dev); usb_mouse_open() local
105 mouse->irq->dev = mouse->usbdev; usb_mouse_open()
106 if (usb_submit_urb(mouse->irq, GFP_KERNEL)) usb_mouse_open()
114 struct usb_mouse *mouse = input_get_drvdata(dev); usb_mouse_close() local
116 usb_kill_urb(mouse->irq); usb_mouse_close()
124 struct usb_mouse *mouse; usb_mouse_probe() local
141 mouse = kzalloc(sizeof(struct usb_mouse), GFP_KERNEL); usb_mouse_probe()
143 if (!mouse || !input_dev) usb_mouse_probe()
146 mouse->data = usb_alloc_coherent(dev, 8, GFP_ATOMIC, &mouse->data_dma); usb_mouse_probe()
147 if (!mouse->data) usb_mouse_probe()
150 mouse->irq = usb_alloc_urb(0, GFP_KERNEL); usb_mouse_probe()
151 if (!mouse->irq) usb_mouse_probe()
154 mouse->usbdev = dev; usb_mouse_probe()
155 mouse->dev = input_dev; usb_mouse_probe()
158 strlcpy(mouse->name, dev->manufacturer, sizeof(mouse->name)); usb_mouse_probe()
162 strlcat(mouse->name, " ", sizeof(mouse->name)); usb_mouse_probe()
163 strlcat(mouse->name, dev->product, sizeof(mouse->name)); usb_mouse_probe()
166 if (!strlen(mouse->name)) usb_mouse_probe()
167 snprintf(mouse->name, sizeof(mouse->name), usb_mouse_probe()
172 usb_make_path(dev, mouse->phys, sizeof(mouse->phys)); usb_mouse_probe()
173 strlcat(mouse->phys, "/input0", sizeof(mouse->phys)); usb_mouse_probe()
175 input_dev->name = mouse->name; usb_mouse_probe()
176 input_dev->phys = mouse->phys; usb_mouse_probe()
188 input_set_drvdata(input_dev, mouse); usb_mouse_probe()
193 usb_fill_int_urb(mouse->irq, dev, pipe, mouse->data, usb_mouse_probe()
195 usb_mouse_irq, mouse, endpoint->bInterval); usb_mouse_probe()
196 mouse->irq->transfer_dma = mouse->data_dma; usb_mouse_probe()
197 mouse->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; usb_mouse_probe()
199 error = input_register_device(mouse->dev); usb_mouse_probe()
203 usb_set_intfdata(intf, mouse); usb_mouse_probe()
207 usb_free_urb(mouse->irq); usb_mouse_probe()
209 usb_free_coherent(dev, 8, mouse->data, mouse->data_dma); usb_mouse_probe()
212 kfree(mouse); usb_mouse_probe()
218 struct usb_mouse *mouse = usb_get_intfdata (intf); usb_mouse_disconnect() local
221 if (mouse) { usb_mouse_disconnect()
222 usb_kill_urb(mouse->irq); usb_mouse_disconnect()
223 input_unregister_device(mouse->dev); usb_mouse_disconnect()
224 usb_free_urb(mouse->irq); usb_mouse_disconnect()
225 usb_free_coherent(interface_to_usbdev(intf), 8, mouse->data, mouse->data_dma); usb_mouse_disconnect()
226 kfree(mouse); usb_mouse_disconnect()
/linux-4.4.14/drivers/staging/nvec/
H A Dnvec_ps2.c2 * nvec_ps2: mouse driver for a NVIDIA compliant embedded controller
87 NVEC_PHD("ps/2 mouse event: ", &msg[2], msg[1]); nvec_ps2_notifier()
94 NVEC_PHD("ps/2 mouse reply: ", &msg[4], msg[1] - 2); nvec_ps2_notifier()
98 NVEC_PHD("unhandled mouse event: ", msg, msg[1] + 2); nvec_ps2_notifier()
120 strlcpy(ser_dev->name, "nvec mouse", sizeof(ser_dev->name)); nvec_mouse_probe()
130 /* mouse reset */ nvec_mouse_probe()
151 /* disable mouse */ nvec_mouse_suspend()
165 /* enable mouse */ nvec_mouse_resume()
179 .name = "nvec-mouse",
186 MODULE_DESCRIPTION("NVEC mouse driver");
188 MODULE_ALIAS("platform:nvec-mouse");
H A Dnvec.h64 * @NVEC_PS2: A mouse request/response
67 * @NVEC_PS2_EVT: An event from the mouse
H A Dnvec.c90 .name = "nvec-mouse",
/linux-4.4.14/arch/m68k/include/asm/
H A Datarikb.h4 ** mouse and joystick drivers.
39 /* Hook for mouse inputdev driver */
/linux-4.4.14/drivers/input/
H A DMakefile22 obj-$(CONFIG_INPUT_MOUSE) += mouse/
H A Dmousedev.c878 dev_set_name(&mousedev->dev, "mouse%d", dev_no); mousedev_create()
1013 }, /* A mouse like device, at least one button,
1049 clicks, like hp ILO2 High Performance mouse */
1115 pr_info("PS/2 mouse device common for all mice\n"); mousedev_init()
H A Djoydev.c758 * considered to be an absolute mouse if the following is joydev_dev_is_absolute_mouse()
/linux-4.4.14/arch/m68k/atari/
H A Datakeyb.c41 /* Hook for mouse inputdev driver */
119 * This usually causes keyboards bytes to be interpreted as mouse movements
121 * bytes (that are usually mouse bytes) than to misinterpret them. Therefore I
123 * one that really looks like a key event (0x04..0xf2) or the start of a mouse
126 * mouse movement is lost. However, nothing is perfect. For bytes 0x01..0x03,
127 * it's really hard to decide whether they're mouse or keyboard bytes. Since
128 * overruns usually occur when moving the Atari mouse rapidly, they're seen as
129 * mouse bytes here. If this is wrong, only a make code of the keyboard gets
347 /* Set mouse button action */ ikbd_mouse_button_action()
355 /* Set relative mouse position reporting */ ikbd_mouse_rel_pos()
364 /* Set absolute mouse position reporting */ ikbd_mouse_abs_pos()
372 /* Set mouse keycode mode */ ikbd_mouse_kbd_mode()
380 /* Set mouse threshold */ ikbd_mouse_thresh()
389 /* Set mouse scale */ ikbd_mouse_scale()
397 /* Interrogate mouse position */ ikbd_mouse_pos_get()
407 /* Load mouse position */ ikbd_mouse_pos_set()
432 /* Disable mouse */ ikbd_mouse_disable()
508 "keyboard,mouse,MIDI", atari_keyboard_interrupt); atari_keyb_init()
/linux-4.4.14/drivers/media/rc/
H A Dir-mce_kbd-decoder.c1 /* ir-mce_kbd-decoder.c - A decoder for the RC6-ish keyboard/mouse IR protocol
23 * - MCIR-2 29-bit IR signals used for mouse movement and buttons
29 * input device for the remote, rather than the keyboard/mouse one.
178 /* raw mouse coordinates */ ir_mce_kbd_process_mouse_data()
182 /* mouse buttons */ ir_mce_kbd_process_mouse_data()
196 IR_dprintk(1, "mouse: x = %d, y = %d, btns = %s%s\n", ir_mce_kbd_process_mouse_data()
285 IR_dprintk(1, "not keyboard or mouse data\n"); ir_mce_kbd_decode()
335 IR_dprintk(1, "mouse data 0x%06x\n", scancode); ir_mce_kbd_decode()
336 /* Pass data to mouse buffer parser */ ir_mce_kbd_decode()
340 IR_dprintk(1, "not keyboard or mouse data\n"); ir_mce_kbd_decode()
435 printk(KERN_INFO "IR MCE Keyboard/mouse protocol handler initialized\n"); ir_mce_kbd_decode_init()
449 MODULE_DESCRIPTION("MCE Keyboard/mouse IR protocol decoder");
H A Dati_remote.c53 * The Lola is similar to the ATI remote but has no mouse support, and slightly
146 static bool mouse = true; variable
147 module_param(mouse, bool, 0444);
148 MODULE_PARM_DESC(mouse, "Enable mouse device, default = yes");
284 #define KIND_ACCEL 3 /* Translate to EV_REL mouse-move events */
312 * They are mapped to the "side" and "extra" mouse buttons here. */
316 /* Non-mouse events are handled by rc-core */
541 * This is either a mouse or scrollwheel event, depending on ati_remote_input_report()
550 /* scrollwheel was not mapped, assume mouse */ ati_remote_input_report()
552 /* Look up event code index in the mouse translation ati_remote_input_report()
603 /* Not a mouse event, hand it to rc-core. */ ati_remote_input_report()
884 "%s mouse", ati_remote->rc_name); ati_remote_probe()
912 /* Set up and register mouse input device */ ati_remote_probe()
913 if (mouse) { ati_remote_probe()
H A Dimon.c140 struct input_dev *idev; /* input device for panel & IR mouse */
152 bool pad_mouse; /* toggle kbd(0)/mouse(1) mode */
453 * In certain use cases, mouse mode isn't really helpful, and could actually
458 MODULE_PARM_DESC(nomouse, "Disable mouse input device mode when IR device is "
1187 * have a higher resolution matrix for more precise mouse movement, but it
1337 /* newer iMON device PAD or mouse button */ imon_mouse_event()
1342 /* 0xffdc iMON PAD or mouse button input */ imon_mouse_event()
1356 /* some ffdc devices decode mouse buttons differently... */ imon_mouse_event()
1370 dev_dbg(ictx->dev, "sending mouse data via input subsystem\n"); imon_mouse_event()
1468 * 0x68nnnnB7 to 0x6AnnnnB7, the left mouse button generates imon_pad_to_keys()
1553 /* mouse button release on (some) 0xffdc devices */ imon_parse_press_type()
1558 /* mouse button release on (some other) 0xffdc devices */ imon_parse_press_type()
1628 /* keyboard/mouse mode toggle button */ imon_incoming_packet()
1634 ictx->pad_mouse ? "mouse" : "keyboard"); imon_incoming_packet()
1639 dev_dbg(dev, "mouse mode disabled, passing key value\n"); imon_incoming_packet()
1652 /* look for mouse events with pad in mouse mode */ imon_incoming_packet()
H A Dnuvoton-cir.h391 /* MCE CIR mouse signal length: about 24ms
/linux-4.4.14/drivers/macintosh/
H A Dadbhid.c18 * - Standard 1 button mouse
22 * - MicroSpeed mouse & trackball (needs testing)
28 * - MacAlly 2-buttons mouse (needs testing) <pochini@denise.shiny.it>
33 * Split mouse/kbd
62 #define MOUSE_DATAREG 0 /* reg# for movement/button codes from mouse */
252 /* Kind of mouse */
253 #define ADBMOUSE_STANDARD_100 0 /* Standard 100cpi mouse (handler 1) */
254 #define ADBMOUSE_STANDARD_200 1 /* Standard 200cpi mouse (handler 2) */
255 #define ADBMOUSE_EXTENDED 2 /* Apple Extended mouse (handler 4) */
259 #define ADBMOUSE_MICROSPEED 6 /* Microspeed mouse (&trackball ?), MacPoint */
262 #define ADBMOUSE_MACALLY2 9 /* MacAlly 2-button mouse */
415 Handler 1 -- 100cpi original Apple mouse protocol. adbhid_mouse_input()
416 Handler 2 -- 200cpi original Apple mouse protocol. adbhid_mouse_input()
418 For Apple's standard one-button mouse protocol the data array will adbhid_mouse_input()
426 Handler 4 -- Apple Extended mouse protocol. adbhid_mouse_input()
428 For Apple's 3-button mouse protocol the data array will contain the adbhid_mouse_input()
439 MacAlly 2-button mouse protocol. adbhid_mouse_input()
441 For MacAlly 2-button mouse protocol the data array will contain the adbhid_mouse_input()
846 sprintf(hid->name, "ADB mouse"); adbhid_input_register()
1006 printk("ADB mouse at %d, handler set to 4", id); adbhid_probe()
1010 printk("ADB mouse at %d, handler set to 0x2F", id); adbhid_probe()
1014 printk("ADB mouse at %d, handler set to 0x42", id); adbhid_probe()
1018 printk("ADB mouse at %d, handler set to 0x66", id); adbhid_probe()
1022 printk("ADB mouse at %d, handler set to 0x5F", id); adbhid_probe()
1026 printk("ADB mouse at %d, handler set to 3", id); adbhid_probe()
1030 printk("ADB mouse at %d, handler set to 2", id); adbhid_probe()
1034 printk("ADB mouse at %d, handler 1", id); adbhid_probe()
1075 printk("\nADB MacAlly 2-button mouse at %d, handler set to 0x42", id); adbhid_probe()
1224 0 - 3 Button is mouse (set also for double clicking!!!) init_microspeed()
1227 12 1 = Extended mouse mode, 0 = normal mouse mode init_microspeed()
1245 0x07); /* all buttons enabled as mouse buttons, no locking */ init_microspeed()
H A Dmac_hid.c43 mac_hid_emumouse_dev->name = "Macintosh mouse button emulation"; mac_hid_create_emumouse()
H A Dvia-cuda.c6 * Bus) which connects to the keyboard and mouse. The CUDA also
H A Dadb.c533 /* We skip keystrokes and mouse moves when the sleep process adb_input()
H A Dvia-pmu68k.c8 * to the keyboard and mouse, as well as the non-volatile RAM
H A Dvia-pmu.c8 * to the keyboard and mouse, as well as the non-volatile RAM
/linux-4.4.14/drivers/input/serio/
H A Dct82c710.c6 * 82C710 C&T mouse port chip driver for Linux
43 MODULE_DESCRIPTION("82C710 C&T mouse port chip driver");
69 * Interrupt handler for the 82C710 mouse port. A character
143 * Write to the 82C710 mouse device.
154 * See if we can find a 82C710 device. Read mouse address.
169 ct82c710_iores.start = inb_p(0x391) << 2; /* Get mouse I/O address */ ct82c710_detect()
189 strlcpy(ct82c710_port->name, "C&T 82c710 mouse port", ct82c710_probe()
196 printk(KERN_INFO "serio: C&T 82c710 mouse port at %#llx irq %d\n", ct82c710_probe()
H A Di8042.h38 * to a non-existent mouse.
H A Dlibps2.c137 * at all (mouse). ps2_adjust_timeout()
146 * the GET ID command as it were a mouse, with ps2_adjust_timeout()
177 * ps2_command() sends a command and its parameters to the mouse,
312 * These are valid mouse IDs that we recognize. ps2_handle_ack()
H A Di8042-sparcio.h51 #define OBP_PS2MS_NAME2 "mouse"
H A Di8042.c2 * i8042 keyboard and mouse controller driver for Linux
32 MODULE_DESCRIPTION("i8042 keyboard and mouse controller driver");
41 MODULE_PARM_DESC(noaux, "Do not probe or use AUX (mouse) port.");
231 * i8042_flush() flushes all data that may be in the keyboard and mouse buffers
574 * i8042_enable_aux_port enables AUX (mouse) port on chip
628 * mouse interface, the last should be version. i8042_set_mux_mode()
1153 pr_warn("failed to resume active multiplexor, mouse won't work\n"); i8042_controller_resume()
H A Dapbps2.c10 * See "Documentation/devicetree/bindings/input/ps2keyb-mouse-apbps2.txt" for
H A Dmaceps2.c186 port_data[1].port = &mace->perif.ps2.mouse; maceps2_init()
H A Dparkbd.c41 * The +5V source can be taken either from USB, from mouse or keyboard ports,
H A Dpcips2.c220 MODULE_DESCRIPTION("PCI PS/2 keyboard/mouse driver");
H A Dgscps2.c221 * The problematic part here is, that the keyboard and mouse PS/2 port
360 (ps2port->id == GSC_ID_KEYBOARD) ? "keyboard" : "mouse"); gscps2_probe()
H A Dolpc_apsp.c36 * On the hardware side we have a PS/2 mouse and an AT keyboard, the data
H A Dhp_sdc.c1125 * receiving a few mouse events:
/linux-4.4.14/drivers/misc/ibmasm/
H A Dremote.c25 /* Remote mouse and keyboard event handling functions */
140 dbg("remote mouse movement: (x,y)=(%d,%d)%s%s%s%s\n", print_input()
141 input->data.mouse.x, input->data.mouse.y, print_input()
162 input_report_abs(dev, ABS_X, input->data.mouse.x); send_mouse_event()
163 input_report_abs(dev, ABS_Y, input->data.mouse.y); send_mouse_event()
212 /* set up the mouse input device */ ibmasm_init_remote_input_dev()
233 mouse_dev->name = "ibmasm RSA I remote mouse"; ibmasm_init_remote_input_dev()
H A Dremote.h53 /* mouse button states received from SP */
78 struct mouse_input mouse; member in union:remote_input::__anon6334
H A Dmodule.c48 * 6) Handles remote mouse and keyboard event interrupts and makes them
/linux-4.4.14/include/linux/
H A Dgpio_mouse.h2 * Driver for simulating a mouse on GPIO lines.
40 * calculate mouse movement.
H A Dconsole_struct.h50 unsigned short vc_complement_mask; /* [#] Xor mask for mouse pointer */
51 unsigned short vc_s_complement_mask; /* Saved mouse pointer mask */
H A Dioc4.h69 uint32_t kbd_int:1; /* kbd/mouse intr asserted */
134 #define IOC4_GPCR_DIR_3 0x08 /* Keyboard/mouse presence */
H A Dinterrupt.h618 * stuck interrupts (such as unused PS2 mouse interfaces on ASUS boards).
H A Dhid.h505 enum hid_type type; /* device type (mouse, kbd, ...) */
H A Ddevice.h526 * like "partitions" and "disks", "mouse" and "event".
/linux-4.4.14/drivers/hid/
H A Dhid-roccat-kone.h24 kone_keystroke_button_1 = 0xf0, /* left mouse button */
25 kone_keystroke_button_2 = 0xf1, /* right mouse button */
48 kone_button_info_type_button_1 = 0x1, /* click (left mouse button) */
49 kone_button_info_type_button_2 = 0x2, /* menu (right mouse button)*/
150 * 12 byte mouse event read by interrupt_read
H A Dhid-elecom.c2 * HID driver for Elecom BM084 (bluetooth mouse).
H A Dhid-roccat-kone.c15 * Roccat Kone is a gamer mouse which consists of a mouse part and a keyboard
16 * part. The keyboard part enables the mouse to execute stored macros with mixed
110 * Checks success after writing data to mouse
147 * Reads settings from mouse and stores it in @buf
159 * Writes settings from @buf to mouse
176 * Reads profile data from mouse and stores it in @buf
202 * Writes profile data to mouse.
251 * Reads firmware_version of mouse and stores it in @result
468 * mouse, so this data needs to be reread
610 * The mouse can be equipped with one of four supplied weights from 5
612 * This returns the raw value reported by the mouse for easy evaluation
619 * Prints firmware version stored in mouse as integer.
620 * The raw value reported by the mouse is returned for easy evaluation,
633 /* Prints and takes the number of the profile the mouse starts with */
764 hid_err(hdev, "couldn't install mouse\n"); kone_probe()
H A Dhid-speedlink.c2 * HID driver for Speedlink Vicious and Divine Cezanne (USB mouse).
33 * The Cezanne mouse has a second "keyboard" USB endpoint for it is speedlink_input_mapping()
H A Dwacom.h32 * Fix Wacom Graphire mouse wheel
33 * v1.18 (vp) - Fix mouse wheel direction
34 * Make mouse relative
37 * - Corrected Intuos protocol decoding (airbrush, 4D mouse, lens cursor...)
39 * - Fix Wacom Graphire mouse wheel again
H A Dhid-roccat-lua.c15 * Roccat Lua is a gamer mouse which cpi, button and light settings can be
180 hid_err(hdev, "couldn't install mouse\n"); lua_probe()
H A Dhid-roccat-savu.c14 /* Roccat Savu is a gamer mouse with macro keys that can be configured in
133 hid_err(hdev, "couldn't install mouse\n"); savu_probe()
H A Dhid-samsung.c17 * [0419:0600] Creative Desktop Wireless 6000 keyboard/mouse combo
110 dbg_hid("samsung wireless keyboard/mouse input mapping event [0x%x]\n", samsung_kbd_mouse_input_mapping()
H A Dhid-holtek-mouse.c30 * - USB ID 04d9:a081, sold as SHARKOON DarkGlider Gaming mouse
H A DMakefile45 obj-$(CONFIG_HID_HOLTEK) += hid-holtek-mouse.o
H A Dhid-roccat-konepure.c153 hid_err(hdev, "couldn't install mouse\n"); konepure_probe()
H A Dhid-roccat-ryos.c161 hid_err(hdev, "couldn't install mouse\n"); ryos_probe()
H A Dhid-logitech-hidpp.c997 * The Logitech M560 mouse, is designed for windows 8. When the middle and/or
1013 * 10<xx>0a 3500af03 (where <xx> is the mouse id),
1014 * the mouse reacts differently:
1016 * - for the three mouse button it sends:
1093 * m560 mouse report for middle, forward and backward button m560_raw_event()
1128 * Logitech M560 mouse report m560_raw_event()
1197 * as a mouse from the OS point of view. There is a hardware shortcut to disable
H A Dhid-magicmouse.c155 * touch, use that to override the mouse's guess. magicmouse_emit_buttons()
169 } /* else: we keep the mouse's guess */ magicmouse_emit_buttons()
H A Dhid-roccat-pyra.c15 * Roccat Pyra is a mobile gamer mouse which comes in wired and wireless
474 hid_err(hdev, "couldn't install mouse\n"); pyra_probe()
H A Dwacom_wac.c351 /* Compute distance between mouse and tablet */ wacom_graphire_irq()
1071 /* 4D mouse, 2D mouse, marker pen rotation, tilt mouse, or Lens cursor packets */ wacom_intuos_irq()
1083 /* 4D mouse rotation packet */ wacom_intuos_irq()
1090 /* 4D mouse packet */ wacom_intuos_irq()
1101 /* I4 mouse */ wacom_intuos_irq()
1115 /* 2D mouse packet */ wacom_intuos_irq()
1122 /* I3 2D mouse side buttons */ wacom_intuos_irq()
H A Dwacom_sys.c171 * boot mouse application collection that is not of interest and this
199 * Requiring Stylus Usage will ignore boot mouse wacom_usage_mapping()
406 * typically configured to power-up in a mode which sends mouse-like
H A Dhid-roccat-koneplus.c455 hid_err(hdev, "couldn't install mouse\n"); koneplus_probe()
H A Dhid-roccat-kovaplus.c523 hid_err(hdev, "couldn't install mouse\n"); kovaplus_probe()
H A Dhid-logitech-dj.c332 [2] = 8, /* Standard mouse */
774 dbg_hid("%s: sending a mouse descriptor, reports_supported: " logi_dj_ll_parse()
H A Dhid-rmi.c101 * @reset_work: worker which will be called in case of a mouse report
392 /* switch the device to RMI if we receive a generic mouse report */ rmi_reset_work()
H A Dhid-lenovo.c125 case 0x00fb: /* Middle mouse button (in native mode) */ lenovo_input_mapping_cptkbd()
H A Dhid-sony.c815 0xA1, 0x01, /* MCollection Application (mouse, keyboard) */
1120 * Some Sony RF receivers wrongly declare the mouse pointer as a sony_report_fixup()
1126 /* usage: mouse */ sony_report_fixup()
H A Dhid-multitouch.c92 bool export_all_inputs; /* do not ignore mouse, keyboards, etc... */
H A Dhid-uclogic.c412 /* Fixed PID 0522 tablet report descriptor, interface 1 (mouse) */
H A Dhid-core.c2445 * hid_mouse_ignore_list - mouse devices which should not be handled by the hid layer
2448 * interface. This is a list of devices for which only the mouse interface will
/linux-4.4.14/include/linux/usb/
H A Disp116x.h20 such as moving a mouse). When chosen, this option
/linux-4.4.14/samples/uhid/
H A Duhid-example.c13 * This example emulates a basic 3 buttons mouse with wheel over UHID. Run this
14 * program as root and then use the following keys to control the mouse:
19 * a: Move mouse left
20 * d: Move mouse right
21 * w: Move mouse up
22 * s: Move mouse down
26 * Additionally to 3 button mouse, 3 keyboard LEDs are also supported (LED_NUML,
52 * We emulate a basic 3 button mouse with wheel and 3 keyboard LEDs. This is
/linux-4.4.14/arch/alpha/kernel/
H A Dsys_jensen.c52 * 0x990 - mouse
110 case 0x990: irq = 9; break; /* mouse -> irq 9 */ jensen_device_interrupt()
129 /* Clear keyboard/mouse state */ jensen_device_interrupt()
H A Dsys_sable.c69 * 3 mouse 12
228 * 3 mouse 12
/linux-4.4.14/include/uapi/linux/
H A Dtiocl.h30 #define TIOCL_GETMOUSEREPORTING 7 /* write whether mouse event are reported */
/linux-4.4.14/arch/sh/boards/mach-se/770x/
H A Dirq.c27 * 12: mouse
/linux-4.4.14/drivers/input/keyboard/
H A Datakbd.c18 * (the keyboard ACIA also handles the mouse and joystick data, and the keyboard
212 } else /* scancodes >= 0xf2 are mouse data, most likely */ atakbd_interrupt()
H A Dhil_kbd.c46 MODULE_DESCRIPTION("HIL keyboard/mouse driver");
49 MODULE_ALIAS("serio:ty03pr25id0Fex*"); /* HIL mouse */
578 .description = "HP HIL keyboard/mouse/tablet driver",
H A Datkbd.c744 * 0xac. Some old AT keyboards don't report anything. If a mouse is connected, this atkbd_probe()
/linux-4.4.14/drivers/staging/unisys/visorinput/
H A Dultrainputreport.h22 /* Identifies mouse and keyboard activity which is specified by the firmware to
H A Dvisorinput.c19 * receive keyboard and mouse channels from the visorbus driver. It reads
676 { SPAR_MOUSE_CHANNEL_PROTOCOL_UUID, "mouse"},
/linux-4.4.14/drivers/media/rc/keymaps/
H A Drc-total-media-in-hand.c58 { 0x02bd43, KEY_ZOOM }, /* [window + mouse pointer] */
H A Drc-ati-x10.c50 { 0x07, KEY_EDIT }, /* "hand": Toggle left mouse button (grab) */
/linux-4.4.14/arch/x86/kernel/
H A Dhead.c16 * unless you have no PS/2 mouse plugged in.
H A Dapm_32.c1941 * Some Bioses enable the PS/2 mouse (touchpad) at resume, even if it was
/linux-4.4.14/arch/mips/cobalt/
H A Dsetup.c44 * Cobalt doesn't have PS/2 keyboard/mouse interfaces,
/linux-4.4.14/kernel/debug/kdb/
H A Dkdb_keyboard.c60 * Ignore mouse events. kdb_get_kbd_char()
222 * + Need to handle possible PS/2 mouse input. kdb_kbd_cleanup_state()
237 * Skip mouse input. kdb_kbd_cleanup_state()
/linux-4.4.14/drivers/input/tablet/
H A Daiptek.c41 * (e.g., stylus, mouse in reports 2, 3, 4, 5. We don't know
91 * (returned as Report 1 - relative coordinates from mouse and stylus)
111 * (returned as Report 3 - absolute coordinates from the mouse)
133 * (returned as Report 5 - macrokeys from the mouse)
274 * whether the report came from the stylus, tablet mouse
293 int pointerMode; /* stylus-, mouse-only or either */
301 int mouseButtonLeft; /* mouse left btn delivers... */
302 int mouseButtonMiddle; /* mouse middle btn delivers... */
303 int mouseButtonRight; /* mouse right btn delivers... */
471 * or the mouse. You do not know, however, which input aiptek_irq()
484 * We're also using it to remap the physical mouse button mask aiptek_irq()
486 * value after moving/transposing mouse button bitmasks, except aiptek_irq()
488 * mouse button was pressed.) aiptek_irq()
607 /* Report 3's come from the mouse in absolute mode. aiptek_irq()
713 /* Report 5s come from the macro keys when pressed by mouse aiptek_irq()
793 * or the mouse. What we do to prevent that is wait 'x' milliseconds aiptek_irq()
1075 { "mouse", AIPTEK_POINTER_ONLY_MOUSE_MODE },
1149 { "mouse", AIPTEK_TOOL_BUTTON_MOUSE_MODE },
1368 retMsg = "Error: receiving mouse reports\n"; show_tabletDiagnosticMessage()
1766 * day if a single USB device can be a keyboard & a mouse aiptek_probe()
1949 MODULE_PARM_DESC(jitterDelay, "stylus/mouse settlement delay");
/linux-4.4.14/include/xen/interface/io/
H A Dkbdif.h2 * kbdif.h -- Xen virtual keyboard/mouse
/linux-4.4.14/drivers/input/touchscreen/
H A Degalax_ts.c33 * Mouse Mode: some panel may configure the controller to mouse mode,
86 /* ignore mouse events and vendor events */ egalax_ts_interrupt()
H A Dmk712.c28 * 2000-01-05: checked in new anti-jitter code, changed mouse protocol, fixed
/linux-4.4.14/arch/mips/include/asm/sn/
H A Dioc3.h275 #define KM_CSR_M_WRT_PEND 0x00000002 /* mouse port xmitting or resetting */
277 #define KM_CSR_M_LCB 0x00000008 /* same for mouse */
312 #define KM_RD_KBD_MSE 0x08000000 /* 0 if from kbd, 1 if from mouse */
320 #define KM_WD_WRT_DATA 0x000000ff /* write to keyboard/mouse port */
422 #define SIO_IR_KBD_INT 0x00400000 /* kbd/mouse intr */
H A Dklconfig.h797 typedef struct klmsdev_s { /* mouse device */
/linux-4.4.14/drivers/platform/x86/
H A Dhdaps.c53 #define HDAPS_PORT_KMACT 0x161d /* keyboard or mouse activity */
58 #define MOUSE_MASK 0x40 /* set if mouse activity */
60 #define MOUSE_ISSET(n) (!! (n & MOUSE_MASK)) /* mouse used? */
H A Ddell-laptop.c1131 * bit 3 Any mouse
1163 * bit 3 Any mouse
1197 * bit 3 Any mouse
1755 "mouse",
/linux-4.4.14/drivers/tty/serial/
H A Ddz.h80 #define DZ_MOUSE 0x0001 /* line 1 = mouse */
H A Dsuncore.c199 /* Basically, when the baud rate is wrong the mouse spits out
H A Dsunsu.c2 * su.c: Small serial driver for keyboard/mouse interface on sparc32/PCI
59 static char *su_typev[] = { "su(???)", "su(mouse)", "su(kbd)", "su(serial)" };
485 /* Separate interrupt handling path for keyboard/mouse ports. */
1399 const char *ms = of_get_property(ap, "mouse", NULL); su_get_type()
H A Dzs.c18 * mouse/keyboard:
H A Dioc4_serial.c140 #define IOC4_OTHER_IR_KBD_INT 0x00000040 /* Keyboard/mouse */
/linux-4.4.14/arch/sh/boards/mach-cayman/
H A Dsetup.c127 /* On a PC keyboard is IRQ1, mouse is IRQ12 */ smsc_superio_setup()
/linux-4.4.14/arch/sh/boards/mach-microdev/
H A Dirq.c37 { MICRODEV_FPGA_IRQ_MOUSE, 1, "mouse" }, /* IRQ #12 IRL=3 0x380 */
/linux-4.4.14/arch/mips/txx9/rbtx4927/
H A Dirq.c106 * SuperIO/PS2/Mouse, using INTR via ISA IRQ12 (mouse not currently supported)
/linux-4.4.14/arch/m68k/amiga/
H A Dplatform.c216 pdev = platform_device_register_simple("amiga-mouse", -1, NULL, amiga_init_devices()
/linux-4.4.14/drivers/watchdog/
H A Driowd.c39 * when the PS/2 mouse or serial lines show activity. The second, at
H A DiTCO_vendor_support.c163 /* Bit 7: timer is reset by mouse interrupt */
196 /* Make sure keyboard/mouse interrupts don't interfere */ supermicro_new_pre_start()
H A Dwdt977.c93 * at timeout, and to reset timer on kbd/mouse activity (not impl.) wdt977_start()
102 kbd/mouse/LED */ wdt977_start()
H A Dit8712f_wdt.c81 #define WDT_RESET_MOUSE 0x40 /* Reset timer on mouse interrupt */
H A Dsch311x_wdt.c385 /* Disable keyboard and mouse interaction and interrupt */ sch311x_wdt_probe()
H A Dw83627hf_wdt.c233 /* reset trigger, disable keyboard & mouse turning off watchdog */ w83627hf_init()
/linux-4.4.14/drivers/input/joystick/
H A Dgamecon.c110 "PSX DDR controller", "SNES mouse"
338 #define GC_SNESMOUSE_LENGTH 32 /* The SNES mouse uses 32 bits, the first
421 * dealing with a mouse. gc_nes_process_packet()
424 * cause the mouse pointer to quickly move to the gc_nes_process_packet()
757 * NES and SNES pads or mouse gc_timer()
H A Dtwidjoy.c28 * to the PS/2 keyboard and mouse ports) is NOT supported by this driver!
H A Ddb9.c256 /* 0000 : mouse */ db9_saturn_read_packet()
317 case 0xe3: /* shuttle mouse (analog 2 axis + buttons. signed value) */ db9_saturn_report()
/linux-4.4.14/drivers/input/misc/
H A Dati_remote2.c375 * For some incomprehensible reason the mouse pad generates ati_remote2_input_key()
378 * events for the mouse pad so we filter out any subsequent ati_remote2_input_key()
407 /* No repeat for mouse buttons. */ ati_remote2_input_key()
H A Dxen-kbdfront.c7 * Based on linux/drivers/input/mouse/sermouse.c
/linux-4.4.14/arch/powerpc/platforms/chrp/
H A Dsetup.c160 * for keyboard and mouse
208 sio_fixup_irq("mouse", 1, 12, 2); sio_init()
/linux-4.4.14/arch/sparc/kernel/
H A Dsun4m_irq.c95 * zs: 0x2c onboard keyboard/mouse/serial
130 #define SUN4M_INT_KBDMS 0x00004000 /* keyboard/mouse */
H A Dpcic.c78 * pin 3 - PS/2 kbd and mouse.
130 * pin 0 - kbd, mouse, serial;
/linux-4.4.14/drivers/sbus/char/
H A Ductrl.c80 "external mouse attached",
/linux-4.4.14/drivers/extcon/
H A Dextcon-max77693.c487 * are HDMI, USB for mouse/keyboard and micro-usb port max77693_muic_dock_handler()
491 * monitor and mouse/keyboard for desktop mode. max77693_muic_dock_handler()
842 * are HDMI, USB for mouse/keyboard and micro-usb port max77693_muic_chg_handler()
846 * target to separate monitor and mouse/keyboard for max77693_muic_chg_handler()
/linux-4.4.14/drivers/char/
H A Dmisc.c25 * Handling of mouse minor numbers for kerneld:
/linux-4.4.14/scripts/kconfig/lxdialog/
H A Ddialog.h254 * -- the lowercase are used to signal mouse-enter events (M_EVENT + 'o')
/linux-4.4.14/include/media/
H A Drc-map.h26 RC_TYPE_MCE_KBD = 11, /* RC6-ish MCE keyboard/mouse */
/linux-4.4.14/arch/mips/include/asm/ip32/
H A Dmace.h246 struct mace_ps2port mouse; member in struct:mace_ps2
/linux-4.4.14/arch/ia64/include/asm/sn/
H A Dioc3.h190 #define SIO_IR_KBD_INT 0x00400000 /* kbd/mouse intr */
/linux-4.4.14/drivers/video/fbdev/
H A Dhyperv_fb.c26 * It also solves the double mouse cursor issue of the emulated video mode.
289 /* Send mouse pointer info to host */ synthvid_send_ptr()
H A Dgbefb.c804 /* Turn off mouse cursor */ gbefb_set_par()
/linux-4.4.14/drivers/usb/misc/
H A Drio500.c24 * Based upon mouse.c (Brad Keryan) and printer.c (Michael Gee).
/linux-4.4.14/arch/arm/mach-footbridge/
H A Dnetwinder-hw.c308 * - disable LED, no mouse nor keyboard IRQ wb977_init_gpio()
/linux-4.4.14/drivers/acpi/
H A Dpci_link.c463 PIRQ_PENALTY_ISA_USED, /* IRQ12 mouse */
/linux-4.4.14/drivers/usb/host/
H A Duhci-hcd.c176 * that do not have keyboard and mouse legacy support. We assume that we are
/linux-4.4.14/drivers/pcmcia/
H A Dyenta_socket.c46 * touch dangerous spots like the mouse irq,
/linux-4.4.14/arch/x86/pci/
H A Dirq.c34 * Penalize: 3, 4, 6, 7, 12 (known ISA uses: serial, floppy, parallel and mouse)
/linux-4.4.14/drivers/char/agp/
H A Dintel-gtt.c234 * The i810/i830 requires a physical address to program its mouse
/linux-4.4.14/arch/parisc/kernel/
H A Ddrivers.c526 /* Silently fail things like mouse ports which are subsumed within alloc_pa_dev()
/linux-4.4.14/arch/arm/mach-sa1100/include/mach/
H A DSA-1101.h634 * Registers (prefix kbd applies to trackpad interface, mse to mouse)
/linux-4.4.14/sound/pci/ca0106/
H A Dca0106.h302 * e.g. mouse moving, changing between app windows etc.
/linux-4.4.14/drivers/usb/musb/
H A Dmusb_core.c79 * up both a keyboard and a mouse to an external USB hub.
H A Dmusb_host.c75 * extra endpoint for periodic use enabling hub + keybd + mouse. That
/linux-4.4.14/drivers/tty/
H A Dtty_io.c37 * Reorganized FASYNC support so mouse code can share it.
/linux-4.4.14/drivers/tty/vt/
H A Dvt.c25 * Code for xterm like mouse click reporting by Peter Orbaek 20-Jul-94
/linux-4.4.14/drivers/usb/core/
H A Dhub.c4964 * Works at least with mouse driver.
/linux-4.4.14/net/bluetooth/
H A Dl2cap_core.c3797 /* For certain devices (ex: HID mouse), support for authentication, l2cap_connect()

Completed in 4498 milliseconds