Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2.host.c209 unsigned int size_bytes, table_width, table_size, height; in ia_css_translate_dvs2_statistics() local
234 size_bytes = host_stats->grid.aligned_width * sizeof(*htemp_ptr); in ia_css_translate_dvs2_statistics()
238 table_width = CEIL_MUL(size_bytes, in ia_css_translate_dvs2_statistics()
247 &htemp_ptr[0 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
249 &htemp_ptr[1 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
251 &htemp_ptr[2 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
253 &htemp_ptr[3 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
257 &vtemp_ptr[0 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
259 &vtemp_ptr[1 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
261 &vtemp_ptr[2 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c804 psp_copy_fw(psp, psp->toc.start_addr, psp->toc.size_bytes); in psp_load_toc()
806 psp_prep_load_toc_cmd_buf(cmd, psp->fw_pri_mc_addr, psp->toc.size_bytes); in psp_load_toc()
840 psp->toc.size_bytes && in psp_tmr_init()
1031 memcpy(psp->fw_pri_buf, psp->rl.start_addr, psp->rl.size_bytes); in psp_rl_load()
1036 cmd->cmd.cmd_load_ip_fw.fw_size = psp->rl.size_bytes; in psp_rl_load()
1075 if (amdgpu_sriov_vf(psp->adev) || !psp->asd_context.bin_desc.size_bytes) in psp_asd_initialize()
1170 cmd->cmd.cmd_load_ta.app_len = context->bin_desc.size_bytes; in psp_prep_ta_load_cmd_buf()
1230 context->bin_desc.size_bytes); in psp_ta_load()
1279 !psp->xgmi_context.context.bin_desc.size_bytes || in psp_xgmi_initialize()
1745 if (!adev->psp.ras_context.context.bin_desc.size_bytes || in psp_ras_initialize()
[all …]
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 …]
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()
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()
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
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()
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()
Dpsp_v10_0.c65 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
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()
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()
Damdgpu_psp_ta.c216 context->bin_desc.size_bytes = ta_bin_len; in ta_if_load_debugfs_write()
/linux-6.12.1/kernel/dma/
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-6.12.1/drivers/net/ethernet/marvell/
Dmvneta_bm.c121 int size_bytes, err; in mvneta_bm_pool_create() local
122 size_bytes = sizeof(u32) * bm_pool->hwbm_pool.size; in mvneta_bm_pool_create()
123 bm_pool->virt_addr = dma_alloc_coherent(&pdev->dev, size_bytes, in mvneta_bm_pool_create()
130 dma_free_coherent(&pdev->dev, size_bytes, bm_pool->virt_addr, in mvneta_bm_pool_create()
140 dma_free_coherent(&pdev->dev, size_bytes, bm_pool->virt_addr, in mvneta_bm_pool_create()
/linux-6.12.1/drivers/gpu/drm/radeon/
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()
Dradeon_ucode.h157 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
/linux-6.12.1/kernel/trace/
Dfgraph.c342 void *fgraph_reserve_data(int idx, int size_bytes) in fgraph_reserve_data() argument
349 if (size_bytes > FGRAPH_MAX_DATA_SIZE) in fgraph_reserve_data()
353 data_size = (size_bytes + sizeof(long) - 1) >> (sizeof(long) == 4 ? 2 : 3); in fgraph_reserve_data()
391 void *fgraph_retrieve_data(int idx, int *size_bytes) in fgraph_retrieve_data() argument
405 if (size_bytes) in fgraph_retrieve_data()
406 *size_bytes = __get_data_size(val) * sizeof(long); in fgraph_retrieve_data()
/linux-6.12.1/drivers/gpu/drm/amd/include/
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-6.12.1/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame.h118 const unsigned int size_bytes);
/linux-6.12.1/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h49 u32 size_bytes; /* size of the entire header+image(s) in bytes */ member
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/inc/
Dsmu_ucode_xfer_cz.h118 uint32_t size_bytes; member
/linux-6.12.1/drivers/tty/
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-6.12.1/include/linux/
Dftrace.h1056 void *fgraph_reserve_data(int idx, int size_bytes);
1057 void *fgraph_retrieve_data(int idx, int *size_bytes);
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
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-6.12.1/drivers/crypto/axis/
Dartpec6_crypto.c1003 unsigned int mod, target, diff, pad_bytes, size_bytes; in create_hash_pad() local
1013 size_bytes = 8; in create_hash_pad()
1018 size_bytes = 16; in create_hash_pad()
1029 if (size_bytes == 16) { in create_hash_pad()
1036 return pad_bytes + size_bytes + 1; in create_hash_pad()

12