Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/
H A Dboard.c75 phys_size_t size_bytes; in query_sdram_size() local
80 size_bytes = get_ram_size((void *)PHYS_SDRAM_1, emem_cfg * 1024); in query_sdram_size()
90 size_bytes = U32_MAX & ~(0x1000 - 1); in query_sdram_size()
95 size_bytes = (phys_size_t)emem_cfg * 1024 * 1024; in query_sdram_size()
105 size_bytes = get_ram_size((void *)PHYS_SDRAM_1, in query_sdram_size()
106 size_bytes); in query_sdram_size()
113 if (size_bytes == SZ_2G) in query_sdram_size()
114 size_bytes -= SZ_1M; in query_sdram_size()
117 return size_bytes; in query_sdram_size()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_ref_drv.c71 mem->size_bytes = size_total; in ump_dd_handle_create_from_phys_blocks()
90 DBG_MSG(3, ("UMP memory created. ID: %u, size: %lu\n", mem->secure_id, mem->size_bytes)); in ump_dd_handle_create_from_phys_blocks()
142 new_allocation->size_bytes = UMP_SIZE_ALIGN(user_interaction->size); in _ump_ukk_allocate()
148 new_allocation->size_bytes, in _ump_ukk_allocate()
175 user_interaction->size = new_allocation->size_bytes; in _ump_ukk_allocate()
178 new_allocation->size_bytes)); in _ump_ukk_allocate()
H A Dump_kernel_api.c123 DBG_MSG(5, ("Returning size. ID: %u, size: %lu\n", mem->secure_id, mem->size_bytes)); in ump_dd_size_get()
125 return mem->size_bytes; in ump_dd_size_get()
238 user_interaction->size = mem->size_bytes; in _ump_ukk_size_get()
297 size = mem->size_bytes - offset; in _ump_ukk_msync()
300 if ((offset + size) > mem->size_bytes) { in _ump_ukk_msync()
301 …ore than the entire UMP allocation: offset: %u + size: %u > %u\n", offset, size, mem->size_bytes)); in _ump_ukk_msync()
411 _ump_osk_msync(mem, NULL, 0, mem->size_bytes, cache_op, session_data); in _ump_ukk_switch_hw_usage()
H A Dump_kernel_common.c230 if (mem->size_bytes != args->size) { in _ump_ukk_map_mem()
233 …little. ID: %u, virtual size=%lu, UMP size: %lu\n", args->secure_id, args->size, mem->size_bytes)); in _ump_ukk_map_mem()
275 mem->size_bytes, in _ump_ukk_map_mem()
H A Dump_kernel_types.h41 unsigned long size_bytes; member
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A DCVE-2022-4415-2.patch149 + size_t size_bytes,
156 + assert(auxv || size_bytes == 0);
158 + if (size_bytes % (2 * sizeof(uint64_t)) != 0)
159 …turn log_warning_errno(SYNTHETIC_ERRNO(EIO), "Incomplete auxv structure (%zu bytes).", size_bytes);
161 + size_t words = size_bytes / sizeof(uint64_t);
194 + size_t size_bytes,
201 + assert(auxv || size_bytes == 0);
203 + size_t words = size_bytes / sizeof(uint32_t);
205 + if (size_bytes % (2 * sizeof(uint32_t)) != 0)
206 …turn log_warning_errno(SYNTHETIC_ERRNO(EIO), "Incomplete auxv structure (%zu bytes).", size_bytes);
/OK3568_Linux_fs/kernel/kernel/dma/
H A Dcontiguous.c74 static const phys_addr_t size_bytes __initconst =
186 selected_size = size_bytes; in dma_contiguous_reserve()
190 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
192 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_memory_backend_dedicated.c149 left = mem->size_bytes; in block_allocator_allocate()
166 mem->size_bytes = 0; in block_allocator_allocate()
179 mem->size_bytes += UMP_BLOCK_SIZE; in block_allocator_allocate()
H A Dump_osk_low_level_mem.c253 if (mem->size_bytes == size) { in _ump_osk_msync()
257 mem->secure_id, mem->nr_blocks, mem->size_bytes, size, offset, mem->block_array[0].addr)); in _ump_osk_msync()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A 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()
H A Dradeon_ucode.h157 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A Dspan87 constexpr index_type size_bytes() const noexcept;
314 …_LIBCPP_INLINE_VISIBILITY constexpr index_type size_bytes() const noexcept { return _Extent * size…
349 { return {reinterpret_cast<const byte *>(data()), size_bytes()}; }
352 { return {reinterpret_cast<byte *>(data()), size_bytes()}; }
479 …_LIBCPP_INLINE_VISIBILITY constexpr index_type size_bytes() const noexcept { return __size * sizeo…
518 { return {reinterpret_cast<const byte *>(data()), size_bytes()}; }
521 { return {reinterpret_cast<byte *>(data()), size_bytes()}; }
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A Dspan87 constexpr index_type size_bytes() const noexcept;
314 …_LIBCPP_INLINE_VISIBILITY constexpr index_type size_bytes() const noexcept { return _Extent * size…
349 { return {reinterpret_cast<const byte *>(data()), size_bytes()}; }
352 { return {reinterpret_cast<byte *>(data()), size_bytes()}; }
479 …_LIBCPP_INLINE_VISIBILITY constexpr index_type size_bytes() const noexcept { return __size * sizeo…
518 { return {reinterpret_cast<const byte *>(data()), size_bytes()}; }
521 { return {reinterpret_cast<byte *>(data()), size_bytes()}; }
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/frame/interface/
H A Dia_css_frame.h120 const unsigned int size_bytes,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.h48 u32 size_bytes; /* size of the entire header+image(s) in bytes */ member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.h29 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
141 uint32_t size_bytes; member
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dnozomi.c402 u32 size_bytes) in read_mem32() argument
412 switch (size_bytes) { in read_mem32()
424 while (i < size_bytes) { in read_mem32()
425 if (size_bytes - i == 2) { in read_mem32()
448 u32 size_bytes) in write_mem32() argument
458 switch (size_bytes) { in write_mem32()
474 while (i < size_bytes) { in write_mem32()
475 if (size_bytes - i == 2) { in write_mem32()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/inc/
H A Dsmu_ucode_xfer_cz.h118 uint32_t size_bytes; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_pktlog.c551 for (j = 0; j < filter->info[i].size_bytes; j++) { in dhd_pktlog_filter_existed()
561 for (j = 0; j < filter->info[i].size_bytes; j++) { in dhd_pktlog_filter_existed()
652 filter->info[filter->list_cnt].size_bytes = mask_size; in dhd_pktlog_filter_add()
759 for (j = 0; j < filter->info[i].size_bytes; j++) { in dhd_pktlog_filter_info()
769 for (j = 0; j < filter->info[i].size_bytes; j++) { in dhd_pktlog_filter_info()
809 szbts = filter->info[i].size_bytes; in dhd_pktlog_filter_matched()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_pktlog.c551 for (j = 0; j < filter->info[i].size_bytes; j++) { in dhd_pktlog_filter_existed()
561 for (j = 0; j < filter->info[i].size_bytes; j++) { in dhd_pktlog_filter_existed()
652 filter->info[filter->list_cnt].size_bytes = mask_size; in dhd_pktlog_filter_add()
759 for (j = 0; j < filter->info[i].size_bytes; j++) { in dhd_pktlog_filter_info()
769 for (j = 0; j < filter->info[i].size_bytes; j++) { in dhd_pktlog_filter_info()
809 szbts = filter->info[i].size_bytes; in dhd_pktlog_filter_matched()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu_v2.c91 static void vepu_swap_endian(RK_U32 *buf, RK_S32 size_bytes) in vepu_swap_endian() argument
94 RK_S32 words = size_bytes / 4; in vepu_swap_endian()
97 mpp_assert((size_bytes % 8) == 0); in vepu_swap_endian()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/
H A Dspan255 size_bytes() const noexcept
426 auto size = __sp.size_bytes();
439 auto size = __sp.size_bytes();
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/
H A Dspan255 size_bytes() const noexcept
426 auto size = __sp.size_bytes();
439 auto size = __sp.size_bytes();

123