Searched refs:cur_seg (Results 1 – 2 of 2) sorted by relevance
3760 struct scatterlist *cur_seg; local3764 cur_seg = (struct scatterlist *)cmd->request_buffer;3765 nseg = pci_map_sg(ahc->dev_softc, cur_seg, cmd->use_sg,3767 end_seg = cur_seg + nseg;3774 while (cur_seg < end_seg) {3779 addr = sg_dma_address(cur_seg);3780 len = sg_dma_len(cur_seg);3785 cur_seg++;
4135 struct scatterlist *cur_seg; local4139 cur_seg = (struct scatterlist *)cmd->request_buffer;4141 nseg = pci_map_sg(ahd->dev_softc, cur_seg,4144 for (sg = scb->sg_list; nseg > 0; nseg--, cur_seg++) {4148 addr = sg_dma_address(cur_seg);4149 len = sg_dma_len(cur_seg);