| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_psp.c | 1056 ret = psp_copy_fw(psp, psp->toc.start_addr, psp->toc.size_bytes); in psp_get_fw_reservation_info() 1062 psp_prep_load_toc_cmd_buf(cmd, psp->fw_pri_mc_addr, psp->toc.size_bytes); in psp_get_fw_reservation_info() 1096 psp->toc.size_bytes && in psp_update_fw_reservation() 1635 ret = psp_copy_fw(psp, psp->rl.start_addr, psp->rl.size_bytes); in amdgpu_ptl_sysfs_init() 1644 cmd->cmd.cmd_load_ip_fw.fw_size = psp->rl.size_bytes; in amdgpu_ptl_sysfs_init() 2136 if (amdgpu_sriov_vf(psp->adev) || !psp->asd_context.bin_desc.size_bytes) in psp_xgmi_get_topology_info() 2231 cmd->cmd.cmd_load_ta.app_len = context->bin_desc.size_bytes; in psp_ras_send_cmd() 2291 context->bin_desc.size_bytes); in psp_ras_invoke() 2346 psp->xgmi_context.context.bin_desc.size_bytes && in psp_ras_terminate() 2838 if (!adev->psp.ras_context.context.bin_desc.size_bytes || in psp_securedisplay_initialize() [all...] |
| H A D | amdgpu_discovery.c | 561 le32_to_cpu(nhdr->size_bytes), in amdgpu_discovery_get_fw_name() 687 table_size = le32_to_cpu(vhdr->size_bytes); in amdgpu_discovery_table_check() 696 table_size = le32_to_cpu(mhdr->size_bytes); in amdgpu_discovery_table_check() 2402 le32_to_cpu(nhdr->size_bytes), in amdgpu_discovery_set_gmc_ip_blocks()
|
| H A D | gfx_v12_1.c | 371 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v12_1_wait_reg_mem()
|
| H A D | gfx_v10_0.c | 5643 ret = amdgpu_bo_create_reserved(adev, adev->psp.toc.size_bytes, PAGE_SIZE, in gfx_v10_0_parse_rlc_toc() 5654 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 | 585 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 | 729 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v11_0_check_fw_cp_gfx_shadow()
|
| /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 | 329 * @size_bytes: The size in bytes to reserve 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() 380 * @size_bytes: pointer to retrieved data size. 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() 453 * @size_bytes: A pointer to retrieved data size 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() [all...] |
| /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 | 1271 void *fgraph_reserve_data(int idx, int size_bytes); 1272 void *fgraph_retrieve_data(int idx, int *size_bytes); 1273 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()
|