/openbmc/google-ipmi-sys/ |
H A D | google_accel_oob.cpp | 54 if (data.size_bytes() < sizeof(Request)) in accelOobDeviceCount() 57 data.size_bytes()); in accelOobDeviceCount() 61 if (data.size_bytes() + sizeof(Reply) > MAX_IPMI_BUFFER) in accelOobDeviceCount() 67 data.size_bytes(), sizeof(Reply), MAX_IPMI_BUFFER); in accelOobDeviceCount() 95 if (data.size_bytes() < sizeof(Request)) in accelOobDeviceName() 98 data.size_bytes()); in accelOobDeviceName() 102 if (data.size_bytes() + sizeof(Reply) > MAX_IPMI_BUFFER) in accelOobDeviceName() 108 data.size_bytes(), sizeof(Reply), MAX_IPMI_BUFFER); in accelOobDeviceName() 124 std::vector<uint8_t> replyBuf(data.size_bytes() + sizeof(Reply)); in accelOobDeviceName() 126 auto* reply = reinterpret_cast<Reply*>(replyBuf.data() + data.size_bytes()); in accelOobDeviceName() [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | board.c | 74 phys_size_t size_bytes; in query_sdram_size() local 79 size_bytes = get_ram_size((void *)PHYS_SDRAM_1, emem_cfg * 1024); in query_sdram_size() 89 size_bytes = U32_MAX & ~(0x1000 - 1); in query_sdram_size() 94 size_bytes = (phys_size_t)emem_cfg * 1024 * 1024; in query_sdram_size() 104 size_bytes = get_ram_size((void *)PHYS_SDRAM_1, in query_sdram_size() 105 size_bytes); in query_sdram_size() 112 if (size_bytes == SZ_2G) in query_sdram_size() 113 size_bytes -= SZ_1M; in query_sdram_size() 116 return size_bytes; in query_sdram_size()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_psp.c | 760 psp_copy_fw(psp, psp->toc.start_addr, psp->toc.size_bytes); in psp_load_toc() 762 psp_prep_load_toc_cmd_buf(cmd, psp->fw_pri_mc_addr, psp->toc.size_bytes); in psp_load_toc() 806 psp->toc.size_bytes && in psp_tmr_init() 996 memcpy(psp->fw_pri_buf, psp->rl.start_addr, psp->rl.size_bytes); in psp_rl_load() 1001 cmd->cmd.cmd_load_ip_fw.fw_size = psp->rl.size_bytes; in psp_rl_load() 1040 if (amdgpu_sriov_vf(psp->adev) || !psp->asd_context.bin_desc.size_bytes) in psp_asd_initialize() 1130 cmd->cmd.cmd_load_ta.app_len = context->bin_desc.size_bytes; in psp_prep_ta_load_cmd_buf() 1190 context->bin_desc.size_bytes); in psp_ta_load() 1239 !psp->xgmi_context.context.bin_desc.size_bytes || in psp_xgmi_initialize() 1613 if (!adev->psp.ras_context.context.bin_desc.size_bytes || in psp_ras_initialize() [all …]
|
H A D | amdgpu_ucode.c | 33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in amdgpu_ucode_print_common_hdr() 351 le32_to_cpu(psp_hdr->sos.size_bytes)); in amdgpu_ucode_print_psp_hdr() 360 le32_to_cpu(psp_hdr_v1_1->toc.size_bytes)); in amdgpu_ucode_print_psp_hdr() 366 le32_to_cpu(psp_hdr_v1_1->kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr() 376 le32_to_cpu(psp_hdr_v1_2->kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr() 388 le32_to_cpu(psp_hdr_v1_3->v1_1.toc.size_bytes)); in amdgpu_ucode_print_psp_hdr() 394 le32_to_cpu(psp_hdr_v1_3->v1_1.kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr() 400 le32_to_cpu(psp_hdr_v1_3->spl.size_bytes)); in amdgpu_ucode_print_psp_hdr() 412 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr() 418 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr() [all …]
|
H A D | psp_v12_0.c | 67 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 D | psp_v11_0.c | 108 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 D | amdgpu_ucode.h | 29 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 D | psp_v13_0_4.c | 113 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 D | psp_v3_1.c | 99 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 D | psp_v10_0.c | 64 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
H A D | ia_css_sdis2.host.c | 209 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 …]
|
/openbmc/bios-bmc-smm-error-logger/test/ |
H A D | rde_dictionary_manager_test.cpp | 54 EXPECT_THAT((*dataOrErr).size_bytes(), dummyDictionary1.size()); in TEST_F() 85 EXPECT_THAT((*data1OrErr).size_bytes(), dummyDictionary1.size()); in TEST_F() 92 EXPECT_THAT((*data2OrErr).size_bytes(), dummyDictionary2.size()); in TEST_F() 110 EXPECT_THAT((*dataOrErr).size_bytes(), dummyDictionary1.size()); in TEST_F() 123 EXPECT_THAT((*newDataOrErr).size_bytes(), dummyDictionary2.size()); in TEST_F() 149 EXPECT_THAT((*dataOrErr).size_bytes(), dummyDictionary2.size()); in TEST_F()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | fat16.py | 155 self.size_bytes = int.from_bytes(data[28:32], "little") 175 + self.size_bytes.to_bytes(4, "little") 423 new_entry.size_bytes = 0 511 while cluster is not None and len(data) <= entry.size_bytes: 514 return data[: entry.size_bytes] 537 current_clusters = clusters_from_size(entry.size_bytes) 605 entry.size_bytes = new_size
|
/openbmc/linux/kernel/dma/ |
H A D | contiguous.c | 73 static const phys_addr_t size_bytes __initconst = 237 selected_size = size_bytes; in dma_contiguous_reserve() 241 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve() 243 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
|
/openbmc/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() 140 dma_free_coherent(&pdev->dev, size_bytes, bm_pool->virt_addr, in mvneta_bm_pool_create()
|
/openbmc/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
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/frame/interface/ |
H A D | ia_css_frame.h | 118 const unsigned int size_bytes);
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.h | 49 u32 size_bytes; /* size of the entire header+image(s) in bytes */ member
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | discovery.h | 333 uint32_t size_bytes; /* size of the entire header+data in bytes */ member 357 uint32_t size_bytes; /* size of the entire header+data in bytes */ member
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | smu_ucode_xfer_cz.h | 118 uint32_t size_bytes; member
|
/openbmc/libbej/test/include/ |
H A D | bej_common_test.hpp | 45 reinterpret_cast<char*>(buffer.data()), buffer.size_bytes()); in readBinaryFile()
|
/openbmc/linux/drivers/tty/ |
H A D | nozomi.c | 392 u32 size_bytes) in read_mem32() argument 402 switch (size_bytes) { in read_mem32() 412 while (i < size_bytes) { in read_mem32() 413 if (size_bytes - i == 2) { in read_mem32() 436 u32 size_bytes) in write_mem32() argument 446 switch (size_bytes) { in write_mem32() 461 while (i < size_bytes) { in write_mem32() 462 if (size_bytes - i == 2) { in write_mem32()
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | vvfat | 208 self.assertEqual(entry.size_bytes, files[entry.whole_name()]) 471 self.assertEqual(new_file.size_bytes, 0)
|
/openbmc/libbej/src/ |
H A D | bej_decoder_json.cpp | 371 &dictionaries, encodedPldmBlock.data(), encodedPldmBlock.size_bytes(), in decode()
|