tag | line | file | source code |
tocentry | 1406 | drivers/block/ide-cd.c | struct cdrom_tocentry tocentry; |
tocentry | 1409 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (tocentry)); |
tocentry | 1411 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tocentry)); |
tocentry | 1414 | drivers/block/ide-cd.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (tocentry)); |
tocentry | 1416 | drivers/block/ide-cd.c | stat = cdrom_get_toc_entry (dev, tocentry.cdte_track, &toce); |
tocentry | 1419 | drivers/block/ide-cd.c | tocentry.cdte_ctrl = toce->control; |
tocentry | 1420 | drivers/block/ide-cd.c | tocentry.cdte_adr = toce->adr; |
tocentry | 1422 | drivers/block/ide-cd.c | if (tocentry.cdte_format == CDROM_MSF) |
tocentry | 1426 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.minute, |
tocentry | 1427 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.second, |
tocentry | 1428 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.frame); |
tocentry | 1431 | drivers/block/ide-cd.c | tocentry.cdte_addr.lba = toce->lba; |
tocentry | 1433 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (tocentry)); |
tocentry | 490 | drivers/block/sbpcd.c | static struct cdrom_tocentry tocentry; |
tocentry | 3225 | drivers/block/sbpcd.c | memcpy_fromfs(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry)); |
tocentry | 3226 | drivers/block/sbpcd.c | i=tocentry.cdte_track; |
tocentry | 3229 | drivers/block/sbpcd.c | tocentry.cdte_adr=DriveStruct[d].TocBuffer[i].ctl_adr&0x0F; |
tocentry | 3230 | drivers/block/sbpcd.c | tocentry.cdte_ctrl=(DriveStruct[d].TocBuffer[i].ctl_adr>>4)&0x0F; |
tocentry | 3231 | drivers/block/sbpcd.c | tocentry.cdte_datamode=DriveStruct[d].TocBuffer[i].format; |
tocentry | 3232 | drivers/block/sbpcd.c | if (tocentry.cdte_format==CDROM_MSF) /* MSF-bin required */ |
tocentry | 3233 | drivers/block/sbpcd.c | { tocentry.cdte_addr.msf.minute=(DriveStruct[d].TocBuffer[i].address>>16)&0x00FF; |
tocentry | 3234 | drivers/block/sbpcd.c | tocentry.cdte_addr.msf.second=(DriveStruct[d].TocBuffer[i].address>>8)&0x00FF; |
tocentry | 3235 | drivers/block/sbpcd.c | tocentry.cdte_addr.msf.frame=DriveStruct[d].TocBuffer[i].address&0x00FF; |
tocentry | 3237 | drivers/block/sbpcd.c | else if (tocentry.cdte_format==CDROM_LBA) /* blk required */ |
tocentry | 3238 | drivers/block/sbpcd.c | tocentry.cdte_addr.lba=msf2blk(DriveStruct[d].TocBuffer[i].address); |
tocentry | 3242 | drivers/block/sbpcd.c | memcpy_tofs((void *) arg, &tocentry, sizeof(struct cdrom_tocentry)); |
tocentry | 207 | drivers/scsi/sr_ioctl.c | struct cdrom_tocentry tocentry; |
tocentry | 211 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry)); |
tocentry | 216 | drivers/scsi/sr_ioctl.c | sr_cmd[6] = tocentry.cdte_track; |
tocentry | 226 | drivers/scsi/sr_ioctl.c | if (tocentry.cdte_format == CDROM_MSF) { |
tocentry | 227 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
tocentry | 228 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
tocentry | 229 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
tocentry | 230 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
tocentry | 233 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
tocentry | 240 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry)); |