Searched refs:sg_index (Results 1 – 6 of 6) sorted by relevance
539 u32 sg_index = 0; in i2o_cfg_passthru32() local635 p = &(sg_list[sg_index]); in i2o_cfg_passthru32()644 sg_index++; in i2o_cfg_passthru32()736 for (i = 0; i < sg_index; i++) in i2o_cfg_passthru32()784 int sg_index = 0; in i2o_cfg_passthru() local872 p = &(sg_list[sg_index]); in i2o_cfg_passthru()881 sg_index++; in i2o_cfg_passthru()972 for (i = 0; i < sg_index; i++) in i2o_cfg_passthru()
4977 unsigned int sg_index; in FPT_busMstrSGDataXferStart() local4992 sg_index = pcurrSCCB->Sccb_sgseg; in FPT_busMstrSGDataXferStart()5001 ((unsigned long)(sg_index * (unsigned int)SG_ELEMENT_SIZE) < in FPT_busMstrSGDataXferStart()5005 (sg_index * 2)); in FPT_busMstrSGDataXferStart()5008 (sg_index * 2)); in FPT_busMstrSGDataXferStart()5011 ((sg_index * 2) + 1)); in FPT_busMstrSGDataXferStart()5030 sg_index++; in FPT_busMstrSGDataXferStart()5456 unsigned int sg_index; in FPT_hostDataXferRestart() local5463 sg_index = 0xffff; /*Index by long words into sg list. */ in FPT_hostDataXferRestart()5470 sg_index++; in FPT_hostDataXferRestart()[all …]
236 u8 sg_index; /* Index of HW sg entry for this request */ member992 srb->sg_index = 0; in build_srb()1210 srb->segment_x, srb->sg_count, srb->sg_index, in dump_register_info()1936 unsigned idx = srb->sg_index; in sg_verify_length()1956 struct SGentry *psge = srb->segment_x + srb->sg_index; in sg_update_list()1968 for (idx = srb->sg_index; idx < srb->sg_count; idx++) { in sg_update_list()1976 srb->sg_index = idx; in sg_update_list()2146 if ((srb->segment_x[srb->sg_index].length == in data_out_phase0()2410 srb->total_xfer_length, srb->sg_index, srb->sg_count); in data_io_transfer()2413 if (srb->sg_index >= srb->sg_count) { in data_io_transfer()[all …]
1800 int sg_index = 0; in adpt_i2o_passthru() local1869 sg_list[sg_index++] = p; // sglist indexed with input frame, not our internal frame. in adpt_i2o_passthru()1963 while(sg_index) { in adpt_i2o_passthru()1964 if(sg_list[--sg_index]) { in adpt_i2o_passthru()1966 sg[sg_index].flag_count & 0xffffff, in adpt_i2o_passthru()1967 sg_list[sg_index], in adpt_i2o_passthru()1968 sg[sg_index].addr_bus); in adpt_i2o_passthru()
10391 ushort sg_index; in AscPutReadySgListQueue() local10439 sg_index = 1; in AscPutReadySgListQueue()10500 sg_list[sg_index], in AscPutReadySgListQueue()10502 sg_index += ASC_SG_LIST_PER_Q; in AscPutReadySgListQueue()10503 scsiq->next_sg_index = sg_index; in AscPutReadySgListQueue()
374 int sg_index; in ahc_sg_bus_to_virt() local376 sg_index = (sg_busaddr - scb->sg_list_phys)/sizeof(struct ahc_dma_seg); in ahc_sg_bus_to_virt()378 sg_index++; in ahc_sg_bus_to_virt()380 return (&scb->sg_list[sg_index]); in ahc_sg_bus_to_virt()386 int sg_index; in ahc_sg_virt_to_bus() local389 sg_index = sg - &scb->sg_list[1]; in ahc_sg_virt_to_bus()391 return (scb->sg_list_phys + (sg_index * sizeof(*scb->sg_list))); in ahc_sg_virt_to_bus()