/linux-6.3-rc2/sound/soc/amd/raven/ |
A D | acp3x.h | 127 u64 byte_count; in acp_get_byte_count() local 132 byte_count = rv_readl(rtd->acp3x_base + in acp_get_byte_count() 134 byte_count |= rv_readl(rtd->acp3x_base + in acp_get_byte_count() 139 byte_count = rv_readl(rtd->acp3x_base + in acp_get_byte_count() 141 byte_count |= rv_readl(rtd->acp3x_base + in acp_get_byte_count() 148 byte_count = rv_readl(rtd->acp3x_base + in acp_get_byte_count() 150 byte_count |= rv_readl(rtd->acp3x_base + in acp_get_byte_count() 155 byte_count = rv_readl(rtd->acp3x_base + in acp_get_byte_count() 157 byte_count |= rv_readl(rtd->acp3x_base + in acp_get_byte_count() 161 return byte_count; in acp_get_byte_count()
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | kv_smc.c | 119 const u8 *src, u32 byte_count, u32 limit) in kv_copy_bytes_to_smc() argument 124 if ((smc_start_address + byte_count) > limit) in kv_copy_bytes_to_smc() 147 } else if (byte_count > 0) { in kv_copy_bytes_to_smc() 149 byte_count--; in kv_copy_bytes_to_smc() 169 while (byte_count >= 4) { in kv_copy_bytes_to_smc() 180 byte_count -= 4; in kv_copy_bytes_to_smc() 185 if (byte_count > 0) { in kv_copy_bytes_to_smc() 194 extra_shift = 8 * (4 - byte_count); in kv_copy_bytes_to_smc() 196 while (byte_count > 0) { in kv_copy_bytes_to_smc() 199 byte_count--; in kv_copy_bytes_to_smc()
|
A D | rv770_smc.c | 297 u16 byte_count, u16 limit) in rv770_copy_bytes_to_smc() argument 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() 374 if (tmp > byte_count) in rv770_program_interrupt_vectors() [all …]
|
A 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()
|
A 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-6.3-rc2/drivers/gpu/drm/amd/pm/legacy-dpm/ |
A D | kv_smc.c | 123 const u8 *src, u32 byte_count, u32 limit) in amdgpu_kv_copy_bytes_to_smc() argument 128 if ((smc_start_address + byte_count) > limit) in amdgpu_kv_copy_bytes_to_smc() 151 } else if (byte_count > 0) { in amdgpu_kv_copy_bytes_to_smc() 153 byte_count--; in amdgpu_kv_copy_bytes_to_smc() 173 while (byte_count >= 4) { in amdgpu_kv_copy_bytes_to_smc() 184 byte_count -= 4; in amdgpu_kv_copy_bytes_to_smc() 189 if (byte_count > 0) { in amdgpu_kv_copy_bytes_to_smc() 198 extra_shift = 8 * (4 - byte_count); in amdgpu_kv_copy_bytes_to_smc() 200 while (byte_count > 0) { in amdgpu_kv_copy_bytes_to_smc() 203 byte_count--; in amdgpu_kv_copy_bytes_to_smc()
|
A 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()
|
/linux-6.3-rc2/sound/soc/amd/vangogh/ |
A D | acp5x.h | 153 union acp_dma_count byte_count; in acp_get_byte_count() local 158 byte_count.bcount.high = in acp_get_byte_count() 161 byte_count.bcount.low = in acp_get_byte_count() 167 byte_count.bcount.high = in acp_get_byte_count() 170 byte_count.bcount.low = in acp_get_byte_count() 177 byte_count.bcount.high = in acp_get_byte_count() 180 byte_count.bcount.low = in acp_get_byte_count() 186 byte_count.bcount.high = in acp_get_byte_count() 189 byte_count.bcount.low = in acp_get_byte_count() 194 return byte_count.bytescount; in acp_get_byte_count()
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun4i-ss/ |
A D | sun4i-ss-hash.c | 68 octx->byte_count = op->byte_count + op->len; in sun4i_hash_export_md5() 72 if (op->byte_count) { in sun4i_hash_export_md5() 93 op->byte_count = ictx->byte_count & ~0x3F; in sun4i_hash_import_md5() 94 op->len = ictx->byte_count & 0x3F; in sun4i_hash_import_md5() 114 if (op->byte_count) { in sun4i_hash_export_sha1() 232 if (op->byte_count) { in sun4i_hash() 306 op->byte_count += op->len; in sun4i_hash() 317 op->byte_count += todo * 4; in sun4i_hash() 413 op->byte_count += 4 * nwait; in sun4i_hash() 421 op->byte_count += nbw; in sun4i_hash() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
A D | smu7_smumgr.c | 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() 99 while (byte_count >= 4) { in smu7_copy_bytes_to_smc() 111 byte_count -= 4; in smu7_copy_bytes_to_smc() 115 if (0 != byte_count) { in smu7_copy_bytes_to_smc() 129 while (byte_count > 0) { in smu7_copy_bytes_to_smc() 132 byte_count--; in smu7_copy_bytes_to_smc() 456 uint32_t byte_count = length; in smu7_upload_smc_firmware_data() local [all …]
|
/linux-6.3-rc2/arch/sparc/crypto/ |
A D | md5_glue.c | 41 mctx->byte_count = 0; in md5_sparc64_init() 51 sctx->byte_count += len; in __md5_sparc64_update() 71 unsigned int partial = sctx->byte_count % MD5_HMAC_BLOCK_SIZE; in md5_sparc64_update() 75 sctx->byte_count += len; in md5_sparc64_update() 92 bits = cpu_to_le64(sctx->byte_count << 3); in md5_sparc64_final() 95 index = sctx->byte_count % MD5_HMAC_BLOCK_SIZE; in md5_sparc64_final() 100 sctx->byte_count += padlen; in md5_sparc64_final()
|
/linux-6.3-rc2/fs/cifs/ |
A D | cifssmb.c | 1491 __u16 byte_count; in CIFSSMBWrite() local 2268 byte_count += count; in CIFSSMBRenameOpenFile() 2605 __u16 params, byte_count; in CIFSSMBUnixQuerySymLink() local 3060 __u16 params, byte_count; in cifs_do_get_acl() local 3240 __u16 params, byte_count; in CIFSGetExtAttr() local 3635 __u16 params, byte_count; in CIFSSMBQFileInfo() local 3707 __u16 params, byte_count; in CIFSSMBQPathInfo() local 3802 __u16 params, byte_count; in CIFSSMBUnixQFileInfo() local 3874 __u16 params, byte_count; in CIFSSMBUnixQPathInfo() local 4122 byte_count = 0; in CIFSFindNext() [all …]
|
/linux-6.3-rc2/init/ |
A D | initramfs.c | 239 byte_count -= n; in eat() 248 if (byte_count >= size) { in read_into() 271 if (byte_count < n) in do_collect() 272 n = byte_count; in do_collect() 318 eat(byte_count); in do_skip() 410 if (byte_count >= body_len) { in do_copy() 422 if (xwrite(wfile, victim, byte_count, &wfile_pos) != byte_count) in do_copy() 424 body_len -= byte_count; in do_copy() 425 eat(byte_count); in do_copy() 455 byte_count = len; in write_buffer() [all …]
|
/linux-6.3-rc2/drivers/net/ipa/ |
A D | ipa_gsi.c | 30 u32 byte_count) in ipa_gsi_channel_tx_queued() argument 37 netdev_sent_queue(endpoint->netdev, byte_count); in ipa_gsi_channel_tx_queued() 41 u32 byte_count) in ipa_gsi_channel_tx_completed() argument 48 netdev_completed_queue(endpoint->netdev, count, byte_count); in ipa_gsi_channel_tx_completed()
|
/linux-6.3-rc2/arch/mips/cavium-octeon/crypto/ |
A 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] = mctx->byte_count << 3; in octeon_md5_final() 144 mctx->block[15] = mctx->byte_count >> 29; in octeon_md5_final()
|
/linux-6.3-rc2/crypto/ |
A D | ansi_cprng.c | 185 unsigned int byte_count = (unsigned int)nbytes; in get_prng_bytes() local 203 byte_count = DEFAULT_BLK_SZ; in get_prng_bytes() 213 byte_count, ctx); in get_prng_bytes() 228 if (byte_count < DEFAULT_BLK_SZ) { in get_prng_bytes() 233 byte_count--; in get_prng_bytes() 235 if (byte_count == 0) in get_prng_bytes() 243 for (; byte_count >= DEFAULT_BLK_SZ; byte_count -= DEFAULT_BLK_SZ) { in get_prng_bytes() 261 if (byte_count) in get_prng_bytes()
|
A 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()
|
/linux-6.3-rc2/arch/powerpc/crypto/ |
A D | md5-glue.c | 38 sctx->byte_count = 0; in ppc_md5_init() 47 const unsigned int offset = sctx->byte_count & 0x3f; in ppc_md5_update() 51 sctx->byte_count += len; in ppc_md5_update() 78 const unsigned int offset = sctx->byte_count & 0x3f; in ppc_md5_final() 95 *pbits = cpu_to_le64(sctx->byte_count << 3); in ppc_md5_final()
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ce/ |
A D | sun8i-ce-hash.c | 276 fill = 64 - (byte_count % 64); in hash_pad() 279 fill = 128 - (byte_count % 128); in hash_pad() 298 *lebits = cpu_to_le64(byte_count << 3); in hash_pad() 304 *bebits = cpu_to_be64(byte_count << 3); in hash_pad() 309 *bebits = cpu_to_be64(byte_count >> 61); in hash_pad() 312 *bebits = cpu_to_be64(byte_count << 3); in hash_pad() 338 u64 byte_count; in sun8i_ce_hash_run() local 419 byte_count = areq->nbytes; in sun8i_ce_hash_run() 424 j = hash_pad(bf, 2 * bs, j, byte_count, true, bs); in sun8i_ce_hash_run() 429 j = hash_pad(bf, 2 * bs, j, byte_count, false, bs); in sun8i_ce_hash_run() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | tc_counters.c | 327 u64 packet_count, byte_count; in efx_tc_rx_version_1() local 333 byte_count = le16_to_cpu(*(const __le16 *)(entry + 10)) | in efx_tc_rx_version_1() 336 packet_count, byte_count, mark); in efx_tc_rx_version_1() 407 u64 packet_count, byte_count; in efx_tc_rx_version_2() local 424 byte_count = efx_tc_read48((const __le16 *)byte_count_p); in efx_tc_rx_version_2() 432 if (packet_count || byte_count != 1) in efx_tc_rx_version_2() 435 packet_count, byte_count); in efx_tc_rx_version_2() 437 byte_count = 0; in efx_tc_rx_version_2() 441 byte_count, mark); in efx_tc_rx_version_2()
|
/linux-6.3-rc2/drivers/infiniband/hw/mthca/ |
A 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-6.3-rc2/drivers/crypto/qce/ |
A D | sha.c | 18 __be32 byte_count[2]; member 60 rctx->byte_count[0] = cpu_to_be32(result->auth_byte_count[0]); in qce_ahash_done() 61 rctx->byte_count[1] = cpu_to_be32(result->auth_byte_count[1]); in qce_ahash_done() 155 export_state->byte_count[0] = rctx->byte_count[0]; in qce_ahash_export() 156 export_state->byte_count[1] = rctx->byte_count[1]; in qce_ahash_export() 175 rctx->byte_count[0] = import_state->byte_count[0]; in qce_ahash_import() 176 rctx->byte_count[1] = import_state->byte_count[1]; in qce_ahash_import()
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_bufs.c | 729 int byte_count; in drm_legacy_addbufs_agp() local 745 byte_count = 0; in drm_legacy_addbufs_agp() 836 byte_count += PAGE_SIZE << page_order; in drm_legacy_addbufs_agp() 860 dma->byte_count += byte_count; in drm_legacy_addbufs_agp() 893 int byte_count; in drm_legacy_addbufs_pci() local 979 byte_count = 0; in drm_legacy_addbufs_pci() 1028 buf->offset = (dma->byte_count + byte_count + offset); in drm_legacy_addbufs_pci() 1053 byte_count += PAGE_SIZE << page_order; in drm_legacy_addbufs_pci() 1114 int byte_count; in drm_legacy_addbufs_sg() local 1136 byte_count = 0; in drm_legacy_addbufs_sg() [all …]
|
/linux-6.3-rc2/fs/smbfs_common/ |
A D | cifs_md4.c | 133 mctx->byte_count = 0; in cifs_md4_init() 141 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in cifs_md4_update() 143 mctx->byte_count += len; in cifs_md4_update() 173 const unsigned int offset = mctx->byte_count & 0x3f; in cifs_md4_final() 186 mctx->block[14] = mctx->byte_count << 3; in cifs_md4_final() 187 mctx->block[15] = mctx->byte_count >> 29; in cifs_md4_final()
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ss/ |
A D | sun8i-ss-hash.c | 431 fill = 64 - (byte_count % 64); in hash_pad() 434 fill = 128 - (byte_count % 128); in hash_pad() 453 *lebits = cpu_to_le64(byte_count << 3); in hash_pad() 459 *bebits = cpu_to_be64(byte_count << 3); in hash_pad() 464 *bebits = cpu_to_be64(byte_count >> 61); in hash_pad() 467 *bebits = cpu_to_be64(byte_count << 3); in hash_pad() 495 u64 byte_count; in sun8i_ss_hash_run() local 578 byte_count = areq->nbytes; in sun8i_ss_hash_run() 599 byte_count = areq->nbytes + bs; in sun8i_ss_hash_run() 627 byte_count = digestsize + bs; in sun8i_ss_hash_run() [all …]
|