Searched refs:HPT_SCP (Results 1 – 2 of 2) sorted by relevance
731 if (HPT_SCP(scp)->mapped) in hptiop_finish_scsi_req()858 HPT_SCP(scp)->sgcnt = nseg; in hptiop_buildsgl()859 HPT_SCP(scp)->mapped = 1; in hptiop_buildsgl()861 BUG_ON(HPT_SCP(scp)->sgcnt > hba->max_sg_descriptors); in hptiop_buildsgl()863 scsi_for_each_sg(scp, sg, HPT_SCP(scp)->sgcnt, idx) { in hptiop_buildsgl()867 psg[idx].eot = (idx == HPT_SCP(scp)->sgcnt - 1) ? in hptiop_buildsgl()870 return HPT_SCP(scp)->sgcnt; in hptiop_buildsgl()1038 HPT_SCP(scp)->mapped = 0; in hptiop_queuecommand_lck()
260 #define HPT_SCP(scp) ((struct hpt_cmd_priv *)scsi_cmd_priv(scp)) macro