Home
last modified time | relevance | path

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

12

/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 …]
/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.h265 acpi_rsdesc_size total_length,
269 acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
/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()
432 u32 total_length; in query_memregion_info() local
441 total_length = sizeof(query); in query_memregion_info()
446 total_length += sizeof(info); in query_memregion_info()
[all …]
/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()
/drivers/staging/rtl8712/
Drtl8712_xmit.c362 u16 total_length = (u16)(ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe() local
366 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length - CMD_HDR_SZ) & in r8712_dump_aggr_xframe()
372 ((total_length + TXDESC_SIZE) << 16)); in r8712_dump_aggr_xframe()
377 if ((pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % 0x200) == in r8712_dump_aggr_xframe()
378 0) || ((!pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % in r8712_dump_aggr_xframe()
391 total_length + TXDESC_SIZE, (u8 *)pxmitframe); in r8712_dump_aggr_xframe()
640 u16 total_length; in r8712_xmitframe_complete() local
642 total_length = r8712_xmitframe_aggr_next( in r8712_xmitframe_complete()
648 total_length = in r8712_xmitframe_complete()
654 } while (total_length <= 0x1800 && in r8712_xmitframe_complete()
/drivers/acpi/
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()
/drivers/gpu/drm/amd/display/dc/
Ddc_edid_parser.c31 int total_length, in dc_edid_parser_send_cea() argument
42 total_length, in dc_edid_parser_send_cea()
Ddc_edid_parser.h33 int total_length,
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c434 int total_length; in cmpk_message_handle_rx() local
446 total_length = pstats->Length; in cmpk_message_handle_rx()
461 while (total_length > 0 && exe_cnt++ < 100) { in cmpk_message_handle_rx()
504 total_length -= cmd_length; in cmpk_message_handle_rx()
/drivers/media/pci/cobalt/
Dm00473_freewheel_memmap_package.h18 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
/drivers/usb/usbip/
Dusbip_common.c582 int total_length = 0; in usbip_recv_iso() local
613 total_length += urb->iso_frame_desc[i].actual_length; in usbip_recv_iso()
618 if (total_length != urb->actual_length) { in usbip_recv_iso()
621 total_length, urb->actual_length); in usbip_recv_iso()
/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddmcu.h93 int total_length,
/drivers/scsi/ibmvscsi/
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()
/drivers/visorbus/
Dcontrolvmchannel.h572 u32 total_length; member
/drivers/net/ethernet/google/gve/
Dgve_adminq.h77 __be16 total_length; member
/drivers/scsi/pm8001/
Dpm8001_sas.h436 u32 total_length; member
453 u32 total_length; member
/drivers/iio/accel/
Dfxls8962af-core.c655 int total_length = samples * sample_length; in fxls8962af_fifo_transfer() local
669 total_length); in fxls8962af_fifo_transfer()
Dbmc150-accel-core.c968 int total_length = samples * sample_length; in bmc150_accel_fifo_transfer() local
971 buffer, total_length); in bmc150_accel_fifo_transfer()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5_ifc_dr_ste_v1.h307 u8 total_length[0x10]; member
Dmlx5_ifc_dr.h311 u8 total_length[0x10]; member
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_dmcu.c821 int total_length, in dcn10_send_edid_cea() argument
835 header = ((uint32_t)offset & 0xFFFF) << 16 | (total_length & 0xFFFF); in dcn10_send_edid_cea()
/drivers/net/wireless/microchip/wilc1000/
Dwlan.c148 u32 ihl, total_length, data_offset; in tcp_process() local
162 total_length = ntohs(ip_hdr_ptr->tot_len); in tcp_process()
165 if (total_length == (ihl + data_offset)) { in tcp_process()
/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h2198 uint16_t total_length; /**< total length of the CEA block */ member
/drivers/scsi/esas2r/
Datioctl.h831 u32 total_length; member

12