Home
last modified time | relevance | path

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

/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 …]
/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()
369 total_length = (u32)ACPI_ROUND_UP_TO_NATIVE_WORD(total_length); in acpi_rs_get_resource_source()
371 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,
/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()
/drivers/staging/rtl8712/
Drtl8712_xmit.c384 u16 total_length = (u16) (ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe() local
388 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length - CMD_HDR_SZ) & 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) == in r8712_dump_aggr_xframe()
400 0) || ((!pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % in r8712_dump_aggr_xframe()
413 total_length + TXDESC_SIZE, (u8 *)pxmitframe); in r8712_dump_aggr_xframe()
661 u16 total_length; in r8712_xmitframe_complete() local
663 total_length = r8712_xmitframe_aggr_next( in r8712_xmitframe_complete()
669 total_length = in r8712_xmitframe_complete()
675 } while (total_length <= 0x1800 && in r8712_xmitframe_complete()
/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()
/drivers/media/pci/cobalt/
Dm00473_freewheel_memmap_package.h30 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
Dcobalt-v4l2.c338 &fw->total_length); in cobalt_start_streaming()
/drivers/usb/usbip/
Dusbip_common.c609 int total_length = 0; in usbip_recv_iso() local
640 total_length += urb->iso_frame_desc[i].actual_length; in usbip_recv_iso()
645 if (total_length != urb->actual_length) { in usbip_recv_iso()
648 total_length, urb->actual_length); in usbip_recv_iso()
/drivers/scsi/ibmvscsi/
Dibmvscsi.c671 u64 total_length = 0; in map_sg_list() local
678 total_length += sg_dma_len(sg); in map_sg_list()
680 return total_length; in map_sg_list()
698 u64 total_length = 0; in map_sg_data() local
724 total_length = map_sg_list(cmd, sg_mapped, in map_sg_data()
726 indirect->len = cpu_to_be32(total_length); in map_sg_data()
746 total_length = map_sg_list(cmd, sg_mapped, evt_struct->ext_list); in map_sg_data()
748 indirect->len = cpu_to_be32(total_length); in map_sg_data()
/drivers/iio/accel/
Dbmc150-accel-core.c841 int total_length = samples * sample_length; in bmc150_accel_fifo_transfer() local
845 if (!step || step > total_length) in bmc150_accel_fifo_transfer()
846 step = total_length; in bmc150_accel_fifo_transfer()
847 else if (step < total_length) in bmc150_accel_fifo_transfer()
854 for (i = 0; i < total_length; i += step) { in bmc150_accel_fifo_transfer()
/drivers/mtd/
Dbcm63xxpart.c121 sscanf(buf->total_length, "%u", &totallen); in bcm63xx_parse_cfe_partitions()
/drivers/staging/unisys/visorbus/
Dcontrolvmchannel.h467 u32 total_length; member
/drivers/scsi/pm8001/
Dpm8001_sas.h443 u32 total_length; member
459 u32 total_length; member
Dpm80xx_hwi.c503 pm8001_ha->inbnd_q_tbl[i].total_length = in init_default_table_values()
529 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()
/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()
/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()
/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()