Lines Matching full:pa
41 if (desc_data->rx.hdr.pa.pages) in xlgmac_unmap_desc_data()
42 put_page(desc_data->rx.hdr.pa.pages); in xlgmac_unmap_desc_data()
51 if (desc_data->rx.buf.pa.pages) in xlgmac_unmap_desc_data()
52 put_page(desc_data->rx.buf.pa.pages); in xlgmac_unmap_desc_data()
331 struct xlgmac_page_alloc *pa, in xlgmac_alloc_pages() argument
357 pa->pages = pages; in xlgmac_alloc_pages()
358 pa->pages_len = PAGE_SIZE << order; in xlgmac_alloc_pages()
359 pa->pages_offset = 0; in xlgmac_alloc_pages()
360 pa->pages_dma = pages_dma; in xlgmac_alloc_pages()
366 struct xlgmac_page_alloc *pa, in xlgmac_set_buffer_data() argument
369 get_page(pa->pages); in xlgmac_set_buffer_data()
370 bd->pa = *pa; in xlgmac_set_buffer_data()
372 bd->dma_base = pa->pages_dma; in xlgmac_set_buffer_data()
373 bd->dma_off = pa->pages_offset; in xlgmac_set_buffer_data()
376 pa->pages_offset += len; in xlgmac_set_buffer_data()
377 if ((pa->pages_offset + len) > pa->pages_len) { in xlgmac_set_buffer_data()
379 bd->pa_unmap = *pa; in xlgmac_set_buffer_data()
382 pa->pages = NULL; in xlgmac_set_buffer_data()
383 pa->pages_len = 0; in xlgmac_set_buffer_data()
384 pa->pages_offset = 0; in xlgmac_set_buffer_data()
385 pa->pages_dma = 0; in xlgmac_set_buffer_data()