Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/tpm/
H A Dtpm_tis_st33zp24_spi.c115 int total_length = 0, ret; in st33zp24_spi_write() local
122 tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0; in st33zp24_spi_write()
123 tx_buf[total_length++] = tpm_register; in st33zp24_spi_write()
126 tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_write()
127 tx_buf[total_length++] = tpm_size; in st33zp24_spi_write()
129 memcpy(tx_buf + total_length, tpm_data, tpm_size); in st33zp24_spi_write()
130 total_length += tpm_size; in st33zp24_spi_write()
132 memset(tx_buf + total_length, TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_write()
134 total_length += phy->latency; in st33zp24_spi_write()
140 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_write()
[all …]
/openbmc/u-boot/lib/libavb/
H A Davb_util.c331 uint64_t total_length; in avb_strdupv() local
335 total_length = 0; in avb_strdupv()
341 if (!avb_safe_add_to(&total_length, str_len)) { in avb_strdupv()
354 ret = avb_malloc(total_length + 1); in avb_strdupv()
365 avb_assert(dest == ret + total_length); in avb_strdupv()
/openbmc/qemu/gdbstub/
H A Duser-target.c407 size_t total_length = strlen(ts->bprm->filename); in gdb_handle_query_xfer_exec_file() local
408 if (offset > total_length) { in gdb_handle_query_xfer_exec_file()
412 if (offset + length > total_length) { in gdb_handle_query_xfer_exec_file()
413 length = total_length - offset; in gdb_handle_query_xfer_exec_file()
/openbmc/qemu/block/
H A Dvhdx-log.c870 uint32_t desc_sectors, sectors, total_length; in vhdx_log_write() local
955 total_length = (desc_sectors + sectors) * VHDX_LOG_SECTOR_SIZE; in vhdx_log_write()
956 new_hdr.entry_length = total_length; in vhdx_log_write()
960 buffer = qemu_blockalign(bs, total_length); in vhdx_log_write()
1017 vhdx_update_checksum(buffer, total_length, in vhdx_log_write()
/openbmc/u-boot/arch/x86/lib/
H A Dacpi_table.c194 int total_length = 0; in acpi_create_madt_lapics() local
204 total_length += length; in acpi_create_madt_lapics()
207 return total_length; in acpi_create_madt_lapics()
/openbmc/qemu/scripts/
H A Danalyze-migration.py157 total_length = addr
158 while total_length > 0:
162 total_length -= len
/openbmc/libpldm/src/dsp/
H A Dbios_table.c938 size_t total_length = *size + pad_checksum_size; in pldm_bios_table_append_pad_checksum() local
939 if (capacity < total_length) { in pldm_bios_table_append_pad_checksum()
952 *size = total_length; in pldm_bios_table_append_pad_checksum()
/openbmc/u-boot/lib/
H A Dtpm-v1.c191 const u32 total_length = in tpm1_nv_write_value() local
199 command_size_offset, total_length, in tpm1_nv_write_value()
/openbmc/qemu/nbd/
H A Dserver.c2266 uint64_t total_length; member
2361 ea->total_length += length; in nbd_extent_array_add()
2371 ea->total_length += length; in nbd_extent_array_add()
2471 ea->total_length, last); in nbd_co_send_extents()