Searched refs:bytes_can_write (Results 1 – 1 of 1) sorted by relevance
2035 size_t bytes_can_write; in i2s_write() local2054 bytes_can_write = p_i2s[i2s_num]->tx->buf_size - p_i2s[i2s_num]->tx->rw_pos; in i2s_write()2055 if (bytes_can_write > size) { in i2s_write()2056 bytes_can_write = size; in i2s_write()2058 memcpy(data_ptr, src_byte, bytes_can_write); in i2s_write()2059 size -= bytes_can_write; in i2s_write()2060 src_byte += bytes_can_write; in i2s_write()2061 p_i2s[i2s_num]->tx->rw_pos += bytes_can_write; in i2s_write()2062 (*bytes_written) += bytes_can_write; in i2s_write()2094 int bytes_can_write, tail; in i2s_write_expand() local[all …]