Home
last modified time | relevance | path

Searched refs:SGcount (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/scsi/
D53c700.c1603 int SGcount = (dsp - to32bit(&slot->pSG[0].ins))/sizeof(struct NCR_700_SG_List); in NCR_700_intr() local
1611 SGcount, data_transfer); in NCR_700_intr()
1616 SGcount, data_transfer, residual); in NCR_700_intr()
1625 SGcount--; in NCR_700_intr()
1627 count = (bS_to_cpu(slot->SG[SGcount].ins) & 0x00ffffff); in NCR_700_intr()
1629 slot->SG[SGcount].ins &= bS_to_host(0xff000000); in NCR_700_intr()
1630 slot->SG[SGcount].ins |= bS_to_host(data_transfer); in NCR_700_intr()
1631 pAddr = bS_to_cpu(slot->SG[SGcount].pAddr); in NCR_700_intr()
1638 slot->SG[SGcount].pAddr = bS_to_host(pAddr); in NCR_700_intr()
1641 for(i=0; i<SGcount; i++) { in NCR_700_intr()
Dtmscsim.c449 pSRB->SGcount = pci_map_sg(pdev, pSRB->pSegmentList, 1, in dc390_pci_map()
454 if (pSRB->SGcount != 1) in dc390_pci_map()
464 pSRB->SGcount = nseg; in dc390_pci_map()
473 pSRB->SGcount = 0; in dc390_pci_map()
785 if( pSRB->SGIndex < pSRB->SGcount ) in dc390_DataOut_0()
853 if( pSRB->SGIndex < pSRB->SGcount ) in dc390_DataIn_0()
916 ptr = scsi_kmap_atomic_sg(pSRB->pSegmentList, pSRB->SGcount, &offset, &count); in dc390_DataIn_0()
1155 if( pSRB->SGIndex < pSRB->SGcount ) in dc390_restore_ptr()
1172 pSRB->SGcount = 0; in dc390_restore_ptr()
1305 if( pSRB->SGIndex < pSRB->SGcount ) in dc390_DataIO_Comm()
[all …]
Dtmscsim.h56 u8 SGcount; member