Home
last modified time | relevance | path

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

/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/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/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/media/pci/cobalt/
H A Dm00473_freewheel_memmap_package.h18 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
/linux/include/linux/
H A Dbcm963xx_tag.h60 char total_length[IMAGE_LEN]; 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/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/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/ethernet/qlogic/qed/
H A Dqed_sriov.c1164 u16 i = 1, total_length = 0; in qed_dp_tlv_list() local
1168 tlv = (struct channel_tlv *)((u8 *)tlvs_list + total_length); in qed_dp_tlv_list()
1184 total_length += tlv->length; in qed_dp_tlv_list()
1186 if (total_length >= sizeof(struct tlv_buffer_size)) { in qed_dp_tlv_list()
/linux/drivers/s390/net/
H A Dqeth_core_main.c3050 u16 total_length = iob->length; in qeth_prepare_ipa_cmd() local
3052 qeth_setup_ccw(__ccw_from_cmd(iob), CCW_CMD_WRITE, 0, total_length, in qeth_prepare_ipa_cmd()
3057 memcpy(QETH_IPA_PDU_LEN_TOTAL(iob->data), &total_length, 2); in qeth_prepare_ipa_cmd()
/linux/drivers/scsi/pm8001/
H A Dpm8001_hwi.c236 pm8001_ha->inbnd_q_tbl[i].total_length = in init_default_table_values()
263 pm8001_ha->outbnd_q_tbl[i].total_length = in init_default_table_values()
H A Dpm80xx_hwi.c786 pm8001_ha->inbnd_q_tbl[i].total_length = in init_default_table_values()
818 pm8001_ha->outbnd_q_tbl[i].total_length = in init_default_table_values()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c13093 unsigned int total_length, in dm_edid_parser_send_cea() argument
13116 input->cea_total_length = total_length; in dm_edid_parser_send_cea()