Lines Matching refs:abinfo
1952 audio_buf_info abinfo;
2158 abinfo.fragsize = s->dma_dac.fragsize;
2160 abinfo.bytes = s->dma_dac.sbufsz;
2162 abinfo.bytes =
2164 abinfo.fragstotal = s->dma_dac.numfrag;
2165 abinfo.fragments = abinfo.bytes >> s->dma_dac.fragshift;
2168 abinfo.fragsize,abinfo.bytes,abinfo.fragstotal,
2169 abinfo.fragments));
2171 return copy_to_user((void *) arg, &abinfo,
2172 sizeof(abinfo)) ? -EFAULT : 0;
2182 abinfo.fragsize = s->dma_adc.fragsize / 2;
2183 abinfo.bytes = s->dma_adc.count / 2;
2184 abinfo.fragstotal = s->dma_adc.numfrag;
2185 abinfo.fragments =
2186 abinfo.bytes >> (s->dma_adc.fragshift - 1);
2188 abinfo.fragsize = s->dma_adc.fragsize;
2189 abinfo.bytes = s->dma_adc.count;
2190 abinfo.fragstotal = s->dma_adc.numfrag;
2191 abinfo.fragments =
2192 abinfo.bytes >> s->dma_adc.fragshift;
2195 return copy_to_user((void *) arg, &abinfo,
2196 sizeof(abinfo)) ? -EFAULT : 0;