Searched refs:fragment_size (Results 1 – 5 of 5) sorted by relevance
141 if (dmap->fragment_size <= 0) in sync_output()147 if ((l = dmap->user_counter % dmap->fragment_size) > 0) in sync_output()152 len = dmap->fragment_size - l; in sync_output()167 if (((dmap->raw_buf + p * dmap->fragment_size) + dmap->fragment_size) > in sync_output()171 memset(dmap->raw_buf + p * dmap->fragment_size, in sync_output()173 dmap->fragment_size); in sync_output()389 if (audio_devs[dev]->dmap_out->fragment_size == 0) in audio_ioctl()399 if (audio_devs[dev]->dmap_out->fragment_size == 0) in audio_ioctl()513 if (count < dmap->fragment_size && dmap->qhead != 0) in audio_ioctl()575 if (dmap->fragment_size == 0) in reorganize_buffers()[all …]
50 tmout = (dmap->fragment_size * HZ) / dmap->data_rate; in dmabuf_timeout()208 dmap->fragment_size = 0; in open_dmap()410 if (adev->d->prepare_for_output(dev, dmap->fragment_size, dmap->nbufs)) in DMAbuf_launch_output()417 dmap->counts[dmap->qhead] = dmap->fragment_size; in DMAbuf_launch_output()419 adev->d->output_block(dev, dmap->raw_buf_phys + dmap->qhead * dmap->fragment_size, in DMAbuf_launch_output()537 dmap->fragment_size, dmap->nbufs)) < 0) in DMAbuf_activate_recording()545 adev->d->start_input(dev, dmap->raw_buf_phys + dmap->qtail * dmap->fragment_size, in DMAbuf_activate_recording()546 dmap->fragment_size, 0); in DMAbuf_activate_recording()604 *buf = &dmap->raw_buf[dmap->qhead * dmap->fragment_size + dmap->counts[dmap->qhead]]; in DMAbuf_getrdbuffer()605 *len = dmap->fragment_size - dmap->counts[dmap->qhead]; in DMAbuf_getrdbuffer()[all …]
122 int fragment_size; member
415 if (avail >= stream->runtime->fragment_size) in snd_compr_poll()482 buffer_size = params->buffer.fragment_size * params->buffer.fragments; in snd_compr_allocate_buffer()493 stream->runtime->fragment_size = params->buffer.fragment_size; in snd_compr_allocate_buffer()503 if (params->buffer.fragment_size == 0 || in snd_compress_check_input()504 params->buffer.fragments > U32_MAX / params->buffer.fragment_size || in snd_compress_check_input()
160 str_params.aparams.frag_size = cstream->runtime->fragment_size; in sst_platform_compr_set_params()