Lines Matching refs:dev_flags
113 drive->dev_flags |= IDE_DFLAG_REMOVABLE; in ide_classify_ata_dev()
118 drive->dev_flags |= IDE_DFLAG_NO_UNLOAD; in ide_classify_ata_dev()
140 drive->dev_flags |= IDE_DFLAG_REMOVABLE; in ide_classify_atapi_dev()
148 drive->dev_flags |= IDE_DFLAG_REMOVABLE; in ide_classify_atapi_dev()
164 drive->dev_flags |= IDE_DFLAG_REMOVABLE; in ide_classify_atapi_dev()
177 drive->dev_flags |= IDE_DFLAG_DOORLOCKING; in ide_classify_atapi_dev()
179 drive->dev_flags |= IDE_DFLAG_NO_UNLOAD; in ide_classify_atapi_dev()
206 drive->dev_flags |= IDE_DFLAG_ID_READ; in do_identify()
233 drive->dev_flags &= ~IDE_DFLAG_PRESENT; in do_identify()
235 drive->dev_flags |= IDE_DFLAG_PRESENT; in do_identify()
388 u8 present = !!(drive->dev_flags & IDE_DFLAG_PRESENT), stat; in do_probe()
481 drive->dev_flags &= ~IDE_DFLAG_ID_READ; in probe_for_drive()
487 if ((drive->dev_flags & IDE_DFLAG_NOPROBE) == 0) { in probe_for_drive()
497 if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0) in probe_for_drive()
501 if ((drive->dev_flags & IDE_DFLAG_ID_READ) == 0) { in probe_for_drive()
511 drive->dev_flags &= ~IDE_DFLAG_PRESENT; in probe_for_drive()
521 if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0) in probe_for_drive()
525 if ((drive->dev_flags & IDE_DFLAG_ID_READ) == 0) { in probe_for_drive()
622 if ((drive->dev_flags & IDE_DFLAG_NOPROBE) == 0 || in ide_port_wait_ready()
623 (drive->dev_flags & IDE_DFLAG_PRESENT)) { in ide_port_wait_ready()
655 if ((dev1->dn & 1) == 0 || (dev0->dev_flags & IDE_DFLAG_PRESENT) == 0) in ide_undecoded_slave()
675 dev1->dev_flags &= ~IDE_DFLAG_PRESENT; in ide_undecoded_slave()
688 if ((hwif->devices[0]->dev_flags & IDE_DFLAG_NOPROBE) && in ide_probe_port()
689 (hwif->devices[1]->dev_flags & IDE_DFLAG_NOPROBE)) in ide_probe_port()
709 if (drive->dev_flags & IDE_DFLAG_PRESENT) in ide_probe_port()
739 drive->dev_flags |= IDE_DFLAG_NICE1; in ide_port_tune_devices()
842 drive->dev_flags &= ~IDE_DFLAG_PRESENT; in ide_port_setup_devices()
917 if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0) in ata_probe()
990 drive->dev_flags &= ~IDE_DFLAG_PRESENT; in drive_release_dev()
1067 drive->dev_flags |= IDE_DFLAG_NO_IO_32BIT; in ide_port_init_devices()
1069 drive->dev_flags |= IDE_DFLAG_UNMASK; in ide_port_init_devices()
1071 drive->dev_flags |= IDE_DFLAG_NO_UNMASK; in ide_port_init_devices()