Lines Matching defs:timeout
34 static inline int wait_timeout(long timeout, struct i2c_pnx_algo_data *data)
36 while (timeout > 0 &&
39 timeout--;
41 return (timeout <= 0);
44 static inline int wait_reset(long timeout, struct i2c_pnx_algo_data *data)
46 while (timeout > 0 &&
49 timeout--;
51 return (timeout <= 0);
138 /* Only 1 msec max timeout due to interrupt context */
139 long timeout = 1000;
148 while (timeout > 0 &&
152 timeout--;
190 "The bus is still active after timeout\n");
288 "The bus is still active after timeout\n");
332 /* Stop timer, to prevent timeout. */
351 /* Stop timer, to prevent timeout. */