Searched refs:tpm2_cmd (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/include/drivers/ |
A D | tpm2_cmd.h | 28 struct tpm2_cmd { struct 34 static inline uint16_t tpm2_cmd_len(struct tpm2_cmd *cmd) in tpm2_cmd_len() argument 39 static inline uint16_t tpm2_cmd_code(struct tpm2_cmd *cmd) in tpm2_cmd_code() 44 static inline uint16_t tpm2_ret_code(struct tpm2_cmd *cmd) in tpm2_ret_code()
|
/optee_os-3.20.0/core/drivers/tpm2/ |
A D | tpm2_cmd.c | 19 struct tpm2_cmd *cmd = (struct tpm2_cmd *)buf; in tpm2_cmd_init_hdr() 31 struct tpm2_cmd *cmd = (struct tpm2_cmd *)buf; in tpm2_cmd_add() 124 ret = tpm2_transmit(buf, tpm2_cmd_len((struct tpm2_cmd *)buf), resp_buf, in tpm2_startup() 143 ret = tpm2_transmit(buf, tpm2_cmd_len((struct tpm2_cmd *)buf), resp_buf, in tpm2_selftest() 175 ret = tpm2_transmit(buf, tpm2_cmd_len((struct tpm2_cmd *)buf), resp_buf, in tpm2_get_capability() 180 resp_len = tpm2_cmd_len((struct tpm2_cmd *)resp_buf); in tpm2_get_capability() 287 ret = tpm2_transmit(buf, tpm2_cmd_len((struct tpm2_cmd *)buf), resp_buf, in tpm2_pcr_read() 292 resp_len = tpm2_cmd_len((struct tpm2_cmd *)resp_buf); in tpm2_pcr_read() 294 DHEXDUMP(resp_buf, tpm2_cmd_len((struct tpm2_cmd *)resp_buf)); in tpm2_pcr_read() 411 ret = tpm2_transmit(buf, tpm2_cmd_len((struct tpm2_cmd *)buf), resp_buf, in tpm2_pcr_extend() [all …]
|
A D | sub.mk | 1 srcs-$(CFG_DRIVERS_TPM2) += tpm2_chip.c tpm2_ptp_fifo.c tpm2_cmd.c
|
Completed in 5 milliseconds