Lines Matching refs:ap
33 #define A_TO_TRAN(ap) (ap->a_hba_tran)
36 scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt)
38 return (*A_TO_TRAN(ap)->tran_abort)(ap, pkt);
42 scsi_reset(struct scsi_address *ap, int level)
47 ((*A_TO_TRAN(ap)->tran_getcap)(ap, "lun-reset", 1) != 1)) {
50 if ((A_TO_TRAN(ap)->tran_reset) == NULL) {
53 return (*A_TO_TRAN(ap)->tran_reset)(ap, level);
57 scsi_reset_notify(struct scsi_address *ap, int flag,
60 if ((A_TO_TRAN(ap)->tran_reset_notify) == NULL) {
63 return (*A_TO_TRAN(ap)->tran_reset_notify)(ap, flag, callback, arg);
67 scsi_clear_task_set(struct scsi_address *ap)
69 if ((A_TO_TRAN(ap)->tran_clear_task_set) == NULL) {
72 return (*A_TO_TRAN(ap)->tran_clear_task_set)(ap);
76 scsi_terminate_task(struct scsi_address *ap, struct scsi_pkt *pkt)
78 if ((A_TO_TRAN(ap)->tran_terminate_task) == NULL) {
81 return (*A_TO_TRAN(ap)->tran_terminate_task)(ap, pkt);
89 scsi_clear_aca(struct scsi_address *ap)
91 if ((A_TO_TRAN(ap)->tran_clear_aca) == NULL) {
94 return (*A_TO_TRAN(ap)->tran_clear_aca)(ap);