| /linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
| H A D | ia_css_sdis2.host.c | 200 unsigned int size_bytes, table_width, table_size, height; in ia_css_translate_dvs2_statistics() local 225 size_bytes = host_stats->grid.aligned_width * sizeof(*htemp_ptr); in ia_css_translate_dvs2_statistics() 229 table_width = CEIL_MUL(size_bytes, in ia_css_translate_dvs2_statistics() 238 &htemp_ptr[0 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics() 240 &htemp_ptr[1 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics() 242 &htemp_ptr[2 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics() 244 &htemp_ptr[3 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics() 248 &vtemp_ptr[0 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics() 250 &vtemp_ptr[1 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics() 252 &vtemp_ptr[2 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_psp.c | 847 psp_copy_fw(psp, psp->toc.start_addr, psp->toc.size_bytes); in psp_load_toc() 849 psp_prep_load_toc_cmd_buf(cmd, psp->fw_pri_mc_addr, psp->toc.size_bytes); in psp_load_toc() 883 psp->toc.size_bytes && in psp_tmr_init() 1163 memcpy(psp->fw_pri_buf, psp->rl.start_addr, psp->rl.size_bytes); in psp_rl_load() 1168 cmd->cmd.cmd_load_ip_fw.fw_size = psp->rl.size_bytes; in psp_rl_load() 1232 if (amdgpu_sriov_vf(psp->adev) || !psp->asd_context.bin_desc.size_bytes) in psp_asd_initialize() 1327 cmd->cmd.cmd_load_ta.app_len = context->bin_desc.size_bytes; in psp_prep_ta_load_cmd_buf() 1387 context->bin_desc.size_bytes); in psp_ta_load() 1441 !psp->xgmi_context.context.bin_desc.size_bytes || in psp_xgmi_initialize() 1916 if (!adev->psp.ras_context.context.bin_desc.size_bytes || in psp_ras_initialize() [all …]
|
| H A D | psp_v13_0_4.c | 111 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v13_0_4_bootloader_load_component() 174 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v13_0_4_bootloader_load_sos()
|
| H A D | psp_v14_0.c | 146 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v14_0_bootloader_load_component() 220 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v14_0_bootloader_load_sos()
|
| H A D | psp_v13_0.c | 277 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v13_0_bootloader_load_component() 359 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v13_0_bootloader_load_sos()
|
| H A D | amdgpu_discovery.c | 454 le32_to_cpu(nhdr->size_bytes), in amdgpu_discovery_verify_npsinfo() 634 le32_to_cpu(vhdr->size_bytes), checksum)) { in amdgpu_discovery_init() 657 le32_to_cpu(mhdr->size_bytes), checksum)) { in amdgpu_discovery_init() 1881 le32_to_cpu(nhdr->size_bytes), in amdgpu_discovery_refresh_nps_info()
|
| H A D | gfx_v12_0.c | 579 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v12_0_init_toc_microcode()
|
| /linux/kernel/dma/ |
| H A D | contiguous.c | 68 #define size_bytes ((phys_addr_t)CMA_SIZE_MBYTES * SZ_1M) macro 244 selected_size = size_bytes; in dma_contiguous_reserve() 248 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve() 250 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
|
| /linux/kernel/trace/ |
| H A D | fgraph.c | 346 void *fgraph_reserve_data(int idx, int size_bytes) in fgraph_reserve_data() argument 353 if (size_bytes > FGRAPH_MAX_DATA_SIZE) in fgraph_reserve_data() 357 data_size = (size_bytes + sizeof(long) - 1) >> (sizeof(long) == 4 ? 2 : 3); in fgraph_reserve_data() 395 void *fgraph_retrieve_data(int idx, int *size_bytes) in fgraph_retrieve_data() argument 397 return fgraph_retrieve_parent_data(idx, size_bytes, 0); in fgraph_retrieve_data() 464 void *fgraph_retrieve_parent_data(int idx, int *size_bytes, int depth) in fgraph_retrieve_parent_data() argument 496 if (size_bytes) in fgraph_retrieve_parent_data() 497 *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/include/ |
| H A D | discovery.h | 375 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/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 | 1258 void *fgraph_reserve_data(int idx, int size_bytes); 1259 void *fgraph_retrieve_data(int idx, int *size_bytes); 1260 void *fgraph_retrieve_parent_data(int idx, int *size_bytes, int depth);
|
| /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/crypto/axis/ |
| H A D | artpec6_crypto.c | 1003 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()
|
| /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()
|