Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/char/tpm/st33zp24/
Dspi.c104 int total_length = 0, ret = 0; in st33zp24_spi_send() local
113 phy->tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0; in st33zp24_spi_send()
114 phy->tx_buf[total_length++] = tpm_register; in st33zp24_spi_send()
117 phy->tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_send()
118 phy->tx_buf[total_length++] = tpm_size; in st33zp24_spi_send()
121 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send()
122 total_length += tpm_size; in st33zp24_spi_send()
124 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_send()
126 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send()
130 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_send()
[all …]
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/lib/
Dbuild_OID_registry47 my $total_length = 0;
66 push @indices, $total_length;
67 $total_length += $size;
74 if ($total_length <= 255) {
82 print C_FILE "\t[OID__NR] = ", $total_length, "\n";
134 print C_FILE "static const unsigned char oid_data[", $total_length, "] = {\n";
/kernel/linux/linux-5.10/drivers/mtd/parsers/
Dparser_imagetag.c109 STR_NULL_TERMINATE(buf->total_length); in bcm963xx_parse_imagetag_partitions()
110 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm963xx_parse_imagetag_partitions()
112 (int)sizeof(buf->total_length), in bcm963xx_parse_imagetag_partitions()
113 buf->total_length); in bcm963xx_parse_imagetag_partitions()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_query.c15 u32 total_length, in copy_query_item() argument
19 return total_length; in copy_query_item()
21 if (query_item->length < total_length) in copy_query_item()
36 u32 slice_length, subslice_length, eu_length, total_length; in query_topology_info() local
50 total_length = sizeof(topo) + slice_length + subslice_length + in query_topology_info()
53 ret = copy_query_item(&topo, sizeof(topo), total_length, in query_topology_info()
90 return total_length; in query_topology_info()
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl8712_xmit.c363 u16 total_length = (u16) (ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe() local
367 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length - CMD_HDR_SZ) & in r8712_dump_aggr_xframe()
373 ((total_length + TXDESC_SIZE) << 16)); in r8712_dump_aggr_xframe()
378 if ((pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % 0x200) == in r8712_dump_aggr_xframe()
379 0) || ((!pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % in r8712_dump_aggr_xframe()
392 total_length + TXDESC_SIZE, (u8 *)pxmitframe); in r8712_dump_aggr_xframe()
641 u16 total_length; in r8712_xmitframe_complete() local
643 total_length = r8712_xmitframe_aggr_next( in r8712_xmitframe_complete()
649 total_length = in r8712_xmitframe_complete()
655 } while (total_length <= 0x1800 && in r8712_xmitframe_complete()
/kernel/linux/linux-5.10/tools/perf/util/
Dgenelf_debug.c104 uword total_length; member
136 uword total_length; member
146 .total_length = -1,
173 .total_length = -1,
426 dbg_header->total_length = (buffer_ext_size(be) - old_size) - in add_debug_line()
457 comp_unit_header->total_length = (buffer_ext_size(be) - old_size) - in add_compilation_unit()
/kernel/linux/linux-5.10/sound/usb/6fire/
Dpcm.c197 unsigned int total_length = 0; in usb6fire_pcm_capture() local
217 src = (u32 *) (urb->buffer + total_length); in usb6fire_pcm_capture()
219 src = (u32 *) (urb->buffer - 1 + total_length); in usb6fire_pcm_capture()
223 total_length += urb->packets[i].length; in usb6fire_pcm_capture()
293 int total_length = 0; in usb6fire_pcm_in_urb_handler() local
330 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler()
335 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler()
337 memset(out_urb->buffer, 0, total_length); in usb6fire_pcm_in_urb_handler()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/ecryptfs/
Dmiscdev.c218 size_t total_length; in ecryptfs_miscdev_read() local
273 total_length = (PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_length_size in ecryptfs_miscdev_read()
275 if (count < total_length) { in ecryptfs_miscdev_read()
279 "pending message\n", __func__, count, total_length); in ecryptfs_miscdev_read()
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/
Dm00473_freewheel_memmap_package.h18 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
/kernel/linux/linux-5.10/include/linux/
Dbcm963xx_tag.h60 char total_length[IMAGE_LEN]; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/
Dibmvscsi.c659 u64 total_length = 0; in map_sg_list() local
666 total_length += sg_dma_len(sg); in map_sg_list()
668 return total_length; in map_sg_list()
686 u64 total_length = 0; in map_sg_data() local
712 total_length = map_sg_list(cmd, sg_mapped, in map_sg_data()
714 indirect->len = cpu_to_be32(total_length); in map_sg_data()
734 total_length = map_sg_list(cmd, sg_mapped, evt_struct->ext_list); in map_sg_data()
736 indirect->len = cpu_to_be32(total_length); in map_sg_data()
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
Dgve_adminq.h76 __be16 total_length; member
/kernel/linux/linux-5.10/drivers/visorbus/
Dcontrolvmchannel.h572 u32 total_length; member
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_sas.h436 u32 total_length; member
453 u32 total_length; member
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dwlan.c144 u32 ihl, total_length, data_offset; in tcp_process() local
158 total_length = ntohs(ip_hdr_ptr->tot_len); in tcp_process()
161 if (total_length == (ihl + data_offset)) { in tcp_process()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5_ifc_dr.h402 u8 total_length[0x10]; member
/kernel/linux/linux-5.10/drivers/iio/accel/
Dbmc150-accel-core.c854 int total_length = samples * sample_length; in bmc150_accel_fifo_transfer() local
857 buffer, total_length); in bmc150_accel_fifo_transfer()
/kernel/linux/linux-5.10/fs/reiserfs/
Dstree.c1207 void padd_item(char *item, int total_length, int length) in padd_item() argument
1211 for (i = total_length; i > length;) in padd_item()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Datioctl.h831 u32 total_length; member
Desas2r_ioctl.c968 trc->total_length = ESAS2R_FWCOREDUMP_SZ; in hba_ioctl_callback()
972 trc->total_length = 0; in hba_ioctl_callback()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c524 u32 total_length; in ipw2100_get_ordinal() local
573 total_length = field_len * field_count; in ipw2100_get_ordinal()
574 if (total_length > *len) { in ipw2100_get_ordinal()
575 *len = total_length; in ipw2100_get_ordinal()
579 *len = total_length; in ipw2100_get_ordinal()
580 if (!total_length) in ipw2100_get_ordinal()
584 read_nic_memory(priv->net_dev, addr, total_length, val); in ipw2100_get_ordinal()

12