Searched refs:count_sg (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/scsi/
H A Da100u2w.c846 int i, count_sg; local
866 count_sg = scsi_dma_map(cmd);
867 if (count_sg < 0)
868 return count_sg;
869 BUG_ON(count_sg > TOTAL_SG_ENTRY);
872 if (count_sg) {
873 scb->sg_len = cpu_to_le32((u32) (count_sg * 8));
874 scsi_for_each_sg(cmd, sg, count_sg, i) {
H A Dwd719x.c209 int i, count_sg; local
249 count_sg = scsi_dma_map(cmd);
250 if (count_sg < 0)
252 BUG_ON(count_sg > WD719X_SG);
254 if (count_sg) {
257 scb->data_length = cpu_to_le32(count_sg *
262 scsi_for_each_sg(cmd, sg, count_sg, i) {

Completed in 90 milliseconds