···1292 struct cdrom_info *info = drive->driver_data;12931294 info->dma = 0;1295- info->cmd = 0;1296 info->start_seek = jiffies;1297 return cdrom_start_packet_command(drive, 0, cdrom_start_seek_continuation);1298}···1342 if ((rq->sector & (sectors_per_frame - 1)) ||1343 (rq->nr_sectors & (sectors_per_frame - 1)))1344 info->dma = 0;1345-1346- info->cmd = READ;13471348 /* Start sending the read request to the drive. */1349 return cdrom_start_packet_command(drive, 32768, cdrom_start_read_continuation);···1481 struct cdrom_info *info = drive->driver_data;14821483 info->dma = 0;1484- info->cmd = 0;1485 rq->flags &= ~REQ_FAILED;1486 len = rq->data_len;1487···1887 /* use dma, if possible. we don't need to check more, since we1888 * know that the transfer is always (at least!) frame aligned */1889 info->dma = drive->using_dma ? 1 : 0;1890- info->cmd = WRITE;18911892 info->devinfo.media_written = 1;1893···1911 rq->flags |= REQ_QUIET;19121913 info->dma = 0;1914- info->cmd = 0;19151916 /*1917 * sg request···1919 int mask = drive->queue->dma_alignment;1920 unsigned long addr = (unsigned long) page_address(bio_page(rq->bio));19211922- info->cmd = rq_data_dir(rq);1923 info->dma = drive->using_dma;19241925 /*
···1292 struct cdrom_info *info = drive->driver_data;12931294 info->dma = 0;01295 info->start_seek = jiffies;1296 return cdrom_start_packet_command(drive, 0, cdrom_start_seek_continuation);1297}···1343 if ((rq->sector & (sectors_per_frame - 1)) ||1344 (rq->nr_sectors & (sectors_per_frame - 1)))1345 info->dma = 0;0013461347 /* Start sending the read request to the drive. */1348 return cdrom_start_packet_command(drive, 32768, cdrom_start_read_continuation);···1484 struct cdrom_info *info = drive->driver_data;14851486 info->dma = 0;01487 rq->flags &= ~REQ_FAILED;1488 len = rq->data_len;1489···1891 /* use dma, if possible. we don't need to check more, since we1892 * know that the transfer is always (at least!) frame aligned */1893 info->dma = drive->using_dma ? 1 : 0;018941895 info->devinfo.media_written = 1;1896···1916 rq->flags |= REQ_QUIET;19171918 info->dma = 0;019191920 /*1921 * sg request···1925 int mask = drive->queue->dma_alignment;1926 unsigned long addr = (unsigned long) page_address(bio_page(rq->bio));192701928 info->dma = drive->using_dma;19291930 /*
-1
drivers/ide/ide-cd.h
···480481 struct request request_sense_request;482 int dma;483- int cmd;484 unsigned long last_block;485 unsigned long start_seek;486 /* Buffer to hold mechanism status and changer slot table. */
···480481 struct request request_sense_request;482 int dma;0483 unsigned long last_block;484 unsigned long start_seek;485 /* Buffer to hold mechanism status and changer slot table. */