Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105_spi.c71 void *packed_buf, size_t size_bytes) in sja1105_spi_send_packed_buf() argument
75 const int msg_len = size_bytes + SJA1105_SIZE_SPI_MSG_HEADER; in sja1105_spi_send_packed_buf()
85 msg.read_count = size_bytes / 4; in sja1105_spi_send_packed_buf()
91 packed_buf, size_bytes); in sja1105_spi_send_packed_buf()
99 size_bytes); in sja1105_spi_send_packed_buf()
117 u64 *value, u64 size_bytes) in sja1105_spi_send_int() argument
122 if (size_bytes > SJA1105_SIZE_SPI_MSG_MAXLEN) in sja1105_spi_send_int()
126 sja1105_pack(packed_buf, value, 8 * size_bytes - 1, 0, in sja1105_spi_send_int()
127 size_bytes); in sja1105_spi_send_int()
130 size_bytes); in sja1105_spi_send_int()
[all …]
Dsja1105.h132 void *packed_buf, size_t size_bytes);
135 u64 *value, u64 size_bytes);
/Linux-v5.4/kernel/dma/
Dcontiguous.c45 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-v5.4/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-v5.4/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-v5.4/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h48 u32 size_bytes; /* size of the entire header+image(s) in bytes */ member
Dcdn-dp-core.c339 if (fw->size != le32_to_cpu(hdr->size_bytes)) { in cdn_dp_firmware_init()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dsmu_ucode_xfer_cz.h118 uint32_t size_bytes; member
/Linux-v5.4/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-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.h29 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()
314 if (fw->size == le32_to_cpu(hdr->size_bytes)) in amdgpu_ucode_validate()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dsmu8_smumgr.c353 task->size_bytes = smu8_smu->scratch_buffer[i].data_size; in smu8_smu_populate_single_scratch_task()
390 task->size_bytes = smu8_smu->driver_buffer[i].data_size; in smu8_smu_populate_single_ucode_load_task()
/Linux-v5.4/drivers/crypto/axis/
Dartpec6_crypto.c1002 unsigned int mod, target, diff, pad_bytes, size_bytes; in create_hash_pad() local
1012 size_bytes = 8; in create_hash_pad()
1017 size_bytes = 16; in create_hash_pad()
1028 if (size_bytes == 16) { in create_hash_pad()
1035 return pad_bytes + size_bytes + 1; in create_hash_pad()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h275 __le32 size_bytes; member
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dlpar.c797 unsigned long size_bytes = 1UL << ppc64_pft_size; in manual_hpte_clear_all() local
798 unsigned long hpte_count = size_bytes >> 4; in manual_hpte_clear_all()
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2.h1173 int size_bytes; member
Dmvpp2_main.c361 bm_pool->size_bytes = 2 * sizeof(u32) * size; in mvpp2_bm_pool_create()
363 bm_pool->size_bytes = 2 * sizeof(u64) * size; in mvpp2_bm_pool_create()
365 bm_pool->virt_addr = dma_alloc_coherent(dev, bm_pool->size_bytes, in mvpp2_bm_pool_create()
373 dma_free_coherent(dev, bm_pool->size_bytes, in mvpp2_bm_pool_create()
511 dma_free_coherent(dev, bm_pool->size_bytes, in mvpp2_bm_pool_destroy()