Lines Matching refs:length_dw
649 ib->length_dw = 16;
769 ib->ptr[ib->length_dw++] = 0x00000010; /* single queue checksum */
770 ib->ptr[ib->length_dw++] = 0x30000002;
771 ib_checksum = &ib->ptr[ib->length_dw++];
772 ib->ptr[ib->length_dw++] = ib_pack_in_dw;
774 ib->ptr[ib->length_dw++] = 0x00000010; /* engine info */
775 ib->ptr[ib->length_dw++] = 0x30000001;
776 ib->ptr[ib->length_dw++] = enc ? 0x2 : 0x3;
777 ib->ptr[ib->length_dw++] = ib_pack_in_dw * sizeof(uint32_t);
819 ib->length_dw = 0;
828 ib->ptr[ib->length_dw++] = sizeof(struct amdgpu_vcn_decode_buffer) + 8;
829 ib->ptr[ib->length_dw++] = cpu_to_le32(AMDGPU_VCN_IB_FLAG_DECODE_BUFFER);
830 decode_buffer = (struct amdgpu_vcn_decode_buffer *)&(ib->ptr[ib->length_dw]);
831 ib->length_dw += sizeof(struct amdgpu_vcn_decode_buffer) / 4;
838 for (i = ib->length_dw; i < ib_size_dw; ++i)
951 ib->length_dw = 0;
956 ib->ptr[ib->length_dw++] = 0x00000018;
957 ib->ptr[ib->length_dw++] = 0x00000001; /* session info */
958 ib->ptr[ib->length_dw++] = handle;
959 ib->ptr[ib->length_dw++] = upper_32_bits(addr);
960 ib->ptr[ib->length_dw++] = addr;
961 ib->ptr[ib->length_dw++] = 0x00000000;
963 ib->ptr[ib->length_dw++] = 0x00000014;
964 ib->ptr[ib->length_dw++] = 0x00000002; /* task info */
965 ib->ptr[ib->length_dw++] = 0x0000001c;
966 ib->ptr[ib->length_dw++] = 0x00000000;
967 ib->ptr[ib->length_dw++] = 0x00000000;
969 ib->ptr[ib->length_dw++] = 0x00000008;
970 ib->ptr[ib->length_dw++] = 0x08000001; /* op initialize */
972 for (i = ib->length_dw; i < ib_size_dw; ++i)
1018 ib->length_dw = 0;
1023 ib->ptr[ib->length_dw++] = 0x00000018;
1024 ib->ptr[ib->length_dw++] = 0x00000001;
1025 ib->ptr[ib->length_dw++] = handle;
1026 ib->ptr[ib->length_dw++] = upper_32_bits(addr);
1027 ib->ptr[ib->length_dw++] = addr;
1028 ib->ptr[ib->length_dw++] = 0x00000000;
1030 ib->ptr[ib->length_dw++] = 0x00000014;
1031 ib->ptr[ib->length_dw++] = 0x00000002;
1032 ib->ptr[ib->length_dw++] = 0x0000001c;
1033 ib->ptr[ib->length_dw++] = 0x00000000;
1034 ib->ptr[ib->length_dw++] = 0x00000000;
1036 ib->ptr[ib->length_dw++] = 0x00000008;
1037 ib->ptr[ib->length_dw++] = 0x08000002; /* op close session */
1039 for (i = ib->length_dw; i < ib_size_dw; ++i)