Searched refs:slave_buffer_size (Results 1 – 5 of 5) sorted by relevance
329 if (slave_size > dmix->slave_buffer_size) { in snd_pcm_dmix_sync_area()330 transfer = dmix->slave_buffer_size - slave_size; in snd_pcm_dmix_sync_area()348 slave_hw_ptr += dmix->slave_buffer_size; in snd_pcm_dmix_sync_area()363 slave_appl_ptr = dmix->slave_appl_ptr % dmix->slave_buffer_size; in snd_pcm_dmix_sync_area()371 if (slave_appl_ptr + transfer > dmix->slave_buffer_size) in snd_pcm_dmix_sync_area()372 transfer = dmix->slave_buffer_size - slave_appl_ptr; in snd_pcm_dmix_sync_area()378 slave_appl_ptr %= dmix->slave_buffer_size; in snd_pcm_dmix_sync_area()748 slave_appl_ptr = dmix->slave_appl_ptr % dmix->slave_buffer_size; in snd_pcm_dmix_rewind()754 if (slave_appl_ptr + transfer > dmix->slave_buffer_size) in snd_pcm_dmix_rewind()755 transfer = dmix->slave_buffer_size - slave_appl_ptr; in snd_pcm_dmix_rewind()[all …]
123 slave_hw_ptr += dshare->slave_buffer_size; in snd_pcm_dshare_sync_area()138 slave_appl_ptr = dshare->slave_appl_ptr % dshare->slave_buffer_size; in snd_pcm_dshare_sync_area()145 if (slave_appl_ptr + transfer > dshare->slave_buffer_size) in snd_pcm_dshare_sync_area()146 transfer = dshare->slave_buffer_size - slave_appl_ptr; in snd_pcm_dshare_sync_area()152 slave_appl_ptr %= dshare->slave_buffer_size; in snd_pcm_dshare_sync_area()
113 slave_hw_ptr %= dsnoop->slave_buffer_size; in snd_pcm_dsnoop_sync_area()116 transfer = slave_hw_ptr + transfer > dsnoop->slave_buffer_size ? in snd_pcm_dsnoop_sync_area()117 dsnoop->slave_buffer_size - slave_hw_ptr : transfer; in snd_pcm_dsnoop_sync_area()121 slave_hw_ptr %= dsnoop->slave_buffer_size; in snd_pcm_dsnoop_sync_area()
929 max_periods = dshare->slave_buffer_size / dshare->slave_period_size;933 2 * dshare->slave_period_size, dshare->slave_buffer_size);1395 dmix->slave_buffer_size = spcm->buffer_size;1561 dmix->slave_buffer_size = spcm->buffer_size;1589 dmix->slave_buffer_size = spcm->buffer_size;
149 snd_pcm_uframes_t slave_buffer_size; member