Searched refs:fragment_size (Results 1 – 9 of 9) sorted by relevance
140 if (dmap->fragment_size <= 0) in sync_output()146 if ((l = dmap->user_counter % dmap->fragment_size) > 0) in sync_output()151 len = dmap->fragment_size - l; in sync_output()166 if (((dmap->raw_buf + p * dmap->fragment_size) + dmap->fragment_size) > in sync_output()170 memset(dmap->raw_buf + p * dmap->fragment_size, in sync_output()172 dmap->fragment_size); in sync_output()399 if (audio_devs[dev]->dmap_out->fragment_size == 0) in audio_ioctl()409 if (audio_devs[dev]->dmap_out->fragment_size == 0) in audio_ioctl()522 if (count < dmap->fragment_size && dmap->qhead != 0) in audio_ioctl()584 if (dmap->fragment_size == 0) in reorganize_buffers()[all …]
48 tmout = (dmap->fragment_size * HZ) / dmap->data_rate; in dmabuf_timeout()204 dmap->fragment_size = 0; in open_dmap()406 if (adev->d->prepare_for_output(dev, dmap->fragment_size, dmap->nbufs)) in DMAbuf_launch_output()413 dmap->counts[dmap->qhead] = dmap->fragment_size; in DMAbuf_launch_output()415 adev->d->output_block(dev, dmap->raw_buf_phys + dmap->qhead * dmap->fragment_size, in DMAbuf_launch_output()525 dmap->fragment_size, dmap->nbufs)) < 0) in DMAbuf_activate_recording()533 adev->d->start_input(dev, dmap->raw_buf_phys + dmap->qtail * dmap->fragment_size, in DMAbuf_activate_recording()534 dmap->fragment_size, 0); in DMAbuf_activate_recording()592 *buf = &dmap->raw_buf[dmap->qhead * dmap->fragment_size + dmap->counts[dmap->qhead]]; in DMAbuf_getrdbuffer()593 *len = dmap->fragment_size - dmap->counts[dmap->qhead]; in DMAbuf_getrdbuffer()[all …]
119 int fragment_size; member
115 if ((bytestocopy >= wiinst->buffer.fragment_size) in emu10k1_audio_read()214 if ((bytestocopy >= woinst->buffer.fragment_size) in emu10k1_audio_write()230 && (woinst->total_copied >= woinst->buffer.fragment_size)) in emu10k1_audio_write()710 info.fragsize = woinst->buffer.fragment_size * woinst->num_voices;740 info.fragments = info.bytes / wiinst->buffer.fragment_size;741 info.fragsize = wiinst->buffer.fragment_size;788 cinfo.blocks = cinfo.bytes / wiinst->buffer.fragment_size - wiinst->blocks;789 wiinst->blocks = cinfo.bytes / wiinst->buffer.fragment_size;797 wiinst->buffer.bytestocopy %= wiinst->buffer.fragment_size;828 num_fragments = cinfo.bytes / woinst->buffer.fragment_size;[all …]
53 u32 fragment_size; /* in bytes units */ member
40 u32 fragment_size; member
249 delay = (48000 * woinst->buffer.fragment_size) / in emu10k1_waveout_open()329 delay = (48000 * woinst->buffer.fragment_size) / in emu10k1_waveout_setformat()377 buffer->fill_silence = (pending_bytes < (signed) buffer->fragment_size * 2) ? 1 : 0; in emu10k1_waveout_getxfersize()560 sizetocopy = buffer->fragment_size; in emu10k1_waveout_fillsilence()
179 delay = (48000 * wiinst->buffer.fragment_size) / wiinst->format.bytespersec; in emu10k1_wavein_open()283 delay = (48000 * wiinst->buffer.fragment_size) / wiinst->format.bytespersec; in emu10k1_wavein_setformat()
237 woinst->total_played = pt->blocks_played * woinst->buffer.fragment_size + pos; in emu10k1_pt_waveout_update()