Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/dma/
Dcontiguous.c45 static const phys_addr_t size_bytes = (phys_addr_t)CMA_SIZE_MBYTES * SZ_1M; variable
120 selected_size = size_bytes; in dma_contiguous_reserve()
124 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
126 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
/Linux-v4.19/drivers/net/ethernet/marvell/
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()
/Linux-v4.19/tools/testing/selftests/x86/
Dmpx-mm.h8 extern long nr_incore(void *ptr, unsigned long size_bytes);
Dmpx-dig.c42 long nr_incore(void *ptr, unsigned long size_bytes) in nr_incore() argument
46 long vec_len = size_bytes / PAGE_SIZE; in nr_incore()
53 incore_ret = mincore(ptr, size_bytes, vec); in nr_incore()
/Linux-v4.19/drivers/gpu/drm/radeon/
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()
Dradeon_ucode.h157 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
/Linux-v4.19/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h56 u32 size_bytes; /* size of the entire header+image(s) in bytes */ member
Dcdn-dp-core.c348 if (fw->size != le32_to_cpu(hdr->size_bytes)) { in cdn_dp_firmware_init()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/inc/
Dsmu_ucode_xfer_cz.h118 uint32_t size_bytes; member
/Linux-v4.19/drivers/tty/
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()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.h27 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
Damdgpu_ucode.c33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in amdgpu_ucode_print_common_hdr()
256 if (fw->size == le32_to_cpu(hdr->size_bytes)) in amdgpu_ucode_validate()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dlpar.c226 unsigned long size_bytes = 1UL << ppc64_pft_size; in manual_hpte_clear_all() local
227 unsigned long hpte_count = size_bytes >> 4; in manual_hpte_clear_all()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
Dsmu8_smumgr.c352 task->size_bytes = smu8_smu->scratch_buffer[i].data_size; in smu8_smu_populate_single_scratch_task()
389 task->size_bytes = smu8_smu->driver_buffer[i].data_size; in smu8_smu_populate_single_ucode_load_task()
/Linux-v4.19/drivers/crypto/axis/
Dartpec6_crypto.c1006 unsigned int mod, target, diff, pad_bytes, size_bytes; in create_hash_pad() local
1016 size_bytes = 8; in create_hash_pad()
1021 size_bytes = 16; in create_hash_pad()
1032 if (size_bytes == 16) { in create_hash_pad()
1039 return pad_bytes + size_bytes + 1; in create_hash_pad()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h284 __le32 size_bytes; member
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1069 int size_bytes; member
Dmvpp2_main.c336 bm_pool->size_bytes = 2 * sizeof(u32) * size; in mvpp2_bm_pool_create()
338 bm_pool->size_bytes = 2 * sizeof(u64) * size; in mvpp2_bm_pool_create()
340 bm_pool->virt_addr = dma_alloc_coherent(&pdev->dev, bm_pool->size_bytes, in mvpp2_bm_pool_create()
348 dma_free_coherent(&pdev->dev, bm_pool->size_bytes, in mvpp2_bm_pool_create()
487 dma_free_coherent(&pdev->dev, bm_pool->size_bytes, in mvpp2_bm_pool_destroy()