Home
last modified time | relevance | path

Searched refs:sg_index (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx_inline.h169 int sg_index; in ahc_sg_bus_to_virt() local
171 sg_index = (sg_busaddr - scb->sg_list_phys)/sizeof(struct ahc_dma_seg); in ahc_sg_bus_to_virt()
173 sg_index++; in ahc_sg_bus_to_virt()
175 return (&scb->sg_list[sg_index]); in ahc_sg_bus_to_virt()
181 int sg_index; in ahc_sg_virt_to_bus() local
184 sg_index = sg - &scb->sg_list[1]; in ahc_sg_virt_to_bus()
186 return (scb->sg_list_phys + (sg_index * sizeof(*scb->sg_list))); in ahc_sg_virt_to_bus()
/linux-2.4.37.9/drivers/scsi/
DFlashPoint.c8773 UINT sg_index; in busMstrSGDataXferStart() local
8793 sg_index = pcurrSCCB->Sccb_sgseg; in busMstrSGDataXferStart()
8803 ((ULONG)(sg_index * (UINT)SG_ELEMENT_SIZE) < pcurrSCCB->DataLength) ) { in busMstrSGDataXferStart()
8807 (sg_index * 2)); in busMstrSGDataXferStart()
8810 (sg_index * 2)); in busMstrSGDataXferStart()
8813 ((sg_index * 2) + 1)); in busMstrSGDataXferStart()
8817 (sg_index * 2)); in busMstrSGDataXferStart()
8820 (sg_index * 2)); in busMstrSGDataXferStart()
8823 ((sg_index * 2) + 1)); in busMstrSGDataXferStart()
8842 sg_index++; in busMstrSGDataXferStart()
[all …]
Ddpt_i2o.c1630 int sg_index = 0; in adpt_i2o_passthru() local
1696 sg_list[sg_index++] = p; // sglist indexed with input frame, not our internal frame. in adpt_i2o_passthru()
1782 while(sg_index) { in adpt_i2o_passthru()
1783 if(sg_list[--sg_index]) { in adpt_i2o_passthru()
1784 kfree((void*)(sg_list[sg_index])); in adpt_i2o_passthru()
Dadvansys.c11509 ushort sg_index; in AscPutReadySgListQueue() local
11558 sg_index = 1; in AscPutReadySgListQueue()
11612 (uchar *) &sg_head->sg_list[sg_index], in AscPutReadySgListQueue()
11614 sg_index += ASC_SG_LIST_PER_Q; in AscPutReadySgListQueue()
11615 scsiq->next_sg_index = sg_index; in AscPutReadySgListQueue()