Lines Matching refs:pa_iova
24 dma_addr_t *pa_iova; member
63 if (pa->pa_nr || pa->pa_iova) in page_array_alloc()
70 pa->pa_iova = kcalloc(pa->pa_nr, in page_array_alloc()
71 sizeof(*pa->pa_iova) + sizeof(*pa->pa_page), in page_array_alloc()
73 if (unlikely(!pa->pa_iova)) { in page_array_alloc()
77 pa->pa_page = (struct page **)&pa->pa_iova[pa->pa_nr]; in page_array_alloc()
79 pa->pa_iova[0] = iova; in page_array_alloc()
82 pa->pa_iova[i] = pa->pa_iova[i - 1] + PAGE_SIZE; in page_array_alloc()
104 dma_addr_t *first = &pa->pa_iova[unpinned]; in page_array_unpin()
136 dma_addr_t *first = &pa->pa_iova[pinned]; in page_array_pin()
170 kfree(pa->pa_iova); in page_array_unpin_free()
181 pfn = pa->pa_iova[i] >> PAGE_SHIFT; in page_array_iova_pinned()
206 idaws[0] += pa->pa_iova[0] & (PAGE_SIZE - 1); in page_array_idal_create_words()
613 pa->pa_iova[i] = idaws[i]; in ccwchain_fetch_direct()