Searched refs:written_samples (Results 1 – 2 of 2) sorted by relevance
99 uint32_t written_bytes, written_samples; in lm4549_audio_transfer() local109 written_samples = written_bytes >> 1; in lm4549_audio_transfer()115 s->buffer_level -= written_samples; in lm4549_audio_transfer()120 s->buffer[i] = s->buffer[i + written_samples]; in lm4549_audio_transfer()
258 uint32_t written_samples; in pl041_fifo1_transmit() local279 written_samples = i * 2; in pl041_fifo1_transmit()280 if (written_samples > 0) { in pl041_fifo1_transmit()282 fifo->level -= written_samples; in pl041_fifo1_transmit()286 fifo->data[i] = fifo->data[written_samples + i]; in pl041_fifo1_transmit()