Lines Matching refs:tocentry
587 static struct cdrom_tocentry tocentry; variable
4683 memcpy(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry)); in sbpcd_audio_ioctl()
4684 i=tocentry.cdte_track; in sbpcd_audio_ioctl()
4688 tocentry.cdte_adr=D_S[d].TocBuffer[i].ctl_adr&0x0F; in sbpcd_audio_ioctl()
4689 tocentry.cdte_ctrl=(D_S[d].TocBuffer[i].ctl_adr>>4)&0x0F; in sbpcd_audio_ioctl()
4690 tocentry.cdte_datamode=D_S[d].TocBuffer[i].format; in sbpcd_audio_ioctl()
4691 if (tocentry.cdte_format==CDROM_MSF) /* MSF-bin required */ in sbpcd_audio_ioctl()
4693 tocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF; in sbpcd_audio_ioctl()
4694 tocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF; in sbpcd_audio_ioctl()
4695 tocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF; in sbpcd_audio_ioctl()
4697 else if (tocentry.cdte_format==CDROM_LBA) /* blk required */ in sbpcd_audio_ioctl()
4698 tocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address); in sbpcd_audio_ioctl()
4700 memcpy((void *) arg, &tocentry, sizeof(struct cdrom_tocentry)); in sbpcd_audio_ioctl()