| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_psp.c | 868 ret = psp_copy_fw(psp, psp->toc.start_addr, psp->toc.size_bytes); in psp_load_toc() 874 psp_prep_load_toc_cmd_buf(cmd, psp->fw_pri_mc_addr, psp->toc.size_bytes); in psp_load_toc() 908 psp->toc.size_bytes && in psp_tmr_init() 1188 ret = psp_copy_fw(psp, psp->rl.start_addr, psp->rl.size_bytes); in psp_rl_load() 1197 cmd->cmd.cmd_load_ip_fw.fw_size = psp->rl.size_bytes; in psp_rl_load() 1689 if (amdgpu_sriov_vf(psp->adev) || !psp->asd_context.bin_desc.size_bytes) in psp_asd_initialize() 1784 cmd->cmd.cmd_load_ta.app_len = context->bin_desc.size_bytes; in psp_prep_ta_load_cmd_buf() 1844 context->bin_desc.size_bytes); in psp_ta_load() 1902 !psp->xgmi_context.context.bin_desc.size_bytes || in psp_xgmi_initialize() 2381 if (!adev->psp.ras_context.context.bin_desc.size_bytes || in psp_ras_initialize() [all …]
|
| H A D | amdgpu_discovery.c | 541 le32_to_cpu(nhdr->size_bytes), in amdgpu_discovery_verify_npsinfo() 667 table_size = le32_to_cpu(vhdr->size_bytes); in amdgpu_discovery_table_check() 676 table_size = le32_to_cpu(mhdr->size_bytes); in amdgpu_discovery_table_check() 2251 le32_to_cpu(nhdr->size_bytes), in amdgpu_discovery_refresh_nps_info()
|
| H A D | gfx_v12_1.c | 511 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v12_1_init_toc_microcode()
|
| H A D | gfx_v10_0.c | 5639 ret = amdgpu_bo_create_reserved(adev, adev->psp.toc.size_bytes, PAGE_SIZE, in gfx_v10_0_parse_rlc_toc() 5650 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 D | gfx_v12_0.c | 580 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v12_0_init_toc_microcode()
|
| H A D | gfx_v11_0.c | 708 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v11_0_init_toc_microcode()
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mvneta_bm.c | 121 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() 141 dma_free_coherent(&pdev->dev, size_bytes, bm_pool->virt_addr, in mvneta_bm_pool_create() 501 int size_bytes; in mvneta_bm_suspend() local 515 size_bytes = sizeof(u32) * bm_pool->hwbm_pool.size; in mvneta_bm_suspend() 516 dma_free_coherent(&priv->pdev->dev, size_bytes, in mvneta_bm_suspend()
|
| /linux/kernel/dma/ |
| H A D | contiguous.c | 98 #define size_bytes ((phys_addr_t)CMA_SIZE_MBYTES * SZ_1M) macro 270 selected_size = size_bytes; in dma_contiguous_reserve() 274 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve() 276 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
|
| /linux/kernel/trace/ |
| H A D | fgraph.c | 343 void *fgraph_reserve_data(int idx, int size_bytes) in fgraph_reserve_data() argument 350 if (size_bytes > FGRAPH_MAX_DATA_SIZE) in fgraph_reserve_data() 354 data_size = (size_bytes + sizeof(long) - 1) >> (sizeof(long) == 4 ? 2 : 3); in fgraph_reserve_data() 392 void *fgraph_retrieve_data(int idx, int *size_bytes) in fgraph_retrieve_data() argument 394 return fgraph_retrieve_parent_data(idx, size_bytes, 0); in fgraph_retrieve_data() 461 void *fgraph_retrieve_parent_data(int idx, int *size_bytes, int depth) in fgraph_retrieve_parent_data() argument 493 if (size_bytes) in fgraph_retrieve_parent_data() 494 *size_bytes = __get_data_size(val) * sizeof(long); in fgraph_retrieve_parent_data()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_ucode.c | 33 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 D | radeon_ucode.h | 157 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/inc/ |
| H A D | smu_ucode_xfer_cz.h | 118 uint32_t size_bytes; member
|
| /linux/drivers/tty/ |
| H A D | nozomi.c | 376 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/include/linux/ |
| H A D | ftrace.h | 1268 void *fgraph_reserve_data(int idx, int size_bytes); 1269 void *fgraph_retrieve_data(int idx, int *size_bytes); 1270 void *fgraph_retrieve_parent_data(int idx, int *size_bytes, int depth);
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | yaps_hw.c | 220 unsigned int size_bytes) in mm81x_write_pkts_h_pages_required() argument 223 return DIV_ROUND_UP(size_bytes + in mm81x_write_pkts_h_pages_required()
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A D | smu8_smumgr.c | 351 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 D | fwil_types.h | 286 __le32 size_bytes; member
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2.h | 1509 int size_bytes; member
|
| H A D | mvpp2_main.c | 401 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()
|