Lines Matching +full:use +full:- +full:handshake
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2000-2001 Vojtech Pavlik
43 int handshake = inb_p(pc110pad_io + 2); in pc110pad_interrupt() local
45 outb(handshake | 1, pc110pad_io + 2); in pc110pad_interrupt()
47 outb(handshake & ~1, pc110pad_io + 2); in pc110pad_interrupt()
95 return -ENODEV; in pc110pad_init()
98 printk(KERN_ERR "pc110pad: I/O area %#x-%#x in use.\n", in pc110pad_init()
100 return -EBUSY; in pc110pad_init()
107 err = -EBUSY; in pc110pad_init()
114 err = -ENOMEM; in pc110pad_init()
118 pc110pad_dev->name = "IBM PC110 TouchPad"; in pc110pad_init()
119 pc110pad_dev->phys = "isa15e0/input0"; in pc110pad_init()
120 pc110pad_dev->id.bustype = BUS_ISA; in pc110pad_init()
121 pc110pad_dev->id.vendor = 0x0003; in pc110pad_init()
122 pc110pad_dev->id.product = 0x0001; in pc110pad_init()
123 pc110pad_dev->id.version = 0x0100; in pc110pad_init()
125 pc110pad_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in pc110pad_init()
126 pc110pad_dev->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in pc110pad_init()
127 pc110pad_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in pc110pad_init()
132 pc110pad_dev->open = pc110pad_open; in pc110pad_init()
133 pc110pad_dev->close = pc110pad_close; in pc110pad_init()