Home
last modified time | relevance | path

Searched refs:ata_idp (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c247 struct ata_id *ata_idp) in atapi_id() argument
254 io_hdl2, ioaddr2, ata_idp); in atapi_id()
259 if ((ata_idp->ai_config & ATAC_ATAPI_TYPE_MASK) != ATAC_ATAPI_TYPE) in atapi_id()
516 struct ata_id *ata_idp; in atapi_tran_getcap() local
568 ata_idp = &ata_drvp->ad_id; in atapi_tran_getcap()
569 *ata_idp = ata_id; in atapi_tran_getcap()
571 switch ((ata_idp->ai_config >> 8) & 0xf) { in atapi_tran_getcap()
577 rval = (ata_idp->ai_curheads << 16) | in atapi_tran_getcap()
578 ata_idp->ai_cursectrk; in atapi_tran_getcap()
H A Data_disk.h94 struct ata_id *ata_idp);
H A Data_disk.c2643 struct ata_id *ata_idp = &ata_drvp->ad_id; in ata_disk_fake_inquiry() local
2648 if (ata_idp->ai_config & ATA_ID_REM_DRV) /* ide removable bit */ in ata_disk_fake_inquiry()
2655 (void) strncpy(inqp->inq_pid, ata_idp->ai_model, in ata_disk_fake_inquiry()
2657 (void) strncpy(inqp->inq_revision, ata_idp->ai_fw, in ata_disk_fake_inquiry()
2702 caddr_t ioaddr2, struct ata_id *ata_idp) in ata_disk_id() argument
2709 ioaddr2, ata_idp); in ata_disk_id()
2719 if (ata_idp->ai_config == ATA_ID_COMPACT_FLASH) { in ata_disk_id()
2720 ata_idp->ai_config = ATA_ID_CF_TO_ATA; in ata_disk_id()
2723 if ((ata_idp->ai_config & ATAC_ATA_TYPE_MASK) != ATAC_ATA_TYPE) in ata_disk_id()
2726 if (ata_idp->ai_heads == 0 || ata_idp->ai_sectors == 0) { in ata_disk_id()
H A Data_common.h675 struct ata_id *ata_idp);