Home
last modified time | relevance | path

Searched refs:HPT_SCP (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/
Dhptiop.c739 if (HPT_SCP(scp)->mapped) in hptiop_finish_scsi_req()
869 HPT_SCP(scp)->sgcnt = nseg; in hptiop_buildsgl()
870 HPT_SCP(scp)->mapped = 1; in hptiop_buildsgl()
872 BUG_ON(HPT_SCP(scp)->sgcnt > hba->max_sg_descriptors); in hptiop_buildsgl()
874 scsi_for_each_sg(scp, sg, HPT_SCP(scp)->sgcnt, idx) { in hptiop_buildsgl()
878 psg[idx].eot = (idx == HPT_SCP(scp)->sgcnt - 1) ? in hptiop_buildsgl()
881 return HPT_SCP(scp)->sgcnt; in hptiop_buildsgl()
1052 HPT_SCP(scp)->mapped = 0; in hptiop_queuecommand_lck()
Dhptiop.h268 #define HPT_SCP(scp) ((struct hpt_scsi_pointer *)&(scp)->SCp) macro