Searched refs:sgcnt (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | gdth.c | 2713 int sgcnt; in gdth_copy_internal_data() local 2722 sgcnt = pci_map_sg(ha->pdev,sl,scp->use_sg,PCI_DMA_FROMDEVICE); in gdth_copy_internal_data() 2723 for (i=0,cpsum=0; i<sgcnt; ++i,++sl) { in gdth_copy_internal_data() 2744 sgcnt = scp->use_sg; in gdth_copy_internal_data() 2745 for (i=0,cpsum=0; i<sgcnt; ++i,++sl) { in gdth_copy_internal_data() 2881 int i, cmd_index, read_write, sgcnt, mode64; in gdth_fill_cache_cmd() local 2980 sgcnt = scp->use_sg; in gdth_fill_cache_cmd() 2985 sgcnt = pci_map_sg(ha->pdev,sl,scp->use_sg,scp->SCp.Message); in gdth_fill_cache_cmd() 2988 cmdp->u.cache64.sg_canz = sgcnt; in gdth_fill_cache_cmd() 2989 for (i=0; i<sgcnt; ++i,++sl) { in gdth_fill_cache_cmd() [all …]
|
D | megaraid2.c | 2432 int sgcnt; in mega_build_sglist() local 2486 sgcnt = pci_map_sg(adapter->dev, sgl, cmd->use_sg, scb->dma_direction); in mega_build_sglist() 2490 if( sgcnt > adapter->sglen ) BUG(); in mega_build_sglist() 2492 for( idx = 0; idx < sgcnt; idx++, sgl++ ) { in mega_build_sglist() 2520 return sgcnt; in mega_build_sglist()
|
D | megaraid.c | 2559 int sgcnt; in mega_build_sglist() local 2628 sgcnt = pci_map_sg (megaCfg->dev, in mega_build_sglist() 2632 if (sgcnt == 0) in mega_build_sglist() 2635 for (idx = 0; idx < sgcnt; idx++, sgList++) { in mega_build_sglist() 2675 return sgcnt; in mega_build_sglist()
|
D | advansys.c | 6772 int sgcnt; in asc_build_req() local 6804 for (sgcnt = 0; sgcnt < scp->use_sg; sgcnt++, slp++) { in asc_build_req() 6805 asc_sg_head.sg_list[sgcnt].addr = in asc_build_req() 6807 asc_sg_head.sg_list[sgcnt].bytes = cpu_to_le32(slp->length); in asc_build_req()
|
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 371 #define bus_unmap_sg(pdev, sgptr, sgcnt, dir) \ argument 372 pci_unmap_sg(pdev, sgptr, sgcnt, dir) 380 #define bus_map_sg(pdev, sgptr, sgcnt, dir) \ argument 381 pci_map_sg(pdev, sgptr, sgcnt, dir) 383 #define bus_dma_sync_sg(pdev, sgptr, sgcnt, dir) \ argument 384 pci_dma_sync_sg(pdev, sgptr, sgcnt, dir)
|