Searched refs:tpm_register (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/char/tpm/st33zp24/ |
D | i2c.c | 36 static int write8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size) in write8_reg() argument 40 phy->buf[0] = tpm_register; in write8_reg() 53 static int read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size) in read8_reg() argument 60 status = write8_reg(phy, tpm_register, &data, 1); in read8_reg() 75 static int st33zp24_i2c_send(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_i2c_send() argument 78 return write8_reg(phy_id, tpm_register | TPM_WRITE_DIRECTION, tpm_data, in st33zp24_i2c_send() 91 static int st33zp24_i2c_recv(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_i2c_recv() argument 94 return read8_reg(phy_id, tpm_register, tpm_data, tpm_size); in st33zp24_i2c_recv()
|
D | spi.c | 101 static int st33zp24_spi_send(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_spi_send() argument 114 phy->tx_buf[total_length++] = tpm_register; in st33zp24_spi_send() 116 if (tpm_size > 0 && tpm_register == TPM_DATA_FIFO) { in st33zp24_spi_send() 144 static int st33zp24_spi_read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_spi_read8_reg() argument 157 phy->tx_buf[total_length++] = tpm_register; in st33zp24_spi_read8_reg() 185 static int st33zp24_spi_recv(void *phy_id, u8 tpm_register, u8 *tpm_data, in st33zp24_spi_recv() argument 190 ret = st33zp24_spi_read8_reg(phy_id, tpm_register, tpm_data, tpm_size); in st33zp24_spi_recv()
|
D | st33zp24.h | 26 int (*send)(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size); 27 int (*recv)(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size);
|