Home
last modified time | relevance | path

Searched refs:tpm_nv_read_value (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/cmd/
H A Dtpm_test.c106 TPM_CHECK(tpm_nv_read_value(dev, INDEX0, (uint8_t *)&x, sizeof(x))); in test_early_nvram()
191 TPM_CHECK(tpm_nv_read_value(dev, INDEX0, (uint8_t *)&x, sizeof(x))); in test_global_lock()
194 TPM_CHECK(tpm_nv_read_value(dev, INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
202 TPM_CHECK(tpm_nv_read_value(dev, INDEX0, (uint8_t *)&x, sizeof(x))); in test_global_lock()
207 TPM_CHECK(tpm_nv_read_value(dev, INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
215 TPM_CHECK(tpm_nv_read_value(dev, INDEX1, (uint8_t *)&x, sizeof(x))); in test_global_lock()
269 if (tpm_nv_read_value(dev, INDEX_INITIALISED, &c, 0) == TPM_BADINDEX) { in test_readonly()
275 read0 = tpm_nv_read_value(dev, INDEX0, (uint8_t *)&index_0, in test_readonly()
277 read1 = tpm_nv_read_value(dev, INDEX1, (uint8_t *)&index_1, in test_readonly()
279 read2 = tpm_nv_read_value(dev, INDEX2, (uint8_t *)&index_2, in test_readonly()
[all …]
H A Dtpm-v1.c79 rc = tpm_nv_read_value(dev, index, data, count); in do_tpm_nv_read_value()
335 err = tpm_nv_read_value(dev, index, data, count); in do_tpm_nv_read()
/openbmc/u-boot/include/
H A Dtpm_api.h63 u32 tpm_nv_read_value(struct udevice *dev, u32 index, void *data, u32 count);
/openbmc/u-boot/lib/
H A Dtpm_api.c114 u32 tpm_nv_read_value(struct udevice *dev, u32 index, void *data, u32 count) in tpm_nv_read_value() function
/openbmc/u-boot/board/gdsys/a38x/
H A Dhre.c193 err = tpm_nv_read_value(tpm, NV_COMMON_DATA_INDEX, in read_common_data()
/openbmc/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c352 err = tpm_nv_read_value(tpm, NV_COMMON_DATA_INDEX, in read_common_data()