length_dw 406 drivers/gpu/drm/amd/amdgpu/amdgpu.h uint32_t length_dw; length_dw 446 drivers/gpu/drm/amd/amdgpu/amdgpu.h uint32_t length_dw; length_dw 636 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c ib->length_dw = ib_len; length_dw 166 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->chunks[i].length_dw = user_chunk.length_dw; length_dw 168 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c size = p->chunks[i].length_dw; length_dw 190 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (p->chunks[i].length_dw * sizeof(uint32_t) < size) { length_dw 204 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (p->chunks[i].length_dw * sizeof(uint32_t) < size) { length_dw 1000 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c ib->length_dw = chunk_ib->ib_bytes / 4; length_dw 1023 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c num_deps = chunk->length_dw * 4 / length_dw 1096 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c num_deps = chunk->length_dw * 4 / length_dw 1117 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c num_deps = chunk->length_dw * 4 / length_dw 1139 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c num_deps = chunk->length_dw * 4 / length_dw 1175 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c num_deps = chunk->length_dw * 4 / length_dw 110 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c while (ib->length_dw & ring->funcs->align_mask) length_dw 111 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c ib->ptr[ib->length_dw++] = ring->funcs->nop; length_dw 155 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->dw = p->job->ibs[i].length_dw; length_dw 1940 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c WARN_ON(job->ibs[0].length_dw > num_dw); length_dw 2020 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c WARN_ON(job->ibs[0].length_dw > num_dw); length_dw 2116 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c WARN_ON(job->ibs[0].length_dw > num_dw); length_dw 900 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (ctx->idx >= ib->length_dw) { length_dw 943 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c for (ctx->idx = 0 ; ctx->idx < ib->length_dw; ) { length_dw 988 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (ib->length_dw % 16) { length_dw 990 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->length_dw); length_dw 1073 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->length_dw = 16; length_dw 451 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->length_dw = 0; length_dw 452 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x0000000c; /* len */ length_dw 453 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; /* session cmd */ length_dw 454 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = handle; length_dw 457 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000040; /* len */ length_dw 459 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000030; /* len */ length_dw 460 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x01000001; /* create cmd */ length_dw 461 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 462 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000042; length_dw 463 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x0000000a; length_dw 464 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; length_dw 465 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000080; length_dw 466 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000060; length_dw 467 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000100; length_dw 468 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000100; length_dw 469 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x0000000c; length_dw 470 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 472 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 473 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 474 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 475 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 478 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000014; /* len */ length_dw 479 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x05000005; /* feedback buffer */ length_dw 480 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 481 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = addr; length_dw 482 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; length_dw 484 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c for (i = ib->length_dw; i < ib_size_dw; ++i) length_dw 527 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->length_dw = 0; length_dw 528 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x0000000c; /* len */ length_dw 529 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; /* session cmd */ length_dw 530 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = handle; length_dw 532 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000020; /* len */ length_dw 533 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ length_dw 534 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0xffffffff; /* next task info, set to 0xffffffff if no */ length_dw 535 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; /* destroy session */ length_dw 536 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 537 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 538 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0xffffffff; /* feedback is not needed, set to 0xffffffff and firmware will not output feedback */ length_dw 539 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 541 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000008; /* len */ length_dw 542 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x02000001; /* destroy cmd */ length_dw 544 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c for (i = ib->length_dw; i < ib_size_dw; ++i) length_dw 725 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c for (idx = 0; idx < ib->length_dw;) { length_dw 791 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c for (idx = 0; idx < ib->length_dw;) { length_dw 955 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c while (idx < ib->length_dw) { length_dw 1044 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_ring_write(ring, ib->length_dw); length_dw 434 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->length_dw = 16; length_dw 589 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->length_dw = 0; length_dw 590 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000018; length_dw 591 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000001; /* session info */ length_dw 592 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = handle; length_dw 593 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 594 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = addr; length_dw 595 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x0000000b; length_dw 597 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000014; length_dw 598 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ length_dw 599 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x0000001c; length_dw 600 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 601 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 603 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000008; length_dw 604 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x08000001; /* op initialize */ length_dw 606 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c for (i = ib->length_dw; i < ib_size_dw; ++i) length_dw 642 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->length_dw = 0; length_dw 643 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000018; length_dw 644 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000001; length_dw 645 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = handle; length_dw 646 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 647 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = addr; length_dw 648 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x0000000b; length_dw 650 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000014; length_dw 651 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000002; length_dw 652 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x0000001c; length_dw 653 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 654 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 656 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000008; length_dw 657 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x08000002; /* op close session */ length_dw 659 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c for (i = ib->length_dw; i < ib_size_dw; ++i) length_dw 761 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->length_dw = 16; length_dw 104 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c WARN_ON(ib->length_dw == 0); length_dw 106 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c WARN_ON(ib->length_dw > p->num_dw_left); length_dw 206 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c ndw -= p->job->ibs->length_dw; length_dw 941 drivers/gpu/drm/amd/amdgpu/cik.c u32 i, length_dw; length_dw 952 drivers/gpu/drm/amd/amdgpu/cik.c length_dw = ALIGN(length_bytes, 4) / 4; length_dw 960 drivers/gpu/drm/amd/amdgpu/cik.c for (i = 0; i < length_dw; i++) length_dw 236 drivers/gpu/drm/amd/amdgpu/cik_sdma.c amdgpu_ring_write(ring, ib->length_dw); length_dw 692 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib.length_dw = 5; length_dw 734 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_COPY, length_dw 736 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = bytes; length_dw 737 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 738 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 739 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(src); length_dw 740 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 741 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 761 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_WRITE, length_dw 763 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 764 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 765 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = ndw; length_dw 767 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(value); length_dw 768 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 790 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_GENERATE_PTE_PDE, 0, 0); length_dw 791 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ length_dw 792 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 793 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ length_dw 794 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); length_dw 795 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ length_dw 796 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 797 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 798 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = 0; length_dw 799 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = count; /* number of entries */ length_dw 814 drivers/gpu/drm/amd/amdgpu/cik_sdma.c pad_count = (-ib->length_dw) & 7; length_dw 817 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = length_dw 821 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = length_dw 1318 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_COPY, SDMA_COPY_SUB_OPCODE_LINEAR, 0); length_dw 1319 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = byte_count; length_dw 1320 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 1321 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); length_dw 1322 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); length_dw 1323 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 1324 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 1342 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_CONSTANT_FILL, 0, 0); length_dw 1343 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 1344 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 1345 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = src_data; length_dw 1346 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = byte_count; length_dw 515 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ib.length_dw = 3; length_dw 4465 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c control |= ib->length_dw | (vmid << 24); length_dw 4495 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 control = INDIRECT_BUFFER_VALID | ib->length_dw | (vmid << 24); length_dw 1882 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c control |= ib->length_dw | (vmid << 24); length_dw 1925 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c ib.length_dw = 3; length_dw 2277 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c control |= ib->length_dw | (vmid << 24); length_dw 2295 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 control = INDIRECT_BUFFER_VALID | ib->length_dw | (vmid << 24); length_dw 2374 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ib.length_dw = 3; length_dw 900 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.length_dw = 5; length_dw 1596 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.length_dw = 0; length_dw 1601 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); length_dw 1602 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = vgpr_init_regs[i] - PACKET3_SET_SH_REG_START; length_dw 1603 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = vgpr_init_regs[i + 1]; length_dw 1607 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); length_dw 1608 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = mmCOMPUTE_PGM_LO - PACKET3_SET_SH_REG_START; length_dw 1609 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); length_dw 1610 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); length_dw 1613 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); length_dw 1614 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 8; /* x */ length_dw 1615 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* y */ length_dw 1616 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* z */ length_dw 1617 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = length_dw 1621 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); length_dw 1622 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); length_dw 1627 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); length_dw 1628 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = sgpr1_init_regs[i] - PACKET3_SET_SH_REG_START; length_dw 1629 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = sgpr1_init_regs[i + 1]; length_dw 1633 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); length_dw 1634 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = mmCOMPUTE_PGM_LO - PACKET3_SET_SH_REG_START; length_dw 1635 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); length_dw 1636 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); length_dw 1639 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); length_dw 1640 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 8; /* x */ length_dw 1641 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* y */ length_dw 1642 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* z */ length_dw 1643 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = length_dw 1647 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); length_dw 1648 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); length_dw 1653 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); length_dw 1654 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = sgpr2_init_regs[i] - PACKET3_SET_SH_REG_START; length_dw 1655 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = sgpr2_init_regs[i + 1]; length_dw 1659 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); length_dw 1660 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = mmCOMPUTE_PGM_LO - PACKET3_SET_SH_REG_START; length_dw 1661 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); length_dw 1662 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); length_dw 1665 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); length_dw 1666 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 8; /* x */ length_dw 1667 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* y */ length_dw 1668 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* z */ length_dw 1669 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = length_dw 1673 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); length_dw 1674 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); length_dw 6128 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c control |= ib->length_dw | (vmid << 24); length_dw 6153 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 control = INDIRECT_BUFFER_VALID | ib->length_dw | (vmid << 24); length_dw 903 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.length_dw = 5; length_dw 4306 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.length_dw = 0; length_dw 4311 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); length_dw 4312 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = SOC15_REG_ENTRY_OFFSET(vgpr_init_regs[i]) length_dw 4314 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = vgpr_init_regs[i].reg_value; length_dw 4318 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); length_dw 4319 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = SOC15_REG_OFFSET(GC, 0, mmCOMPUTE_PGM_LO) length_dw 4321 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); length_dw 4322 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); length_dw 4325 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); length_dw 4326 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 128; /* x */ length_dw 4327 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 1; /* y */ length_dw 4328 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 1; /* z */ length_dw 4329 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = length_dw 4333 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); length_dw 4334 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); length_dw 4339 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); length_dw 4340 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = SOC15_REG_ENTRY_OFFSET(sgpr_init_regs[i]) length_dw 4342 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = sgpr_init_regs[i].reg_value; length_dw 4346 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); length_dw 4347 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = SOC15_REG_OFFSET(GC, 0, mmCOMPUTE_PGM_LO) length_dw 4349 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); length_dw 4350 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); length_dw 4353 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); length_dw 4354 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 128; /* x */ length_dw 4355 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 1; /* y */ length_dw 4356 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 1; /* z */ length_dw 4357 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = length_dw 4361 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); length_dw 4362 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); length_dw 5024 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c control |= ib->length_dw | (vmid << 24); length_dw 5050 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 control = INDIRECT_BUFFER_VALID | ib->length_dw | (vmid << 24); length_dw 347 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c job->ibs->ptr[job->ibs->length_dw++] = ring->funcs->nop; length_dw 265 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c amdgpu_ring_write(ring, ib->length_dw); length_dw 630 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.length_dw = 8; length_dw 673 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | length_dw 675 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = bytes; length_dw 676 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 677 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 678 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(src); length_dw 679 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 680 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 700 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | length_dw 702 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = pe; length_dw 703 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 704 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = ndw; length_dw 706 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(value); length_dw 707 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 729 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_GEN_PTEPDE); length_dw 730 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ length_dw 731 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 732 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ length_dw 733 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); length_dw 734 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ length_dw 735 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 736 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 737 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = 0; length_dw 738 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = count; /* number of entries */ length_dw 753 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c pad_count = (-ib->length_dw) & 7; length_dw 756 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = length_dw 760 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = length_dw 1205 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | length_dw 1207 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = byte_count; length_dw 1208 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 1209 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); length_dw 1210 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); length_dw 1211 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 1212 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 1230 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_CONST_FILL); length_dw 1231 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 1232 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 1233 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = src_data; length_dw 1234 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = byte_count; length_dw 439 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 902 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.length_dw = 8; length_dw 944 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | length_dw 946 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = bytes; length_dw 947 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 948 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 949 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src); length_dw 950 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 951 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 971 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | length_dw 973 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 974 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 975 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = ndw; length_dw 977 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(value); length_dw 978 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 1000 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_GEN_PTEPDE); length_dw 1001 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ length_dw 1002 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 1003 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ length_dw 1004 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); length_dw 1005 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ length_dw 1006 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 1007 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 1008 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = 0; length_dw 1009 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = count; /* number of entries */ length_dw 1024 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c pad_count = (-ib->length_dw) & 7; length_dw 1027 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = length_dw 1031 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = length_dw 1643 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | length_dw 1645 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = byte_count; length_dw 1646 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 1647 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); length_dw 1648 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); length_dw 1649 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 1650 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 1668 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_CONST_FILL); length_dw 1669 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 1670 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 1671 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = src_data; length_dw 1672 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = byte_count; length_dw 708 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1455 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.length_dw = 8; length_dw 1499 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | length_dw 1501 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = bytes - 1; length_dw 1502 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 1503 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 1504 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src); length_dw 1505 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 1506 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 1528 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | length_dw 1530 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 1531 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 1532 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = ndw - 1; length_dw 1534 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(value); length_dw 1535 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 1558 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_PTEPDE); length_dw 1559 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ length_dw 1560 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 1561 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ length_dw 1562 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); length_dw 1563 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ length_dw 1564 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 1565 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 1566 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = 0; length_dw 1567 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = count - 1; /* number of entries */ length_dw 1582 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c pad_count = (-ib->length_dw) & 7; length_dw 1585 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = length_dw 1589 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = length_dw 2465 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | length_dw 2467 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = byte_count - 1; length_dw 2468 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 2469 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); length_dw 2470 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); length_dw 2471 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 2472 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 2490 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_CONST_FILL); length_dw 2491 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 2492 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 2493 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = src_data; length_dw 2494 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = byte_count - 1; length_dw 412 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 987 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.length_dw = 8; length_dw 1036 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | length_dw 1038 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = bytes - 1; length_dw 1039 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 1040 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 1041 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src); length_dw 1042 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 1043 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 1065 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | length_dw 1067 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 1068 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 1069 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = ndw - 1; length_dw 1071 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(value); length_dw 1072 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 1095 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_PTEPDE); length_dw 1096 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ length_dw 1097 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 1098 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ length_dw 1099 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); length_dw 1100 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ length_dw 1101 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 1102 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 1103 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = 0; length_dw 1104 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = count - 1; /* number of entries */ length_dw 1119 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c pad_count = (-ib->length_dw) & 0x7; length_dw 1122 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = length_dw 1126 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = length_dw 1684 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | length_dw 1686 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = byte_count - 1; length_dw 1687 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 1688 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); length_dw 1689 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); length_dw 1690 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 1691 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 1709 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_CONST_FILL); length_dw 1710 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 1711 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); length_dw 1712 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = src_data; length_dw 1713 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = byte_count - 1; length_dw 1163 drivers/gpu/drm/amd/amdgpu/si.c u32 i, length_dw; length_dw 1174 drivers/gpu/drm/amd/amdgpu/si.c length_dw = ALIGN(length_bytes, 4) / 4; length_dw 1177 drivers/gpu/drm/amd/amdgpu/si.c for (i = 0; i < length_dw; i++) length_dw 76 drivers/gpu/drm/amd/amdgpu/si_dma.c amdgpu_ring_write(ring, (ib->length_dw << 12) | (upper_32_bits(ib->gpu_addr) & 0xFF)); length_dw 278 drivers/gpu/drm/amd/amdgpu/si_dma.c ib.length_dw = 4; length_dw 320 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, length_dw 322 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 323 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 324 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; length_dw 325 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff; length_dw 345 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 0, ndw); length_dw 346 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 347 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 349 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(value); length_dw 350 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 386 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PTE_PDE_PACKET(ndw); length_dw 387 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = pe; /* dst addr */ length_dw 388 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; length_dw 389 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ length_dw 390 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); length_dw 391 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = value; /* value */ length_dw 392 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 393 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 394 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = 0; length_dw 409 drivers/gpu/drm/amd/amdgpu/si_dma.c while (ib->length_dw & 0x7) length_dw 410 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_NOP, 0, 0, 0, 0); length_dw 780 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, length_dw 782 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 783 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); length_dw 784 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset) & 0xff; length_dw 785 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset) & 0xff; length_dw 803 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_CONSTANT_FILL, length_dw 805 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); length_dw 806 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = src_data; length_dw 807 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset) << 16; length_dw 313 drivers/gpu/drm/amd/amdgpu/soc15.c u32 i, length_dw; length_dw 326 drivers/gpu/drm/amd/amdgpu/soc15.c length_dw = ALIGN(length_bytes, 4) / 4; length_dw 343 drivers/gpu/drm/amd/amdgpu/soc15.c for (i = 0; i < length_dw; i++) length_dw 519 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c amdgpu_ring_write(ring, ib->length_dw); length_dw 537 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 226 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->length_dw = 0; length_dw 227 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000018; length_dw 228 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000001; /* session info */ length_dw 229 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = handle; length_dw 230 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00010000; length_dw 231 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 232 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = addr; length_dw 234 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000014; length_dw 235 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ length_dw 236 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x0000001c; length_dw 237 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000001; length_dw 238 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 240 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000008; length_dw 241 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x08000001; /* op initialize */ length_dw 243 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c for (i = ib->length_dw; i < ib_size_dw; ++i) length_dw 289 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->length_dw = 0; length_dw 290 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000018; length_dw 291 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000001; /* session info */ length_dw 292 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = handle; length_dw 293 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00010000; length_dw 294 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 295 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = addr; length_dw 297 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000014; length_dw 298 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ length_dw 299 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x0000001c; length_dw 300 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000001; length_dw 301 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 303 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000008; length_dw 304 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x08000002; /* op close session */ length_dw 306 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c for (i = ib->length_dw; i < ib_size_dw; ++i) length_dw 1006 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1028 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 234 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->length_dw = 0; length_dw 235 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000018; length_dw 236 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000001; /* session info */ length_dw 237 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = handle; length_dw 238 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 239 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 240 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = addr; length_dw 242 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000014; length_dw 243 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ length_dw 244 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x0000001c; length_dw 245 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 246 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 248 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000008; length_dw 249 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x08000001; /* op initialize */ length_dw 251 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c for (i = ib->length_dw; i < ib_size_dw; ++i) length_dw 296 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->length_dw = 0; length_dw 297 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000018; length_dw 298 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000001; length_dw 299 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = handle; length_dw 300 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 301 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); length_dw 302 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = addr; length_dw 304 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000014; length_dw 305 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000002; length_dw 306 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x0000001c; length_dw 307 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 308 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; length_dw 310 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000008; length_dw 311 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x08000002; /* op close session */ length_dw 313 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c for (i = ib->length_dw; i < ib_size_dw; ++i) length_dw 1271 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c for (i = 0; i < ib->length_dw; i += 2) { length_dw 1310 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1332 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 845 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 960 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1536 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1687 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1907 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1596 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1762 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 1961 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c amdgpu_ring_write(ring, ib->length_dw); length_dw 425 drivers/gpu/drm/amd/amdgpu/vi.c u32 i, length_dw; length_dw 436 drivers/gpu/drm/amd/amdgpu/vi.c length_dw = ALIGN(length_bytes, 4) / 4; length_dw 444 drivers/gpu/drm/amd/amdgpu/vi.c for (i = 0; i < length_dw; i++) length_dw 3765 drivers/gpu/drm/radeon/cik.c control |= ib->length_dw | (vm_id << 24); length_dw 3806 drivers/gpu/drm/radeon/cik.c ib.length_dw = 3; length_dw 157 drivers/gpu/drm/radeon/cik_sdma.c radeon_ring_write(ring, ib->length_dw); length_dw 732 drivers/gpu/drm/radeon/cik_sdma.c ib.length_dw = 5; length_dw 813 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_COPY, length_dw 815 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = bytes; length_dw 816 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ length_dw 817 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 818 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(src); length_dw 819 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 820 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 856 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_WRITE, length_dw 858 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = pe; length_dw 859 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 860 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = ndw; length_dw 871 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = value; length_dw 872 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 910 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_GENERATE_PTE_PDE, 0, 0); length_dw 911 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = pe; /* dst addr */ length_dw 912 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); length_dw 913 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = flags; /* mask */ length_dw 914 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = 0; length_dw 915 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = value; /* value */ length_dw 916 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 917 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 918 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = 0; length_dw 919 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = ndw; /* number of entries */ length_dw 935 drivers/gpu/drm/radeon/cik_sdma.c while (ib->length_dw & 0x7) length_dw 936 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_NOP, 0, 0); length_dw 2961 drivers/gpu/drm/radeon/evergreen.c radeon_ring_write(ring, ib->length_dw); length_dw 2776 drivers/gpu/drm/radeon/evergreen_cs.c } while (p->idx < p->chunk_ib->length_dw); length_dw 2778 drivers/gpu/drm/radeon/evergreen_cs.c for (r = 0; r < p->ib.length_dw; r++) { length_dw 2808 drivers/gpu/drm/radeon/evergreen_cs.c if (p->idx >= ib_chunk->length_dw) { length_dw 2810 drivers/gpu/drm/radeon/evergreen_cs.c p->idx, ib_chunk->length_dw); length_dw 3215 drivers/gpu/drm/radeon/evergreen_cs.c } while (p->idx < p->chunk_ib->length_dw); length_dw 3217 drivers/gpu/drm/radeon/evergreen_cs.c for (r = 0; r < p->ib->length_dw; r++) { length_dw 3552 drivers/gpu/drm/radeon/evergreen_cs.c } while (idx < ib->length_dw); length_dw 3654 drivers/gpu/drm/radeon/evergreen_cs.c } while (idx < ib->length_dw); length_dw 90 drivers/gpu/drm/radeon/evergreen_dma.c radeon_ring_write(ring, (ib->length_dw << 12) | (upper_32_bits(ib->gpu_addr) & 0xFF)); length_dw 1451 drivers/gpu/drm/radeon/ni.c radeon_ring_write(ring, ib->length_dw | (vm_id << 24)); length_dw 146 drivers/gpu/drm/radeon/ni_dma.c radeon_ring_write(ring, (ib->length_dw << 12) | (upper_32_bits(ib->gpu_addr) & 0xFF)); length_dw 327 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, length_dw 329 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 330 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 331 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; length_dw 332 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff; length_dw 368 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, length_dw 370 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = pe; length_dw 371 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; length_dw 382 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = value; length_dw 383 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 421 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = DMA_PTE_PDE_PACKET(ndw); length_dw 422 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = pe; /* dst addr */ length_dw 423 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; length_dw 424 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = flags; /* mask */ length_dw 425 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = 0; length_dw 426 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = value; /* value */ length_dw 427 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 428 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 429 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = 0; length_dw 445 drivers/gpu/drm/radeon/ni_dma.c while (ib->length_dw & 0x7) length_dw 446 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_NOP, 0, 0, 0); length_dw 2073 drivers/gpu/drm/radeon/r100.c } while (p->idx < p->chunk_ib->length_dw); length_dw 3703 drivers/gpu/drm/radeon/r100.c radeon_ring_write(ring, ib->length_dw); length_dw 3733 drivers/gpu/drm/radeon/r100.c ib.length_dw = 8; length_dw 1320 drivers/gpu/drm/radeon/r300.c } while (p->idx < p->chunk_ib->length_dw); length_dw 3396 drivers/gpu/drm/radeon/r600.c radeon_ring_write(ring, ib->length_dw); length_dw 3421 drivers/gpu/drm/radeon/r600.c ib.length_dw = 3; length_dw 2319 drivers/gpu/drm/radeon/r600_cs.c } while (p->idx < p->chunk_ib->length_dw); length_dw 2321 drivers/gpu/drm/radeon/r600_cs.c for (r = 0; r < p->ib.length_dw; r++) { length_dw 2389 drivers/gpu/drm/radeon/r600_cs.c if (p->idx >= ib_chunk->length_dw) { length_dw 2391 drivers/gpu/drm/radeon/r600_cs.c p->idx, ib_chunk->length_dw); length_dw 2527 drivers/gpu/drm/radeon/r600_cs.c } while (p->idx < p->chunk_ib->length_dw); length_dw 2529 drivers/gpu/drm/radeon/r600_cs.c for (r = 0; r < p->ib->length_dw; r++) { length_dw 363 drivers/gpu/drm/radeon/r600_dma.c ib.length_dw = 4; length_dw 427 drivers/gpu/drm/radeon/r600_dma.c radeon_ring_write(ring, (ib->length_dw << 16) | (upper_32_bits(ib->gpu_addr) & 0xFF)); length_dw 823 drivers/gpu/drm/radeon/radeon.h uint32_t length_dw; length_dw 1052 drivers/gpu/drm/radeon/radeon.h uint32_t length_dw; length_dw 95 drivers/gpu/drm/radeon/radeon_cs.c p->nrelocs = chunk->length_dw / 4; length_dw 317 drivers/gpu/drm/radeon/radeon_cs.c p->chunks[i].length_dw = user_chunk.length_dw; length_dw 324 drivers/gpu/drm/radeon/radeon_cs.c if (p->chunks[i].length_dw == 0) length_dw 330 drivers/gpu/drm/radeon/radeon_cs.c if (p->chunks[i].length_dw == 0) length_dw 336 drivers/gpu/drm/radeon/radeon_cs.c if (p->chunks[i].length_dw == 0) length_dw 340 drivers/gpu/drm/radeon/radeon_cs.c size = p->chunks[i].length_dw; length_dw 361 drivers/gpu/drm/radeon/radeon_cs.c if (p->chunks[i].length_dw > 1) length_dw 363 drivers/gpu/drm/radeon/radeon_cs.c if (p->chunks[i].length_dw > 2) length_dw 554 drivers/gpu/drm/radeon/radeon_cs.c if (parser->const_ib.length_dw) { length_dw 620 drivers/gpu/drm/radeon/radeon_cs.c if (ib_chunk->length_dw > RADEON_IB_VM_MAX_SIZE) { length_dw 621 drivers/gpu/drm/radeon/radeon_cs.c DRM_ERROR("cs IB CONST too big: %d\n", ib_chunk->length_dw); length_dw 625 drivers/gpu/drm/radeon/radeon_cs.c vm, ib_chunk->length_dw * 4); length_dw 631 drivers/gpu/drm/radeon/radeon_cs.c parser->const_ib.length_dw = ib_chunk->length_dw; length_dw 634 drivers/gpu/drm/radeon/radeon_cs.c ib_chunk->length_dw * 4)) length_dw 639 drivers/gpu/drm/radeon/radeon_cs.c if (ib_chunk->length_dw > RADEON_IB_VM_MAX_SIZE) { length_dw 640 drivers/gpu/drm/radeon/radeon_cs.c DRM_ERROR("cs IB too big: %d\n", ib_chunk->length_dw); length_dw 647 drivers/gpu/drm/radeon/radeon_cs.c vm, ib_chunk->length_dw * 4); length_dw 652 drivers/gpu/drm/radeon/radeon_cs.c parser->ib.length_dw = ib_chunk->length_dw; length_dw 654 drivers/gpu/drm/radeon/radeon_cs.c memcpy(parser->ib.ptr, ib_chunk->kdata, ib_chunk->length_dw * 4); length_dw 655 drivers/gpu/drm/radeon/radeon_cs.c else if (copy_from_user(parser->ib.ptr, ib_chunk->user_ptr, ib_chunk->length_dw * 4)) length_dw 741 drivers/gpu/drm/radeon/radeon_cs.c if (idx >= ib_chunk->length_dw) { length_dw 743 drivers/gpu/drm/radeon/radeon_cs.c idx, ib_chunk->length_dw); length_dw 771 drivers/gpu/drm/radeon/radeon_cs.c if ((pkt->count + 1 + pkt->idx) >= ib_chunk->length_dw) { length_dw 773 drivers/gpu/drm/radeon/radeon_cs.c pkt->idx, pkt->type, pkt->count, ib_chunk->length_dw); length_dw 780 drivers/gpu/drm/radeon/radeon_cs.c for (i = 0; i < ib_chunk->length_dw; i++) { length_dw 868 drivers/gpu/drm/radeon/radeon_cs.c if (idx >= relocs_chunk->length_dw) { length_dw 870 drivers/gpu/drm/radeon/radeon_cs.c idx, relocs_chunk->length_dw); length_dw 131 drivers/gpu/drm/radeon/radeon_ib.c if (!ib->length_dw || !ring->ready) { length_dw 41 drivers/gpu/drm/radeon/radeon_trace.h __entry->dw = p->chunk_ib->length_dw; length_dw 585 drivers/gpu/drm/radeon/radeon_uvd.c if (idx >= relocs_chunk->length_dw) { length_dw 587 drivers/gpu/drm/radeon/radeon_uvd.c idx, relocs_chunk->length_dw); length_dw 700 drivers/gpu/drm/radeon/radeon_uvd.c if (p->chunk_ib->length_dw % 16) { length_dw 702 drivers/gpu/drm/radeon/radeon_uvd.c p->chunk_ib->length_dw); length_dw 730 drivers/gpu/drm/radeon/radeon_uvd.c } while (p->idx < p->chunk_ib->length_dw); length_dw 761 drivers/gpu/drm/radeon/radeon_uvd.c ib.length_dw = 16; length_dw 363 drivers/gpu/drm/radeon/radeon_vce.c ib.length_dw = 0; length_dw 364 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */ length_dw 365 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */ length_dw 366 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(handle); length_dw 368 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000030); /* len */ length_dw 369 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x01000001); /* create cmd */ length_dw 370 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000); length_dw 371 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000042); length_dw 372 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000a); length_dw 373 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); length_dw 374 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000080); length_dw 375 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000060); length_dw 376 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000100); length_dw 377 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000100); length_dw 378 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); length_dw 379 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000); length_dw 381 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000014); /* len */ length_dw 382 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x05000005); /* feedback buffer */ length_dw 383 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(upper_32_bits(dummy)); length_dw 384 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(dummy); length_dw 385 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); length_dw 387 drivers/gpu/drm/radeon/radeon_vce.c for (i = ib.length_dw; i < ib_size_dw; ++i) length_dw 430 drivers/gpu/drm/radeon/radeon_vce.c ib.length_dw = 0; length_dw 431 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */ length_dw 432 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */ length_dw 433 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(handle); length_dw 435 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000014); /* len */ length_dw 436 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x05000005); /* feedback buffer */ length_dw 437 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(upper_32_bits(dummy)); length_dw 438 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(dummy); length_dw 439 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); length_dw 441 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000008); /* len */ length_dw 442 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x02000001); /* destroy cmd */ length_dw 444 drivers/gpu/drm/radeon/radeon_vce.c for (i = ib.length_dw; i < ib_size_dw; ++i) length_dw 482 drivers/gpu/drm/radeon/radeon_vce.c if (idx >= relocs_chunk->length_dw) { length_dw 484 drivers/gpu/drm/radeon/radeon_vce.c idx, relocs_chunk->length_dw); length_dw 565 drivers/gpu/drm/radeon/radeon_vce.c while (p->idx < p->chunk_ib->length_dw) { length_dw 725 drivers/gpu/drm/radeon/radeon_vce.c radeon_ring_write(ring, cpu_to_le32(ib->length_dw)); length_dw 411 drivers/gpu/drm/radeon/radeon_vm.c ib.length_dw = 0; length_dw 415 drivers/gpu/drm/radeon/radeon_vm.c WARN_ON(ib.length_dw > 64); length_dw 665 drivers/gpu/drm/radeon/radeon_vm.c ib.length_dw = 0; length_dw 702 drivers/gpu/drm/radeon/radeon_vm.c if (ib.length_dw != 0) { length_dw 706 drivers/gpu/drm/radeon/radeon_vm.c WARN_ON(ib.length_dw > ndw); length_dw 1003 drivers/gpu/drm/radeon/radeon_vm.c ib.length_dw = 0; length_dw 1021 drivers/gpu/drm/radeon/radeon_vm.c WARN_ON(ib.length_dw > ndw); length_dw 3443 drivers/gpu/drm/radeon/si.c radeon_ring_write(ring, ib->length_dw | (vm_id << 24)); length_dw 4782 drivers/gpu/drm/radeon/si.c for (i = 0; i < ib->length_dw; i++) { length_dw 4790 drivers/gpu/drm/radeon/si.c } while (idx < ib->length_dw); length_dw 79 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, length_dw 81 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); length_dw 82 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); length_dw 83 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; length_dw 84 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff; length_dw 120 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 0, ndw); length_dw 121 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = pe; length_dw 122 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; length_dw 133 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = value; length_dw 134 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 172 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = DMA_PTE_PDE_PACKET(ndw); length_dw 173 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = pe; /* dst addr */ length_dw 174 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; length_dw 175 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = flags; /* mask */ length_dw 176 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = 0; length_dw 177 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = value; /* value */ length_dw 178 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); length_dw 179 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ length_dw 180 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = 0; length_dw 489 drivers/gpu/drm/radeon/uvd_v1_0.c radeon_ring_write(ring, ib->length_dw); length_dw 1424 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 length_dw; length_dw 495 drivers/net/ethernet/qlogic/qed/qed_hw.c le16_to_cpu(p_command->length_dw), length_dw 510 drivers/net/ethernet/qlogic/qed/qed_hw.c le16_to_cpu(p_command->length_dw), length_dw 641 drivers/net/ethernet/qlogic/qed/qed_hw.c u32 length_dw) length_dw 659 drivers/net/ethernet/qlogic/qed/qed_hw.c length_dw * sizeof(u32)); length_dw 680 drivers/net/ethernet/qlogic/qed/qed_hw.c cmd->length_dw = cpu_to_le16((u16)length_dw); length_dw 689 drivers/net/ethernet/qlogic/qed/qed_hw.c src_addr, dst_addr, length_dw); length_dw 696 drivers/net/ethernet/qlogic/qed/qed_hw.c length_dw * sizeof(u32)); length_dw 545 include/uapi/drm/amdgpu_drm.h __u32 length_dw; length_dw 969 include/uapi/drm/radeon_drm.h __u32 length_dw;