Lines Matching refs:ndw
4130 unsigned ndw; in si_vm_set_page() local
4134 ndw = 2 + count * 2; in si_vm_set_page()
4135 if (ndw > 0x3FFE) in si_vm_set_page()
4136 ndw = 0x3FFE; in si_vm_set_page()
4138 ib->ptr[ib->length_dw++] = PACKET3(PACKET3_WRITE_DATA, ndw); in si_vm_set_page()
4143 for (; ndw > 2; ndw -= 2, --count, pe += 8) { in si_vm_set_page()
4162 ndw = count * 2; in si_vm_set_page()
4163 if (ndw > 0xFFFFE) in si_vm_set_page()
4164 ndw = 0xFFFFE; in si_vm_set_page()
4167 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 0, ndw); in si_vm_set_page()
4170 for (; ndw > 0; ndw -= 2, --count, pe += 8) { in si_vm_set_page()
4187 ndw = count * 2; in si_vm_set_page()
4188 if (ndw > 0xFFFFE) in si_vm_set_page()
4189 ndw = 0xFFFFE; in si_vm_set_page()
4196 ib->ptr[ib->length_dw++] = DMA_PTE_PDE_PACKET(ndw); in si_vm_set_page()
4205 pe += ndw * 4; in si_vm_set_page()
4206 addr += (ndw / 2) * incr; in si_vm_set_page()
4207 count -= ndw / 2; in si_vm_set_page()