Home
last modified time | relevance | path

Searched refs:size_bytes (Results 1 – 24 of 24) sorted by relevance

/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_psp.c760 psp_copy_fw(psp, psp->toc.start_addr, psp->toc.size_bytes); in psp_load_toc()
762 psp_prep_load_toc_cmd_buf(cmd, psp->fw_pri_mc_addr, psp->toc.size_bytes); in psp_load_toc()
806 psp->toc.size_bytes && in psp_tmr_init()
996 memcpy(psp->fw_pri_buf, psp->rl.start_addr, psp->rl.size_bytes); in psp_rl_load()
1001 cmd->cmd.cmd_load_ip_fw.fw_size = psp->rl.size_bytes; in psp_rl_load()
1040 if (amdgpu_sriov_vf(psp->adev) || !psp->asd_context.bin_desc.size_bytes) in psp_asd_initialize()
1130 cmd->cmd.cmd_load_ta.app_len = context->bin_desc.size_bytes; in psp_prep_ta_load_cmd_buf()
1190 context->bin_desc.size_bytes); in psp_ta_load()
1239 !psp->xgmi_context.context.bin_desc.size_bytes || in psp_xgmi_initialize()
1613 if (!adev->psp.ras_context.context.bin_desc.size_bytes || in psp_ras_initialize()
[all...]
H A Damdgpu_ucode.c33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in amdgpu_ucode_print_common_hdr()
351 le32_to_cpu(psp_hdr->sos.size_bytes)); in amdgpu_ucode_print_psp_hdr()
360 le32_to_cpu(psp_hdr_v1_1->toc.size_bytes)); in amdgpu_ucode_print_psp_hdr()
366 le32_to_cpu(psp_hdr_v1_1->kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
376 le32_to_cpu(psp_hdr_v1_2->kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
388 le32_to_cpu(psp_hdr_v1_3->v1_1.toc.size_bytes)); in amdgpu_ucode_print_psp_hdr()
394 le32_to_cpu(psp_hdr_v1_3->v1_1.kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
400 le32_to_cpu(psp_hdr_v1_3->spl.size_bytes)); in amdgpu_ucode_print_psp_hdr()
412 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
418 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
[all …]
H A Dpsp_v12_0.c67 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v12_0_init_microcode()
93 psp_copy_fw(psp, psp->sys.start_addr, psp->sys.size_bytes); in psp_v12_0_bootloader_load_sysdrv()
132 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v12_0_bootloader_load_sos()
H A Dpsp_v11_0.c108 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v11_0_init_microcode()
120 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v11_0_init_microcode()
196 psp_copy_fw(psp, bin_desc->start_addr, bin_desc->size_bytes); in psp_v11_0_bootloader_load_component()
242 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v11_0_bootloader_load_sos()
H A Damdgpu_ucode.h29 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
77 uint32_t size_bytes; member
113 uint32_t size_bytes; member
H A Dpsp_v13_0_4.c113 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v13_0_4_bootloader_load_component()
176 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v13_0_4_bootloader_load_sos()
H A Dpsp_v3_1.c99 psp_copy_fw(psp, psp->sys.start_addr, psp->sys.size_bytes); in psp_v3_1_bootloader_load_sysdrv()
138 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v3_1_bootloader_load_sos()
H A Dpsp_v10_0.c64 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
H A Dpsp_v13_0.c221 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v13_0_bootloader_load_component()
290 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v13_0_bootloader_load_sos()
H A Damdgpu_psp_ta.c216 context->bin_desc.size_bytes = ta_bin_len; in ta_if_load_debugfs_write()
H A Damdgpu_psp.h162 uint32_t size_bytes; member
H A Damdgpu_discovery.c483 le32_to_cpu(vhdr->size_bytes), checksum)) { in amdgpu_discovery_init()
505 le32_to_cpu(mhdr->size_bytes), checksum)) { in amdgpu_discovery_init()
H A Dgfx_v10_0.c5211 ret = amdgpu_bo_create_reserved(adev, adev->psp.toc.size_bytes, PAGE_SIZE, in gfx_v10_0_parse_rlc_toc()
5222 memcpy(adev->gfx.rlc.rlc_toc_buf, adev->psp.toc.start_addr, adev->psp.toc.size_bytes); in gfx_v10_0_parse_rlc_toc()
H A Dgfx_v11_0.c465 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v11_0_init_toc_microcode()
/openbsd-src/usr.sbin/unbound/edns-subnet/
H A Daddrtree.c136 tree->size_bytes = sizeof *tree + sizeof *tree->root; in addrtree_create()
157 tree->size_bytes -= tree->sizefunc(node->elem); in clean_node()
232 tree->size_bytes -= node_size(tree, node); in purge_node()
274 return tree?tree->size_bytes:0; in addrtree_size()
283 tree->size_bytes -= sizeof(struct addrnode); in addrtree_delete()
287 tree->size_bytes -= node_size(tree, n); in addrtree_delete()
389 tree->size_bytes += tree->sizefunc(elem); in addrtree_insert()
413 tree->size_bytes += node_size(tree, newnode); in addrtree_insert()
456 tree->size_bytes += node_size(tree, newnode); in addrtree_insert()
469 tree->size_bytes += node_size(tree, newnode); in addrtree_insert()
H A Daddrtree.h74 size_t size_bytes; member
H A Dsubnetmod.c433 diff_size = (int)tree->size_bytes; in update_cache()
437 diff_size = (int)tree->size_bytes - diff_size; in update_cache()
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dboehm.c91 HOST_WIDE_INT size_bytes; local
97 size_bytes = int_size_in_bytes (TREE_TYPE (field));
113 size_words = size_bytes * BITS_PER_UNIT / POINTER_SIZE;
/openbsd-src/sys/dev/pci/drm/radeon/
H A Dradeon_ucode.c33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in radeon_ucode_print_common_hdr()
162 if (fw->size == le32_to_cpu(hdr->size_bytes)) in radeon_ucode_validate()
H A Dradeon_ucode.h157 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
/openbsd-src/gnu/llvm/libcxx/include/
H A Dspan91 constexpr size_type size_bytes() const noexcept;
333 …_LIBCPP_INLINE_VISIBILITY constexpr size_type size_bytes() const noexcept { return _Extent * s…
375 …onst byte, _Extent * sizeof(element_type)>{reinterpret_cast<const byte *>(data()), size_bytes()}; }
378 …eturn span<byte, _Extent * sizeof(element_type)>{reinterpret_cast<byte *>(data()), size_bytes()}; }
499 …_LIBCPP_INLINE_VISIBILITY constexpr size_type size_bytes() const noexcept { return __size_ * s…
542 { return {reinterpret_cast<const byte *>(data()), size_bytes()}; }
545 { return {reinterpret_cast<byte *>(data()), size_bytes()}; }
/openbsd-src/sys/dev/pci/drm/amd/include/
H A Ddiscovery.h333 uint32_t size_bytes; /* size of the entire header+data in bytes */ member
357 uint32_t size_bytes; /* size of the entire header+data in bytes */ member
/openbsd-src/sys/dev/pci/drm/amd/pm/powerplay/inc/
H A Dsmu_ucode_xfer_cz.h118 uint32_t size_bytes; member
/openbsd-src/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
H A Dsmu8_smumgr.c351 task->size_bytes = smu8_smu->scratch_buffer[i].data_size; in smu8_smu_populate_single_scratch_task()
388 task->size_bytes = smu8_smu->driver_buffer[i].data_size; in smu8_smu_populate_single_ucode_load_task()