Home
last modified time | relevance | path

Searched refs:byte_count (Results 1 – 25 of 113) sorted by relevance

12345

/linux/sound/soc/amd/raven/
H A Dacp3x.h127 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/drivers/gpu/drm/radeon/
H A Dkv_smc.c119 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 Drv770_smc.c285 u16 byte_count, u16 limit) in rv770_copy_bytes_to_smc() argument
294 if ((smc_start_address + byte_count) > limit) in rv770_copy_bytes_to_smc()
300 while (byte_count >= 4) { in rv770_copy_bytes_to_smc()
311 byte_count -= 4; in rv770_copy_bytes_to_smc()
316 if (byte_count > 0) { in rv770_copy_bytes_to_smc()
325 extra_shift = 8 * (4 - byte_count); in rv770_copy_bytes_to_smc()
327 while (byte_count > 0) { in rv770_copy_bytes_to_smc()
330 byte_count--; in rv770_copy_bytes_to_smc()
352 u32 byte_count) in rv770_program_interrupt_vectors() argument
356 if (byte_count % 4) in rv770_program_interrupt_vectors()
[all …]
H A Dci_smc.c49 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 Dsi_smc.c49 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/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_smc.c123 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()
/linux/sound/soc/amd/vangogh/
H A Dacp5x.h155 union acp_dma_count byte_count; in acp_get_byte_count() local
160 byte_count.bcount.high = in acp_get_byte_count()
163 byte_count.bcount.low = in acp_get_byte_count()
169 byte_count.bcount.high = in acp_get_byte_count()
172 byte_count.bcount.low = in acp_get_byte_count()
179 byte_count.bcount.high = in acp_get_byte_count()
182 byte_count.bcount.low = in acp_get_byte_count()
188 byte_count.bcount.high = in acp_get_byte_count()
191 byte_count.bcount.low = in acp_get_byte_count()
196 return byte_count.bytescount; in acp_get_byte_count()
/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-hash.c68 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()
206 op->byte_count, areq->nbytes, op->mode, in sun4i_hash()
232 if (op->byte_count) { in sun4i_hash()
306 op->byte_count += op->len; in sun4i_hash()
[all …]
/linux/fs/smb/client/
H A Dcifssmb.c706 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile() local
746 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); in CIFSPOSIXDelFile()
754 in_len += byte_count; in CIFSPOSIXDelFile()
755 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXDelFile()
920 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate() local
964 byte_count = 3 /* pad */ + params + count; in CIFSPOSIXCreate()
972 in_len += byte_count; in CIFSPOSIXCreate()
973 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXCreate()
1624 __u16 byte_count; in CIFSSMBWrite() local
1693 byte_count = bytes_sent + 1; /* pad */ in CIFSSMBWrite()
[all …]
/linux/init/
H A Dinitramfs.c229 static unsigned long byte_count __initdata;
236 byte_count -= n; in eat()
245 if (byte_count >= size) { in read_into()
268 if (byte_count < n) in do_collect()
269 n = byte_count; in do_collect()
314 if (this_header + byte_count < next_header) { in do_skip()
315 eat(byte_count); in do_skip()
326 while (byte_count && *victim == '\0') in do_reset()
328 if (byte_count && (this_header & 3)) in do_reset()
416 if (byte_count >= body_len) { in do_copy()
[all …]
/linux/drivers/net/ipa/
H A Dipa_gsi.c31 u32 byte_count) in ipa_gsi_channel_tx_queued() argument
38 netdev_sent_queue(endpoint->netdev, byte_count); in ipa_gsi_channel_tx_queued()
42 u32 byte_count) in ipa_gsi_channel_tx_completed() argument
49 netdev_completed_queue(endpoint->netdev, count, byte_count); in ipa_gsi_channel_tx_completed()
H A Dipa_gsi.h45 u32 byte_count);
58 u32 byte_count);
/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c417 static u64 hash_pad(__le32 *buf, unsigned int bufsize, u64 padi, u64 byte_count, bool le, int bs) in hash_pad() argument
427 fill = 64 - (byte_count % 64); in hash_pad()
430 fill = 128 - (byte_count % 128); in hash_pad()
449 *lebits = cpu_to_le64(byte_count << 3); in hash_pad()
455 *bebits = cpu_to_be64(byte_count << 3); in hash_pad()
460 *bebits = cpu_to_be64(byte_count >> 61); in hash_pad()
463 *bebits = cpu_to_be64(byte_count << 3); in hash_pad()
491 u64 byte_count; in sun8i_ss_hash_run() local
574 byte_count = areq->nbytes; in sun8i_ss_hash_run()
595 byte_count = areq->nbytes + bs; in sun8i_ss_hash_run()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dtc_counters.c387 u64 packet_count, byte_count; in efx_tc_rx_version_1() local
393 byte_count = le16_to_cpu(*(const __le16 *)(entry + 10)) | in efx_tc_rx_version_1()
396 packet_count, byte_count, mark); in efx_tc_rx_version_1()
467 u64 packet_count, byte_count; in efx_tc_rx_version_2() local
484 byte_count = efx_tc_read48((const __le16 *)byte_count_p); in efx_tc_rx_version_2()
492 if (packet_count || byte_count != 1) in efx_tc_rx_version_2()
495 packet_count, byte_count); in efx_tc_rx_version_2()
497 byte_count = 0; in efx_tc_rx_version_2()
501 byte_count, mark); in efx_tc_rx_version_2()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_wqe.h102 __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/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c319 be32_to_cpu(data->byte_count), in mlx4_en_free_tx_desc()
333 be32_to_cpu(data->byte_count), in mlx4_en_free_tx_desc()
698 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe()
700 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe()
710 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
732 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe()
818 u32 byte_count = 0; in mlx4_en_build_dma_wqe() local
824 byte_count = skb_frag_size(frag); in mlx4_en_build_dma_wqe()
826 0, byte_count, in mlx4_en_build_dma_wqe()
834 data->byte_count = cpu_to_be32(byte_count); in mlx4_en_build_dma_wqe()
[all …]
/linux/fs/smb/common/
H A Dcifs_md4.c134 mctx->byte_count = 0; in cifs_md4_init()
142 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in cifs_md4_update()
144 mctx->byte_count += len; in cifs_md4_update()
174 const unsigned int offset = mctx->byte_count & 0x3f; in cifs_md4_final()
187 mctx->block[14] = mctx->byte_count << 3; in cifs_md4_final()
188 mctx->block[15] = mctx->byte_count >> 29; in cifs_md4_final()
/linux/scripts/mod/
H A Dsumversion.c45 uint64_t byte_count; member
168 mctx->byte_count = 0; in md4_init()
174 const uint32_t avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md4_update()
176 mctx->byte_count += len; in md4_update()
203 const unsigned int offset = mctx->byte_count & 0x3f; in md4_final_ascii()
216 mctx->block[14] = mctx->byte_count << 3; in md4_final_ascii()
217 mctx->block[15] = mctx->byte_count >> 29; in md4_final_ascii()
/linux/drivers/acpi/acpica/
H A Dpsargs.c49 u32 byte_count; in acpi_ps_get_next_package_length() local
58 byte_count = (aml[0] >> 6); in acpi_ps_get_next_package_length()
59 parser_state->aml += ((acpi_size)byte_count + 1); in acpi_ps_get_next_package_length()
63 while (byte_count) { in acpi_ps_get_next_package_length()
71 package_length |= (aml[byte_count] << ((byte_count << 3) - 4)); in acpi_ps_get_next_package_length()
74 byte_count--; in acpi_ps_get_next_package_length()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dbmi.c77 (u8 *)&targ_info->byte_count, in ath6kl_bmi_get_target_info()
78 sizeof(targ_info->byte_count)); in ath6kl_bmi_get_target_info()
89 if (le32_to_cpu(targ_info->byte_count) != sizeof(*targ_info)) { in ath6kl_bmi_get_target_info()
91 le32_to_cpu(targ_info->byte_count), in ath6kl_bmi_get_target_info()
99 sizeof(targ_info->byte_count), in ath6kl_bmi_get_target_info()
101 sizeof(targ_info->byte_count)); in ath6kl_bmi_get_target_info()
105 targ_info->byte_count, ret); in ath6kl_bmi_get_target_info()
/linux/drivers/scsi/aacraid/
H A Daachba.c3794 unsigned long byte_count = 0; in aac_build_sg() local
3813 byte_count += sg_dma_len(sg); in aac_build_sg()
3816 if (byte_count > scsi_bufflen(scsicmd)) { in aac_build_sg()
3818 (byte_count - scsi_bufflen(scsicmd)); in aac_build_sg()
3820 byte_count = scsi_bufflen(scsicmd); in aac_build_sg()
3823 if (scsicmd->underflow && (byte_count < scsicmd->underflow)) { in aac_build_sg()
3825 byte_count, scsicmd->underflow); in aac_build_sg()
3828 return byte_count; in aac_build_sg()
3834 unsigned long byte_count = 0; in aac_build_sg64() local
3856 byte_count += count; in aac_build_sg64()
[all …]
H A Dcommctrl.c497 u32 byte_count = 0; in aac_send_raw_srb() local
646 byte_count = 0; in aac_send_raw_srb()
698 byte_count += sg_count[i]; in aac_send_raw_srb()
704 hbacmd->data_length = cpu_to_le32(byte_count); in aac_send_raw_srb()
758 byte_count += sg_count[i]; in aac_send_raw_srb()
814 byte_count += sg_count[i]; in aac_send_raw_srb()
819 srbcmd->count = cpu_to_le32(byte_count); in aac_send_raw_srb()
870 byte_count += usg->sg[i].count; in aac_send_raw_srb()
910 byte_count += sg_count[i]; in aac_send_raw_srb()
914 srbcmd->count = cpu_to_le32(byte_count); in aac_send_raw_srb()
[all …]
/linux/sound/pci/asihpi/
H A Dhpicmn.c191 unsigned int byte_count = 0; in control_cache_alloc_check() local
199 &p_master_cache[byte_count]; in control_cache_alloc_check()
233 byte_count += info->size_in32bit_words * 4; in control_cache_alloc_check()
245 if (byte_count >= pC->cache_size_in_bytes) in control_cache_alloc_check()
252 if (byte_count != pC->cache_size_in_bytes) in control_cache_alloc_check()
255 pC->adap_idx, byte_count, in control_cache_alloc_check()
260 pC->adap_idx, byte_count); in control_cache_alloc_check()
/linux/drivers/net/mctp/
H A Dmctp-i2c.c105 u8 byte_count; member
296 if (hdr->byte_count + offsetof(struct mctp_i2c_hdr, source_slave) != recvlen) { in mctp_i2c_recv()
495 if (skb->len != hdr->byte_count + 3) { in mctp_i2c_xmit()
498 hdr->byte_count + 3, skb->len); in mctp_i2c_xmit()
511 pecp = (void *)&hdr->source_slave + hdr->byte_count; in mctp_i2c_xmit()
512 *pecp = i2c_smbus_pec(0, (u8 *)hdr, hdr->byte_count + 3); in mctp_i2c_xmit()
515 msg.len = 2 + hdr->byte_count + 1; in mctp_i2c_xmit()
607 hdr->byte_count = len + 1; in mctp_i2c_header_create()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sdma.h156 uint32_t byte_count,
172 uint32_t byte_count);

12345