Searched refs:CTL2DRV (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 246 if ((ata_drvp = CTL2DRV(ata_ctlp, i, 0)) == 0) in ata_devo_reset() 649 ata_drvp = CTL2DRV(ata_ctlp, i, j); in ata_detach() 799 ata_drvp = CTL2DRV(ata_ctlp, targ, lun); in ata_bus_ctl() 1181 ata_drvp = CTL2DRV(ata_ctlp, targ, lun); in ata_init_drive() 1351 CTL2DRV(ata_ctlp, targ, lun) = ata_drvp; in ata_init_drive() 2720 if ((ata_drvp = CTL2DRV(ata_ctlp, drive, 0)) == NULL) in ata_reset_bus() 2785 if (CTL2DRV(ata_ctlp, 0, 0)) { in ata_software_reset() 2789 ASSERT(CTL2DRV(ata_ctlp, 1, 0) != NULL); in ata_software_reset() 3716 ata_drvp = CTL2DRV(ata_ctlp, targ, 0); in ata_change_power() 3756 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()
|