Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ppc64/kernel/
Dpci_dma.c1192 unsigned long cur_len_dma, cur_end_virt, uaddr; in fill_scatterlist_sg() local
1203 cur_len_dma = sg->length; in fill_scatterlist_sg()
1207 cur_end_virt = (unsigned long)address + cur_len_dma; in fill_scatterlist_sg()
1242 dma_sg->dma_length = cur_len_dma; in fill_scatterlist_sg()
1247 cur_start_dma += cur_len_dma-1; in fill_scatterlist_sg()
1259 cur_len_dma = 0; in fill_scatterlist_sg()
1264 cur_len_dma += sg->length; in fill_scatterlist_sg()
1269 dma_sg->dma_length = cur_len_dma; in fill_scatterlist_sg()
1271 if ((((cur_start_dma +cur_len_dma - 1)>> PAGE_SHIFT) - (dma_addr >> PAGE_SHIFT) + 1) != numTces) in fill_scatterlist_sg()
1275 (unsigned)(((cur_start_dma + cur_len_dma - 1) >> PAGE_SHIFT) - (dma_addr >> PAGE_SHIFT) + 1)); in fill_scatterlist_sg()