Lines Matching refs:abinfo
208 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()
248 return copy_to_user((void __user *)arg, &abinfo, sizeof(abinfo)) ? -EFAULT : 0; in dsp_ioctl()