Searched refs:sg_segments (Results 1 – 1 of 1) sorted by relevance
2106 int sg_segments; in ufshcd_map_sg() local2110 sg_segments = scsi_dma_map(cmd); in ufshcd_map_sg()2111 if (sg_segments < 0) in ufshcd_map_sg()2112 return sg_segments; in ufshcd_map_sg()2114 if (sg_segments) { in ufshcd_map_sg()2117 cpu_to_le16((u16)(sg_segments * in ufshcd_map_sg()2121 cpu_to_le16((u16) (sg_segments)); in ufshcd_map_sg()2125 scsi_for_each_sg(cmd, sg, sg_segments, i) { in ufshcd_map_sg()