Searched refs:old_dev (Results 1 – 6 of 6) sorted by relevance
1482 struct input_dev *old_dev, *new_dev; in atkbd_set_extra() local1504 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() local1583 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() local1635 old_dev = atkbd->dev; in atkbd_set_set()[all …]
819 struct input_dev *old_dev = psmouse->dev; in attr_set_mode() local841 hgpk_setup_input_device(new_dev, old_dev, new_mode); in attr_set_mode()850 input_unregister_device(old_dev); in attr_set_mode()
1902 struct input_dev *old_dev, *new_dev; in psmouse_attr_set_protocol() local1947 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()
1662 int old_dev; in floppy_open() local1666 old_dev = fd_device[drive]; in floppy_open()1668 if (fd_ref[drive] && old_dev != system) { in floppy_open()
3991 int old_dev, new_dev; in floppy_open() local3998 old_dev = drive_state[drive].fd_device; in floppy_open()4046 if (old_dev != -1 && old_dev != new_dev) { in floppy_open()
320 struct dm_dev *old_dev, *new_dev; in upgrade_mode() local322 old_dev = dd->dm_dev; in upgrade_mode()330 dm_put_table_device(md, old_dev); in upgrade_mode()