tag | line | file | source code |
tocentry | 2138 | drivers/block/ide-cd.c | struct cdrom_tocentry tocentry; |
tocentry | 2141 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (tocentry)); |
tocentry | 2143 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tocentry)); |
tocentry | 2146 | drivers/block/ide-cd.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (tocentry)); |
tocentry | 2148 | drivers/block/ide-cd.c | stat = cdrom_get_toc_entry (drive, tocentry.cdte_track, &toce, NULL); |
tocentry | 2151 | drivers/block/ide-cd.c | tocentry.cdte_ctrl = toce->control; |
tocentry | 2152 | drivers/block/ide-cd.c | tocentry.cdte_adr = toce->adr; |
tocentry | 2154 | drivers/block/ide-cd.c | if (tocentry.cdte_format == CDROM_MSF) |
tocentry | 2158 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.minute, |
tocentry | 2159 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.second, |
tocentry | 2160 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.frame); |
tocentry | 2163 | drivers/block/ide-cd.c | tocentry.cdte_addr.lba = toce->addr.lba; |
tocentry | 2165 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (tocentry)); |
tocentry | 493 | drivers/cdrom/sbpcd.c | static struct cdrom_tocentry tocentry; |
tocentry | 3873 | drivers/cdrom/sbpcd.c | memcpy_fromfs(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry)); |
tocentry | 3874 | drivers/cdrom/sbpcd.c | i=tocentry.cdte_track; |
tocentry | 3877 | drivers/cdrom/sbpcd.c | tocentry.cdte_adr=D_S[d].TocBuffer[i].ctl_adr&0x0F; |
tocentry | 3878 | drivers/cdrom/sbpcd.c | tocentry.cdte_ctrl=(D_S[d].TocBuffer[i].ctl_adr>>4)&0x0F; |
tocentry | 3879 | drivers/cdrom/sbpcd.c | tocentry.cdte_datamode=D_S[d].TocBuffer[i].format; |
tocentry | 3880 | drivers/cdrom/sbpcd.c | if (tocentry.cdte_format==CDROM_MSF) /* MSF-bin required */ |
tocentry | 3882 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF; |
tocentry | 3883 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF; |
tocentry | 3884 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF; |
tocentry | 3886 | drivers/cdrom/sbpcd.c | else if (tocentry.cdte_format==CDROM_LBA) /* blk required */ |
tocentry | 3887 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address); |
tocentry | 3891 | drivers/cdrom/sbpcd.c | memcpy_tofs((void *) arg, &tocentry, sizeof(struct cdrom_tocentry)); |
tocentry | 233 | drivers/scsi/sr_ioctl.c | struct cdrom_tocentry tocentry; |
tocentry | 239 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry)); |
tocentry | 244 | drivers/scsi/sr_ioctl.c | sr_cmd[6] = tocentry.cdte_track; |
tocentry | 254 | drivers/scsi/sr_ioctl.c | if (tocentry.cdte_format == CDROM_MSF) { |
tocentry | 255 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
tocentry | 256 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
tocentry | 257 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
tocentry | 258 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
tocentry | 261 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
tocentry | 268 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry)); |