Lines Matching defs:to
23 * License along with this library; if not, write to the Free Software
71 unsigned int x, y, res, pressed, to = 100;
77 while (eeti_ts_irq_active(priv) && --to)
80 if (!to) {
82 "unable to clear IRQ - line stuck?\n");
95 /* fix the range to 11 bits */
131 /* Read the events once to arm the IRQ */
167 * In contrast to what's described in the datasheet, there seems
168 * to be no way of probing the presence of that device using I2C
169 * commands. So we need to blindly believe it is there, and wait
170 * for interrupts to occur.
175 dev_err(&client->dev, "failed to allocate driver data\n");
183 dev_err(&client->dev, "Failed to allocate input device.\n");
225 dev_err(&client->dev, "Unable to request touchscreen IRQ.\n");
240 input = NULL; /* so we dont try to free it below */
256 * eeti_ts_stop() leaves IRQ disabled. We need to re-enable it