Searched refs:tpm_data (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/char/tpm/st33zp24/ |
D | i2c.c | 48 static int write8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size) in write8_reg() argument 53 memcpy(phy->buf + 1, tpm_data, tpm_size); in write8_reg() 65 static int read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size) in read8_reg() argument 74 status = i2c_master_recv(phy->client, tpm_data, tpm_size); in read8_reg() 87 static int st33zp24_i2c_send(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_i2c_send() argument 90 return write8_reg(phy_id, tpm_register | TPM_WRITE_DIRECTION, tpm_data, in st33zp24_i2c_send() 103 static int st33zp24_i2c_recv(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_i2c_recv() argument 106 return read8_reg(phy_id, tpm_register, tpm_data, tpm_size); in st33zp24_i2c_recv()
|
D | spi.c | 113 static int st33zp24_spi_send(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_spi_send() argument 133 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send() 156 static int st33zp24_spi_read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_spi_read8_reg() argument 181 memcpy(tpm_data, phy->rx_buf + total_length + phy->latency, in st33zp24_spi_read8_reg() 197 static int st33zp24_spi_recv(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_spi_recv() argument 202 ret = st33zp24_spi_read8_reg(phy_id, tpm_register, tpm_data, tpm_size); in st33zp24_spi_recv()
|
D | st33zp24.h | 37 int (*send)(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size); 38 int (*recv)(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size);
|