Searched refs:byte_count (Results 26 - 50 of 167) sorted by relevance

1234567

/linux-master/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c272 static u64 hash_pad(__le32 *buf, unsigned int bufsize, u64 padi, u64 byte_count, bool le, int bs) argument
282 fill = 64 - (byte_count % 64);
285 fill = 128 - (byte_count % 128);
304 *lebits = cpu_to_le64(byte_count << 3);
310 *bebits = cpu_to_be64(byte_count << 3);
315 *bebits = cpu_to_be64(byte_count >> 61);
318 *bebits = cpu_to_be64(byte_count << 3);
344 u64 byte_count; local
425 byte_count = areq->nbytes;
430 j = hash_pad(bf, 2 * bs, j, byte_count, tru
[all...]
/linux-master/fs/smb/common/
H A Dcifs_md4.c133 mctx->byte_count = 0;
141 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
143 mctx->byte_count += len;
173 const unsigned int offset = mctx->byte_count & 0x3f;
186 mctx->block[14] = mctx->byte_count << 3;
187 mctx->block[15] = mctx->byte_count >> 29;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sdma.h134 uint32_t byte_count,
150 uint32_t byte_count);
/linux-master/drivers/crypto/qce/
H A Dsha.c18 __be32 byte_count[2]; member in struct:qce_sha_saved_state
60 rctx->byte_count[0] = cpu_to_be32(result->auth_byte_count[0]);
61 rctx->byte_count[1] = cpu_to_be32(result->auth_byte_count[1]);
155 export_state->byte_count[0] = rctx->byte_count[0];
156 export_state->byte_count[1] = rctx->byte_count[1];
175 rctx->byte_count[0] = import_state->byte_count[0];
176 rctx->byte_count[
[all...]
/linux-master/drivers/acpi/acpica/
H A Dpsargs.c47 u32 byte_count; local
56 byte_count = (aml[0] >> 6);
57 parser_state->aml += ((acpi_size)byte_count + 1);
61 while (byte_count) {
69 package_length |= (aml[byte_count] << ((byte_count << 3) - 4));
72 byte_count--;
/linux-master/scripts/mod/
H A Dsumversion.c43 uint64_t byte_count; member in struct:md4_ctx
166 mctx->byte_count = 0;
172 const uint32_t avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
174 mctx->byte_count += len;
201 const unsigned int offset = mctx->byte_count & 0x3f;
214 mctx->block[14] = mctx->byte_count << 3;
215 mctx->block[15] = mctx->byte_count >> 29;
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c318 be32_to_cpu(data->byte_count),
332 be32_to_cpu(data->byte_count),
701 inl->byte_count = cpu_to_be32(1 << 31 | skb->len);
703 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN);
713 inl->byte_count = cpu_to_be32(1 << 31 | spc);
735 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc));
821 u32 byte_count = 0; local
827 byte_count = skb_frag_size(frag);
829 0, byte_count,
837 data->byte_count
[all...]
/linux-master/crypto/
H A Dmd5.c137 mctx->byte_count = 0;
145 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
147 mctx->byte_count += len;
177 const unsigned int offset = mctx->byte_count & 0x3f;
190 mctx->block[14] = mctx->byte_count << 3;
191 mctx->block[15] = mctx->byte_count >> 29;
/linux-master/drivers/gpu/drm/radeon/
H A Drv770_smc.c285 u16 byte_count, u16 limit)
294 if ((smc_start_address + byte_count) > limit)
300 while (byte_count >= 4) {
311 byte_count -= 4;
316 if (byte_count > 0) {
325 extra_shift = 8 * (4 - byte_count);
327 while (byte_count > 0) {
330 byte_count--;
352 u32 byte_count)
356 if (byte_count
283 rv770_copy_bytes_to_smc(struct radeon_device *rdev, u16 smc_start_address, const u8 *src, u16 byte_count, u16 limit) argument
350 rv770_program_interrupt_vectors(struct radeon_device *rdev, u32 smc_first_vector, const u8 *src, u32 byte_count) argument
[all...]
/linux-master/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c412 static u64 hash_pad(__le32 *buf, unsigned int bufsize, u64 padi, u64 byte_count, bool le, int bs) argument
422 fill = 64 - (byte_count % 64);
425 fill = 128 - (byte_count % 128);
444 *lebits = cpu_to_le64(byte_count << 3);
450 *bebits = cpu_to_be64(byte_count << 3);
455 *bebits = cpu_to_be64(byte_count >> 61);
458 *bebits = cpu_to_be64(byte_count << 3);
486 u64 byte_count; local
569 byte_count = areq->nbytes;
590 byte_count
[all...]
/linux-master/drivers/dma/
H A Dmv_xor.h165 u32 byte_count; /* size of src/dst blocks in bytes */ member in struct:mv_xor_desc
179 u32 byte_count; /* size of src/dst blocks in bytes */ member in struct:mv_xor_desc
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.h218 inline_dseg->byte_count = cpu_to_be32(dma_len | MLX5_INLINE_SEG);
227 dseg->byte_count = cpu_to_be32(dma_len);
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Dbmi.h221 __le32 byte_count; /* size of this structure */ member in struct:ath6kl_bmi_target_info
H A Dbmi.c77 (u8 *)&targ_info->byte_count,
78 sizeof(targ_info->byte_count));
89 if (le32_to_cpu(targ_info->byte_count) != sizeof(*targ_info)) {
97 sizeof(targ_info->byte_count),
99 sizeof(targ_info->byte_count));
103 targ_info->byte_count, ret);
/linux-master/drivers/net/ipa/
H A Dgsi_trans.h44 * @byte_count: TX channel byte count recorded when transaction committed
71 u64 byte_count; /* channel byte_count when committed */ member in struct:gsi_trans
/linux-master/drivers/scsi/aacraid/
H A Dcommctrl.c497 u32 byte_count = 0; local
646 byte_count = 0;
698 byte_count += sg_count[i];
704 hbacmd->data_length = cpu_to_le32(byte_count);
758 byte_count += sg_count[i];
814 byte_count += sg_count[i];
819 srbcmd->count = cpu_to_le32(byte_count);
870 byte_count += usg->sg[i].count;
910 byte_count += sg_count[i];
914 srbcmd->count = cpu_to_le32(byte_count);
[all...]
H A Daachba.c3796 unsigned long byte_count = 0; local
3815 byte_count += sg_dma_len(sg);
3818 if (byte_count > scsi_bufflen(scsicmd)) {
3820 (byte_count - scsi_bufflen(scsicmd));
3822 byte_count = scsi_bufflen(scsicmd);
3825 if (scsicmd->underflow && (byte_count < scsicmd->underflow)) {
3827 byte_count, scsicmd->underflow);
3830 return byte_count;
3836 unsigned long byte_count = 0; local
3858 byte_count
3879 unsigned long byte_count = 0; local
3928 unsigned long byte_count = 0; local
4046 unsigned long byte_count = 0; local
[all...]
/linux-master/sound/soc/amd/acp/
H A Damd.h247 u64 byte_count = 0, low = 0, high = 0; local
291 byte_count = (high << 32) | low;
294 return byte_count;
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dedid.c296 int byte_count = byte_left; local
306 if (byte_count > 4)
307 byte_count = 4;
308 for (i = 0; i < byte_count; i++) {
313 memcpy(&vgpu_vreg(vgpu, offset), &reg_data, byte_count); local
/linux-master/sound/soc/amd/ps/
H A Dps-pdm-dma.c241 u64 byte_count; local
244 byte_count = high;
246 byte_count = (byte_count << 32) | low;
247 return byte_count;
/linux-master/fs/smb/client/
H A Dsmb1ops.c294 unsigned int byte_count, total_in_tgt; local
344 byte_count = get_bcc(target_hdr);
345 byte_count += total_in_src;
347 if (byte_count > USHRT_MAX) {
348 cifs_dbg(FYI, "coalesced BCC too large (%u)\n", byte_count);
351 put_bcc(byte_count, target_hdr);
353 byte_count = be32_to_cpu(target_hdr->smb_buf_length);
354 byte_count += total_in_src;
356 if (byte_count > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
358 byte_count);
[all...]
/linux-master/sound/pci/asihpi/
H A Dhpicmn.c191 unsigned int byte_count = 0; local
199 &p_master_cache[byte_count];
233 byte_count += info->size_in32bit_words * 4;
245 if (byte_count >= pC->cache_size_in_bytes)
252 if (byte_count != pC->cache_size_in_bytes)
255 pC->adap_idx, byte_count,
260 pC->adap_idx, byte_count);
/linux-master/drivers/acpi/
H A Dmipi-disco-img.c541 int byte_count = ret; local
552 if (byte_count > sizeof(mask)) {
554 byte_count);
555 byte_count = sizeof(mask);
558 val, byte_count);
560 for (i = 0; i < byte_count; i++)
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h41 u_short byte_count; /* excluding header/trailer */ member in struct:Symbios_nvram
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.h43 u64 byte_count; member in struct:ch_tc_flower_stats

Completed in 227 milliseconds

1234567