Home
last modified time | relevance | path

Searched refs:total_length (Results 1 – 28 of 28) sorted by relevance

/linux-4.1.27/drivers/char/tpm/st33zp24/
Dspi.c114 int total_length = 0, nbr_dummy_bytes = 0, ret = 0; in st33zp24_spi_send() local
122 memcpy(tx_buf + total_length, &data, sizeof(data)); in st33zp24_spi_send()
123 total_length++; in st33zp24_spi_send()
125 memcpy(tx_buf + total_length, &data, sizeof(data)); in st33zp24_spi_send()
126 total_length++; in st33zp24_spi_send()
129 tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_send()
130 tx_buf[total_length++] = tpm_size; in st33zp24_spi_send()
133 memcpy(&tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send()
134 total_length += tpm_size; in st33zp24_spi_send()
137 memset(&tx_buf[total_length], TPM_DUMMY_BYTE, nbr_dummy_bytes); in st33zp24_spi_send()
[all …]
/linux-4.1.27/drivers/acpi/acpica/
Drsutils.c203 acpi_rs_set_resource_length(acpi_rsdesc_size total_length, in acpi_rs_set_resource_length() argument
213 (total_length - acpi_ut_get_resource_header_length(aml)); in acpi_rs_set_resource_length()
255 acpi_rsdesc_size total_length, in acpi_rs_set_resource_header() argument
266 acpi_rs_set_resource_length(total_length, aml); in acpi_rs_set_resource_header()
326 acpi_rsdesc_size total_length; in acpi_rs_get_resource_source() local
331 total_length = in acpi_rs_get_resource_source()
342 if (total_length > (acpi_rsdesc_size) (minimum_length + 1)) { in acpi_rs_get_resource_source()
366 total_length = in acpi_rs_get_resource_source()
370 total_length = (u32) ACPI_ROUND_UP_TO_NATIVE_WORD(total_length); in acpi_rs_get_resource_source()
372 ACPI_MEMSET(resource_source->string_ptr, 0, total_length); in acpi_rs_get_resource_source()
[all …]
Dacresrc.h294 acpi_rsdesc_size total_length,
298 acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
/linux-4.1.27/lib/
Dbuild_OID_registry51 my $total_length = 0;
70 push @indices, $total_length;
71 $total_length += $size;
78 if ($total_length <= 255) {
86 print C_FILE "\t[OID__NR] = ", $total_length, "\n";
138 print C_FILE "static const unsigned char oid_data[", $total_length, "] = {\n";
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dlib-md.c93 int total_length = 0; in lnet_md_build() local
121 total_length += lmd->md_iov.iov[i].iov_len; in lnet_md_build()
124 lmd->md_length = total_length; in lnet_md_build()
128 umd->max_size > total_length)) /* illegal max_size */ in lnet_md_build()
142 total_length += lmd->md_iov.kiov[i].kiov_len; in lnet_md_build()
145 lmd->md_length = total_length; in lnet_md_build()
149 umd->max_size > total_length)) /* illegal max_size */ in lnet_md_build()
/linux-4.1.27/drivers/staging/rtl8712/
Drtl8712_xmit.c385 u16 total_length = (u16) (ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe() local
389 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length-CMD_HDR_SZ)&0x0000ffff)| in r8712_dump_aggr_xframe()
394 ((total_length+TXDESC_SIZE) << 16)); in r8712_dump_aggr_xframe()
399 if ((pdvobj->ishighspeed && ((total_length+TXDESC_SIZE)%0x200) == 0) || in r8712_dump_aggr_xframe()
401 ((total_length+TXDESC_SIZE)%0x40) == 0))) { in r8712_dump_aggr_xframe()
411 total_length+TXDESC_SIZE, (u8 *)pxmitframe); in r8712_dump_aggr_xframe()
659 u16 total_length; in r8712_xmitframe_complete() local
661 total_length = r8712_xmitframe_aggr_next( in r8712_xmitframe_complete()
667 total_length = in r8712_xmitframe_complete()
673 } while (total_length <= 0x1800 && in r8712_xmitframe_complete()
/linux-4.1.27/sound/usb/6fire/
Dpcm.c201 unsigned int total_length = 0; in usb6fire_pcm_capture() local
221 src = (u32 *) (urb->buffer + total_length); in usb6fire_pcm_capture()
223 src = (u32 *) (urb->buffer - 1 + total_length); in usb6fire_pcm_capture()
227 total_length += urb->packets[i].length; in usb6fire_pcm_capture()
297 int total_length = 0; in usb6fire_pcm_in_urb_handler() local
334 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler()
339 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler()
341 memset(out_urb->buffer, 0, total_length); in usb6fire_pcm_in_urb_handler()
/linux-4.1.27/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c499 int total_length; in cmpk_message_handle_rx() local
510 total_length = pstats->Length; in cmpk_message_handle_rx()
523 while (total_length > 0 && exe_cnt++ < 100) { in cmpk_message_handle_rx()
566 total_length -= cmd_length; in cmpk_message_handle_rx()
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_cmdpkt.c314 int total_length; in cmpk_message_handle_rx() local
324 total_length = pstats->Length; in cmpk_message_handle_rx()
330 while (total_length > 0 || exe_cnt++ > 100) { in cmpk_message_handle_rx()
376 total_length -= cmd_length; in cmpk_message_handle_rx()
/linux-4.1.27/fs/ecryptfs/
Dmiscdev.c235 size_t total_length; in ecryptfs_miscdev_read() local
290 total_length = (PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_length_size in ecryptfs_miscdev_read()
292 if (count < total_length) { in ecryptfs_miscdev_read()
296 "pending message\n", __func__, count, total_length); in ecryptfs_miscdev_read()
/linux-4.1.27/arch/mips/include/asm/mach-bcm63xx/
Dbcm963xx_tag.h53 char total_length[IMAGE_LEN]; member
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha_mb_ctx.h128 uint32_t total_length; member
Dsha1_mb.c197 uint32_t n_extra_blocks = sha1_pad(buf, ctx->total_length); in sha1_ctx_mgr_resubmit()
264 ctx->total_length = 0; in sha1_ctx_mgr_submit()
283 ctx->total_length += len; in sha1_ctx_mgr_submit()
359 sctx->total_length = 0; in sha1_mb_init()
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dgelic_udbg.c73 u16 total_length; member
228 h_ip->total_length = msgsize + sizeof(struct udphdr) + in gelic_sendbuf()
/linux-4.1.27/drivers/usb/usbip/
Dusbip_common.c627 int total_length = 0; in usbip_recv_iso() local
658 total_length += urb->iso_frame_desc[i].actual_length; in usbip_recv_iso()
663 if (total_length != urb->actual_length) { in usbip_recv_iso()
666 total_length, urb->actual_length); in usbip_recv_iso()
/linux-4.1.27/drivers/staging/unisys/visorchipset/
Dparser.c106 if (phdr->total_length != bytes) { in parser_init_guts()
110 if (phdr->total_length < phdr->header_length) { in parser_init_guts()
/linux-4.1.27/drivers/scsi/ibmvscsi/
Dibmvscsi.c669 u64 total_length = 0; in map_sg_list() local
676 total_length += sg_dma_len(sg); in map_sg_list()
678 return total_length; in map_sg_list()
696 u64 total_length = 0; in map_sg_data() local
722 total_length = map_sg_list(cmd, sg_mapped, in map_sg_data()
724 indirect->len = cpu_to_be32(total_length); in map_sg_data()
744 total_length = map_sg_list(cmd, sg_mapped, evt_struct->ext_list); in map_sg_data()
746 indirect->len = cpu_to_be32(total_length); in map_sg_data()
/linux-4.1.27/drivers/mtd/
Dbcm63xxpart.c121 sscanf(buf->total_length, "%u", &totallen); in bcm63xx_parse_cfe_partitions()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
Dcontrolvmchannel.h494 u32 total_length; member
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_sas.h441 u32 total_length; member
457 u32 total_length; member
Dpm80xx_hwi.c500 pm8001_ha->inbnd_q_tbl[i].total_length = in init_default_table_values()
526 pm8001_ha->outbnd_q_tbl[i].total_length = in init_default_table_values()
Dpm8001_hwi.c231 pm8001_ha->inbnd_q_tbl[i].total_length = in init_default_table_values()
257 pm8001_ha->outbnd_q_tbl[i].total_length = in init_default_table_values()
/linux-4.1.27/drivers/isdn/hardware/eicon/
Dmaintidi.c350 int total_length = pLib->e.R->PLength; in SuperTraceMessageInput() local
353 while (total_length > 3 && *p) { in SuperTraceMessageInput()
391 total_length -= (4 + this_ind_length); in SuperTraceMessageInput()
/linux-4.1.27/fs/reiserfs/
Dstree.c1189 void padd_item(char *item, int total_length, int length) in padd_item() argument
1193 for (i = total_length; i > length;) in padd_item()
Dreiserfs.h3051 void padd_item(char *item, int total_length, int length);
/linux-4.1.27/drivers/scsi/esas2r/
Datioctl.h831 u32 total_length; member
Desas2r_ioctl.c972 trc->total_length = ESAS2R_FWCOREDUMP_SZ; in hba_ioctl_callback()
976 trc->total_length = 0; in hba_ioctl_callback()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2100.c539 u32 total_length; in ipw2100_get_ordinal() local
588 total_length = field_len * field_count; in ipw2100_get_ordinal()
589 if (total_length > *len) { in ipw2100_get_ordinal()
590 *len = total_length; in ipw2100_get_ordinal()
594 *len = total_length; in ipw2100_get_ordinal()
595 if (!total_length) in ipw2100_get_ordinal()
599 read_nic_memory(priv->net_dev, addr, total_length, val); in ipw2100_get_ordinal()