Lines Matching refs:device

48 	struct libinput_device *device;
55 list_for_each(device, &udev_seat->base.devices_list, link) {
59 ud = libinput_device_get_udev_device(device);
80 struct evdev_device *device;
106 /* There is a race at startup: a device added between setting
121 device = evdev_device_create(&seat->base, udev_device);
124 if (device == EVDEV_UNHANDLED_DEVICE) {
126 "%-7s - not using input device '%s'\n",
132 if (device == NULL) {
134 "%-7s - failed to create input device '%s'\n",
140 evdev_read_calibration_prop(device);
143 device->output_name = safe_strdup(output_name);
151 struct evdev_device *device;
157 list_for_each_safe(device,
160 udev_device_get_syspath(device->udev_device))) {
161 evdev_device_remove(device);
173 struct udev_device *device;
181 device = udev_device_new_from_syspath(udev, path);
182 if (!device)
185 sysname = udev_device_get_sysname(device);
187 udev_device_unref(device);
191 /* Skip unconfigured device. udev will send an event
192 * when device is fully configured */
193 if (!udev_device_get_is_initialized(device)) {
195 "%-7s - skip unconfigured input device '%s'\n",
197 udev_device_get_devnode(device));
198 udev_device_unref(device);
202 if (device_added(device, input, NULL) < 0) {
203 udev_device_unref(device);
208 udev_device_unref(device);
245 struct evdev_device *device;
250 list_for_each_safe(device,
252 evdev_device_remove(device);
372 udev_device_change_seat(struct libinput_device *device,
375 struct libinput *libinput = device->seat->libinput;
377 struct evdev_device *evdev = evdev_device(device);