Searched refs:wrlen (Results 1 – 1 of 1) sorted by relevance
35 int wrlen; in ds4510_mem_write() local39 wrlen = DS4510_EEPROM_PAGE_SIZE - in ds4510_mem_write()41 if (count < wrlen) in ds4510_mem_write()42 wrlen = count; in ds4510_mem_write()43 if (i2c_write(chip, offset, 1, &buf[i], wrlen)) in ds4510_mem_write()51 count -= wrlen; in ds4510_mem_write()52 offset += wrlen; in ds4510_mem_write()53 i += wrlen; in ds4510_mem_write()
Completed in 7 milliseconds