Searched refs:seg_cnt (Results 1 – 1 of 1) sorted by relevance
3577 u16 seg_cnt; in qla1280_64bit_start_scsi() local3585 seg_cnt = pci_map_sg(ha->pdev, sg, cmd->use_sg, in qla1280_64bit_start_scsi()3588 if (seg_cnt > 2) { in qla1280_64bit_start_scsi()3589 req_cnt += (seg_cnt - 2) / 5; in qla1280_64bit_start_scsi()3590 if ((seg_cnt - 2) % 5) in qla1280_64bit_start_scsi()3594 seg_cnt = 1; in qla1280_64bit_start_scsi()3596 seg_cnt = 0; in qla1280_64bit_start_scsi()3675 pkt->dseg_count = cpu_to_le16(seg_cnt); in qla1280_64bit_start_scsi()3680 if (seg_cnt) { /* If data transfer. */ in qla1280_64bit_start_scsi()3686 for (cnt = 0; cnt < 2 && seg_cnt; cnt++, seg_cnt--) { in qla1280_64bit_start_scsi()[all …]