Lines Matching refs:retries
53 unsigned char addr, int retries) in try_write_address() argument
61 for (i = 0; i <= retries; i++) { in try_write_address()
66 if (i == retries) /* no success */ in try_write_address()
78 unsigned char addr, int retries) in try_read_address() argument
85 for (i = 0; i <= retries; i++) { in try_read_address()
90 if (i == retries) /* no success */ in try_read_address()
102 struct i2c_msg *msg, int retries, in usb_find_address() argument
116 ret = try_read_address(i2c_adap, addr, retries); in usb_find_address()
118 ret = try_write_address(i2c_adap, addr, retries); in usb_find_address()
138 ret = usb_find_address(i2c_adap, pmsg, i2c_adap->retries, &addr); in usbvision_i2c_xfer()
211 usbvision->i2c_adap.retries = 3; /* be replaced by defines */ in usbvision_i2c_register()
276 int rc, retries; in usbvision_i2c_read_max4() local
278 for (retries = 5;;) { in usbvision_i2c_read_max4()
308 if (--retries < 0) in usbvision_i2c_read_max4()
344 int rc, retries; in usbvision_i2c_write_max4() local
356 for (retries = 5;;) { in usbvision_i2c_write_max4()
386 if (--retries < 0) in usbvision_i2c_write_max4()