Searched refs:bytes_can_write (Results 1 – 1 of 1) sorted by relevance
1630 size_t bytes_can_write; in i2s_write() local1649 bytes_can_write = p_i2s[i2s_num]->tx->buf_size - p_i2s[i2s_num]->tx->rw_pos; in i2s_write()1650 if (bytes_can_write > size) { in i2s_write()1651 bytes_can_write = size; in i2s_write()1653 memcpy(data_ptr, src_byte, bytes_can_write); in i2s_write()1654 size -= bytes_can_write; in i2s_write()1655 src_byte += bytes_can_write; in i2s_write()1656 p_i2s[i2s_num]->tx->rw_pos += bytes_can_write; in i2s_write()1657 (*bytes_written) += bytes_can_write; in i2s_write()1669 int bytes_can_write; in i2s_write_expand() local[all …]