Lines Matching refs:drive_type
257 chp->ch_drive[0].drive_type = ATA_DRIVET_ATAPI;
259 chp->ch_drive[0].drive_type = ATA_DRIVET_ATA;
266 chp->ch_drive[0].drive_type = ATA_DRIVET_NONE;
321 chp->ch_drive[1].drive_type == ATA_DRIVET_ATA) {
330 if (chp->ch_drive[0].drive_type == ATA_DRIVET_ATA) {
341 if ((chp->ch_drive[0].drive_type != ATA_DRIVET_ATA ||
344 chp->ch_drive[1].drive_type != ATA_DRIVET_ATA ||
357 chp->ch_drive[0].drive_type != ATA_DRIVET_ATAPI)
358 chp->ch_drive[0].drive_type = ATA_DRIVET_NONE;
360 chp->ch_drive[1].drive_type != ATA_DRIVET_ATAPI)
361 chp->ch_drive[1].drive_type = ATA_DRIVET_NONE;
387 if (chp->ch_drive[i].drive_type == ATA_DRIVET_NONE)
419 if (chp->ch_drive[i].drive_type != ATA_DRIVET_ATA ||
421 chp->ch_drive[i].drive_type = ATA_DRIVET_NONE;
447 chp->ch_drive[i].drive_type = ATA_DRIVET_NONE;
456 chp->ch_drive[i].drive_type = ATA_DRIVET_NONE;
468 chp->ch_drive[i].drive_type = ATA_DRIVET_NONE;
472 if (chp->ch_drive[i].drive_type !=
474 chp->ch_drive[j].drive_type =
773 chp->ch_drive[drive].drive_type = ATA_DRIVET_ATAPI;
775 chp->ch_drive[drive].drive_type = ATA_DRIVET_ATA;
1041 drv_mask1 = (chp->ch_drive[0].drive_type != ATA_DRIVET_NONE)
1044 drv_mask1 |= (chp->ch_drive[1].drive_type != ATA_DRIVET_NONE)