Searched refs:tochdr (Results 1 – 5 of 5) sorted by relevance
40 struct cdrom_tochdr tochdr; in sr_fake_playtrkind() local44 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() local352 tochdr->cdth_trk0 = buffer[2]; in sr_audio_ioctl()353 tochdr->cdth_trk1 = buffer[3]; in sr_audio_ioctl()
898 struct cdrom_tochdr* tochdr = (struct cdrom_tochdr*)arg; in pcd_audio_ioctl() local904 tochdr->cdth_trk0 = buffer[2]; in pcd_audio_ioctl()905 tochdr->cdth_trk1 = buffer[3]; in pcd_audio_ioctl()
1519 struct cdrom_tochdr tochdr; in cdromreadtochdr() local1521 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()
586 static struct cdrom_tochdr tochdr; variable4676 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()
2457 struct cdrom_tochdr *tochdr = (struct cdrom_tochdr *) arg; in ide_cdrom_audio_ioctl() local2465 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()