Lines Matching refs:read_audio
590 static struct cdrom_read_audio read_audio; variable
4315 copy_from_user(&read_audio, (void *) arg, sizeof(struct cdrom_read_audio)); in sbpcd_dev_ioctl()
4316 if (read_audio.nframes < 0 || read_audio.nframes>D_S[d].sbp_audsiz) RETURN_UP(-EINVAL); in sbpcd_dev_ioctl()
4317 i=verify_area(VERIFY_WRITE, read_audio.buf, in sbpcd_dev_ioctl()
4318 read_audio.nframes*CD_FRAMESIZE_RAW); in sbpcd_dev_ioctl()
4321 if (read_audio.addr_format==CDROM_MSF) /* MSF-bin specification of where to start */ in sbpcd_dev_ioctl()
4322 block=msf2lba(&read_audio.addr.msf.minute); in sbpcd_dev_ioctl()
4323 else if (read_audio.addr_format==CDROM_LBA) /* lba specification of where to start */ in sbpcd_dev_ioctl()
4324 block=read_audio.addr.lba; in sbpcd_dev_ioctl()
4369 drvcmd[5]=read_audio.nframes; /* # of frames */ in sbpcd_dev_ioctl()
4378 drvcmd[6]=read_audio.nframes; /* # of frames */ in sbpcd_dev_ioctl()
4385 drvcmd[5]=read_audio.nframes; /* # of frames */ in sbpcd_dev_ioctl()
4437 for (; (u_char *) p2 < D_S[d].aud_buf + read_audio.nframes*CD_FRAMESIZE_RAW;) in sbpcd_dev_ioctl()
4446 for (; p < D_S[d].aud_buf + read_audio.nframes*CD_FRAMESIZE_RAW;) in sbpcd_dev_ioctl()
4512 copy_to_user((u_char *) read_audio.buf, in sbpcd_dev_ioctl()
4514 read_audio.nframes*CD_FRAMESIZE_RAW); in sbpcd_dev_ioctl()