tag | line | file | source code |
tocentry | 2081 | drivers/block/ide-cd.c | struct cdrom_tocentry tocentry; |
tocentry | 2085 | drivers/block/ide-cd.c | sizeof (tocentry)); |
tocentry | 2088 | drivers/block/ide-cd.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (tocentry)); |
tocentry | 2090 | drivers/block/ide-cd.c | stat = cdrom_get_toc_entry (drive, tocentry.cdte_track, &toce, |
tocentry | 2094 | drivers/block/ide-cd.c | tocentry.cdte_ctrl = toce->control; |
tocentry | 2095 | drivers/block/ide-cd.c | tocentry.cdte_adr = toce->adr; |
tocentry | 2097 | drivers/block/ide-cd.c | if (tocentry.cdte_format == CDROM_MSF) { |
tocentry | 2100 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.minute, |
tocentry | 2101 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.second, |
tocentry | 2102 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.frame); |
tocentry | 2104 | drivers/block/ide-cd.c | tocentry.cdte_addr.lba = toce->addr.lba; |
tocentry | 2106 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (tocentry)); |
tocentry | 518 | drivers/cdrom/sbpcd.c | static struct cdrom_tocentry tocentry; |
tocentry | 3980 | drivers/cdrom/sbpcd.c | memcpy_fromfs(&tocentry, (void *) arg, sizeof(struct cdrom_tocentry)); |
tocentry | 3981 | drivers/cdrom/sbpcd.c | i=tocentry.cdte_track; |
tocentry | 3984 | drivers/cdrom/sbpcd.c | tocentry.cdte_adr=D_S[d].TocBuffer[i].ctl_adr&0x0F; |
tocentry | 3985 | drivers/cdrom/sbpcd.c | tocentry.cdte_ctrl=(D_S[d].TocBuffer[i].ctl_adr>>4)&0x0F; |
tocentry | 3986 | drivers/cdrom/sbpcd.c | tocentry.cdte_datamode=D_S[d].TocBuffer[i].format; |
tocentry | 3987 | drivers/cdrom/sbpcd.c | if (tocentry.cdte_format==CDROM_MSF) /* MSF-bin required */ |
tocentry | 3989 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF; |
tocentry | 3990 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF; |
tocentry | 3991 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF; |
tocentry | 3993 | drivers/cdrom/sbpcd.c | else if (tocentry.cdte_format==CDROM_LBA) /* blk required */ |
tocentry | 3994 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address); |
tocentry | 3998 | drivers/cdrom/sbpcd.c | memcpy_tofs((void *) arg, &tocentry, sizeof(struct cdrom_tocentry)); |
tocentry | 237 | drivers/scsi/sr_ioctl.c | struct cdrom_tocentry tocentry; |
tocentry | 243 | drivers/scsi/sr_ioctl.c | memcpy_fromfs (&tocentry, (void *) arg, sizeof (struct cdrom_tocentry)); |
tocentry | 247 | drivers/scsi/sr_ioctl.c | (tocentry.cdte_format == CDROM_MSF ? 0x02 : 0); |
tocentry | 249 | drivers/scsi/sr_ioctl.c | sr_cmd[6] = tocentry.cdte_track; |
tocentry | 259 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
tocentry | 260 | drivers/scsi/sr_ioctl.c | tocentry.cdte_adr = buffer[5] >> 4; |
tocentry | 261 | drivers/scsi/sr_ioctl.c | tocentry.cdte_datamode = (tocentry.cdte_ctrl & 0x04) ? 1 : 0; |
tocentry | 262 | drivers/scsi/sr_ioctl.c | if (tocentry.cdte_format == CDROM_MSF) { |
tocentry | 263 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
tocentry | 264 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
tocentry | 265 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
tocentry | 268 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (((((buffer[8] << 8) + buffer[9]) << 8) |
tocentry | 276 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &tocentry, sizeof (struct cdrom_tocentry)); |