Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A 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 …]
H A Dipoib.h58 struct hfi1_sdma_header *sdma_hdr; member
/linux/drivers/gpu/drm/radeon/
H A 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sdma.c209 const struct sdma_firmware_header_v2_0 *sdma_hdr; in amdgpu_sdma_init_microcode() local
278 sdma_hdr = (const struct sdma_firmware_header_v2_0 *) in amdgpu_sdma_init_microcode()
284 ALIGN(le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
289 ALIGN(le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
H A Dgfx_v12_0.c1264 const struct sdma_firmware_header_v3_0 *sdma_hdr; in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode() local
1266 sdma_hdr = (const struct sdma_firmware_header_v3_0 *) in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode()
1269 le32_to_cpu(sdma_hdr->ucode_offset_bytes)); in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode()
1270 fw_size = le32_to_cpu(sdma_hdr->ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode()