Searched refs:size_bytes (Results 1 - 13 of 13) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); radeon_ucode_print_common_hdr()
162 if (fw->size == le32_to_cpu(hdr->size_bytes)) radeon_ucode_validate()
H A Dr600_blit.c594 int size_bytes) r600_blit_copy()
603 if ((size_bytes & 3) || (src_gpu_addr & 3) || (dst_gpu_addr & 3)) { r600_blit_copy()
606 while (size_bytes) { r600_blit_copy()
607 int cur_size = size_bytes; r600_blit_copy()
690 size_bytes -= cur_size * h; r600_blit_copy()
695 while (size_bytes) { r600_blit_copy()
696 int cur_size = size_bytes; r600_blit_copy()
780 size_bytes -= cur_size * h; r600_blit_copy()
592 r600_blit_copy(struct drm_device *dev, uint64_t src_gpu_addr, uint64_t dst_gpu_addr, int size_bytes) r600_blit_copy() argument
H A Dradeon_ucode.h157 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member in struct:common_firmware_header
H A Dradeon_drv.h466 int size_bytes);
/linux-4.1.27/drivers/base/
H A Ddma-contiguous.c49 static const phys_addr_t size_bytes = CMA_SIZE_MBYTES * SZ_1M; variable
124 selected_size = size_bytes; dma_contiguous_reserve()
128 selected_size = min(size_bytes, cma_early_percent_memory()); dma_contiguous_reserve()
130 selected_size = max(size_bytes, cma_early_percent_memory()); dma_contiguous_reserve()
/linux-4.1.27/drivers/gpu/host1x/hw/
H A Dcdma_hw.c33 *(u32 *)(pb->mapped + pb->size_bytes) = host1x_opcode_restart(0); push_buffer_init()
59 getptr = (getptr + 8) & (pb->size_bytes - 1); cdma_timeout_cpu_incr()
83 cdma->push_buffer.size_bytes + 4, cdma_start()
119 cdma->push_buffer.size_bytes, cdma_timeout_restart()
/linux-4.1.27/drivers/gpu/host1x/
H A Dcdma.c55 dma_free_writecombine(host1x->dev, pb->size_bytes + 4, host1x_pushbuffer_destroy()
72 pb->size_bytes = HOST1X_PUSHBUFFER_SLOTS * 8; host1x_pushbuffer_init()
75 pb->fence = pb->size_bytes - 8; host1x_pushbuffer_init()
79 pb->mapped = dma_alloc_writecombine(host1x->dev, pb->size_bytes + 4, host1x_pushbuffer_init()
104 pb->pos = (pos + 8) & (pb->size_bytes - 1); host1x_pushbuffer_push()
114 pb->fence = (pb->fence + slots * 8) & (pb->size_bytes - 1); host1x_pushbuffer_pop()
122 return ((pb->fence - pb->pos) & (pb->size_bytes - 1)) / 8; host1x_pushbuffer_space()
H A Dcdma.h49 u32 size_bytes; member in struct:push_buffer
/linux-4.1.27/mm/
H A Dsparse.c249 unsigned long size_bytes; usemap_size() local
250 size_bytes = roundup(SECTION_BLOCKFLAGS_BITS, 8) / 8; usemap_size()
251 size_bytes = roundup(size_bytes, sizeof(unsigned long)); usemap_size()
252 return size_bytes; usemap_size()
/linux-4.1.27/drivers/tty/
H A Dnozomi.c436 u32 size_bytes) read_mem32()
446 switch (size_bytes) { read_mem32()
458 while (i < size_bytes) { read_mem32()
459 if (size_bytes - i == 2) { read_mem32()
482 u32 size_bytes) write_mem32()
492 switch (size_bytes) { write_mem32()
508 while (i < size_bytes) { write_mem32()
509 if (size_bytes - i == 2) { write_mem32()
435 read_mem32(u32 *buf, const void __iomem *mem_addr_start, u32 size_bytes) read_mem32() argument
481 write_mem32(void __iomem *mem_addr_start, const u32 *buf, u32 size_bytes) write_mem32() argument
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dlpar.c224 unsigned long size_bytes = 1UL << ppc64_pft_size; pSeries_lpar_hptab_clear() local
225 unsigned long hpte_count = size_bytes >> 4; pSeries_lpar_hptab_clear()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dfwil_types.h207 __le32 size_bytes; member in struct:brcmf_pkt_filter_pattern_le
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvpp2.c3348 int size_bytes; mvpp2_bm_pool_create() local
3351 size_bytes = sizeof(u32) * size; mvpp2_bm_pool_create()
3352 bm_pool->virt_addr = dma_alloc_coherent(&pdev->dev, size_bytes, mvpp2_bm_pool_create()
3359 dma_free_coherent(&pdev->dev, size_bytes, bm_pool->virt_addr, mvpp2_bm_pool_create()

Completed in 490 milliseconds