Home
last modified time | relevance | path

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

12

/linux/drivers/char/tpm/st33zp24/
H A Dspi.c99 int total_length = 0, ret = 0; in st33zp24_spi_send() local
108 phy->tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0; in st33zp24_spi_send()
109 phy->tx_buf[total_length++] = tpm_register; in st33zp24_spi_send()
112 phy->tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_send()
113 phy->tx_buf[total_length++] = tpm_size; in st33zp24_spi_send()
116 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send()
117 total_length += tpm_size; in st33zp24_spi_send()
119 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_send()
121 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send()
125 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_send()
[all …]
/linux/drivers/acpi/acpica/
H A 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 …]
H A Dacresrc.h265 acpi_rsdesc_size total_length,
269 acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
/linux/net/hsr/
H A Dhsr_forward.c41 u16 total_length = 0; in is_supervision_frame() local
58 total_length = sizeof(struct hsrv1_ethhdr_sp); in is_supervision_frame()
59 if (!pskb_may_pull(skb, total_length)) in is_supervision_frame()
68 total_length = sizeof(struct hsrv0_ethhdr_sp); in is_supervision_frame()
69 if (!pskb_may_pull(skb, total_length)) in is_supervision_frame()
86 total_length += hsr_sup_tag->tlv.HSR_TLV_length; in is_supervision_frame()
87 if (!pskb_may_pull(skb, total_length)) in is_supervision_frame()
89 skb_pull(skb, total_length); in is_supervision_frame()
91 skb_push(skb, total_length); in is_supervision_frame()
102 total_length += sizeof(struct hsr_sup_tlv) + hsr_sup_tlv->HSR_TLV_length; in is_supervision_frame()
[all …]
/linux/lib/
H A Dbuild_OID_registry52 my $total_length = 0;
73 push @indices, $total_length;
74 $total_length += $size;
81 if ($total_length <= 255) {
89 print C_FILE "\t[OID__NR] = ", $total_length, "\n";
149 print C_FILE "static const unsigned char oid_data[", $total_length, "] = {\n";
/linux/drivers/mtd/parsers/
H A 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()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_edid_parser.c31 int total_length, in dc_edid_parser_send_cea() argument
42 total_length, in dc_edid_parser_send_cea()
H A Ddc_edid_parser.h33 int total_length,
/linux/tools/perf/util/
H A Dgenelf_debug.c111 uword total_length; member
143 uword total_length; member
153 .total_length = -1,
180 .total_length = -1,
437 dbg_header->total_length = (buffer_ext_size(be) - old_size) - in add_debug_line()
468 comp_unit_header->total_length = (buffer_ext_size(be) - old_size) - in add_compilation_unit()
/linux/drivers/acpi/
H A Dacpi_memhotplug.c176 u64 total_length = 0; in acpi_memory_enable_device() local
187 total_length += info->length; in acpi_memory_enable_device()
190 if (!total_length) { in acpi_memory_enable_device()
195 mgid = memory_group_register_static(node, PFN_UP(total_length)); in acpi_memory_enable_device()
/linux/sound/usb/6fire/
H A 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
331 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler()
336 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler()
338 memset(out_urb->buffer, 0, total_length); in usb6fire_pcm_in_urb_handler()
/linux/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c411 if (migf->total_length < QM_MATCH_SIZE || hisi_acc_vdev->match_done) in vf_qm_check_match()
510 if (migf->total_length == QM_MATCH_SIZE) in vf_qm_load_data()
513 if (migf->total_length < sizeof(struct acc_vf_data)) in vf_qm_load_data()
604 migf->total_length = QM_MATCH_SIZE; in vf_qm_state_save()
615 migf->total_length = sizeof(struct acc_vf_data); in vf_qm_state_save()
692 migf->total_length = 0; in hisi_acc_vf_disable_fd()
706 dst_migf->total_length = src_migf->total_length; in hisi_acc_debug_migf_copy()
813 migf->total_length += len; in hisi_acc_vf_resume_write()
886 if (*pos > migf->total_length) { in hisi_acc_vf_precopy_ioctl()
892 info.initial_bytes = migf->total_length - *pos; in hisi_acc_vf_precopy_ioctl()
[all …]
/linux/fs/ecryptfs/
H A 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()
/linux/drivers/media/pci/cobalt/
H A Dm00473_freewheel_memmap_package.h18 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
/linux/drivers/net/ethernet/google/gve/
H A Dgve_adminq.h94 __be16 total_length; member
534 __be32 total_length; member
577 __be32 total_length; member
/linux/include/linux/
H A Dbcm963xx_tag.h60 char total_length[IMAGE_LEN]; member
/linux/drivers/usb/usbip/
H A Dusbip_common.c668 int total_length = 0; in usbip_recv_iso() local
699 total_length += urb->iso_frame_desc[i].actual_length; in usbip_recv_iso()
704 if (total_length != urb->actual_length) { in usbip_recv_iso()
707 total_length, urb->actual_length); in usbip_recv_iso()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddmcu.h79 int total_length,
/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c658 u64 total_length = 0; in map_sg_list() local
665 total_length += sg_dma_len(sg); in map_sg_list()
667 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()
733 total_length = map_sg_list(cmd, sg_mapped, evt_struct->ext_list); in map_sg_data()
735 indirect->len = cpu_to_be32(total_length); in map_sg_data()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_dmcu.c816 int total_length, in dcn10_send_edid_cea() argument
830 header = ((uint32_t)offset & 0xFFFF) << 16 | (total_length & 0xFFFF); in dcn10_send_edid_cea()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c131 u32 ihl, total_length, data_offset; in tcp_process() local
145 total_length = ntohs(ip_hdr_ptr->tot_len); in tcp_process()
148 if (total_length == (ihl + data_offset)) { in tcp_process()
/linux/drivers/iio/accel/
H A Dbmc150-accel-core.c926 int total_length = samples * sample_length; in bmc150_accel_fifo_transfer() local
929 buffer, total_length); in bmc150_accel_fifo_transfer()
/linux/drivers/scsi/esas2r/
H A Datioctl.h831 u32 total_length; member
H A Desas2r_ioctl.c963 trc->total_length = ESAS2R_FWCOREDUMP_SZ; in hba_ioctl_callback()
967 trc->total_length = 0; in hba_ioctl_callback()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.c508 u32 total_length; in ipw2100_get_ordinal() local
557 total_length = field_len * field_count; in ipw2100_get_ordinal()
558 if (total_length > *len) { in ipw2100_get_ordinal()
559 *len = total_length; in ipw2100_get_ordinal()
563 *len = total_length; in ipw2100_get_ordinal()
564 if (!total_length) in ipw2100_get_ordinal()
568 read_nic_memory(priv->net_dev, addr, total_length, val); in ipw2100_get_ordinal()

12