/drivers/char/tpm/st33zp24/ |
D | spi.c | 114 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/ |
D | rsutils.c | 203 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 …]
|
D | acresrc.h | 294 acpi_rsdesc_size total_length, 298 acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
|
/drivers/staging/lustre/lnet/lnet/ |
D | lib-md.c | 93 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/ |
D | rtl8712_xmit.c | 384 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/ |
D | r819xU_cmdpkt.c | 499 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/ |
D | m00473_freewheel_memmap_package.h | 30 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
|
D | cobalt-v4l2.c | 338 &fw->total_length); in cobalt_start_streaming()
|
/drivers/usb/usbip/ |
D | usbip_common.c | 609 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/ |
D | ibmvscsi.c | 671 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/ |
D | bmc150-accel-core.c | 841 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/ |
D | bcm63xxpart.c | 121 sscanf(buf->total_length, "%u", &totallen); in bcm63xx_parse_cfe_partitions()
|
/drivers/staging/unisys/visorbus/ |
D | controlvmchannel.h | 467 u32 total_length; member
|
/drivers/scsi/pm8001/ |
D | pm8001_sas.h | 443 u32 total_length; member 459 u32 total_length; member
|
D | pm80xx_hwi.c | 503 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()
|
D | pm8001_hwi.c | 231 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/ |
D | maintidi.c | 350 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/ |
D | atioctl.h | 831 u32 total_length; member
|
D | esas2r_ioctl.c | 972 trc->total_length = ESAS2R_FWCOREDUMP_SZ; in hba_ioctl_callback() 976 trc->total_length = 0; in hba_ioctl_callback()
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 539 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()
|