Lines Matching refs:cnt
39 dma_addr_t *list, u32 pte, u32 cnt) in nv44_vm_fill() argument
49 while (cnt--) { in nv44_vm_fill()
85 struct nvkm_mem *mem, u32 pte, u32 cnt, dma_addr_t *list) in nv44_vm_map_sg() argument
94 u32 part = (cnt > max) ? max : cnt; in nv44_vm_map_sg()
98 cnt -= part; in nv44_vm_map_sg()
101 while (cnt >= 4) { in nv44_vm_map_sg()
108 cnt -= 4; in nv44_vm_map_sg()
111 if (cnt) in nv44_vm_map_sg()
112 nv44_vm_fill(pgt, mmu->null, list, pte, cnt); in nv44_vm_map_sg()
117 nv44_vm_unmap(struct nvkm_vma *vma, struct nvkm_memory *pgt, u32 pte, u32 cnt) in nv44_vm_unmap() argument
124 u32 part = (cnt > max) ? max : cnt; in nv44_vm_unmap()
127 cnt -= part; in nv44_vm_unmap()
130 while (cnt >= 4) { in nv44_vm_unmap()
135 cnt -= 4; in nv44_vm_unmap()
138 if (cnt) in nv44_vm_unmap()
139 nv44_vm_fill(pgt, mmu->null, NULL, pte, cnt); in nv44_vm_unmap()