Home
last modified time | relevance | path

Searched refs:read_audio (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/Documentation/cdrom/
Dsbpcd583 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 …]
/linux-2.4.37.9/drivers/cdrom/
Dsbpcd.c590 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()
[all …]
Dcdu31a.c2533 static int read_audio(struct cdrom_read_audio *ra) in read_audio() function
3050 return (read_audio(&ra)); in scd_dev_ioctl()