Searched refs:send_size (Results 1 – 6 of 6) sorted by relevance
/u-boot/drivers/tpm/ |
A D | tpm_atmel_twi.c | 72 const uint8_t *sendbuf, size_t send_size, in tpm_atmel_twi_xfer() argument 80 printf("send to TPM (%d bytes, recv_len=%d):\n", send_size, *recv_len); in tpm_atmel_twi_xfer() 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() 93 if (count > send_size) { in tpm_xfer() 94 debug("invalid count value %x %zx\n", count, send_size); in tpm_xfer() 99 ret = ops->send(dev, sendbuf, send_size); in tpm_xfer()
|
A D | tpm2_ftpm_tee.c | 37 size_t send_size, u8 *recvbuf, in ftpm_tee_transceive() argument 49 if (send_size > MAX_COMMAND_SIZE) { in ftpm_tee_transceive() 51 __func__, send_size); in ftpm_tee_transceive() 71 .size = send_size, in ftpm_tee_transceive() 77 memcpy(command_params[0].u.memref.shm->addr, sendbuf, send_size); in ftpm_tee_transceive()
|
A D | tpm_tis_sandbox.c | 180 size_t send_size, uint8_t *recvbuf, in sandbox_tpm_xfer() argument 191 printf("tpm: %zd bytes, recv_len %zd, cmd = %x\n", send_size, in sandbox_tpm_xfer() 193 print_buffer(0, sendbuf, 1, send_size, 0); in sandbox_tpm_xfer()
|
A D | tpm2_tis_sandbox.c | 260 size_t send_size, u8 *recvbuf, in sandbox_tpm2_xfer() argument 287 if (length != send_size) { in sandbox_tpm2_xfer() 289 send_size, length); 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 7 milliseconds