Lines Matching refs:nr
59 int nr, void *virt, dword phys, in diva_init_dma_map_entry() argument
61 pmap[nr].phys_bus_addr = phys; in diva_init_dma_map_entry()
62 pmap[nr].local_ram_addr = virt; in diva_init_dma_map_entry()
63 pmap[nr].addr_handle = addr_handle; in diva_init_dma_map_entry()
81 void diva_free_dma_map_entry(struct _diva_dma_map_entry *pmap, int nr) { in diva_free_dma_map_entry() argument
82 pmap[nr].busy = 0; in diva_free_dma_map_entry()
87 void diva_get_dma_map_entry(struct _diva_dma_map_entry *pmap, int nr, in diva_get_dma_map_entry() argument
89 *pphys = pmap[nr].phys_bus_addr; in diva_get_dma_map_entry()
90 *pvirt = pmap[nr].local_ram_addr; in diva_get_dma_map_entry()
92 void *diva_get_entry_handle(struct _diva_dma_map_entry *pmap, int nr) { in diva_get_entry_handle() argument
93 return (pmap[nr].addr_handle); in diva_get_entry_handle()