Searched refs:sendbuf (Results 1 – 7 of 7) sorted by relevance
| /openbmc/u-boot/drivers/tpm/ |
| H A D | tpm_tis_sandbox.c | 179 static int sandbox_tpm_xfer(struct udevice *dev, const uint8_t *sendbuf, in sandbox_tpm_xfer() argument 188 code = get_unaligned_be32(sendbuf + sizeof(uint16_t) + in sandbox_tpm_xfer() 193 print_buffer(0, sendbuf, 1, send_size, 0); in sandbox_tpm_xfer() 197 type = get_unaligned_be32(sendbuf + 14); in sandbox_tpm_xfer() 200 index = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer() 235 index = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer() 247 index = get_unaligned_be32(sendbuf + 10); in sandbox_tpm_xfer() 248 length = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer() 253 memcpy(&tpm->nvdata[seq].data, sendbuf + 22, length); in sandbox_tpm_xfer() 259 index = get_unaligned_be32(sendbuf + 10); in sandbox_tpm_xfer() [all …]
|
| H A D | tpm_atmel_twi.c | 71 const uint8_t *sendbuf, size_t send_size, in tpm_atmel_twi_xfer() argument 80 print_buffer(0, (void *)sendbuf, 1, send_size, 0); in tpm_atmel_twi_xfer() 84 res = i2c_write(0x29, 0, 0, (uchar *)sendbuf, send_size); in tpm_atmel_twi_xfer() 86 res = dm_i2c_write(dev, 0, sendbuf, send_size); in tpm_atmel_twi_xfer()
|
| H A D | tpm-uclass.c | 84 int tpm_xfer(struct udevice *dev, const uint8_t *sendbuf, size_t send_size, in tpm_xfer() argument 94 return ops->xfer(dev, sendbuf, send_size, recvbuf, recv_size); in tpm_xfer() 100 count = get_unaligned_be32(sendbuf + TPM_CMD_COUNT_BYTE); in tpm_xfer() 101 ordinal = get_unaligned_be32(sendbuf + TPM_CMD_ORDINAL_BYTE); in tpm_xfer() 113 ret = ops->send(dev, sendbuf, send_size); in tpm_xfer()
|
| H A D | tpm2_tis_sandbox.c | 254 static int sandbox_tpm2_xfer(struct udevice *dev, const u8 *sendbuf, in sandbox_tpm2_xfer() argument 260 const u8 *sent = sendbuf; in sandbox_tpm2_xfer() 570 pcr_index = get_unaligned_be32(sendbuf + sizeof(tag) + in sandbox_tpm2_xfer()
|
| /openbmc/u-boot/include/ |
| H A D | tpm-common.h | 141 int (*send)(struct udevice *dev, const u8 *sendbuf, size_t send_size); 183 int (*xfer)(struct udevice *dev, const u8 *sendbuf, size_t send_size, 279 int tpm_xfer(struct udevice *dev, const u8 *sendbuf, size_t send_size,
|
| H A D | tpm-v2.h | 919 u32 tpm2_submit_command(struct udevice *dev, const u8 *sendbuf,
|
| /openbmc/u-boot/lib/ |
| H A D | tpm-v2.c | 1516 u32 tpm2_submit_command(struct udevice *dev, const u8 *sendbuf, in tpm2_submit_command() argument 1519 return tpm_sendrecv_command(dev, sendbuf, recvbuf, recv_size); in tpm2_submit_command()
|