| /OK3568_Linux_fs/kernel/sound/soc/amd/raven/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H 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()
|
| H A 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 …]
|
| H 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()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/ |
| H 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()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/ |
| H 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() 110 octx->count = op->byte_count + op->len; in sun4i_hash_export_sha1() 114 if (op->byte_count) { in sun4i_hash_export_sha1() 136 op->byte_count = ictx->count & ~0x3F; in sun4i_hash_import_sha1() 204 op->byte_count, areq->nbytes, op->mode, in sun4i_hash() 230 if (op->byte_count) { in sun4i_hash() 304 op->byte_count += op->len; in sun4i_hash() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/multiprecision/cpp_int/ |
| H A D | serialize.hpp | 50 std::size_t byte_count; in do_serialize() local 51 ar & byte_count; in do_serialize() local 52 limb_count = byte_count / sizeof(limb_type) + ((byte_count % sizeof(limb_type)) ? 1 : 0); in do_serialize() 58 for(std::size_t j = 0; (j < sizeof(limb_type)) && byte_count; ++j) in do_serialize() 63 --byte_count; in do_serialize() 81 std::size_t byte_count = limb_count * sizeof(limb_type); in do_serialize() local 82 ar & byte_count; in do_serialize() local 103 std::size_t byte_count; in do_serialize() local 104 ar & byte_count; in do_serialize() local 105 for(std::size_t i = 0; i < byte_count; ++i) in do_serialize()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/vp9d/ |
| H A D | hal_vp9d_com.c | 1059 RK_S32 byte_count = 0; in hal_vp9d_output_probe() local 1065 byte_count++; in hal_vp9d_output_probe() 1066 if (byte_count == 27) { in hal_vp9d_output_probe() 1068 byte_count = 0; in hal_vp9d_output_probe() 1077 RK_S32 byte_count = 0; in hal_vp9d_output_probe() local 1081 byte_count++; in hal_vp9d_output_probe() 1082 if (byte_count == 27) { in hal_vp9d_output_probe() 1083 byte_count = 0; in hal_vp9d_output_probe() 1139 RK_S32 byte_count = 0; in hal_vp9d_output_probe() local 1144 byte_count++; in hal_vp9d_output_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/init/ |
| H A D | initramfs.c | 196 static unsigned long byte_count __initdata; 203 byte_count -= n; in eat() 212 if (byte_count >= size) { in read_into() 235 if (byte_count < n) in do_collect() 236 n = byte_count; in do_collect() 278 if (this_header + byte_count < next_header) { in do_skip() 279 eat(byte_count); in do_skip() 290 while (byte_count && *victim == '\0') in do_reset() 292 if (byte_count && (this_header & 3)) in do_reset() 370 if (byte_count >= body_len) { in do_copy() [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | cifssmb.c | 857 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile() local 896 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); in CIFSPOSIXDelFile() 904 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXDelFile() 905 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXDelFile() 1063 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate() local 1106 byte_count = 3 /* pad */ + params + count; in CIFSPOSIXCreate() 1114 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXCreate() 1115 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXCreate() 1858 __u16 byte_count; in CIFSSMBWrite() local 1926 byte_count = bytes_sent + 1; /* pad */ in CIFSSMBWrite() [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/crypto/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/dma/ |
| H A D | iop-adma.h | 95 u32 byte_count; member 107 u32 byte_count; member 134 u32 byte_count; member 156 u32 byte_count; member 386 return hw_desc.dma->byte_count; in iop_desc_get_byte_count() 388 return hw_desc.aau->byte_count; in iop_desc_get_byte_count() 630 u32 byte_count) in iop_desc_set_byte_count() argument 637 hw_desc.dma->byte_count = byte_count; in iop_desc_set_byte_count() 640 hw_desc.aau->byte_count = byte_count; in iop_desc_set_byte_count() 657 hw_desc.dma->byte_count = 0; in iop_desc_init_interrupt() [all …]
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H 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()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/crypto/ |
| H A D | octeon-md5.c | 75 mctx->byte_count = 0; in octeon_md5_init() 84 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in octeon_md5_update() 88 mctx->byte_count += len; in octeon_md5_update() 123 const unsigned int offset = mctx->byte_count & 0x3f; in octeon_md5_final() 142 mctx->block[14] = cpu_to_le32(mctx->byte_count << 3); in octeon_md5_final() 143 mctx->block[15] = cpu_to_le32(mctx->byte_count >> 29); in octeon_md5_final()
|
| /OK3568_Linux_fs/kernel/drivers/net/ipa/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/crypto/ |
| H 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()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/ |
| H A D | crc.hpp | 80 std::size_t byte_count 85 std::size_t byte_count, typename uint_t<Bits>::fast initial_remainder 90 std::size_t byte_count 177 void process_bytes( void const *buffer, std::size_t byte_count ); 228 void process_bytes( void const *buffer, std::size_t byte_count ); 805 std::size_t byte_count in process_bytes() argument 811 process_block( b, b + byte_count ); in process_bytes() 976 std::size_t byte_count in process_bytes() argument 981 process_block( b, b + byte_count ); in process_bytes() 1033 std::size_t byte_count in crc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_bufs.c | 726 int byte_count; in drm_legacy_addbufs_agp() local 742 byte_count = 0; in drm_legacy_addbufs_agp() 810 buf->offset = (dma->byte_count + offset); in drm_legacy_addbufs_agp() 833 byte_count += PAGE_SIZE << page_order; in drm_legacy_addbufs_agp() 836 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_legacy_addbufs_agp() 856 dma->page_count += byte_count >> PAGE_SHIFT; in drm_legacy_addbufs_agp() 857 dma->byte_count += byte_count; in drm_legacy_addbufs_agp() 890 int byte_count; in drm_legacy_addbufs_pci() local 976 byte_count = 0; in drm_legacy_addbufs_pci() 1009 buf->offset = (dma->byte_count + byte_count + offset); in drm_legacy_addbufs_pci() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/efuse/ |
| H A D | hal_efuse.c | 276 rtw_efuse_shadow_read(void *efuse, u8 byte_count, u16 offset, u32 *value, in rtw_efuse_shadow_read() argument 294 if((u32)(offset+byte_count) > efuse_size) { in rtw_efuse_shadow_read() 300 if (byte_count == 1) in rtw_efuse_shadow_read() 302 else if (byte_count == 2) in rtw_efuse_shadow_read() 304 else if (byte_count == 4) in rtw_efuse_shadow_read() 313 rtw_efuse_shadow_write(void *efuse, u8 byte_count, u16 offset, u32 value, in rtw_efuse_shadow_write() argument 331 if((u32)(offset+byte_count) > efuse_size) { in rtw_efuse_shadow_write() 337 if (byte_count == 1) in rtw_efuse_shadow_write() 339 else if (byte_count == 2) in rtw_efuse_shadow_write() 341 else if (byte_count == 4) in rtw_efuse_shadow_write() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/efuse/ |
| H A D | hal_efuse.c | 276 rtw_efuse_shadow_read(void *efuse, u8 byte_count, u16 offset, u32 *value, in rtw_efuse_shadow_read() argument 294 if((u32)(offset+byte_count) > efuse_size) { in rtw_efuse_shadow_read() 300 if (byte_count == 1) in rtw_efuse_shadow_read() 302 else if (byte_count == 2) in rtw_efuse_shadow_read() 304 else if (byte_count == 4) in rtw_efuse_shadow_read() 313 rtw_efuse_shadow_write(void *efuse, u8 byte_count, u16 offset, u32 value, in rtw_efuse_shadow_write() argument 331 if((u32)(offset+byte_count) > efuse_size) { in rtw_efuse_shadow_write() 337 if (byte_count == 1) in rtw_efuse_shadow_write() 339 else if (byte_count == 2) in rtw_efuse_shadow_write() 341 else if (byte_count == 4) in rtw_efuse_shadow_write() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_tx.c | 313 be32_to_cpu(data->byte_count), in mlx4_en_free_tx_desc() 327 be32_to_cpu(data->byte_count), in mlx4_en_free_tx_desc() 687 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe() 689 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe() 699 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe() 721 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe() 808 u32 byte_count = 0; in mlx4_en_build_dma_wqe() local 814 byte_count = skb_frag_size(frag); in mlx4_en_build_dma_wqe() 816 0, byte_count, in mlx4_en_build_dma_wqe() 824 data->byte_count = cpu_to_be32(byte_count); in mlx4_en_build_dma_wqe() [all …]
|