Lines Matching refs:result
133 int result;
139 result = ftip_command(dev, FTIP_RELEASE, 0, 0);
140 if (result < 0)
142 result = ftip_command(dev, FTIP_BLINK, 1, 0);
143 if (result < 0)
148 result = ftip_command(dev, FTIP_ACQUIRE, 0, 0);
149 if (result < 0)
151 result = ftip_command(dev, FTIP_ACQUIRE, 0, 0);
152 if (result < 0)
157 result = ftip_command(dev, FTIP_RESET, 0, 0);
158 if (result < 0)
160 result = ftip_command(dev, FTIP_RESET, 0, 0);
161 if (result < 0)
166 result = usb_bulk_msg (dev->udev,
170 if (result < 0) {
175 result = -EAGAIN;
180 result = -EINTR;
203 return result;
227 int result;
250 result = -EBUSY;
255 result = usb_autopm_get_interface(interface);
256 if (result)
258 result = idmouse_create_image (dev);
259 if (result)
275 return result;
316 int result;
327 result = simple_read_from_buffer(buffer, count, ppos,
331 return result;
341 int result;
384 result = usb_register_dev(interface, &idmouse_class);
385 if (result) {
390 return result;
432 int result;
438 result = usb_register(&idmouse_driver);
439 if (result)
440 err("Unable to register device (error %d).", result);
442 return result;