Lines Matching defs:present
388 u8 present = !!(drive->dev_flags & IDE_DFLAG_PRESENT), stat;
391 if (present && drive->media != ide_disk && cmd == ATA_CMD_ID_ATA)
395 printk(KERN_INFO "probing for %s: present=%d, media=%d, probetype=%s\n",
396 drive->name, present, drive->media,
407 if (ide_read_device(drive) != drive->select && present == 0) {
414 /* no i/f present: mmm.. this should be a 4 -ml */
421 present || cmd == ATA_CMD_ID_ATAPI) {
450 /* not present or maybe ATAPI */
686 BUG_ON(hwif->present);
829 * For any present drive:
1473 hwif->present = 1;
1478 hwif->mate == NULL || hwif->mate->present == 0) {
1485 if (hwif->present)
1504 if (hwif->present)
1506 hwif->present = 0;
1514 if (hwif->present)
1525 if (hwif->present) {
1573 hwif->present = 0;
1589 * and that the interface will not be reopened (present/vanishing
1600 if (hwif->present) {
1602 hwif->present = 0;
1672 hwif->present = 1;