Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/host1x/
Dcdma.c55 dma_free_writecombine(host1x->dev, pb->size_bytes + 4, in host1x_pushbuffer_destroy()
72 pb->size_bytes = HOST1X_PUSHBUFFER_SLOTS * 8; in host1x_pushbuffer_init()
75 pb->fence = pb->size_bytes - 8; in host1x_pushbuffer_init()
79 pb->mapped = dma_alloc_writecombine(host1x->dev, pb->size_bytes + 4, in host1x_pushbuffer_init()
104 pb->pos = (pos + 8) & (pb->size_bytes - 1); in host1x_pushbuffer_push()
114 pb->fence = (pb->fence + slots * 8) & (pb->size_bytes - 1); in host1x_pushbuffer_pop()
122 return ((pb->fence - pb->pos) & (pb->size_bytes - 1)) / 8; in host1x_pushbuffer_space()
Dcdma.h49 u32 size_bytes; member
/linux-4.4.14/drivers/base/
Ddma-contiguous.c49 static const phys_addr_t size_bytes = (phys_addr_t)CMA_SIZE_MBYTES * SZ_1M; variable
124 selected_size = size_bytes; in dma_contiguous_reserve()
128 selected_size = min(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
130 selected_size = max(size_bytes, cma_early_percent_memory()); in dma_contiguous_reserve()
/linux-4.4.14/drivers/gpu/host1x/hw/
Dcdma_hw.c33 *(u32 *)(pb->mapped + pb->size_bytes) = host1x_opcode_restart(0); in push_buffer_init()
59 getptr = (getptr + 8) & (pb->size_bytes - 1); in cdma_timeout_cpu_incr()
83 cdma->push_buffer.size_bytes + 4, in cdma_start()
119 cdma->push_buffer.size_bytes, in cdma_timeout_restart()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dr600_blit.c594 int size_bytes) in r600_blit_copy() argument
603 if ((size_bytes & 3) || (src_gpu_addr & 3) || (dst_gpu_addr & 3)) { in r600_blit_copy()
606 while (size_bytes) { in r600_blit_copy()
607 int cur_size = size_bytes; in r600_blit_copy()
690 size_bytes -= cur_size * h; in r600_blit_copy()
695 while (size_bytes) { in r600_blit_copy()
696 int cur_size = size_bytes; in r600_blit_copy()
780 size_bytes -= cur_size * h; in r600_blit_copy()
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
Dradeon_drv.h466 int size_bytes);
/linux-4.4.14/mm/
Dsparse.c249 unsigned long size_bytes; in usemap_size() local
250 size_bytes = roundup(SECTION_BLOCKFLAGS_BITS, 8) / 8; in usemap_size()
251 size_bytes = roundup(size_bytes, sizeof(unsigned long)); in usemap_size()
252 return size_bytes; in usemap_size()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Dsmu_ucode_xfer_cz.h96 uint32_t size_bytes; member
Damdgpu_ucode.c33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in amdgpu_ucode_print_common_hdr()
205 if (fw->size == le32_to_cpu(hdr->size_bytes)) in amdgpu_ucode_validate()
Damdgpu_ucode.h27 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
Dcz_smc.c525 task->size_bytes = priv->driver_buffer[i].data_size; in cz_smu_populate_single_ucode_load_task()
554 task->size_bytes = priv->scratch_buffer[i].data_size; in cz_smu_populate_single_scratch_task()
/linux-4.4.14/drivers/tty/
Dnozomi.c436 u32 size_bytes) in read_mem32() argument
446 switch (size_bytes) { in read_mem32()
458 while (i < size_bytes) { in read_mem32()
459 if (size_bytes - i == 2) { in read_mem32()
482 u32 size_bytes) in write_mem32() argument
492 switch (size_bytes) { in write_mem32()
508 while (i < size_bytes) { in write_mem32()
509 if (size_bytes - i == 2) { in write_mem32()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dlpar.c224 unsigned long size_bytes = 1UL << ppc64_pft_size; in pSeries_lpar_hptab_clear() local
225 unsigned long hpte_count = size_bytes >> 4; in pSeries_lpar_hptab_clear()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfwil_types.h214 __le32 size_bytes; member
/linux-4.4.14/drivers/net/ethernet/marvell/
Dmvpp2.c3367 int size_bytes; in mvpp2_bm_pool_create() local
3370 size_bytes = sizeof(u32) * size; in mvpp2_bm_pool_create()
3371 bm_pool->virt_addr = dma_alloc_coherent(&pdev->dev, size_bytes, in mvpp2_bm_pool_create()
3378 dma_free_coherent(&pdev->dev, size_bytes, bm_pool->virt_addr, in mvpp2_bm_pool_create()