/titanic_41/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 | 1882 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in ata_disk_start_common() local 1906 if (!ata_wait(io_hdl2, ata_ctlp->ac_ioaddr2, in ata_disk_start_common() 1919 if (!ata_wait(io_hdl2, ata_ctlp->ac_ioaddr2, in ata_disk_start_common() 1960 ddi_put8(io_hdl2, ata_ctlp->ac_devctl, ATDC_D3); in ata_disk_start_common() 2128 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in ata_disk_start_pio_out() local 2154 if (!ata_wait3(io_hdl2, ata_ctlp->ac_ioaddr2, in ata_disk_start_pio_out() 2301 ddi_acc_handle_t io_hdl2 = ata_ctlp->ac_iohandle2; in ata_disk_intr_pio_in() local 2310 (void) ata_wait3(io_hdl2, ata_ctlp->ac_ioaddr2, in ata_disk_intr_pio_in() 2319 ata_pktp->ap_status = ddi_get8(io_hdl2, ata_ctlp->ac_altstatus); in ata_disk_intr_pio_in() 2331 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 | 75 ddi_acc_handle_t io_hdl2, caddr_t ioaddr2, 1423 ddi_acc_handle_t io_hdl2, in ata_drive_type() argument 1440 (void) ata_wait3(io_hdl2, ioaddr2, 0, ATS_BSY, 0x7f, 0, 0x7f, 0, in ata_drive_type() 1443 status = ddi_get8(io_hdl2, (uchar_t *)ioaddr2 + AT_ALTSTATUS); in ata_drive_type() 1450 if (ata_disk_id(io_hdl1, ioaddr1, io_hdl2, ioaddr2, ata_id_bufp)) in ata_drive_type() 1466 if (atapi_id(io_hdl1, ioaddr1, io_hdl2, ioaddr2, ata_id_bufp)) { in ata_drive_type() 1473 if (atapi_id(io_hdl1, ioaddr1, io_hdl2, ioaddr2, ata_id_bufp)) { in ata_drive_type() 1598 ddi_acc_handle_t io_hdl2, in ata_id_common() argument 1621 ddi_put8(io_hdl2, (uchar_t *)ioaddr2 + AT_DEVCTL, ATDC_D3 | ATDC_NIEN); in ata_id_common() 1636 status = ddi_get8(io_hdl2, (uchar_t *)ioaddr2 + AT_ALTSTATUS); in ata_id_common() [all …]
|
H A D | ata_disk.h | 95 ddi_acc_handle_t io_hdl2, caddr_t ioaddr2,
|
H A D | atapi.h | 112 ddi_acc_handle_t io_hdl2, caddr_t ioaddr2, struct ata_id *buf);
|
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 | ata_common.h | 674 ddi_acc_handle_t io_hdl2, caddr_t ioaddr2,
|