Searched refs:length_dw (Results 1 - 25 of 79) sorted by relevance

1234

/linux-master/drivers/gpu/drm/radeon/
H A Dsi_dma.c78 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY,
80 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
81 ib->ptr[ib->length_dw++] = lower_32_bits(src);
82 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff;
83 ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff;
119 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 0, ndw);
120 ib->ptr[ib->length_dw++] = pe;
121 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff;
132 ib->ptr[ib->length_dw++] = value;
133 ib->ptr[ib->length_dw
[all...]
H A Dni_dma.c145 radeon_ring_write(ring, (ib->length_dw << 12) | (upper_32_bits(ib->gpu_addr) & 0xFF));
326 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY,
328 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
329 ib->ptr[ib->length_dw++] = lower_32_bits(src);
330 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff;
331 ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff;
367 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE,
369 ib->ptr[ib->length_dw++] = pe;
370 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff;
381 ib->ptr[ib->length_dw
[all...]
H A Dradeon_vce.c362 ib.length_dw = 0;
363 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */
364 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */
365 ib.ptr[ib.length_dw++] = cpu_to_le32(handle);
367 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000030); /* len */
368 ib.ptr[ib.length_dw++] = cpu_to_le32(0x01000001); /* create cmd */
369 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000);
370 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000042);
371 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000a);
372 ib.ptr[ib.length_dw
[all...]
H A Dradeon_cs.c95 p->nrelocs = chunk->length_dw / 4;
317 p->chunks[i].length_dw = user_chunk.length_dw;
324 if (p->chunks[i].length_dw == 0)
330 if (p->chunks[i].length_dw == 0)
336 if (p->chunks[i].length_dw == 0)
340 size = p->chunks[i].length_dw;
361 if (p->chunks[i].length_dw > 1)
363 if (p->chunks[i].length_dw > 2)
563 if (parser->const_ib.length_dw) {
[all...]
H A Dcik_sdma.c156 radeon_ring_write(ring, ib->length_dw);
731 ib.length_dw = 5;
812 ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_COPY,
814 ib->ptr[ib->length_dw++] = bytes;
815 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
816 ib->ptr[ib->length_dw++] = lower_32_bits(src);
817 ib->ptr[ib->length_dw++] = upper_32_bits(src);
818 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
819 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
855 ib->ptr[ib->length_dw
[all...]
H A Dradeon_vm.c412 ib.length_dw = 0;
416 WARN_ON(ib.length_dw > 64);
664 ib.length_dw = 0;
701 if (ib.length_dw != 0) {
705 WARN_ON(ib.length_dw > ndw);
1002 ib.length_dw = 0;
1020 WARN_ON(ib.length_dw > ndw);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vce.c469 ib->length_dw = 0;
470 ib->ptr[ib->length_dw++] = 0x0000000c; /* len */
471 ib->ptr[ib->length_dw++] = 0x00000001; /* session cmd */
472 ib->ptr[ib->length_dw++] = handle;
475 ib->ptr[ib->length_dw++] = 0x00000040; /* len */
477 ib->ptr[ib->length_dw++] = 0x00000030; /* len */
478 ib->ptr[ib->length_dw++] = 0x01000001; /* create cmd */
479 ib->ptr[ib->length_dw++] = 0x00000000;
480 ib->ptr[ib->length_dw++] = 0x00000042;
481 ib->ptr[ib->length_dw
[all...]
H A Dcik_sdma.c234 amdgpu_ring_write(ring, ib->length_dw);
679 ib.length_dw = 5;
721 ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_COPY,
723 ib->ptr[ib->length_dw++] = bytes;
724 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
725 ib->ptr[ib->length_dw++] = lower_32_bits(src);
726 ib->ptr[ib->length_dw++] = upper_32_bits(src);
727 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
728 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
748 ib->ptr[ib->length_dw
[all...]
H A Dsdma_v2_4.c259 amdgpu_ring_write(ring, ib->length_dw);
613 ib.length_dw = 8;
656 ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) |
658 ib->ptr[ib->length_dw++] = bytes;
659 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
660 ib->ptr[ib->length_dw++] = lower_32_bits(src);
661 ib->ptr[ib->length_dw++] = upper_32_bits(src);
662 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
663 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
683 ib->ptr[ib->length_dw
[all...]
H A Damdgpu_vcn.c572 ib->length_dw = 16;
692 ib->ptr[ib->length_dw++] = 0x00000010; /* single queue checksum */
693 ib->ptr[ib->length_dw++] = 0x30000002;
694 ib_checksum = &ib->ptr[ib->length_dw++];
695 ib->ptr[ib->length_dw++] = ib_pack_in_dw;
697 ib->ptr[ib->length_dw++] = 0x00000010; /* engine info */
698 ib->ptr[ib->length_dw++] = 0x30000001;
699 ib->ptr[ib->length_dw++] = enc ? 0x2 : 0x3;
700 ib->ptr[ib->length_dw++] = ib_pack_in_dw * sizeof(uint32_t);
743 ib->length_dw
[all...]
H A Dsi_dma.c75 amdgpu_ring_write(ring, (ib->length_dw << 12) | (upper_32_bits(ib->gpu_addr) & 0xFF));
270 ib.length_dw = 4;
312 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY,
314 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
315 ib->ptr[ib->length_dw++] = lower_32_bits(src);
316 ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff;
317 ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff;
337 ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 0, ndw);
338 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
339 ib->ptr[ib->length_dw
[all...]
H A Dsdma_v3_0.c435 amdgpu_ring_write(ring, ib->length_dw);
887 ib.length_dw = 8;
929 ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) |
931 ib->ptr[ib->length_dw++] = bytes;
932 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
933 ib->ptr[ib->length_dw++] = lower_32_bits(src);
934 ib->ptr[ib->length_dw++] = upper_32_bits(src);
935 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
936 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
956 ib->ptr[ib->length_dw
[all...]
H A Damdgpu_cs.h39 uint32_t length_dw; member in struct:amdgpu_cs_chunk
H A Duvd_v6_0.c227 ib->length_dw = 0;
228 ib->ptr[ib->length_dw++] = 0x00000018;
229 ib->ptr[ib->length_dw++] = 0x00000001; /* session info */
230 ib->ptr[ib->length_dw++] = handle;
231 ib->ptr[ib->length_dw++] = 0x00010000;
232 ib->ptr[ib->length_dw++] = upper_32_bits(addr);
233 ib->ptr[ib->length_dw++] = addr;
235 ib->ptr[ib->length_dw++] = 0x00000014;
236 ib->ptr[ib->length_dw++] = 0x00000002; /* task info */
237 ib->ptr[ib->length_dw
[all...]
H A Dsdma_v5_0.c433 amdgpu_ring_write(ring, ib->length_dw);
1097 ib.length_dw = 8;
1149 ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) |
1151 ib->ptr[ib->length_dw++] = bytes - 1;
1152 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
1153 ib->ptr[ib->length_dw++] = lower_32_bits(src);
1154 ib->ptr[ib->length_dw++] = upper_32_bits(src);
1155 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
1156 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
1177 ib->ptr[ib->length_dw
[all...]
H A Dsdma_v6_0.c226 amdgpu_ring_write(ring, ib->length_dw);
951 ib.length_dw = 8;
1003 ib->ptr[ib->length_dw++] = SDMA_PKT_COPY_LINEAR_HEADER_OP(SDMA_OP_COPY) |
1005 ib->ptr[ib->length_dw++] = bytes - 1;
1006 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
1007 ib->ptr[ib->length_dw++] = lower_32_bits(src);
1008 ib->ptr[ib->length_dw++] = upper_32_bits(src);
1009 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
1010 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
1031 ib->ptr[ib->length_dw
[all...]
H A Dsdma_v4_4_2.c327 amdgpu_ring_write(ring, ib->length_dw);
1039 ib.length_dw = 8;
1083 ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) |
1085 ib->ptr[ib->length_dw++] = bytes - 1;
1086 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
1087 ib->ptr[ib->length_dw++] = lower_32_bits(src);
1088 ib->ptr[ib->length_dw++] = upper_32_bits(src);
1089 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
1090 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
1111 ib->ptr[ib->length_dw
[all...]
H A Dsdma_v5_2.c240 amdgpu_ring_write(ring, ib->length_dw);
936 ib.length_dw = 8;
988 ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) |
990 ib->ptr[ib->length_dw++] = bytes - 1;
991 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
992 ib->ptr[ib->length_dw++] = lower_32_bits(src);
993 ib->ptr[ib->length_dw++] = upper_32_bits(src);
994 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
995 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
1016 ib->ptr[ib->length_dw
[all...]
H A Duvd_v7_0.c235 ib->length_dw = 0;
236 ib->ptr[ib->length_dw++] = 0x00000018;
237 ib->ptr[ib->length_dw++] = 0x00000001; /* session info */
238 ib->ptr[ib->length_dw++] = handle;
239 ib->ptr[ib->length_dw++] = 0x00000000;
240 ib->ptr[ib->length_dw++] = upper_32_bits(addr);
241 ib->ptr[ib->length_dw++] = addr;
243 ib->ptr[ib->length_dw++] = 0x00000014;
244 ib->ptr[ib->length_dw++] = 0x00000002; /* task info */
245 ib->ptr[ib->length_dw
[all...]
H A Dsdma_v4_0.c775 amdgpu_ring_write(ring, ib->length_dw);
1501 ib.length_dw = 8;
1545 ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) |
1547 ib->ptr[ib->length_dw++] = bytes - 1;
1548 ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */
1549 ib->ptr[ib->length_dw++] = lower_32_bits(src);
1550 ib->ptr[ib->length_dw++] = upper_32_bits(src);
1551 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
1552 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
1573 ib->ptr[ib->length_dw
[all...]
H A Dvcn_sw_ring.c53 amdgpu_ring_write(ring, ib->length_dw);
H A Damdgpu_vm_sdma.c127 WARN_ON(ib->length_dw == 0);
129 WARN_ON(ib->length_dw > p->num_dw_left);
253 ndw -= p->job->ibs->length_dw;
H A Dgfx_v9_4_2.c377 ib->length_dw = 0;
381 ib->ptr[ib->length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1);
382 ib->ptr[ib->length_dw++] = SOC15_REG_ENTRY_OFFSET(init_regs[i])
384 ib->ptr[ib->length_dw++] = init_regs[i].reg_value;
389 ib->ptr[ib->length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2);
390 ib->ptr[ib->length_dw++] = SOC15_REG_OFFSET(GC, 0, regCOMPUTE_PGM_LO)
392 ib->ptr[ib->length_dw++] = lower_32_bits(gpu_addr);
393 ib->ptr[ib->length_dw++] = upper_32_bits(gpu_addr);
396 ib->ptr[ib->length_dw++] = PACKET3(PACKET3_SET_SH_REG, 3);
397 ib->ptr[ib->length_dw
[all...]
H A Damdgpu_bios.c467 u32 i, length_dw; local
485 length_dw = ALIGN(length_bytes, 4) / 4;
503 for (i = 0; i < length_dw; i++)
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_hw.c480 le16_to_cpu(p_command->length_dw),
495 le16_to_cpu(p_command->length_dw),
626 u32 length_dw)
644 length_dw * sizeof(u32));
665 cmd->length_dw = cpu_to_le16((u16)length_dw);
674 src_addr, dst_addr, length_dw);
681 length_dw * sizeof(u32));
620 qed_dmae_execute_sub_operation(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, u64 src_addr, u64 dst_addr, u8 src_type, u8 dst_type, u32 length_dw) argument

Completed in 425 milliseconds

1234