/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | atapi_fsm.c | 152 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in atapi_start_cmd() local 165 if (!ata_wait(io_hdl2, ata_ctlp->ac_ioaddr2, in atapi_start_cmd() 182 if (!ata_wait(io_hdl2, ata_ctlp->ac_ioaddr2, 0, ATS_BSY, 5000000)) { in atapi_start_cmd() 194 ddi_put8(io_hdl2, ata_ctlp->ac_devctl, ATDC_D3); in atapi_start_cmd() 252 if (ata_wait3(io_hdl2, ata_ctlp->ac_ioaddr2, in atapi_start_cmd() 263 ddi_get8(io_hdl2, ata_ctlp->ac_altstatus), in atapi_start_cmd() 563 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in atapi_device_reset() local 584 if (!ata_wait(io_hdl2, ata_ctlp->ac_ioaddr2, 0, ATS_BSY, 6 * 1000000)) { in atapi_device_reset()
|
H A D | ata_disk.c | 1872 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in ata_disk_start_common() local 1896 if (!ata_wait(io_hdl2, ata_ctlp->ac_ioaddr2, in ata_disk_start_common() 1909 if (!ata_wait(io_hdl2, ata_ctlp->ac_ioaddr2, in ata_disk_start_common() 1950 ddi_put8(io_hdl2, ata_ctlp->ac_devctl, ATDC_D3); in ata_disk_start_common() 2110 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in ata_disk_start_pio_out() local 2136 if (!ata_wait3(io_hdl2, ata_ctlp->ac_ioaddr2, in ata_disk_start_pio_out() 2275 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in ata_disk_intr_pio_in() local 2284 (void) ata_wait3(io_hdl2, ata_ctlp->ac_ioaddr2, in ata_disk_intr_pio_in() 2292 ata_pktp->ap_status = ddi_get8(io_hdl2, ata_ctlp->ac_altstatus); in ata_disk_intr_pio_in() 2304 ata_pktp->ap_status = ddi_get8(io_hdl2, ata_ctlp->ac_altstatus); in ata_disk_intr_pio_in() [all …]
|
H A D | ata_common.c | 77 ddi_acc_handle_t io_hdl2, caddr_t ioaddr2, 1425 ddi_acc_handle_t io_hdl2, in ata_drive_type() argument 1442 (void) ata_wait3(io_hdl2, ioaddr2, 0, ATS_BSY, 0x7f, 0, 0x7f, 0, in ata_drive_type() 1445 status = ddi_get8(io_hdl2, (uchar_t *)ioaddr2 + AT_ALTSTATUS); in ata_drive_type() 1452 if (ata_disk_id(io_hdl1, ioaddr1, io_hdl2, ioaddr2, ata_id_bufp)) in ata_drive_type() 1468 if (atapi_id(io_hdl1, ioaddr1, io_hdl2, ioaddr2, ata_id_bufp)) { in ata_drive_type() 1475 if (atapi_id(io_hdl1, ioaddr1, io_hdl2, ioaddr2, ata_id_bufp)) { in ata_drive_type() 1600 ddi_acc_handle_t io_hdl2, in ata_id_common() argument 1623 ddi_put8(io_hdl2, (uchar_t *)ioaddr2 + AT_DEVCTL, ATDC_D3 | ATDC_NIEN); in ata_id_common() 1638 status = ddi_get8(io_hdl2, (uchar_t *)ioaddr2 + AT_ALTSTATUS); in ata_id_common() [all …]
|
H A D | ata_disk.h | 93 ddi_acc_handle_t io_hdl2, caddr_t ioaddr2,
|
H A D | atapi.c | 245 ddi_acc_handle_t io_hdl2, in atapi_id() argument 254 io_hdl2, ioaddr2, ata_idp); in atapi_id() 1128 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in atapi_id_update() local 1143 if (!ata_wait(io_hdl2, ioaddr2, ATS_DRDY, ATS_BSY, 5 * 1000000)) { in atapi_id_update()
|
H A D | atapi.h | 110 ddi_acc_handle_t io_hdl2, caddr_t ioaddr2, struct ata_id *buf);
|
H A D | ata_common.h | 674 ddi_acc_handle_t io_hdl2, caddr_t ioaddr2,
|