Home
last modified time | relevance | path

Searched refs:old_dev (Results 1 – 7 of 7) sorted by relevance

/drivers/input/keyboard/
Datkbd.c1346 struct input_dev *old_dev, *new_dev; in atkbd_set_extra() local
1368 old_dev = atkbd->dev; in atkbd_set_extra()
1387 atkbd->dev = old_dev; in atkbd_set_extra()
1394 input_unregister_device(old_dev); in atkbd_set_extra()
1434 struct input_dev *old_dev, *new_dev; in atkbd_set_scroll() local
1447 old_dev = atkbd->dev; in atkbd_set_scroll()
1464 atkbd->dev = old_dev; in atkbd_set_scroll()
1470 input_unregister_device(old_dev); in atkbd_set_scroll()
1482 struct input_dev *old_dev, *new_dev; in atkbd_set_set() local
1499 old_dev = atkbd->dev; in atkbd_set_set()
[all …]
/drivers/usb/host/
Dmax3421-hcd.c496 struct usb_device *old_dev; in max3421_set_address() local
499 old_dev = max3421_hcd->loaded_dev; in max3421_set_address()
502 same_ep = (dev == old_dev && epnum == old_epnum); in max3421_set_address()
506 if (old_dev && !same_ep) { in max3421_set_address()
514 usb_settoggle(old_dev, old_epnum, 0, rcvtog); in max3421_set_address()
515 usb_settoggle(old_dev, old_epnum, 1, sndtog); in max3421_set_address()
/drivers/input/mouse/
Dhgpk.c823 struct input_dev *old_dev = psmouse->dev; in attr_set_mode() local
845 hgpk_setup_input_device(new_dev, old_dev, new_mode); in attr_set_mode()
854 input_unregister_device(old_dev); in attr_set_mode()
Dpsmouse-base.c1767 struct input_dev *old_dev, *new_dev; in psmouse_attr_set_protocol() local
1812 old_dev = psmouse->dev; in psmouse_attr_set_protocol()
1839 psmouse->dev = old_dev; in psmouse_attr_set_protocol()
1848 input_unregister_device(old_dev); in psmouse_attr_set_protocol()
/drivers/md/
Ddm-table.c356 struct dm_dev *old_dev, *new_dev; in upgrade_mode() local
358 old_dev = dd->dm_dev; in upgrade_mode()
366 dm_put_table_device(md, old_dev); in upgrade_mode()
/drivers/block/
Damiflop.c1591 int old_dev; in floppy_open() local
1595 old_dev = fd_device[drive]; in floppy_open()
1597 if (fd_ref[drive] && old_dev != system) { in floppy_open()
Dfloppy.c3646 int old_dev, new_dev; in floppy_open() local
3653 old_dev = UDRS->fd_device; in floppy_open()
3701 if (old_dev != -1 && old_dev != new_dev) { in floppy_open()