Searched refs:transmitted_length (Results 1 – 2 of 2) sorted by relevance
155 uint16_t transmitted_length = 0; in transmit_data() local158 OSI_NO_INTR(ret = write(uart_fd, data + transmitted_length, length)); in transmit_data()168 transmitted_length += ret; in transmit_data()179 if (transmitted_length > 0) in transmit_data()180 --transmitted_length; in transmit_data()182 return transmitted_length; in transmit_data()
161 uint16_t transmitted_length = 0; in transmit_data_on() local164 OSI_NO_INTR(ret = write(fd, data + transmitted_length, length)); in transmit_data_on()168 return transmitted_length; in transmit_data_on()172 return transmitted_length; in transmit_data_on()174 transmitted_length += ret; in transmit_data_on()180 return transmitted_length; in transmit_data_on()