Lines Matching refs:media
30 return drive->media == ide_cdrom || drive->media == ide_optical; in dev_is_idecd()
52 if (drive->media == ide_floppy && device_type == 5 && in ide_check_atapi_device()
61 else if ((drive->media == ide_floppy && device_type != 0) || in ide_check_atapi_device()
62 (drive->media == ide_tape && device_type != 1)) in ide_check_atapi_device()
68 else if (drive->media == ide_floppy && drq_type == 3) in ide_check_atapi_device()
108 if (drive->media == ide_tape) in ide_queue_pc_tail()
137 if (drive->media == ide_tape) in ide_do_start_stop()
163 if (drive->media == ide_floppy) { in ide_create_request_sense_cmd()
181 switch (drive->media) { in ide_prep_sense()
229 if (drive->media == ide_tape) in ide_prep_sense()
281 if (drive->media == ide_tape) in ide_retry_pc()
429 timeout = (drive->media == ide_floppy) ? WAIT_FLOPPY_CMD in ide_pc_intr()
442 if (rc || (drive->media == ide_tape && (stat & ATA_ERR))) { in ide_pc_intr()
443 if (drive->media == ide_floppy) in ide_pc_intr()
465 if (drive->media == ide_tape && in ide_pc_intr()
473 if (drive->media != ide_tape) in ide_pc_intr()
653 timeout = (drive->media == ide_floppy) ? WAIT_FLOPPY_CMD in ide_transfer_pc()
659 if (drive->media == ide_tape) in ide_transfer_pc()
720 bcount = ((drive->media == ide_tape) ? bytes in ide_issue_pc()
738 timeout = (drive->media == ide_floppy) ? WAIT_FLOPPY_CMD in ide_issue_pc()