Searched refs:s_write_length (Results 1 – 1 of 1) sorted by relevance
52 static uint16_t s_write_length; variable166 otEXPECT_ACTION(s_write_length == 0, error = OT_ERROR_BUSY); in otPlatUartSend()169 s_write_length = aBufLength; in otPlatUartSend()180 if ((s_write_length > 0)) in platformUartUpdateFdSet()192 otEXPECT_ACTION(s_write_buffer != NULL && s_write_length > 0, error = OT_ERROR_INVALID_STATE); in otPlatUartFlush()194 …while ((count = write(s_out_fd, s_write_buffer, s_write_length)) > 0 && (s_write_length -= count) … in otPlatUartFlush()201 assert(s_write_length == 0); in otPlatUartFlush()260 if ((s_write_length > 0) && (pollfd[1].revents & POLLOUT)) in platformUartProcess()262 rval = write(s_out_fd, s_write_buffer, s_write_length); in platformUartProcess()267 s_write_length -= (uint16_t)rval; in platformUartProcess()[all …]