Lines Matching refs:dev
75 remove_device(const char *backend, DeviceIntPtr dev)
78 LogMessage(X_INFO, "config/%s: removing device %s\n", backend, dev->name);
84 DeleteInputDeviceRequest(dev);
91 DeviceIntPtr dev, next;
93 for (dev = inputInfo.devices; dev; dev = next) {
94 next = dev->next;
95 if (dev->config_info && strcmp(dev->config_info, config_info) == 0)
96 remove_device(backend, dev);
98 for (dev = inputInfo.off_devices; dev; dev = next) {
99 next = dev->next;
100 if (dev->config_info && strcmp(dev->config_info, config_info) == 0)
101 remove_device(backend, dev);
108 DeviceIntPtr dev;
110 for (dev = inputInfo.devices; dev; dev = dev->next)
112 if (dev->config_info && (strcmp(dev->config_info, config_info) == 0))
116 for (dev = inputInfo.off_devices; dev; dev = dev->next)
118 if (dev->config_info && (strcmp(dev->config_info, config_info) == 0))