Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c35 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in amdgpu_ucode_print_common_hdr()
359 le32_to_cpu(psp_hdr->sos.size_bytes)); in amdgpu_ucode_print_psp_hdr()
368 le32_to_cpu(psp_hdr_v1_1->toc.size_bytes)); in amdgpu_ucode_print_psp_hdr()
374 le32_to_cpu(psp_hdr_v1_1->kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
384 le32_to_cpu(psp_hdr_v1_2->kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
396 le32_to_cpu(psp_hdr_v1_3->v1_1.toc.size_bytes)); in amdgpu_ucode_print_psp_hdr()
402 le32_to_cpu(psp_hdr_v1_3->v1_1.kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
408 le32_to_cpu(psp_hdr_v1_3->spl.size_bytes)); in amdgpu_ucode_print_psp_hdr()
420 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
426 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.c65 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
H A Dpsp_v14_0.c136 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v14_0_bootloader_load_component()
210 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v14_0_bootloader_load_sos()
H A Dpsp_v13_0.c242 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v13_0_bootloader_load_component()
319 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.h169 uint32_t size_bytes; member
H A Damdgpu_discovery.c396 le32_to_cpu(nhdr->size_bytes), in amdgpu_discovery_verify_npsinfo()
539 le32_to_cpu(vhdr->size_bytes), checksum)) { in amdgpu_discovery_init()
561 le32_to_cpu(mhdr->size_bytes), checksum)) { in amdgpu_discovery_init()
1746 le32_to_cpu(nhdr->size_bytes), in amdgpu_discovery_refresh_nps_info()
/linux/kernel/dma/
H A Dcontiguous.c67 static const phys_addr_t size_bytes __initconst =
231 selected_size = size_bytes; in dma_contiguous_reserve()
235 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
237 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
/linux/kernel/trace/
H A Dfgraph.c344 void *fgraph_reserve_data(int idx, int size_bytes) in fgraph_reserve_data() argument
351 if (size_bytes > FGRAPH_MAX_DATA_SIZE) in fgraph_reserve_data()
355 data_size = (size_bytes + sizeof(long) - 1) >> (sizeof(long) == 4 ? 2 : 3); in fgraph_reserve_data()
393 void *fgraph_retrieve_data(int idx, int *size_bytes) in fgraph_retrieve_data() argument
395 return fgraph_retrieve_parent_data(idx, size_bytes, 0); in fgraph_retrieve_data()
462 void *fgraph_retrieve_parent_data(int idx, int *size_bytes, int depth) in fgraph_retrieve_parent_data() argument
494 if (size_bytes) in fgraph_retrieve_parent_data()
495 *size_bytes = __get_data_size(val) * sizeof(long); in fgraph_retrieve_parent_data()
/linux/drivers/gpu/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
/linux/drivers/gpu/drm/amd/include/
H A Ddiscovery.h375 uint32_t size_bytes; /* size of the entire header+data in bytes */ member
399 uint32_t size_bytes; /* size of the entire header+data in bytes */ member
431 uint32_t size_bytes; /* size of the entire header+data in bytes = 0x000000D4 (212) */ member
/linux/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.h49 u32 size_bytes; /* size of the entire header+image(s) in bytes */ member
H A Dcdn-dp-core.c339 if (fw->size != le32_to_cpu(hdr->size_bytes)) { in cdn_dp_firmware_init()
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dsmu_ucode_xfer_cz.h118 uint32_t size_bytes; member
/linux/drivers/tty/
H A Dnozomi.c376 u32 size_bytes) in read_mem32() argument
386 switch (size_bytes) { in read_mem32()
396 while (i < size_bytes) { in read_mem32()
397 if (size_bytes - i == 2) { in read_mem32()
420 u32 size_bytes) in write_mem32() argument
430 switch (size_bytes) { in write_mem32()
445 while (i < size_bytes) { in write_mem32()
446 if (size_bytes - i == 2) { in write_mem32()
/linux/drivers/gpu/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()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h286 __le32 size_bytes; member
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2.h1501 int size_bytes; member
H A Dmvpp2_main.c401 bm_pool->size_bytes = 2 * sizeof(u32) * size; in mvpp2_bm_pool_create()
403 bm_pool->size_bytes = 2 * sizeof(u64) * size; in mvpp2_bm_pool_create()
405 bm_pool->virt_addr = dma_alloc_coherent(dev, bm_pool->size_bytes, in mvpp2_bm_pool_create()
413 dma_free_coherent(dev, bm_pool->size_bytes, in mvpp2_bm_pool_create()
574 dma_free_coherent(dev, bm_pool->size_bytes, in mvpp2_bm_pool_destroy()

12