Lines Matching +full:max +full:- +full:retries
16 #include <linux/i2c-dev.h>
33 int ret = 0, retries = 0; in getFuncs() local
37 } while ((ret < 0) && (++retries <= maxRetries)); in getFuncs()
158 int ret = 0, retries = 0; in processCallSMBus() local
166 } while ((ret < 0) && (++retries <= maxRetries)); in processCallSMBus()
182 // Buffer for block write. Linux supports SMBus 3.0 max size for block in processCallI2C()
187 // Buffer for block read. Linux supports smaller SMBus 2.0 max size for in processCallI2C()
199 int ret = 0, retries = 0; in processCallI2C() local
227 } while ((ret != numMessages) && (++retries <= maxRetries)); in processCallI2C()
255 int retries = 0; in open() local
259 } while ((fd == -1) && (++retries <= maxRetries)); in open()
261 if (fd == -1) in open()
266 retries = 0; in open()
271 } while ((ret < 0) && (++retries <= maxRetries)); in open()
286 int ret = 0, retries = 0; in close() local
290 } while ((ret == -1) && (++retries <= maxRetries)); in close()
292 if (ret == -1) in close()
306 int ret = 0, retries = 0; in read() local
310 } while ((ret < 0) && (++retries <= maxRetries)); in read()
325 int ret = 0, retries = 0; in read() local
329 } while ((ret < 0) && (++retries <= maxRetries)); in read()
344 int ret = 0, retries = 0; in read() local
348 } while ((ret < 0) && (++retries <= maxRetries)); in read()
362 int ret = -1, retries = 0; in read() local
370 } while ((ret < 0) && (++retries <= maxRetries)); in read()
377 } while ((ret < 0) && (++retries <= maxRetries)); in read()
399 int ret = 0, retries = 0; in write() local
403 } while ((ret < 0) && (++retries <= maxRetries)); in write()
416 int ret = 0, retries = 0; in write() local
420 } while ((ret < 0) && (++retries <= maxRetries)); in write()
433 int ret = 0, retries = 0; in write() local
437 } while ((ret < 0) && (++retries <= maxRetries)); in write()
450 int ret = -1, retries = 0; in write() local
458 } while ((ret < 0) && (++retries <= maxRetries)); in write()
465 } while ((ret < 0) && (++retries <= maxRetries)); in write()
482 int ret = 0, retries = 0; in processCall() local
486 } while ((ret < 0) && (++retries <= maxRetries)); in processCall()