Searched refs:pgtbl (Results 1 – 10 of 10) sorted by relevance
32 static VDMA_PGTBL_ENTRY *pgtbl; variable55 pgtbl[i].frame = paddr; in vdma_pgtbl_init()56 pgtbl[i].owner = VDMA_PAGE_EMPTY; in vdma_pgtbl_init()71 pgtbl = (VDMA_PGTBL_ENTRY *)__get_free_pages(GFP_KERNEL | GFP_DMA, in vdma_init()73 BUG_ON(!pgtbl); in vdma_init()74 dma_cache_wback_inv((unsigned long)pgtbl, VDMA_PGTBL_SIZE); in vdma_init()75 pgtbl = (VDMA_PGTBL_ENTRY *)CKSEG1ADDR((unsigned long)pgtbl); in vdma_init()83 CPHYSADDR((unsigned long)pgtbl)); in vdma_init()121 while (pgtbl[first].owner != VDMA_PAGE_EMPTY && in vdma_alloc()129 while (pgtbl[last].owner == VDMA_PAGE_EMPTY in vdma_alloc()[all …]
154 struct snd_dma_buffer *pgtbl) in catpt_arrange_page_table() argument169 page_table = (u32 *)(pgtbl->area + offset); in catpt_arrange_page_table()275 &stream->pgtbl); in catpt_dai_startup()300 snd_dma_free_pages(&stream->pgtbl); in catpt_dai_startup()322 snd_dma_free_pages(&stream->pgtbl); in catpt_dai_shutdown()353 catpt_arrange_page_table(substream, &stream->pgtbl); in catpt_dai_hw_params()356 rinfo.page_table_addr = stream->pgtbl.addr; in catpt_dai_hw_params()
172 struct snd_dma_buffer pgtbl; member
270 __le32 *pgtbl; in build_via_table() local292 pgtbl = (__le32 *)dev->table.area; in build_via_table()309 pgtbl[idx << 1] = cpu_to_le32(addr); in build_via_table()326 pgtbl[(idx<<1) + 1] = cpu_to_le32(r | flag); in build_via_table()
417 __le32 *pgtbl; in build_via_table() local439 pgtbl = (__le32 *)dev->table.area; in build_via_table()456 pgtbl[idx << 1] = cpu_to_le32(addr); in build_via_table()471 pgtbl[(idx<<1) + 1] = cpu_to_le32(r | flag); in build_via_table()
746 if (dma->pgtbl) { in cnic_free_dma()748 dma->pgtbl, dma->pgtbl_map); in cnic_free_dma()749 dma->pgtbl = NULL; in cnic_free_dma()759 __le32 *page_table = (__le32 *) dma->pgtbl; in cnic_setup_page_tbl()773 __le32 *page_table = (__le32 *) dma->pgtbl; in cnic_setup_page_tbl_le()811 dma->pgtbl = dma_alloc_coherent(&dev->pcidev->dev, dma->pgtbl_size, in cnic_alloc_dma()813 if (dma->pgtbl == NULL) in cnic_alloc_dma()1733 iscsi->hq_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()1735 iscsi->hq_info.pgtbl[1]; in cnic_setup_bnx2x_ctx()1741 iscsi->r2tq_info.pgtbl[0]; in cnic_setup_bnx2x_ctx()[all …]
136 u32 *pgtbl; member
231 ; (3) z = (pgtbl + y * 4)
1792 __le32 *pgtbl; in snd_emu10k1_create() local2013 pgtbl = (__le32 *)emu->ptb_pages.area; in snd_emu10k1_create()2015 pgtbl[idx] = cpu_to_le32(silent_page | idx); in snd_emu10k1_create()
1031 static void __init xen_cleanmfnmap_free_pgtbl(void *pgtbl, bool unpin) in xen_cleanmfnmap_free_pgtbl() argument1033 unsigned long pa = __pa(pgtbl) & PHYSICAL_PAGE_MASK; in xen_cleanmfnmap_free_pgtbl()