Home
last modified time | relevance | path

Searched refs:atapi_flags (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/ide/
Dide-cd_ioctl.c34 drive->atapi_flags &= ~IDE_AFLAG_TOC_VALID; in ide_cdrom_release_real()
115 if ((drive->atapi_flags & IDE_AFLAG_NO_EJECT) && !ejectflag) in cdrom_eject()
119 if ((drive->atapi_flags & IDE_AFLAG_DOOR_LOCKED) && ejectflag) in cdrom_eject()
173 drive->atapi_flags |= IDE_AFLAG_DOOR_LOCKED; in ide_cd_lockdoor()
175 drive->atapi_flags &= ~IDE_AFLAG_DOOR_LOCKED; in ide_cd_lockdoor()
250 if ((drive->atapi_flags & IDE_AFLAG_TOC_VALID) == 0 || !info->toc) { in ide_cdrom_get_last_session()
308 if (drive->atapi_flags & IDE_AFLAG_DOOR_LOCKED) in ide_cdrom_reset()
324 if ((drive->atapi_flags & IDE_AFLAG_TOC_VALID) == 0) in ide_cd_get_toc_entry()
Dide-cd.c94 drive->atapi_flags &= ~IDE_AFLAG_TOC_VALID; in cdrom_saw_media_change()
1001 if (drive->atapi_flags & IDE_AFLAG_TOC_VALID) in ide_cd_read_toc()
1022 if (drive->atapi_flags & IDE_AFLAG_TOCTRACKS_AS_BCD) { in ide_cd_read_toc()
1062 if (drive->atapi_flags & IDE_AFLAG_TOCTRACKS_AS_BCD) { in ide_cd_read_toc()
1076 if (drive->atapi_flags & IDE_AFLAG_TOCTRACKS_AS_BCD) { in ide_cd_read_toc()
1082 if (drive->atapi_flags & IDE_AFLAG_TOCADDR_AS_BCD) { in ide_cd_read_toc()
1083 if (drive->atapi_flags & IDE_AFLAG_TOCTRACKS_AS_BCD) in ide_cd_read_toc()
1106 if (drive->atapi_flags & IDE_AFLAG_TOCADDR_AS_BCD) { in ide_cd_read_toc()
1130 drive->atapi_flags |= IDE_AFLAG_TOC_VALID; in ide_cd_read_toc()
1144 if ((drive->atapi_flags & IDE_AFLAG_FULL_CAPS_PAGE) == 0) in ide_cdrom_get_capabilities()
[all …]
Dide-tape.c598 drive->atapi_flags |= IDE_AFLAG_IGNORE_DSC; in idetape_do_request()
601 drive->atapi_flags |= IDE_AFLAG_IGNORE_DSC; in idetape_do_request()
605 if (!(drive->atapi_flags & IDE_AFLAG_IGNORE_DSC) && in idetape_do_request()
627 drive->atapi_flags &= ~IDE_AFLAG_IGNORE_DSC; in idetape_do_request()
690 set_bit(ilog2(IDE_AFLAG_MEDIUM_PRESENT), &drive->atapi_flags); in idetape_wait_ready()
751 &drive->atapi_flags); in ide_tape_read_position()
760 &drive->atapi_flags); in ide_tape_read_position()
786 clear_bit(ilog2(IDE_AFLAG_FILEMARK), &drive->atapi_flags); in __ide_tape_discard_merge_buffer()
1086 &drive->atapi_flags)) in idetape_space_over_filemarks()
1141 if (test_bit(ilog2(IDE_AFLAG_DETECT_BS), &drive->atapi_flags)) in idetape_chrdev_read()
[all …]
Dide-floppy_ioctl.c125 drive->atapi_flags &= ~IDE_AFLAG_SRFP; in ide_floppy_get_sfrp_bit()
134 drive->atapi_flags |= IDE_AFLAG_SRFP; in ide_floppy_get_sfrp_bit()
206 if (drive->atapi_flags & IDE_AFLAG_SRFP) { in ide_floppy_get_format_progress()
Dide-floppy.c424 if (!(drive->atapi_flags & IDE_AFLAG_CLIK_DRIVE)) in ide_floppy_get_capacity()
475 if (!(drive->atapi_flags & IDE_AFLAG_CLIK_DRIVE)) in ide_floppy_get_capacity()
498 drive->atapi_flags |= IDE_AFLAG_ZIP_DRIVE; in ide_floppy_setup()
510 drive->atapi_flags |= IDE_AFLAG_CLIK_DRIVE; in ide_floppy_setup()
Dide-atapi.c264 drive->atapi_flags |= IDE_AFLAG_IGNORE_DSC; in ide_retry_pc()
610 if (drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT) { in ide_transfer_pc()
633 if (drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) { in ide_transfer_pc()
663 if ((drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) == 0) in ide_transfer_pc()
689 u8 drq_int = !!(drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT); in ide_issue_pc()
Dide-iops.c495 (drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT)) in ide_execute_command()
Dide-probe.c175 drive->atapi_flags |= IDE_AFLAG_DRQ_INTERRUPT; in ide_classify_atapi_dev()
/Linux-v4.19/include/linux/
Dide.h607 unsigned long atapi_flags; member