Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/char/tpm/st33zp24/
Dspi.c116 int total_length = 0, ret = 0; in st33zp24_spi_send() local
125 phy->tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0; in st33zp24_spi_send()
126 phy->tx_buf[total_length++] = tpm_register; in st33zp24_spi_send()
129 phy->tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_send()
130 phy->tx_buf[total_length++] = tpm_size; in st33zp24_spi_send()
133 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send()
134 total_length += tpm_size; in st33zp24_spi_send()
136 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_send()
138 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send()
142 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_send()
[all …]
/Linux-v4.19/drivers/acpi/acpica/
Drsutils.c167 acpi_rs_set_resource_length(acpi_rsdesc_size total_length, in acpi_rs_set_resource_length() argument
177 (total_length - acpi_ut_get_resource_header_length(aml)); in acpi_rs_set_resource_length()
218 acpi_rsdesc_size total_length, in acpi_rs_set_resource_header() argument
229 acpi_rs_set_resource_length(total_length, aml); in acpi_rs_set_resource_header()
289 acpi_rsdesc_size total_length; in acpi_rs_get_resource_source() local
294 total_length = in acpi_rs_get_resource_source()
305 if (total_length > (acpi_rsdesc_size)(minimum_length + 1)) { in acpi_rs_get_resource_source()
329 total_length = in acpi_rs_get_resource_source()
333 total_length = (u32)ACPI_ROUND_UP_TO_NATIVE_WORD(total_length); in acpi_rs_get_resource_source()
335 memset(resource_source->string_ptr, 0, total_length); in acpi_rs_get_resource_source()
[all …]
Dacresrc.h263 acpi_rsdesc_size total_length,
267 acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
/Linux-v4.19/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-v4.19/drivers/gpu/drm/i915/
Di915_query.c18 u32 slice_length, subslice_length, eu_length, total_length; in query_topology_info() local
35 total_length = sizeof(topo) + slice_length + subslice_length + eu_length; in query_topology_info()
38 return total_length; in query_topology_info()
40 if (query_item->length < total_length) in query_topology_info()
51 total_length)) in query_topology_info()
84 return total_length; in query_topology_info()
/Linux-v4.19/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()
664 u16 total_length; in r8712_xmitframe_complete() local
666 total_length = r8712_xmitframe_aggr_next( in r8712_xmitframe_complete()
672 total_length = in r8712_xmitframe_complete()
678 } while (total_length <= 0x1800 && in r8712_xmitframe_complete()
/Linux-v4.19/tools/perf/util/
Dgenelf_debug.c106 uword total_length; member
138 uword total_length; member
148 .total_length = -1,
175 .total_length = -1,
428 dbg_header->total_length = (buffer_ext_size(be) - old_size) - in add_debug_line()
459 comp_unit_header->total_length = (buffer_ext_size(be) - old_size) - in add_compilation_unit()
/Linux-v4.19/drivers/mtd/
Dbcm63xxpart.c182 STR_NULL_TERMINATE(buf->total_length); in bcm63xx_parse_cfe_nor_partitions()
183 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm63xx_parse_cfe_nor_partitions()
185 (int)sizeof(buf->total_length), in bcm63xx_parse_cfe_nor_partitions()
186 buf->total_length); in bcm63xx_parse_cfe_nor_partitions()
/Linux-v4.19/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-v4.19/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c474 int total_length; in cmpk_message_handle_rx() local
486 total_length = pstats->Length; in cmpk_message_handle_rx()
501 while (total_length > 0 && exe_cnt++ < 100) { in cmpk_message_handle_rx()
545 total_length -= cmd_length; in cmpk_message_handle_rx()
/Linux-v4.19/fs/ecryptfs/
Dmiscdev.c231 size_t total_length; in ecryptfs_miscdev_read() local
286 total_length = (PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_length_size in ecryptfs_miscdev_read()
288 if (count < total_length) { in ecryptfs_miscdev_read()
292 "pending message\n", __func__, count, total_length); in ecryptfs_miscdev_read()
/Linux-v4.19/drivers/media/pci/cobalt/
Dm00473_freewheel_memmap_package.h18 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
/Linux-v4.19/include/linux/
Dbcm963xx_tag.h60 char total_length[IMAGE_LEN]; member
/Linux-v4.19/arch/x86/crypto/sha1-mb/
Dsha1_mb_ctx.h126 uint64_t total_length; member
Dsha1_mb.c193 sha1_pad(buf, ctx->total_length); in sha1_ctx_mgr_resubmit()
277 ctx->total_length += len; in sha1_ctx_mgr_submit()
366 sctx->total_length = 0; in sha1_mb_init()
/Linux-v4.19/arch/x86/crypto/sha256-mb/
Dsha256_mb_ctx.h126 uint64_t total_length; member
Dsha256_mb.c194 sha256_pad(buf, ctx->total_length); in sha256_ctx_mgr_resubmit()
274 ctx->total_length += len; in sha256_ctx_mgr_submit()
365 sctx->total_length = 0; in sha256_mb_init()
/Linux-v4.19/arch/x86/crypto/sha512-mb/
Dsha512_mb_ctx.h120 uint64_t total_length; member
Dsha512_mb.c195 sha512_pad(buf, ctx->total_length); in sha512_ctx_mgr_resubmit()
294 ctx->total_length += len; in sha512_ctx_mgr_submit()
394 sctx->total_length = 0; in sha512_mb_init()
/Linux-v4.19/drivers/usb/usbip/
Dusbip_common.c587 int total_length = 0; in usbip_recv_iso() local
618 total_length += urb->iso_frame_desc[i].actual_length; in usbip_recv_iso()
623 if (total_length != urb->actual_length) { in usbip_recv_iso()
626 total_length, urb->actual_length); in usbip_recv_iso()
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvscsi.c670 u64 total_length = 0; in map_sg_list() local
677 total_length += sg_dma_len(sg); in map_sg_list()
679 return total_length; in map_sg_list()
697 u64 total_length = 0; in map_sg_data() local
723 total_length = map_sg_list(cmd, sg_mapped, in map_sg_data()
725 indirect->len = cpu_to_be32(total_length); in map_sg_data()
745 total_length = map_sg_list(cmd, sg_mapped, evt_struct->ext_list); in map_sg_data()
747 indirect->len = cpu_to_be32(total_length); in map_sg_data()
/Linux-v4.19/drivers/visorbus/
Dcontrolvmchannel.h572 u32 total_length; member
/Linux-v4.19/drivers/scsi/pm8001/
Dpm8001_sas.h452 u32 total_length; member
468 u32 total_length; member
/Linux-v4.19/drivers/staging/wilc1000/
Dwilc_wlan.c173 u32 IHL, total_length, data_offset; in tcp_process() local
177 total_length = ntohs(ip_hdr_ptr->tot_len); in tcp_process()
180 if (total_length == (IHL + data_offset)) { in tcp_process()
/Linux-v4.19/drivers/iio/accel/
Dbmc150-accel-core.c839 int total_length = samples * sample_length; in bmc150_accel_fifo_transfer() local
842 buffer, total_length); in bmc150_accel_fifo_transfer()

12