Lines Matching refs:nframes
2101 int lba, int nframes) in cdrom_read_cdda_old() argument
2114 nr = nframes; in cdrom_read_cdda_old()
2127 while (nframes > 0) { in cdrom_read_cdda_old()
2128 if (nr > nframes) in cdrom_read_cdda_old()
2129 nr = nframes; in cdrom_read_cdda_old()
2139 nframes -= nr; in cdrom_read_cdda_old()
2147 int lba, int nframes) in cdrom_read_cdda_bpc() argument
2155 while (nframes) { in cdrom_read_cdda_bpc()
2159 nr = min(nframes, max_frames); in cdrom_read_cdda_bpc()
2166 nframes -= nr; in cdrom_read_cdda_bpc()
2175 int lba, int nframes) in cdrom_read_cdda() argument
2180 return cdrom_read_cdda_old(cdi, ubuf, lba, nframes); in cdrom_read_cdda()
2186 ret = cdrom_read_cdda_bpc(cdi, ubuf, lba, nframes); in cdrom_read_cdda()
2194 if (cdi->cdda_method == CDDA_BPC_FULL && nframes > 1) { in cdrom_read_cdda()
2210 return cdrom_read_cdda_old(cdi, ubuf, lba, nframes); in cdrom_read_cdda()
2998 compat_int_t nframes; in mmc_ioctl_cdrom_read_audio() member
3008 .nframes = ra32.nframes, in mmc_ioctl_cdrom_read_audio()
3029 if (lba < 0 || ra.nframes <= 0 || ra.nframes > CD_FRAMES) in mmc_ioctl_cdrom_read_audio()
3032 return cdrom_read_cdda(cdi, ra.buf, lba, ra.nframes); in mmc_ioctl_cdrom_read_audio()