Searched refs:CD_FRAMES (Results 1 – 5 of 5) sorted by relevance
312 *m = lba / (CD_SECS * CD_FRAMES); in lba_to_msf()313 lba %= (CD_SECS * CD_FRAMES); in lba_to_msf()314 *s = lba / CD_FRAMES; in lba_to_msf()315 *f = lba % CD_FRAMES; in lba_to_msf()320 return (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_MSF_OFFSET; in msf_to_lba()
243 sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame; in sr_cd_check()271 sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame; in sr_cd_check()
354 #define CD_FRAMES 75 /* frames per second */ macro
477 lba = (((m * CD_SECS) + s) * CD_FRAMES + f) - CD_MSF_OFFSET;
3043 if (lba < 0 || ra.nframes <= 0 || ra.nframes > CD_FRAMES) in mmc_ioctl_cdrom_read_audio()