Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c303 const struct sdma_firmware_header_v1_0 *sdma_hdr = in amdgpu_ucode_print_sdma_hdr() local
307 le32_to_cpu(sdma_hdr->ucode_feature_version)); in amdgpu_ucode_print_sdma_hdr()
309 le32_to_cpu(sdma_hdr->ucode_change_version)); in amdgpu_ucode_print_sdma_hdr()
310 DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(sdma_hdr->jt_offset)); in amdgpu_ucode_print_sdma_hdr()
311 DRM_DEBUG("jt_size: %u\n", le32_to_cpu(sdma_hdr->jt_size)); in amdgpu_ucode_print_sdma_hdr()
314 container_of(sdma_hdr, struct sdma_firmware_header_v1_1, v1_0); in amdgpu_ucode_print_sdma_hdr()
318 const struct sdma_firmware_header_v2_0 *sdma_hdr = in amdgpu_ucode_print_sdma_hdr() local
322 le32_to_cpu(sdma_hdr->ucode_feature_version)); in amdgpu_ucode_print_sdma_hdr()
323 DRM_DEBUG("ctx_jt_offset: %u\n", le32_to_cpu(sdma_hdr->ctx_jt_offset)); in amdgpu_ucode_print_sdma_hdr()
324 DRM_DEBUG("ctx_jt_size: %u\n", le32_to_cpu(sdma_hdr->ctx_jt_size)); in amdgpu_ucode_print_sdma_hdr()
[all …]
Damdgpu_sdma.c214 const struct sdma_firmware_header_v2_0 *sdma_hdr; in amdgpu_sdma_init_microcode() local
279 sdma_hdr = (const struct sdma_firmware_header_v2_0 *) in amdgpu_sdma_init_microcode()
285 ALIGN(le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
290 ALIGN(le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
Dgfx_v11_0.c1405 const struct sdma_firmware_header_v2_0 *sdma_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode() local
1407 sdma_hdr = (const struct sdma_firmware_header_v2_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1410 le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1411 fw_size = le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1417 le32_to_cpu(sdma_hdr->ctl_ucode_offset)); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1418 fw_size = le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
Dgfx_v10_0.c5664 const struct sdma_firmware_header_v1_0 *sdma_hdr; in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode() local
5668 sdma_hdr = (const struct sdma_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5671 le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5672 fw_size = le32_to_cpu(sdma_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5680 sdma_hdr->jt_offset, in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5681 sdma_hdr->jt_size * 4); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5688 sdma_hdr->jt_offset, in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5689 sdma_hdr->jt_size * 4); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
Dgfx_v12_0.c1190 const struct sdma_firmware_header_v3_0 *sdma_hdr; in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode() local
1192 sdma_hdr = (const struct sdma_firmware_header_v3_0 *) in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode()
1195 le32_to_cpu(sdma_hdr->ucode_offset_bytes)); in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode()
1196 fw_size = le32_to_cpu(sdma_hdr->ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode()