Home
last modified time | relevance | path

Searched refs:seg_cnt (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dqla1280.c2805 int seg_cnt; in qla1280_64bit_start_scsi() local
2812 seg_cnt = scsi_dma_map(cmd); in qla1280_64bit_start_scsi()
2813 if (seg_cnt > 0) { in qla1280_64bit_start_scsi()
2814 if (seg_cnt > 2) { in qla1280_64bit_start_scsi()
2815 req_cnt += (seg_cnt - 2) / 5; in qla1280_64bit_start_scsi()
2816 if ((seg_cnt - 2) % 5) in qla1280_64bit_start_scsi()
2819 } else if (seg_cnt < 0) { in qla1280_64bit_start_scsi()
2835 ha->req_q_cnt, seg_cnt); in qla1280_64bit_start_scsi()
2903 pkt->dseg_count = cpu_to_le16(seg_cnt); in qla1280_64bit_start_scsi()
2908 if (seg_cnt) { /* If data transfer. */ in qla1280_64bit_start_scsi()
[all …]
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_scsi.h125 uint32_t seg_cnt; /* Number of scatter-gather segments returned by member
Dlpfc_scsi.c976 lpfc_cmd->seg_cnt = 0; in lpfc_get_scsi_buf_s3()
1009 lpfc_cmd->seg_cnt = 0; in lpfc_get_scsi_buf_s4()
1152 lpfc_cmd->seg_cnt = nseg; in lpfc_scsi_prep_dma_buf_s3()
1153 if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) { in lpfc_scsi_prep_dma_buf_s3()
1158 lpfc_cmd->seg_cnt); in lpfc_scsi_prep_dma_buf_s3()
1767 lpfc_cmd->seg_cnt = datasegcnt; in lpfc_bg_scsi_prep_dma_buf()
1768 if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) { in lpfc_bg_scsi_prep_dma_buf()
1774 lpfc_cmd->seg_cnt); in lpfc_bg_scsi_prep_dma_buf()
2059 lpfc_cmd->seg_cnt = nseg; in lpfc_scsi_prep_dma_buf_s4()
2060 if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) { in lpfc_scsi_prep_dma_buf_s4()
[all …]
/linux-2.6.39/drivers/net/
Dqla3xxx.c2321 int seg_cnt, seg = 0; in ql_send_map() local
2324 seg_cnt = tx_cb->seg_count; in ql_send_map()
2346 if (seg_cnt == 1) { in ql_send_map()
2362 if ((seg == 2 && seg_cnt > 3) || in ql_send_map()
2363 (seg == 7 && seg_cnt > 8) || in ql_send_map()
2364 (seg == 12 && seg_cnt > 13) || in ql_send_map()
2365 (seg == 17 && seg_cnt > 18)) { in ql_send_map()
2429 if ((seg == 2 && seg_cnt > 3) || in ql_send_map()
2430 (seg == 7 && seg_cnt > 8) || in ql_send_map()
2431 (seg == 12 && seg_cnt > 13) || in ql_send_map()
[all …]
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/
Dwlc_ampdu.c504 uint i, count = 0, fifo, seg_cnt = 0; in wlc_sendampdu() local
623 seg_cnt += 1; in wlc_sendampdu()
657 wlc->pub->unit, ampdu_len, seg_cnt, ndelim); in wlc_sendampdu()
763 if (TXAVAIL(wlc, fifo) <= (seg_cnt + 1)) { in wlc_sendampdu()
/linux-2.6.39/Documentation/scsi/
DChangeLog.lpfc522 * Zero out seg_cnt in prep_io failure path to prevent double sg
690 * Save seg_cnt from dma_map_sg. Save scatter-gather start address
691 and pass back to dma_unmap_sg in error with seg_cnt.