Lines Matching refs:present
386 u8 present = !!(drive->dev_flags & IDE_DFLAG_PRESENT), stat;
389 if (present && drive->media != ide_disk && cmd == ATA_CMD_ID_ATA)
393 printk(KERN_INFO "probing for %s: present=%d, media=%d, probetype=%s\n",
394 drive->name, present, drive->media,
405 if (ide_read_device(drive) != drive->select && present == 0) {
412 /* no i/f present: mmm.. this should be a 4 -ml */
419 present || cmd == ATA_CMD_ID_ATAPI) {
448 /* not present or maybe ATAPI */
684 BUG_ON(hwif->present);
801 * For any present drive:
1403 hwif->present = 1;
1408 hwif->mate == NULL || hwif->mate->present == 0) {
1415 if (hwif->present)
1433 if (hwif->present)
1435 hwif->present = 0;
1443 if (hwif->present)
1454 if (hwif->present) {
1502 hwif->present = 0;
1518 * and that the interface will not be reopened (present/vanishing
1529 if (hwif->present) {
1531 hwif->present = 0;
1600 hwif->present = 1;