Home
last modified time | relevance | path

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

/drivers/input/keyboard/
Datkbd.c1482 struct input_dev *old_dev, *new_dev; in atkbd_set_extra() local
1504 old_dev = atkbd->dev; in atkbd_set_extra()
1523 atkbd->dev = old_dev; in atkbd_set_extra()
1530 input_unregister_device(old_dev); in atkbd_set_extra()
1570 struct input_dev *old_dev, *new_dev; in atkbd_set_scroll() local
1583 old_dev = atkbd->dev; in atkbd_set_scroll()
1600 atkbd->dev = old_dev; in atkbd_set_scroll()
1606 input_unregister_device(old_dev); in atkbd_set_scroll()
1618 struct input_dev *old_dev, *new_dev; in atkbd_set_set() local
1635 old_dev = atkbd->dev; in atkbd_set_set()
[all …]
/drivers/input/mouse/
Dhgpk.c819 struct input_dev *old_dev = psmouse->dev; in attr_set_mode() local
841 hgpk_setup_input_device(new_dev, old_dev, new_mode); in attr_set_mode()
850 input_unregister_device(old_dev); in attr_set_mode()
Dpsmouse-base.c1902 struct input_dev *old_dev, *new_dev; in psmouse_attr_set_protocol() local
1947 old_dev = psmouse->dev; in psmouse_attr_set_protocol()
1978 psmouse->dev = old_dev; in psmouse_attr_set_protocol()
1988 if (old_dev) in psmouse_attr_set_protocol()
1989 input_unregister_device(old_dev); in psmouse_attr_set_protocol()
/drivers/block/
Damiflop.c1662 int old_dev; in floppy_open() local
1666 old_dev = fd_device[drive]; in floppy_open()
1668 if (fd_ref[drive] && old_dev != system) { in floppy_open()
Dfloppy.c3991 int old_dev, new_dev; in floppy_open() local
3998 old_dev = drive_state[drive].fd_device; in floppy_open()
4046 if (old_dev != -1 && old_dev != new_dev) { in floppy_open()
/drivers/md/
Ddm-table.c320 struct dm_dev *old_dev, *new_dev; in upgrade_mode() local
322 old_dev = dd->dm_dev; in upgrade_mode()
330 dm_put_table_device(md, old_dev); in upgrade_mode()