Home
last modified time | relevance | path

Searched refs:tochdr (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dsr_ioctl.c40 struct cdrom_tochdr tochdr; in sr_fake_playtrkind() local
44 if ((ret = sr_audio_ioctl(cdi, CDROMREADTOCHDR, &tochdr))) in sr_fake_playtrkind()
47 ntracks = tochdr.cdth_trk1 - tochdr.cdth_trk0 + 1; in sr_fake_playtrkind()
342 struct cdrom_tochdr *tochdr = (struct cdrom_tochdr *) arg; in sr_audio_ioctl() local
352 tochdr->cdth_trk0 = buffer[2]; in sr_audio_ioctl()
353 tochdr->cdth_trk1 = buffer[3]; in sr_audio_ioctl()
/linux-2.4.37.9/drivers/block/paride/
Dpcd.c898 struct cdrom_tochdr* tochdr = (struct cdrom_tochdr*)arg; in pcd_audio_ioctl() local
904 tochdr->cdth_trk0 = buffer[2]; in pcd_audio_ioctl()
905 tochdr->cdth_trk1 = buffer[3]; in pcd_audio_ioctl()
/linux-2.4.37.9/drivers/cdrom/
Doptcd.c1519 struct cdrom_tochdr tochdr; in cdromreadtochdr() local
1521 status = verify_area(VERIFY_WRITE, (void *) arg, sizeof tochdr); in cdromreadtochdr()
1525 tochdr.cdth_trk0 = disk_info.first; in cdromreadtochdr()
1526 tochdr.cdth_trk1 = disk_info.last; in cdromreadtochdr()
1528 copy_to_user((void *) arg, &tochdr, sizeof tochdr); in cdromreadtochdr()
Dsbpcd.c586 static struct cdrom_tochdr tochdr; variable
4676 tochdr.cdth_trk0=D_S[d].n_first_track; in sbpcd_audio_ioctl()
4677 tochdr.cdth_trk1=D_S[d].n_last_track; in sbpcd_audio_ioctl()
4678 memcpy((void *) arg, &tochdr, sizeof(struct cdrom_tochdr)); in sbpcd_audio_ioctl()
/linux-2.4.37.9/drivers/ide/
Dide-cd.c2457 struct cdrom_tochdr *tochdr = (struct cdrom_tochdr *) arg; in ide_cdrom_audio_ioctl() local
2465 tochdr->cdth_trk0 = toc->hdr.first_track; in ide_cdrom_audio_ioctl()
2466 tochdr->cdth_trk1 = toc->hdr.last_track; in ide_cdrom_audio_ioctl()