| /Linux-v5.4/drivers/net/dsa/sja1105/ |
| D | sja1105_spi.c | 71 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 …]
|
| D | sja1105.h | 132 void *packed_buf, size_t size_bytes); 135 u64 *value, u64 size_bytes);
|
| /Linux-v5.4/kernel/dma/ |
| D | contiguous.c | 45 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/ |
| D | mvneta_bm.c | 121 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/ |
| D | radeon_ucode.c | 33 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()
|
| D | radeon_ucode.h | 157 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
|
| /Linux-v5.4/drivers/gpu/drm/rockchip/ |
| D | cdn-dp-core.h | 48 u32 size_bytes; /* size of the entire header+image(s) in bytes */ member
|
| D | cdn-dp-core.c | 339 if (fw->size != le32_to_cpu(hdr->size_bytes)) { in cdn_dp_firmware_init()
|
| /Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/ |
| D | smu_ucode_xfer_cz.h | 118 uint32_t size_bytes; member
|
| /Linux-v5.4/drivers/tty/ |
| D | nozomi.c | 402 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/ |
| D | amdgpu_ucode.h | 29 uint32_t size_bytes; /* size of the entire header+image(s) in bytes */ member
|
| D | amdgpu_ucode.c | 33 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/ |
| D | smu8_smumgr.c | 353 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/ |
| D | artpec6_crypto.c | 1002 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/ |
| D | fwil_types.h | 275 __le32 size_bytes; member
|
| /Linux-v5.4/arch/powerpc/platforms/pseries/ |
| D | lpar.c | 797 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/ |
| D | mvpp2.h | 1173 int size_bytes; member
|
| D | mvpp2_main.c | 361 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()
|