Searched refs:sendbuf (Results 1 – 6 of 6) sorted by relevance
/u-boot/drivers/tpm/ |
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 …]
|
A D | tpm_atmel_twi.c | 72 const uint8_t *sendbuf, size_t send_size, in tpm_atmel_twi_xfer() argument 81 print_buffer(0, (void *)sendbuf, 1, send_size, 0); in tpm_atmel_twi_xfer() 85 res = i2c_write(0x29, 0, 0, (uchar *)sendbuf, send_size); in tpm_atmel_twi_xfer() 87 res = dm_i2c_write(dev, 0, sendbuf, send_size); in tpm_atmel_twi_xfer()
|
A D | tpm-uclass.c | 70 int tpm_xfer(struct udevice *dev, const uint8_t *sendbuf, size_t send_size, in tpm_xfer() argument 80 return ops->xfer(dev, sendbuf, send_size, recvbuf, recv_size); in tpm_xfer() 86 count = get_unaligned_be32(sendbuf + TPM_CMD_COUNT_BYTE); in tpm_xfer() 87 ordinal = get_unaligned_be32(sendbuf + TPM_CMD_ORDINAL_BYTE); in tpm_xfer() 99 ret = ops->send(dev, sendbuf, send_size); in tpm_xfer()
|
A D | tpm2_ftpm_tee.c | 36 static int ftpm_tee_transceive(struct udevice *dev, const u8 *sendbuf, in ftpm_tee_transceive() argument 77 memcpy(command_params[0].u.memref.shm->addr, sendbuf, send_size); in ftpm_tee_transceive()
|
A D | tpm2_tis_sandbox.c | 259 static int sandbox_tpm2_xfer(struct udevice *dev, const u8 *sendbuf, in sandbox_tpm2_xfer() argument 265 const u8 *sent = sendbuf; in sandbox_tpm2_xfer() 527 pcr_index = get_unaligned_be32(sendbuf + sizeof(tag) + in sandbox_tpm2_xfer()
|
/u-boot/include/ |
A D | tpm-common.h | 128 int (*send)(struct udevice *dev, const u8 *sendbuf, size_t send_size); 170 int (*xfer)(struct udevice *dev, const u8 *sendbuf, size_t send_size, 256 int tpm_xfer(struct udevice *dev, const u8 *sendbuf, size_t send_size,
|
Completed in 9 milliseconds