Searched refs:HPT_SCP (Results 1 – 2 of 2) sorted by relevance
731 if (HPT_SCP(scp)->mapped) in hptiop_finish_scsi_req()859 HPT_SCP(scp)->sgcnt = nseg; in hptiop_buildsgl()860 HPT_SCP(scp)->mapped = 1; in hptiop_buildsgl()862 BUG_ON(HPT_SCP(scp)->sgcnt > hba->max_sg_descriptors); in hptiop_buildsgl()864 scsi_for_each_sg(scp, sg, HPT_SCP(scp)->sgcnt, idx) { in hptiop_buildsgl()868 psg[idx].eot = (idx == HPT_SCP(scp)->sgcnt - 1) ? in hptiop_buildsgl()871 return HPT_SCP(scp)->sgcnt; in hptiop_buildsgl()1043 HPT_SCP(scp)->mapped = 0; in hptiop_queuecommand_lck()
260 #define HPT_SCP(scp) ((struct hpt_scsi_pointer *)&(scp)->SCp) macro