Home
last modified time | relevance | path

Searched refs:abinfo (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/sound/oss/
Dswarm_cs4297a.c1962 audio_buf_info abinfo; in cs4297a_ioctl() local
2168 abinfo.fragsize = s->dma_dac.fragsize; in cs4297a_ioctl()
2170 abinfo.bytes = s->dma_dac.sbufsz; in cs4297a_ioctl()
2172 abinfo.bytes = in cs4297a_ioctl()
2174 abinfo.fragstotal = s->dma_dac.numfrag; in cs4297a_ioctl()
2175 abinfo.fragments = abinfo.bytes >> s->dma_dac.fragshift; in cs4297a_ioctl()
2178 abinfo.fragsize,abinfo.bytes,abinfo.fragstotal, in cs4297a_ioctl()
2179 abinfo.fragments)); in cs4297a_ioctl()
2181 return copy_to_user((void *) arg, &abinfo, in cs4297a_ioctl()
2182 sizeof(abinfo)) ? -EFAULT : 0; in cs4297a_ioctl()
[all …]
Dmsnd_pinnacle.c208 audio_buf_info abinfo; in dsp_ioctl() local
232 abinfo.fragsize = dsp_get_frag_size(); in dsp_ioctl()
233 abinfo.bytes = dev.DAPF.n - dev.DAPF.len; in dsp_ioctl()
234 abinfo.fragstotal = dev.DAPF.n / abinfo.fragsize; in dsp_ioctl()
235 abinfo.fragments = abinfo.bytes / abinfo.fragsize; in dsp_ioctl()
237 return copy_to_user((void __user *)arg, &abinfo, sizeof(abinfo)) ? -EFAULT : 0; in dsp_ioctl()
243 abinfo.fragsize = dsp_get_frag_size(); in dsp_ioctl()
244 abinfo.bytes = dev.DARF.n - dev.DARF.len; in dsp_ioctl()
245 abinfo.fragstotal = dev.DARF.n / abinfo.fragsize; in dsp_ioctl()
246 abinfo.fragments = abinfo.bytes / abinfo.fragsize; in dsp_ioctl()
[all …]
Dau1550_ac97.c1347 audio_buf_info abinfo; in au1550_ioctl() local
1598 abinfo.fragsize = s->dma_dac.fragsize; in au1550_ioctl()
1605 abinfo.bytes = (s->dma_dac.dmasize - count) / in au1550_ioctl()
1607 abinfo.fragstotal = s->dma_dac.numfrag; in au1550_ioctl()
1608 abinfo.fragments = abinfo.bytes >> s->dma_dac.fragshift; in au1550_ioctl()
1609 pr_debug("ioctl SNDCTL_DSP_GETOSPACE: bytes=%d, fragments=%d\n", abinfo.bytes, abinfo.fragments); in au1550_ioctl()
1610 return copy_to_user((void *) arg, &abinfo, in au1550_ioctl()
1611 sizeof(abinfo)) ? -EFAULT : 0; in au1550_ioctl()
1616 abinfo.fragsize = s->dma_adc.fragsize; in au1550_ioctl()
1623 abinfo.bytes = count / s->dma_adc.cnt_factor; in au1550_ioctl()
[all …]