Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/radeon/
Dkv_smc.c120 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()
Drv770_smc.c297 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 …]
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()
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()
Drv770_smc.h192 u16 byte_count, u16 limit);
Dkv_dpm.h198 const u8 *src, u32 byte_count, u32 limit);
Dci_dpm.h326 const u8 *src, u32 byte_count, u32 limit);
Dsislands_smc.h407 const u8 *src, u32 byte_count, u32 limit);
/linux-4.1.27/arch/sparc/crypto/
Dmd5_glue.c40 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-4.1.27/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c60 u32 byte_count) in rdma_build_arg_xdr() argument
75 min_t(size_t, byte_count, ctxt->sge[0].length); in rdma_build_arg_xdr()
76 rqstp->rq_arg.len = byte_count; in rdma_build_arg_xdr()
77 rqstp->rq_arg.buflen = byte_count; in rdma_build_arg_xdr()
80 bc = byte_count - rqstp->rq_arg.head[0].iov_len; in rdma_build_arg_xdr()
375 u32 position, u32 byte_count, u32 page_offset, int page_no) in rdma_copy_tail() argument
382 byte_count = head->arg.head[0].iov_len - position; in rdma_copy_tail()
383 if (byte_count > PAGE_SIZE) { in rdma_copy_tail()
392 while (byte_count--) { in rdma_copy_tail()
395 if (page_offset == PAGE_SIZE && byte_count) in rdma_copy_tail()
[all …]
Dsvc_rdma_sendto.c382 int byte_count) in send_reply() argument
421 for (sge_no = 1; byte_count && sge_no < vec->count; sge_no++) { in send_reply()
422 sge_bytes = min_t(size_t, vec->sge[sge_no].iov_len, byte_count); in send_reply()
423 byte_count -= sge_bytes; in send_reply()
435 if (byte_count != 0) { in send_reply()
436 pr_err("svcrdma: Could not map %d bytes\n", byte_count); in send_reply()
/linux-4.1.27/crypto/
Dmd5.c58 mctx->byte_count = 0; in md5_init()
66 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md5_update()
68 mctx->byte_count += len; in md5_update()
98 const unsigned int offset = mctx->byte_count & 0x3f; in md5_final()
111 mctx->block[14] = mctx->byte_count << 3; in md5_final()
112 mctx->block[15] = mctx->byte_count >> 29; in md5_final()
Dansi_cprng.c192 unsigned int byte_count = (unsigned int)nbytes; in get_prng_bytes() local
210 byte_count = DEFAULT_BLK_SZ; in get_prng_bytes()
220 byte_count, ctx); in get_prng_bytes()
235 if (byte_count < DEFAULT_BLK_SZ) { in get_prng_bytes()
240 byte_count--; in get_prng_bytes()
242 if (byte_count == 0) in get_prng_bytes()
250 for (; byte_count >= DEFAULT_BLK_SZ; byte_count -= DEFAULT_BLK_SZ) { in get_prng_bytes()
268 if (byte_count) in get_prng_bytes()
Dmd4.c39 u64 byte_count; member
164 mctx->byte_count = 0; in md4_init()
172 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md4_update()
174 mctx->byte_count += len; in md4_update()
204 const unsigned int offset = mctx->byte_count & 0x3f; in md4_final()
217 mctx->block[14] = mctx->byte_count << 3; in md4_final()
218 mctx->block[15] = mctx->byte_count >> 29; in md4_final()
Drmd128.c26 u64 byte_count; member
224 rctx->byte_count = 0; in rmd128_init()
240 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd128_update()
242 rctx->byte_count += len; in rmd128_update()
280 bits = cpu_to_le64(rctx->byte_count << 3); in rmd128_final()
283 index = rctx->byte_count & 0x3f; in rmd128_final()
Drmd256.c26 u64 byte_count; member
239 rctx->byte_count = 0; in rmd256_init()
259 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd256_update()
261 rctx->byte_count += len; in rmd256_update()
299 bits = cpu_to_le64(rctx->byte_count << 3); in rmd256_final()
302 index = rctx->byte_count & 0x3f; in rmd256_final()
Drmd160.c26 u64 byte_count; member
267 rctx->byte_count = 0; in rmd160_init()
284 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd160_update()
286 rctx->byte_count += len; in rmd160_update()
324 bits = cpu_to_le64(rctx->byte_count << 3); in rmd160_final()
327 index = rctx->byte_count & 0x3f; in rmd160_final()
Drmd320.c26 u64 byte_count; member
286 rctx->byte_count = 0; in rmd320_init()
308 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd320_update()
310 rctx->byte_count += len; in rmd320_update()
348 bits = cpu_to_le64(rctx->byte_count << 3); in rmd320_final()
351 index = rctx->byte_count & 0x3f; in rmd320_final()
/linux-4.1.27/init/
Dinitramfs.c200 static unsigned long byte_count __initdata;
207 byte_count -= n; in eat()
217 if (byte_count >= size) { in read_into()
240 if (byte_count < n) in do_collect()
241 n = byte_count; in do_collect()
283 if (this_header + byte_count < next_header) { in do_skip()
284 eat(byte_count); in do_skip()
295 while (byte_count && *victim == '\0') in do_reset()
297 if (byte_count && (this_header & 3)) in do_reset()
371 if (byte_count >= body_len) { in do_copy()
[all …]
/linux-4.1.27/arch/arm/mach-iop13xx/include/mach/
Dadma.h73 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-4.1.27/fs/cifs/
Dcifssmb.c796 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile() local
837 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); in CIFSPOSIXDelFile()
845 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXDelFile()
846 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXDelFile()
1009 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate() local
1054 byte_count = 3 /* pad */ + params + count; in CIFSPOSIXCreate()
1062 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXCreate()
1063 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXCreate()
1779 __u16 byte_count; in CIFSSMBWrite() local
1852 byte_count = bytes_sent + 1; /* pad */ in CIFSSMBWrite()
[all …]
Dsmb1ops.c293 unsigned int byte_count, total_in_tgt; in coalesce_t2() local
343 byte_count = get_bcc(target_hdr); in coalesce_t2()
344 byte_count += total_in_src; in coalesce_t2()
346 if (byte_count > USHRT_MAX) { in coalesce_t2()
347 cifs_dbg(FYI, "coalesced BCC too large (%u)\n", byte_count); in coalesce_t2()
350 put_bcc(byte_count, target_hdr); in coalesce_t2()
352 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2()
353 byte_count += total_in_src; in coalesce_t2()
355 if (byte_count > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in coalesce_t2()
357 byte_count); in coalesce_t2()
[all …]
/linux-4.1.27/arch/mips/cavium-octeon/crypto/
Docteon-md5.c76 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-4.1.27/arch/arm/include/asm/hardware/
Diop3xx-adma.h113 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-4.1.27/arch/powerpc/crypto/
Dmd5-glue.c44 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-4.1.27/drivers/infiniband/hw/mthca/
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()
Dmthca_qp.c1537 data->byte_count = cpu_to_be32(header_size); in build_mlx_header()
1744 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_tavor_post_send()
2085 ((struct mthca_data_seg *) wqe)->byte_count = in mthca_arbel_post_send()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_bufs.c612 int byte_count; in drm_legacy_addbufs_agp() local
628 byte_count = 0; in drm_legacy_addbufs_agp()
696 buf->offset = (dma->byte_count + offset); in drm_legacy_addbufs_agp()
719 byte_count += PAGE_SIZE << page_order; in drm_legacy_addbufs_agp()
722 DRM_DEBUG("byte_count: %d\n", byte_count); in drm_legacy_addbufs_agp()
742 dma->page_count += byte_count >> PAGE_SHIFT; in drm_legacy_addbufs_agp()
743 dma->byte_count += byte_count; in drm_legacy_addbufs_agp()
776 int byte_count; in drm_legacy_addbufs_pci() local
861 byte_count = 0; in drm_legacy_addbufs_pci()
894 buf->offset = (dma->byte_count + byte_count + offset); in drm_legacy_addbufs_pci()
[all …]
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c316 be32_to_cpu(data->byte_count), in mlx4_en_free_tx_desc()
343 be32_to_cpu(data->byte_count), in mlx4_en_free_tx_desc()
645 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe()
647 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe()
657 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
679 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe()
799 u32 byte_count = 0; in mlx4_en_xmit() local
806 byte_count = skb_frag_size(frag); in mlx4_en_xmit()
808 0, byte_count, in mlx4_en_xmit()
816 data->byte_count = cpu_to_be32(byte_count); in mlx4_en_xmit()
[all …]
Den_rx.c220 rx_desc->data[i].byte_count = in mlx4_en_init_rx_desc()
230 rx_desc->data[i].byte_count = 0; in mlx4_en_init_rx_desc()
/linux-4.1.27/arch/ia64/sn/pci/
Dtioce_provider.c523 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 …]
Dtioca_provider.c513 tioca_dma_map(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags) in tioca_dma_map() argument
539 mapaddr = tioca_dma_mapped(pdev, paddr, byte_count); in tioca_dma_map()
/linux-4.1.27/drivers/acpi/acpica/
Dpsargs.c80 u32 byte_count; in acpi_ps_get_next_package_length() local
89 byte_count = (aml[0] >> 6); in acpi_ps_get_next_package_length()
90 parser_state->aml += ((acpi_size) byte_count + 1); in acpi_ps_get_next_package_length()
94 while (byte_count) { in acpi_ps_get_next_package_length()
102 package_length |= (aml[byte_count] << ((byte_count << 3) - 4)); in acpi_ps_get_next_package_length()
105 byte_count--; in acpi_ps_get_next_package_length()
/linux-4.1.27/drivers/scsi/aacraid/
Dcommctrl.c482 u32 byte_count = 0; in aac_send_raw_srb() local
587 byte_count = 0; in aac_send_raw_srb()
633 byte_count += upsg->sg[i].count; in aac_send_raw_srb()
686 byte_count += usg->sg[i].count; in aac_send_raw_srb()
691 srbcmd->count = cpu_to_le32(byte_count); in aac_send_raw_srb()
738 byte_count += usg->sg[i].count; in aac_send_raw_srb()
776 byte_count += upsg->sg[i].count; in aac_send_raw_srb()
780 srbcmd->count = cpu_to_le32(byte_count); in aac_send_raw_srb()
800 byte_count = le32_to_cpu( in aac_send_raw_srb()
804 if(copy_to_user(sg_user[i], sg_list[i], byte_count)){ in aac_send_raw_srb()
Daachba.c3198 unsigned long byte_count = 0; in aac_build_sg() local
3219 byte_count += sg_dma_len(sg); in aac_build_sg()
3222 if (byte_count > scsi_bufflen(scsicmd)) { in aac_build_sg()
3224 (byte_count - scsi_bufflen(scsicmd)); in aac_build_sg()
3226 byte_count = scsi_bufflen(scsicmd); in aac_build_sg()
3229 if(scsicmd->underflow && (byte_count < scsicmd->underflow)){ in aac_build_sg()
3231 byte_count, scsicmd->underflow); in aac_build_sg()
3234 return byte_count; in aac_build_sg()
3241 unsigned long byte_count = 0; in aac_build_sg64() local
3265 byte_count += count; in aac_build_sg64()
[all …]
/linux-4.1.27/scripts/mod/
Dsumversion.c43 uint64_t byte_count; member
166 mctx->byte_count = 0; in md4_init()
172 const uint32_t avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md4_update()
174 mctx->byte_count += len; in md4_update()
201 const unsigned int offset = mctx->byte_count & 0x3f; in md4_final_ascii()
214 mctx->block[14] = mctx->byte_count << 3; in md4_final_ascii()
215 mctx->block[15] = mctx->byte_count >> 29; in md4_final_ascii()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
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()
97 sizeof(targ_info->byte_count), in ath6kl_bmi_get_target_info()
99 sizeof(targ_info->byte_count)); in ath6kl_bmi_get_target_info()
103 targ_info->byte_count, ret); in ath6kl_bmi_get_target_info()
Dbmi.h221 __le32 byte_count; /* size of this structure */ member
/linux-4.1.27/drivers/tty/
Disicom.c522 short byte_count; in isicom_interrupt() local
546 byte_count = header & 0xff; in isicom_interrupt()
564 word_count = byte_count >> 1; in isicom_interrupt()
565 while (byte_count > 1) { in isicom_interrupt()
567 byte_count -= 2; in isicom_interrupt()
569 if (byte_count & 0x01) in isicom_interrupt()
654 byte_count & ~1); in isicom_interrupt()
656 __func__, count, byte_count); in isicom_interrupt()
659 byte_count -= (word_count << 1); in isicom_interrupt()
663 byte_count -= 2; in isicom_interrupt()
[all …]
/linux-4.1.27/sound/pci/asihpi/
Dhpicmn.c200 unsigned int byte_count = 0; in control_cache_alloc_check() local
208 &p_master_cache[byte_count]; in control_cache_alloc_check()
242 byte_count += info->size_in32bit_words * 4; in control_cache_alloc_check()
254 if (byte_count >= pC->cache_size_in_bytes) in control_cache_alloc_check()
261 if (byte_count != pC->cache_size_in_bytes) in control_cache_alloc_check()
264 pC->adap_idx, byte_count, in control_cache_alloc_check()
269 pC->adap_idx, byte_count); in control_cache_alloc_check()
Dhpifunc.c1663 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count, in hpi_cobranet_hmi_write() argument
1676 if (byte_count > sizeof(hm.bytes)) in hpi_cobranet_hmi_write()
1680 hm.p.byte_count = byte_count; in hpi_cobranet_hmi_write()
1682 memcpy(hm.bytes, pb_data, byte_count); in hpi_cobranet_hmi_write()
1683 hm.h.size = (u16)(sizeof(hm.h) + sizeof(hm.p) + byte_count); in hpi_cobranet_hmi_write()
1706 hm.p.byte_count = max_byte_count; in hpi_cobranet_hmi_read()
1712 if (hr.byte_count > sizeof(hr.bytes)) in hpi_cobranet_hmi_read()
1716 *pbyte_count = hr.byte_count; in hpi_cobranet_hmi_read()
1718 if (hr.byte_count < max_byte_count) in hpi_cobranet_hmi_read()
1755 u32 byte_count; in hpi_cobranet_get_ip_address() local
[all …]
Dhpi_internal.h1146 u32 byte_count; member
1162 u32 byte_count; member
Dhpi.h1669 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count,
/linux-4.1.27/include/crypto/
Dmd5.h14 u64 byte_count; member
/linux-4.1.27/drivers/dma/
Dmv_xor.h162 u32 byte_count; /* size of src/dst blocks in bytes */ member
176 u32 byte_count; /* size of src/dst blocks in bytes */ member
Dmv_xor.c45 dma_addr_t addr, u32 byte_count, in mv_desc_init() argument
56 hw_desc->byte_count = byte_count; in mv_desc_init()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c797 pr_debug("info: EEPROM read len=%x\n", r.eeprom->byte_count); in mwifiex_ret_reg_access()
798 if (le16_to_cpu(eeprom->byte_count) < in mwifiex_ret_reg_access()
799 le16_to_cpu(r.eeprom->byte_count)) { in mwifiex_ret_reg_access()
800 eeprom->byte_count = cpu_to_le16(0); in mwifiex_ret_reg_access()
805 eeprom->byte_count = r.eeprom->byte_count; in mwifiex_ret_reg_access()
806 if (le16_to_cpu(eeprom->byte_count) > 0) in mwifiex_ret_reg_access()
808 le16_to_cpu(r.eeprom->byte_count)); in mwifiex_ret_reg_access()
Dioctl.h341 __le16 byte_count; member
Dsta_cmd.c1165 cmd_eeprom->byte_count = rd_eeprom->byte_count; in mwifiex_cmd_reg_access()
Dsta_ioctl.c1253 rd_eeprom.byte_count = cpu_to_le16((u16) bytes); in mwifiex_eeprom_read()
Dfw.h1615 __le16 byte_count; member
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dodp.c325 u32 byte_count; in pagefault_data_segments() local
343 byte_count = be32_to_cpu(dseg->byte_count); in pagefault_data_segments()
344 inline_segment = !!(byte_count & MLX5_INLINE_SEG); in pagefault_data_segments()
345 bcnt = byte_count & ~MLX5_INLINE_SEG; in pagefault_data_segments()
Dsrq.c459 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); in mlx5_ib_post_srq_recv()
465 scat[i].byte_count = 0; in mlx5_ib_post_srq_recv()
Dcq.c327 int byte_count; in handle_atomic() local
333 byte_count = be32_to_cpu(cqe64->byte_cnt); in handle_atomic()
336 if (byte_count == 4) { in handle_atomic()
339 for (i = 0; i < byte_count; i += 8) { in handle_atomic()
Dqp.c1860 dseg->byte_count = cpu_to_be32(sg->length); in set_data_ptr_seg()
2057 dseg->byte_count = cpu_to_be32(ALIGN(sizeof(u64) * wr->wr.fast_reg.page_list_len, 64)); in set_frwr_pages()
2125 seg->byte_count = cpu_to_be32(inl | MLX5_INLINE_SEG); in set_data_inl_seg()
2127 *sz = ALIGN(inl + sizeof(seg->byte_count), 16) / 16; in set_data_inl_seg()
2932 scat[i].byte_count = 0; in mlx5_ib_post_recv()
/linux-4.1.27/drivers/crypto/qce/
Dsha.h60 __be32 byte_count[2]; member
Dsha.c62 rctx->byte_count[0] = cpu_to_be32(result->auth_byte_count[0]); in qce_ahash_done()
63 rctx->byte_count[1] = cpu_to_be32(result->auth_byte_count[1]); in qce_ahash_done()
202 rctx->byte_count[0] = (__force __be32)(count & ~SHA_PADDING_MASK); in qce_import_common()
203 rctx->byte_count[1] = (__force __be32)(count >> 32); in qce_import_common()
Dcommon.c285 (u32 *)rctx->byte_count, 2); in qce_setup_regs_ahash()
/linux-4.1.27/drivers/net/ethernet/xilinx/
Dxilinx_emaclite.c313 unsigned int byte_count) in xemaclite_send_data() argument
322 if (byte_count > ETH_FRAME_LEN) in xemaclite_send_data()
323 byte_count = ETH_FRAME_LEN; in xemaclite_send_data()
348 xemaclite_aligned_write(data, (u32 __force *) addr, byte_count); in xemaclite_send_data()
350 __raw_writel((byte_count & XEL_TPLR_LENGTH_MASK), in xemaclite_send_data()
/linux-4.1.27/include/linux/mlx4/
Dqp.h419 __be32 byte_count; member
430 __be32 byte_count; member
/linux-4.1.27/net/openvswitch/
Dflow.c111 new_stats->byte_count = len; in ovs_flow_stats_update()
126 stats->byte_count += len; in ovs_flow_stats_update()
155 ovs_stats->n_bytes += stats->byte_count; in ovs_flow_stats_get()
173 stats->byte_count = 0; in ovs_flow_stats_clear()
Dflow.h218 u64 byte_count; /* Number of bytes matched. */ member
/linux-4.1.27/include/drm/
Ddrm_legacy.h107 unsigned long byte_count; member
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h54 u_short byte_count; /* excluding header/trailer */ member
Dsym_nvram.c525 nvram->byte_count != len - 12) in sym_read_Symbios_nvram()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dqp.c258 inl->byte_count = cpu_to_be32(1 << 31 | (size - s - sizeof *inl)); in post_nop_wqe()
2114 inl->byte_count = cpu_to_be32(1 << 31 | header_size); in build_sriov_qp0_header()
2118 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_sriov_qp0_header()
2137 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_sriov_qp0_header()
2342 inl->byte_count = cpu_to_be32(1 << 31 | header_size); in build_mlx_header()
2346 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_mlx_header()
2365 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_mlx_header()
2534 inl->byte_count = cpu_to_be32(1 << 31 | sizeof (hdr)); in build_tunnel_header()
2539 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_tunnel_header()
2544 inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc)); in build_tunnel_header()
[all …]
Dsrq.c349 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); in mlx4_ib_post_srq_recv()
355 scat[i].byte_count = 0; in mlx4_ib_post_srq_recv()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_iocb.c211 cmd_pkt->byte_count = __constant_cpu_to_le32(0); in qla2x00_build_scsi_iocbs_32()
269 cmd_pkt->byte_count = __constant_cpu_to_le32(0); in qla2x00_build_scsi_iocbs_64()
410 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); in qla2x00_start_scsi()
605 cmd_pkt->byte_count = __constant_cpu_to_le32(0); in qla24xx_build_scsi_type_6_iocbs()
723 cmd_pkt->byte_count = __constant_cpu_to_le32(0); in qla24xx_build_scsi_iocbs()
1261 cmd_pkt->byte_count = __constant_cpu_to_le32(0); in qla24xx_build_scsi_crc_2_iocbs()
1394 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qla24xx_build_scsi_crc_2_iocbs()
1397 cmd_pkt->byte_count = cpu_to_le32(total_bytes); in qla24xx_build_scsi_crc_2_iocbs()
1403 cmd_pkt->byte_count = __constant_cpu_to_le32(0); in qla24xx_build_scsi_crc_2_iocbs()
1547 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); in qla24xx_start_scsi()
[all …]
Dqla_fw.h455 uint32_t byte_count; /* Total byte count. */ member
502 uint32_t byte_count; /* Total byte count. */ member
537 uint32_t byte_count; /* Total byte count. */ member
Dqla_mr.h47 __le32 byte_count; /* Total byte count. */ member
Dqla_def.h1556 uint32_t byte_count; /* Total byte count. */ member
1582 uint32_t byte_count; /* Total byte count. */ member
1669 __le32 byte_count; /* Total byte count/ total data member
Dqla_mr.c3012 lcmd_pkt->byte_count = __constant_cpu_to_le32(0); in qlafx00_build_scsi_iocbs()
3161 lcmd_pkt.byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd)); in qlafx00_start_scsi()
Dqla_target.c2441 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qlt_build_ctio_crc2_pkt()
/linux-4.1.27/include/linux/mlx5/
Dqp.h250 __be32 byte_count; member
309 __be32 byte_count; member
/linux-4.1.27/drivers/block/
Dskd_main.c916 sgd->byte_count = cnt; in skd_preop_sg_list()
934 i, sgd->byte_count, sgd->control, in skd_preop_sg_list()
1584 sksg->byte_count = nbytes; in skd_skreq_prep_buffering()
1616 i, sgd->byte_count, sgd->control, in skd_skreq_prep_buffering()
1873 sgd->byte_count = 0; in skd_format_internal_skspcl()
1911 sgd->byte_count = 0; in skd_send_internal_skspcl()
1917 sgd->byte_count = SKD_N_READ_CAP_BYTES; in skd_send_internal_skspcl()
1918 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()
1926 sgd->byte_count = 16; in skd_send_internal_skspcl()
1927 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()
[all …]
Dskd_s1120.h201 uint32_t byte_count; member
/linux-4.1.27/drivers/block/mtip32xx/
Dmtip32xx.h277 unsigned int byte_count; member
Dmtip32xx.c1168 int_cmd->command_header->byte_count = 0; in mtip_exec_internal_command()
2432 command->command_header->byte_count = 0; in mtip_hw_submit_io()
/linux-4.1.27/drivers/spi/
Dspi-mpc52xx.c74 int byte_count; member
244 ms->byte_count++; in mpc52xx_spi_fsmstate_transfer()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dhcp_if.h262 unsigned long *byte_count);
Dhcp_if.c925 unsigned long *byte_count) in hipz_h_error_data() argument
/linux-4.1.27/drivers/soc/ti/
Dknav_qmss.h180 u32 byte_count; member
/linux-4.1.27/include/linux/
Dhyperv.h252 u32 byte_count; member
283 u32 byte_count; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dfw-api.h1088 __le32 byte_count; member
1094 __le16 byte_count; member
Drx.c264 len = le16_to_cpu(rx_res->byte_count); in iwl_mvm_rx_rx_mpdu()
/linux-4.1.27/drivers/usb/dwc2/
Dcore.c1266 u32 byte_count; in dwc2_hc_write_packet() local
1278 byte_count = chan->max_packet; in dwc2_hc_write_packet()
1280 byte_count = remaining_count; in dwc2_hc_write_packet()
1282 dword_count = (byte_count + 3) / 4; in dwc2_hc_write_packet()
1297 chan->xfer_count += byte_count; in dwc2_hc_write_packet()
1298 chan->xfer_buf += byte_count; in dwc2_hc_write_packet()
/linux-4.1.27/sound/ppc/
Dsnd_ps3.c213 enum snd_ps3_ch ch, size_t byte_count, in snd_ps3_bump_buffer() argument
219 card->dma_next_transfer_vaddr[ch] += byte_count; in snd_ps3_bump_buffer()
/linux-4.1.27/drivers/hv/
Dchannel.c256 gpadl_header->range[0].byte_count = size; in create_gpadl_header()
338 gpadl_header->range[0].byte_count = size; in create_gpadl_header()
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_io.c1649 int byte_count = 0; in bnx2fc_map_sg() local
1678 byte_count += sg_len; in bnx2fc_map_sg()
1680 if (byte_count != scsi_bufflen(sc)) in bnx2fc_map_sg()
1682 "task_id = 0x%x\n", byte_count, scsi_bufflen(sc), in bnx2fc_map_sg()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_hbadisc.c3608 uint32_t byte_count = 0; in lpfc_create_static_vport() local
3654 byte_count = pmb->u.mqe.un.mb_words[5]; in lpfc_create_static_vport()
3656 if (byte_count > sizeof(struct static_vport_info) - in lpfc_create_static_vport()
3658 byte_count = sizeof(struct static_vport_info) in lpfc_create_static_vport()
3660 memcpy(vport_buff + offset, mp->virt, byte_count); in lpfc_create_static_vport()
3661 offset += byte_count; in lpfc_create_static_vport()
3668 byte_count = mb->un.varDmp.word_cnt; in lpfc_create_static_vport()
3671 byte_count); in lpfc_create_static_vport()
3673 offset += byte_count; in lpfc_create_static_vport()
3676 } while (byte_count && in lpfc_create_static_vport()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
Dcommands.h1232 __le16 byte_count; /* frame's byte-count */ member
1237 __le16 byte_count; member
D4965-mac.c653 len = le16_to_cpu(phy_res->byte_count); in il4965_hdl_rx()
666 len = le16_to_cpu(amsdu->byte_count); in il4965_hdl_rx()
/linux-4.1.27/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c148 int byte_count = 0; in bnx2i_map_scsi_sg() local
169 byte_count += sg_len; in bnx2i_map_scsi_sg()
176 BUG_ON(byte_count != scsi_bufflen(sc)); in bnx2i_map_scsi_sg()
/linux-4.1.27/drivers/dma/ppc4xx/
Dadma.c658 u32 byte_count) in ppc440spe_desc_set_byte_count() argument
667 dma_hw_desc->cnt = cpu_to_le32(byte_count); in ppc440spe_desc_set_byte_count()
671 xor_hw_desc->cbbc = byte_count; in ppc440spe_desc_set_byte_count()
679 static inline void ppc440spe_desc_set_rxor_block_size(u32 byte_count) in ppc440spe_desc_set_rxor_block_size() argument
685 dcr_write(ppc440spe_mq_dcr_host, DCRN_MQ0_CF2H, byte_count); in ppc440spe_desc_set_rxor_block_size()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dcommands.h1120 __le16 byte_count; /* frame's byte-count */ member
1125 __le16 byte_count; member
Drx.c914 len = le16_to_cpu(amsdu->byte_count); in iwlagn_rx_reply_rx()
/linux-4.1.27/drivers/net/ethernet/intel/
De100.c456 /*0*/ u8 X(byte_count:6, pad0:2);
1107 config->byte_count = 0x16; /* bytes in this struct */ in e100_configure()
1164 config->byte_count = 0x20; /* extended bytes */ in e100_configure()
/linux-4.1.27/drivers/net/hyperv/
Dnetvsc.c1033 vmxferpage_packet->ranges[i].byte_count; in netvsc_receive()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1515 u32 byte_count; member
Dbe_cmds.c2652 req->byte_count = cpu_to_le32(byte_cnt); in be_cmd_ddr_dma_test()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvpp2.c923 u16 byte_count; member