Searched refs:tpm2_result (Results 1 – 10 of 10) sorted by relevance
/optee_os-3.20.0/core/include/drivers/ |
A D | tpm2_chip.h | 21 enum tpm2_result { enum 82 enum tpm2_result (*init)(struct tpm2_chip *chip); 83 enum tpm2_result (*end)(struct tpm2_chip *chip); 84 enum tpm2_result (*send)(struct tpm2_chip *chip, uint8_t *buf, 86 enum tpm2_result (*recv)(struct tpm2_chip *chip, uint8_t *buf, 96 enum tpm2_result (*rx8)(struct tpm2_chip *chip, uint32_t adr, 98 enum tpm2_result (*tx8)(struct tpm2_chip *chip, uint32_t adr, 102 enum tpm2_result tpm2_chip_register(struct tpm2_chip *chip); 103 enum tpm2_result tpm2_chip_unregister(struct tpm2_chip *chip); 105 enum tpm2_result tpm2_chip_send(uint8_t *buf, uint32_t len); [all …]
|
A D | tpm2_ptp_fifo.h | 63 enum tpm2_result tpm2_fifo_init(struct tpm2_chip *chip); 64 enum tpm2_result tpm2_fifo_end(struct tpm2_chip *chip); 65 enum tpm2_result tpm2_fifo_send(struct tpm2_chip *chip, uint8_t *buf, 67 enum tpm2_result tpm2_fifo_recv(struct tpm2_chip *chip, uint8_t *buf,
|
A D | tpm2_mmio.h | 12 enum tpm2_result tpm2_mmio_init(paddr_t pbase);
|
/optee_os-3.20.0/core/drivers/tpm2/ |
A D | tpm2_ptp_fifo.c | 35 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_wait_valid() 58 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_check_locality() 83 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_request_locality() 118 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_relinquish_locality() 147 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_get_status() 168 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_wait_for_status() 191 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_get_burstcount() 216 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_init() 256 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_end() 271 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_send() [all …]
|
A D | tpm2_chip.c | 17 enum tpm2_result tpm2_chip_send(uint8_t *buf, uint32_t len) in tpm2_chip_send() 25 enum tpm2_result tpm2_chip_recv(uint8_t *buf, uint32_t *len, in tpm2_chip_recv() 34 enum tpm2_result tpm2_chip_get_caps(struct tpm2_caps *capability) in tpm2_chip_get_caps() 66 enum tpm2_result ret = TPM2_OK; in tpm2_get_tpm_property() 89 static enum tpm2_result tpm2_get_bank_info(struct tpm2_chip *chip) in tpm2_get_bank_info() 96 enum tpm2_result ret = TPM2_OK; in tpm2_get_bank_info() 160 enum tpm2_result ret = TPM2_OK; in tpm2_populate_capability() 200 enum tpm2_result tpm2_chip_register(struct tpm2_chip *chip) in tpm2_chip_register() 202 enum tpm2_result ret = TPM2_OK; in tpm2_chip_register() 241 enum tpm2_result tpm2_chip_unregister(struct tpm2_chip *chip) in tpm2_chip_unregister() [all …]
|
A D | tpm2_mmio.c | 14 static enum tpm2_result tpm2_mmio_rx32(struct tpm2_chip *chip __unused, in tpm2_mmio_rx32() 22 static enum tpm2_result tpm2_mmio_tx32(struct tpm2_chip *chip __unused, in tpm2_mmio_tx32() 30 static enum tpm2_result tpm2_mmio_rx8(struct tpm2_chip *chip __unused, in tpm2_mmio_rx8() 41 static enum tpm2_result tpm2_mmio_tx8(struct tpm2_chip *chip __unused, in tpm2_mmio_tx8() 69 enum tpm2_result tpm2_mmio_init(paddr_t pbase) in tpm2_mmio_init() 71 enum tpm2_result ret = TPM2_OK; in tpm2_mmio_init()
|
A D | tpm2_cmd.c | 77 static enum tpm2_result tpm2_transmit(void *buf, uint32_t bufsz, void *resp, in tpm2_transmit() 81 enum tpm2_result ret = TPM2_OK; in tpm2_transmit() 113 enum tpm2_result tpm2_startup(uint16_t mode) in tpm2_startup() 119 enum tpm2_result ret = TPM2_OK; in tpm2_startup() 132 enum tpm2_result tpm2_selftest(uint8_t full) in tpm2_selftest() 138 enum tpm2_result ret = TPM2_OK; in tpm2_selftest() 160 enum tpm2_result ret = TPM2_OK; in tpm2_get_capability() 205 enum tpm2_result tpm2_pcr_read(uint8_t pcr_idx, uint16_t alg, void *digest, in tpm2_pcr_read() 219 enum tpm2_result ret = TPM2_OK; in tpm2_pcr_read() 323 static enum tpm2_result tpm2_add_password_auth_cmd(uint8_t *buf, in tpm2_add_password_auth_cmd() [all …]
|
A D | tpm2_tcg.c | 15 enum tpm2_result rc = TPM2_OK; in tpm2_tcg_get_pcr_info()
|
/optee_os-3.20.0/core/include/ |
A D | tpm2.h | 166 enum tpm2_result tpm2_startup(uint16_t mode); 176 enum tpm2_result tpm2_selftest(uint8_t full); 190 enum tpm2_result tpm2_get_capability(uint32_t capability, uint32_t property, 204 enum tpm2_result tpm2_pcr_read(uint8_t pcr_idx, uint16_t alg, void *digest, 217 enum tpm2_result tpm2_pcr_extend(uint8_t pcr_idx, uint16_t alg, void *digest,
|
/optee_os-3.20.0/core/arch/arm/plat-vexpress/ |
A D | main.c | 179 enum tpm2_result res = TPM2_OK; in init_tpm2()
|
Completed in 10 milliseconds