Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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.c1205 const struct sdma_firmware_header_v2_0 *sdma_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode() local
1207 sdma_hdr = (const struct sdma_firmware_header_v2_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1210 le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1211 fw_size = le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1217 le32_to_cpu(sdma_hdr->ctl_ucode_offset)); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
1218 fw_size = le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode()
Dgfx_v10_0.c5406 const struct sdma_firmware_header_v1_0 *sdma_hdr; in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode() local
5410 sdma_hdr = (const struct sdma_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5413 le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5414 fw_size = le32_to_cpu(sdma_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5422 sdma_hdr->jt_offset, in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5423 sdma_hdr->jt_size * 4); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5430 sdma_hdr->jt_offset, in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5431 sdma_hdr->jt_size * 4); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()