Searched refs:CTL2DRV (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 248 if ((ata_drvp = CTL2DRV(ata_ctlp, i, 0)) == 0) in ata_devo_reset() 651 ata_drvp = CTL2DRV(ata_ctlp, i, j); in ata_detach() 801 ata_drvp = CTL2DRV(ata_ctlp, targ, lun); in ata_bus_ctl() 1183 ata_drvp = CTL2DRV(ata_ctlp, targ, lun); in ata_init_drive() 1353 CTL2DRV(ata_ctlp, targ, lun) = ata_drvp; in ata_init_drive() 2722 if ((ata_drvp = CTL2DRV(ata_ctlp, drive, 0)) == NULL) in ata_reset_bus() 2787 if (CTL2DRV(ata_ctlp, 0, 0)) { in ata_software_reset() 2791 ASSERT(CTL2DRV(ata_ctlp, 1, 0) != NULL); in ata_software_reset() 3720 ata_drvp = CTL2DRV(ata_ctlp, targ, 0); in ata_change_power() 3760 ata_drvp = CTL2DRV(ata_ctlp, targ, 0); in ata_change_power() [all …]
|
H A D | atapi.c | 348 ata_drvp = CTL2DRV(ata_ctlp, ap->a_target, ap->a_lun); in atapi_tran_tgt_init() 553 ata_drvp = CTL2DRV(ata_ctlp, ap->a_target, ap->a_lun); in atapi_tran_getcap()
|
H A D | ata_common.h | 233 #define CTL2DRV(cp, t, l) (cp->ac_drvp[t][l]) macro
|
H A D | atapi_fsm.c | 607 ata_drvp = CTL2DRV(ata_ctlp, drive, 0); in atapi_fsm_reset()
|