Lines Matching defs:tpm_data
32 * @param: tpm_data, the tpm_data to write inside the tpm_register
36 static int write8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size)
41 memcpy(phy->buf + 1, tpm_data, tpm_size);
49 * @param: tpm_data, the TPM response
53 static int read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size)
62 status = i2c_master_recv(phy->client, tpm_data, tpm_size);
71 * @param: tpm_data, the tpm_data to write inside the tpm_register
75 static int st33zp24_i2c_send(void *phy_id, u8 tpm_register, u8 *tpm_data,
78 return write8_reg(phy_id, tpm_register | TPM_WRITE_DIRECTION, tpm_data,
87 * @param: tpm_data, the TPM response
91 static int st33zp24_i2c_recv(void *phy_id, u8 tpm_register, u8 *tpm_data,
94 return read8_reg(phy_id, tpm_register, tpm_data, tpm_size);