Searched refs:read_audio (Results 1 – 3 of 3) sorted by relevance
583 struct cdrom_read_audio read_audio;952 read_audio.addr.msf.minute=i1;953 read_audio.addr.msf.second=i2;954 read_audio.addr.msf.frame=i3;955 read_audio.addr_format=CDROM_MSF;958 read_audio.nframes=i1;959 k=read_audio.nframes*CD_FRAMESIZE_RAW;960 read_audio.buf=malloc(k);961 if (read_audio.buf==NULL)967 read_audio.addr.msf.minute,[all …]
590 static struct cdrom_read_audio read_audio; variable4315 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()[all …]
2533 static int read_audio(struct cdrom_read_audio *ra) in read_audio() function3050 return (read_audio(&ra)); in scd_dev_ioctl()