| /Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
| D | kv_smc.c | 124 const u8 *src, u32 byte_count, u32 limit) in amdgpu_kv_copy_bytes_to_smc() argument 129 if ((smc_start_address + byte_count) > limit) in amdgpu_kv_copy_bytes_to_smc() 152 } else if (byte_count > 0) { in amdgpu_kv_copy_bytes_to_smc() 154 byte_count--; in amdgpu_kv_copy_bytes_to_smc() 174 while (byte_count >= 4) { in amdgpu_kv_copy_bytes_to_smc() 185 byte_count -= 4; in amdgpu_kv_copy_bytes_to_smc() 190 if (byte_count > 0) { in amdgpu_kv_copy_bytes_to_smc() 199 extra_shift = 8 * (4 - byte_count); in amdgpu_kv_copy_bytes_to_smc() 201 while (byte_count > 0) { in amdgpu_kv_copy_bytes_to_smc() 204 byte_count--; in amdgpu_kv_copy_bytes_to_smc()
|
| D | si_smc.c | 49 const u8 *src, u32 byte_count, u32 limit) in amdgpu_si_copy_bytes_to_smc() argument 57 if ((smc_start_address + byte_count) > limit) in amdgpu_si_copy_bytes_to_smc() 63 while (byte_count >= 4) { in amdgpu_si_copy_bytes_to_smc() 74 byte_count -= 4; in amdgpu_si_copy_bytes_to_smc() 79 if (byte_count > 0) { in amdgpu_si_copy_bytes_to_smc() 87 extra_shift = 8 * (4 - byte_count); in amdgpu_si_copy_bytes_to_smc() 89 while (byte_count > 0) { in amdgpu_si_copy_bytes_to_smc() 92 byte_count--; in amdgpu_si_copy_bytes_to_smc()
|
| D | ci_smc.c | 52 const u8 *src, u32 byte_count, u32 limit) in amdgpu_ci_copy_bytes_to_smc() argument 62 if ((smc_start_address + byte_count) > limit) in amdgpu_ci_copy_bytes_to_smc() 68 while (byte_count >= 4) { in amdgpu_ci_copy_bytes_to_smc() 79 byte_count -= 4; in amdgpu_ci_copy_bytes_to_smc() 84 if (byte_count > 0) { in amdgpu_ci_copy_bytes_to_smc() 93 extra_shift = 8 * (4 - byte_count); in amdgpu_ci_copy_bytes_to_smc() 95 while (byte_count > 0) { in amdgpu_ci_copy_bytes_to_smc() 97 byte_count--; in amdgpu_ci_copy_bytes_to_smc()
|
| /Linux-v4.19/drivers/gpu/drm/radeon/ |
| D | kv_smc.c | 120 const u8 *src, u32 byte_count, u32 limit) in kv_copy_bytes_to_smc() argument 125 if ((smc_start_address + byte_count) > limit) in kv_copy_bytes_to_smc() 148 } else if (byte_count > 0) { in kv_copy_bytes_to_smc() 150 byte_count--; in kv_copy_bytes_to_smc() 170 while (byte_count >= 4) { in kv_copy_bytes_to_smc() 181 byte_count -= 4; in kv_copy_bytes_to_smc() 186 if (byte_count > 0) { in kv_copy_bytes_to_smc() 195 extra_shift = 8 * (4 - byte_count); in kv_copy_bytes_to_smc() 197 while (byte_count > 0) { in kv_copy_bytes_to_smc() 200 byte_count--; in kv_copy_bytes_to_smc()
|
| D | rv770_smc.c | 297 u16 byte_count, u16 limit) in rv770_copy_bytes_to_smc() argument 306 if ((smc_start_address + byte_count) > limit) in rv770_copy_bytes_to_smc() 312 while (byte_count >= 4) { in rv770_copy_bytes_to_smc() 323 byte_count -= 4; in rv770_copy_bytes_to_smc() 328 if (byte_count > 0) { in rv770_copy_bytes_to_smc() 337 extra_shift = 8 * (4 - byte_count); in rv770_copy_bytes_to_smc() 339 while (byte_count > 0) { in rv770_copy_bytes_to_smc() 342 byte_count--; in rv770_copy_bytes_to_smc() 364 u32 byte_count) in rv770_program_interrupt_vectors() argument 368 if (byte_count % 4) in rv770_program_interrupt_vectors() [all …]
|
| D | ci_smc.c | 49 const u8 *src, u32 byte_count, u32 limit) in ci_copy_bytes_to_smc() argument 59 if ((smc_start_address + byte_count) > limit) in ci_copy_bytes_to_smc() 65 while (byte_count >= 4) { in ci_copy_bytes_to_smc() 76 byte_count -= 4; in ci_copy_bytes_to_smc() 81 if (byte_count > 0) { in ci_copy_bytes_to_smc() 90 extra_shift = 8 * (4 - byte_count); in ci_copy_bytes_to_smc() 92 while (byte_count > 0) { in ci_copy_bytes_to_smc() 94 byte_count--; in ci_copy_bytes_to_smc()
|
| D | si_smc.c | 49 const u8 *src, u32 byte_count, u32 limit) in si_copy_bytes_to_smc() argument 57 if ((smc_start_address + byte_count) > limit) in si_copy_bytes_to_smc() 63 while (byte_count >= 4) { in si_copy_bytes_to_smc() 74 byte_count -= 4; in si_copy_bytes_to_smc() 79 if (byte_count > 0) { in si_copy_bytes_to_smc() 88 extra_shift = 8 * (4 - byte_count); in si_copy_bytes_to_smc() 90 while (byte_count > 0) { in si_copy_bytes_to_smc() 93 byte_count--; in si_copy_bytes_to_smc()
|
| /Linux-v4.19/drivers/crypto/sunxi-ss/ |
| D | sun4i-ss-hash.c | 59 octx->byte_count = op->byte_count + op->len; in sun4i_hash_export_md5() 63 if (op->byte_count) { in sun4i_hash_export_md5() 84 op->byte_count = ictx->byte_count & ~0x3F; in sun4i_hash_import_md5() 85 op->len = ictx->byte_count & 0x3F; in sun4i_hash_import_md5() 101 octx->count = op->byte_count + op->len; in sun4i_hash_export_sha1() 105 if (op->byte_count) { in sun4i_hash_export_sha1() 127 op->byte_count = ictx->count & ~0x3F; in sun4i_hash_import_sha1() 194 op->byte_count, areq->nbytes, op->mode, in sun4i_hash() 220 if (op->byte_count) { in sun4i_hash() 291 op->byte_count += op->len; in sun4i_hash() [all …]
|
| /Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/ |
| D | smu7_smumgr.c | 49 …t pp_hwmgr *hwmgr, uint32_t smc_start_address, uint32_t *dest, uint32_t byte_count, uint32_t limit) in smu7_copy_bytes_from_smc() argument 58 …PP_ASSERT_WITH_CODE((limit > (smc_start_address + byte_count)), "SMC address is beyond the SMC RAM… in smu7_copy_bytes_from_smc() 62 while (byte_count >= 4) { in smu7_copy_bytes_from_smc() 68 byte_count -= 4; in smu7_copy_bytes_from_smc() 72 if (byte_count) { in smu7_copy_bytes_from_smc() 77 for (i = 0; i < byte_count; i++) in smu7_copy_bytes_from_smc() 86 const uint8_t *src, uint32_t byte_count, uint32_t limit) in smu7_copy_bytes_to_smc() argument 95 …PP_ASSERT_WITH_CODE((limit > (smc_start_address + byte_count)), "SMC address is beyond the SMC RAM… in smu7_copy_bytes_to_smc() 99 while (byte_count >= 4) { in smu7_copy_bytes_to_smc() 111 byte_count -= 4; in smu7_copy_bytes_to_smc() [all …]
|
| /Linux-v4.19/arch/sparc/crypto/ |
| D | md5_glue.c | 40 mctx->byte_count = 0; in md5_sparc64_init() 50 sctx->byte_count += len; in __md5_sparc64_update() 70 unsigned int partial = sctx->byte_count % MD5_HMAC_BLOCK_SIZE; in md5_sparc64_update() 74 sctx->byte_count += len; in md5_sparc64_update() 91 bits = cpu_to_le64(sctx->byte_count << 3); in md5_sparc64_final() 94 index = sctx->byte_count % MD5_HMAC_BLOCK_SIZE; in md5_sparc64_final() 99 sctx->byte_count += padlen; in md5_sparc64_final()
|
| /Linux-v4.19/init/ |
| D | initramfs.c | 192 static unsigned long byte_count __initdata; 199 byte_count -= n; in eat() 209 if (byte_count >= size) { in read_into() 232 if (byte_count < n) in do_collect() 233 n = byte_count; in do_collect() 275 if (this_header + byte_count < next_header) { in do_skip() 276 eat(byte_count); in do_skip() 287 while (byte_count && *victim == '\0') in do_reset() 289 if (byte_count && (this_header & 3)) in do_reset() 363 if (byte_count >= body_len) { in do_copy() [all …]
|
| /Linux-v4.19/arch/arm/mach-iop13xx/include/mach/ |
| D | adma.h | 73 unsigned int byte_count:24; member 93 u32 byte_count; member 111 u32 byte_count; member 130 u32 byte_count; member 225 return hw_desc->byte_count_field.byte_count; in iop_desc_get_byte_count() 362 u32 byte_count) in iop_desc_set_byte_count() argument 365 hw_desc->byte_count = byte_count; in iop_desc_set_byte_count() 376 hw_desc->byte_count = len; in iop_desc_set_zero_sum_byte_count() 380 iter->byte_count = IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT; in iop_desc_set_zero_sum_byte_count() 387 iter->byte_count = len; in iop_desc_set_zero_sum_byte_count() [all …]
|
| /Linux-v4.19/fs/cifs/ |
| D | cifssmb.c | 838 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile() local 879 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); in CIFSPOSIXDelFile() 887 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXDelFile() 888 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXDelFile() 1051 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate() local 1096 byte_count = 3 /* pad */ + params + count; in CIFSPOSIXCreate() 1104 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXCreate() 1105 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXCreate() 1839 __u16 byte_count; in CIFSSMBWrite() local 1907 byte_count = bytes_sent + 1; /* pad */ in CIFSSMBWrite() [all …]
|
| /Linux-v4.19/arch/mips/cavium-octeon/crypto/ |
| D | octeon-md5.c | 76 mctx->byte_count = 0; in octeon_md5_init() 85 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in octeon_md5_update() 89 mctx->byte_count += len; in octeon_md5_update() 124 const unsigned int offset = mctx->byte_count & 0x3f; in octeon_md5_final() 143 mctx->block[14] = cpu_to_le32(mctx->byte_count << 3); in octeon_md5_final() 144 mctx->block[15] = cpu_to_le32(mctx->byte_count >> 29); in octeon_md5_final()
|
| /Linux-v4.19/crypto/ |
| D | ansi_cprng.c | 190 unsigned int byte_count = (unsigned int)nbytes; in get_prng_bytes() local 208 byte_count = DEFAULT_BLK_SZ; in get_prng_bytes() 218 byte_count, ctx); in get_prng_bytes() 233 if (byte_count < DEFAULT_BLK_SZ) { in get_prng_bytes() 238 byte_count--; in get_prng_bytes() 240 if (byte_count == 0) in get_prng_bytes() 248 for (; byte_count >= DEFAULT_BLK_SZ; byte_count -= DEFAULT_BLK_SZ) { in get_prng_bytes() 266 if (byte_count) in get_prng_bytes()
|
| D | md4.c | 39 u64 byte_count; member 147 mctx->byte_count = 0; in md4_init() 155 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md4_update() 157 mctx->byte_count += len; in md4_update() 187 const unsigned int offset = mctx->byte_count & 0x3f; in md4_final() 200 mctx->block[14] = mctx->byte_count << 3; in md4_final() 201 mctx->block[15] = mctx->byte_count >> 29; in md4_final()
|
| D | md5.c | 140 mctx->byte_count = 0; in md5_init() 148 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md5_update() 150 mctx->byte_count += len; in md5_update() 180 const unsigned int offset = mctx->byte_count & 0x3f; in md5_final() 193 mctx->block[14] = mctx->byte_count << 3; in md5_final() 194 mctx->block[15] = mctx->byte_count >> 29; in md5_final()
|
| /Linux-v4.19/arch/arm/include/asm/hardware/ |
| D | iop3xx-adma.h | 113 u32 byte_count; member 125 u32 byte_count; member 152 u32 byte_count; member 174 u32 byte_count; member 404 return hw_desc.dma->byte_count; in iop_desc_get_byte_count() 406 return hw_desc.aau->byte_count; in iop_desc_get_byte_count() 648 u32 byte_count) in iop_desc_set_byte_count() argument 655 hw_desc.dma->byte_count = byte_count; in iop_desc_set_byte_count() 658 hw_desc.aau->byte_count = byte_count; in iop_desc_set_byte_count() 675 hw_desc.dma->byte_count = 0; in iop_desc_init_interrupt() [all …]
|
| /Linux-v4.19/arch/powerpc/crypto/ |
| D | md5-glue.c | 44 sctx->byte_count = 0; in ppc_md5_init() 53 const unsigned int offset = sctx->byte_count & 0x3f; in ppc_md5_update() 57 sctx->byte_count += len; in ppc_md5_update() 84 const unsigned int offset = sctx->byte_count & 0x3f; in ppc_md5_final() 101 *pbits = cpu_to_le64(sctx->byte_count << 3); in ppc_md5_final()
|
| /Linux-v4.19/drivers/infiniband/hw/mthca/ |
| D | mthca_wqe.h | 102 __be32 byte_count; member 119 dseg->byte_count = cpu_to_be32(sg->length); in mthca_set_data_seg() 126 dseg->byte_count = 0; in mthca_set_data_seg_inval()
|
| /Linux-v4.19/drivers/gpu/drm/ |
| D | drm_bufs.c | 693 int byte_count; in drm_legacy_addbufs_agp() local 709 byte_count = 0; in drm_legacy_addbufs_agp() 777 buf->offset = (dma->byte_count + offset); in drm_legacy_addbufs_agp() 800 byte_count += PAGE_SIZE << page_order; in drm_legacy_addbufs_agp() 803 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_legacy_addbufs_agp() 823 dma->page_count += byte_count >> PAGE_SHIFT; in drm_legacy_addbufs_agp() 824 dma->byte_count += byte_count; in drm_legacy_addbufs_agp() 857 int byte_count; in drm_legacy_addbufs_pci() local 943 byte_count = 0; in drm_legacy_addbufs_pci() 976 buf->offset = (dma->byte_count + byte_count + offset); in drm_legacy_addbufs_pci() [all …]
|
| /Linux-v4.19/arch/ia64/sn/pci/ |
| D | tioce_provider.c | 523 tioce_do_dma_map(struct pci_dev *pdev, u64 paddr, size_t byte_count, in tioce_do_dma_map() argument 569 ct_addr + byte_count - 1 <= last && in tioce_do_dma_map() 592 if (byte_count > MB(64)) { in tioce_do_dma_map() 594 port, ct_addr, byte_count, in tioce_do_dma_map() 599 ct_addr, byte_count, in tioce_do_dma_map() 603 ct_addr, byte_count, in tioce_do_dma_map() 608 port, ct_addr, byte_count, in tioce_do_dma_map() 625 byte_count, dma_flags); in tioce_do_dma_map() 646 tioce_dma(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags) in tioce_dma() argument 648 return tioce_do_dma_map(pdev, paddr, byte_count, 0, dma_flags); in tioce_dma() [all …]
|
| /Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_tx.c | 311 be32_to_cpu(data->byte_count), in mlx4_en_free_tx_desc() 325 be32_to_cpu(data->byte_count), in mlx4_en_free_tx_desc() 652 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe() 654 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe() 664 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe() 686 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe() 774 u32 byte_count = 0; in mlx4_en_build_dma_wqe() local 782 byte_count = skb_frag_size(frag); in mlx4_en_build_dma_wqe() 784 0, byte_count, in mlx4_en_build_dma_wqe() 792 data->byte_count = cpu_to_be32(byte_count); in mlx4_en_build_dma_wqe() [all …]
|
| /Linux-v4.19/drivers/acpi/acpica/ |
| D | psargs.c | 47 u32 byte_count; in acpi_ps_get_next_package_length() local 56 byte_count = (aml[0] >> 6); in acpi_ps_get_next_package_length() 57 parser_state->aml += ((acpi_size)byte_count + 1); in acpi_ps_get_next_package_length() 61 while (byte_count) { in acpi_ps_get_next_package_length() 69 package_length |= (aml[byte_count] << ((byte_count << 3) - 4)); in acpi_ps_get_next_package_length() 72 byte_count--; in acpi_ps_get_next_package_length()
|
| /Linux-v4.19/drivers/scsi/aacraid/ |
| D | commctrl.c | 496 u32 byte_count = 0; in aac_send_raw_srb() local 650 byte_count = 0; in aac_send_raw_srb() 702 byte_count += sg_count[i]; in aac_send_raw_srb() 708 hbacmd->data_length = cpu_to_le32(byte_count); in aac_send_raw_srb() 762 byte_count += sg_count[i]; in aac_send_raw_srb() 818 byte_count += sg_count[i]; in aac_send_raw_srb() 823 srbcmd->count = cpu_to_le32(byte_count); in aac_send_raw_srb() 872 byte_count += usg->sg[i].count; in aac_send_raw_srb() 912 byte_count += sg_count[i]; in aac_send_raw_srb() 916 srbcmd->count = cpu_to_le32(byte_count); in aac_send_raw_srb() [all …]
|