hil_dev           102 drivers/input/keyboard/hil_kbd.c static void hil_dev_handle_command_response(struct hil_dev *dev)
hil_dev           146 drivers/input/keyboard/hil_kbd.c static void hil_dev_handle_kbd_events(struct hil_dev *kbd)
hil_dev           205 drivers/input/keyboard/hil_kbd.c static void hil_dev_handle_ptr_events(struct hil_dev *ptr)
hil_dev           267 drivers/input/keyboard/hil_kbd.c static void hil_dev_process_err(struct hil_dev *dev)
hil_dev           277 drivers/input/keyboard/hil_kbd.c 	struct hil_dev *dev;
hil_dev           316 drivers/input/keyboard/hil_kbd.c 	struct hil_dev *dev = serio_get_drvdata(serio);
hil_dev           326 drivers/input/keyboard/hil_kbd.c static void hil_dev_keyboard_setup(struct hil_dev *kbd)
hil_dev           353 drivers/input/keyboard/hil_kbd.c static void hil_dev_pointer_setup(struct hil_dev *ptr)
hil_dev           445 drivers/input/keyboard/hil_kbd.c 	struct hil_dev *dev;
hil_dev           107 drivers/input/keyboard/hilkbd.c } hil_dev;
hil_dev           116 drivers/input/keyboard/hilkbd.c 	switch (hil_dev.data[0]) {
hil_dev           118 drivers/input/keyboard/hilkbd.c 		down = (hil_dev.data[1] & 1) == 0;
hil_dev           119 drivers/input/keyboard/hilkbd.c 		scode = hil_dev.data[1] >> 1;
hil_dev           121 drivers/input/keyboard/hilkbd.c 		input_report_key(hil_dev.dev, key, down);
hil_dev           124 drivers/input/keyboard/hilkbd.c 	hil_dev.curdev = 0;
hil_dev           136 drivers/input/keyboard/hilkbd.c 			if (hil_dev.curdev)
hil_dev           138 drivers/input/keyboard/hilkbd.c 			hil_dev.curdev = c & 7;
hil_dev           139 drivers/input/keyboard/hilkbd.c 			hil_dev.ptr = 0;
hil_dev           147 drivers/input/keyboard/hilkbd.c 	if (hil_dev.curdev) {
hil_dev           148 drivers/input/keyboard/hilkbd.c 		hil_dev.data[hil_dev.ptr++] = c;
hil_dev           149 drivers/input/keyboard/hilkbd.c 		hil_dev.ptr &= 15;
hil_dev           170 drivers/input/keyboard/hilkbd.c 		hil_dev.s = s;
hil_dev           171 drivers/input/keyboard/hilkbd.c 		hil_dev.c = c;
hil_dev           173 drivers/input/keyboard/hilkbd.c 		hil_dev.valid = 1;
hil_dev           185 drivers/input/keyboard/hilkbd.c 	spin_lock_irqsave(&hil_dev.lock, flags);
hil_dev           194 drivers/input/keyboard/hilkbd.c 	spin_unlock_irqrestore(&hil_dev.lock, flags);
hil_dev           206 drivers/input/keyboard/hilkbd.c 	if (hil_dev.dev)
hil_dev           210 drivers/input/keyboard/hilkbd.c 	spin_lock_init(&hil_dev.lock);
hil_dev           212 drivers/input/keyboard/hilkbd.c 	hil_dev.dev = input_allocate_device();
hil_dev           213 drivers/input/keyboard/hilkbd.c 	if (!hil_dev.dev)
hil_dev           216 drivers/input/keyboard/hilkbd.c 	err = request_irq(HIL_IRQ, hil_interrupt, 0, "hil", hil_dev.dev_id);
hil_dev           226 drivers/input/keyboard/hilkbd.c 	hil_dev.valid = 0;	/* clear any pending data */
hil_dev           229 drivers/input/keyboard/hilkbd.c 	wait_event_interruptible_timeout(hil_wait, hil_dev.valid, 3 * HZ);
hil_dev           230 drivers/input/keyboard/hilkbd.c 	if (!hil_dev.valid)
hil_dev           233 drivers/input/keyboard/hilkbd.c 	c = hil_dev.c;
hil_dev           234 drivers/input/keyboard/hilkbd.c 	hil_dev.valid = 0;
hil_dev           249 drivers/input/keyboard/hilkbd.c 			__set_bit(hphilkeyb_keycode[i], hil_dev.dev->keybit);
hil_dev           251 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->evbit[0]	= BIT_MASK(EV_KEY) | BIT_MASK(EV_REP);
hil_dev           252 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->ledbit[0]	= BIT_MASK(LED_NUML) | BIT_MASK(LED_CAPSL) |
hil_dev           254 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->keycodemax	= HIL_KEYCODES_SET1_TBLSIZE;
hil_dev           255 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->keycodesize= sizeof(hphilkeyb_keycode[0]);
hil_dev           256 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->keycode	= hphilkeyb_keycode;
hil_dev           257 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->name	= "HIL keyboard";
hil_dev           258 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->phys	= "hpkbd/input0";
hil_dev           260 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->id.bustype	= BUS_HIL;
hil_dev           261 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->id.vendor	= PCI_VENDOR_ID_HP;
hil_dev           262 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->id.product	= 0x0001;
hil_dev           263 drivers/input/keyboard/hilkbd.c 	hil_dev.dev->id.version	= 0x0010;
hil_dev           265 drivers/input/keyboard/hilkbd.c 	err = input_register_device(hil_dev.dev);
hil_dev           272 drivers/input/keyboard/hilkbd.c 	       hil_dev.dev->name, kbid, HILBASE, HIL_IRQ);
hil_dev           278 drivers/input/keyboard/hilkbd.c 	free_irq(HIL_IRQ, hil_dev.dev_id);
hil_dev           280 drivers/input/keyboard/hilkbd.c 	input_free_device(hil_dev.dev);
hil_dev           281 drivers/input/keyboard/hilkbd.c 	hil_dev.dev = NULL;
hil_dev           288 drivers/input/keyboard/hilkbd.c 		free_irq(HIL_IRQ, hil_dev.dev_id);
hil_dev           293 drivers/input/keyboard/hilkbd.c 	input_unregister_device(hil_dev.dev);
hil_dev           294 drivers/input/keyboard/hilkbd.c 	hil_dev.dev = NULL;
hil_dev           301 drivers/input/keyboard/hilkbd.c 	if (hil_dev.dev)
hil_dev           312 drivers/input/keyboard/hilkbd.c 	hil_dev.dev_id = dev;
hil_dev           360 drivers/input/keyboard/hilkbd.c 	if (hil_dev.dev)