Searched refs:toWrite (Results 1 – 2 of 2) sorted by relevance
940 unsigned short toWrite; in inv_load_dmp() local949 toWrite = length; in inv_load_dmp()950 if (toWrite > MAX_LOAD_WRITE_SIZE) in inv_load_dmp()951 toWrite = MAX_LOAD_WRITE_SIZE; in inv_load_dmp()954 inv_set_mpu_memory_one_bank(memAddr >> 8, memAddr & 0xff, toWrite, in inv_load_dmp()961 buffer += toWrite; in inv_load_dmp()962 memAddr += toWrite; in inv_load_dmp()963 length -= toWrite; in inv_load_dmp()
1958 const uint8_t *toWrite; in blockingWrite() local1960 toWrite = (const uint8_t *)buffer; in blockingWrite()1965 written = write (fd, toWrite + writeOffset, in blockingWrite()