Home
last modified time | relevance | path

Searched refs:sdma_hdr (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dipoib_tx.c125 le64_to_cpu(tx->sdma_hdr->pbc), tx->txq->q_idx, in hfi1_ipoib_free_tx()
235 struct hfi1_sdma_header *sdma_hdr = tx->sdma_hdr; in hfi1_ipoib_build_tx_desc() local
237 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2) + tx->skb->len; in hfi1_ipoib_build_tx_desc()
247 sdma_hdr, in hfi1_ipoib_build_tx_desc()
248 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2)); in hfi1_ipoib_build_tx_desc()
260 struct hfi1_sdma_header *sdma_hdr = tx->sdma_hdr; in hfi1_ipoib_build_ib_tx_headers() local
286 grh = &sdma_hdr->hdr.ibh.u.l.grh; in hfi1_ipoib_build_ib_tx_headers()
294 ohdr = &sdma_hdr->hdr.ibh.u.l.oth; in hfi1_ipoib_build_ib_tx_headers()
297 ohdr = &sdma_hdr->hdr.ibh.u.oth; in hfi1_ipoib_build_ib_tx_headers()
322 sdma_hdr->hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_ipoib_build_ib_tx_headers()
[all …]
Dipoib.h58 struct hfi1_sdma_header *sdma_hdr; member
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_ucode.c142 const struct sdma_firmware_header_v1_0 *sdma_hdr = in radeon_ucode_print_sdma_hdr() local
146 le32_to_cpu(sdma_hdr->ucode_feature_version)); in radeon_ucode_print_sdma_hdr()
148 le32_to_cpu(sdma_hdr->ucode_change_version)); in radeon_ucode_print_sdma_hdr()
149 DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(sdma_hdr->jt_offset)); in radeon_ucode_print_sdma_hdr()
150 DRM_DEBUG("jt_size: %u\n", le32_to_cpu(sdma_hdr->jt_size)); in radeon_ucode_print_sdma_hdr()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c301 const struct sdma_firmware_header_v1_0 *sdma_hdr = in amdgpu_ucode_print_sdma_hdr() local
305 le32_to_cpu(sdma_hdr->ucode_feature_version)); in amdgpu_ucode_print_sdma_hdr()
307 le32_to_cpu(sdma_hdr->ucode_change_version)); in amdgpu_ucode_print_sdma_hdr()
308 DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(sdma_hdr->jt_offset)); in amdgpu_ucode_print_sdma_hdr()
309 DRM_DEBUG("jt_size: %u\n", le32_to_cpu(sdma_hdr->jt_size)); in amdgpu_ucode_print_sdma_hdr()
312 container_of(sdma_hdr, struct sdma_firmware_header_v1_1, v1_0); in amdgpu_ucode_print_sdma_hdr()
316 const struct sdma_firmware_header_v2_0 *sdma_hdr = in amdgpu_ucode_print_sdma_hdr() local
320 le32_to_cpu(sdma_hdr->ucode_feature_version)); in amdgpu_ucode_print_sdma_hdr()
321 DRM_DEBUG("ctx_jt_offset: %u\n", le32_to_cpu(sdma_hdr->ctx_jt_offset)); in amdgpu_ucode_print_sdma_hdr()
322 DRM_DEBUG("ctx_jt_size: %u\n", le32_to_cpu(sdma_hdr->ctx_jt_size)); in amdgpu_ucode_print_sdma_hdr()
[all …]
Damdgpu_sdma.c208 const struct sdma_firmware_header_v2_0 *sdma_hdr; in amdgpu_sdma_init_microcode() local
268 sdma_hdr = (const struct sdma_firmware_header_v2_0 *) in amdgpu_sdma_init_microcode()
274 ALIGN(le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
279 ALIGN(le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
Dgfx_v11_0.c1213 const struct sdma_firmware_header_v2_0 *sdma_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode() local
1215 sdma_hdr = (const struct sdma_firmware_header_v2_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1218 le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1219 fw_size = le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1225 le32_to_cpu(sdma_hdr->ctl_ucode_offset)); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1226 fw_size = le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
Dgfx_v10_0.c5401 const struct sdma_firmware_header_v1_0 *sdma_hdr; in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode() local
5405 sdma_hdr = (const struct sdma_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5408 le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5409 fw_size = le32_to_cpu(sdma_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5417 sdma_hdr->jt_offset, in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5418 sdma_hdr->jt_size * 4); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5425 sdma_hdr->jt_offset, in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5426 sdma_hdr->jt_size * 4); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()