Searched refs:tpm_tis_data (Results 1 – 8 of 8) sorted by relevance
/drivers/char/tpm/ |
D | tpm_tis_core.h | 93 struct tpm_tis_data { struct 124 int (*read_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, argument 126 int (*write_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, 128 int (*verify_crc)(struct tpm_tis_data *data, size_t len, 132 static inline int tpm_tis_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_read_bytes() 139 static inline int tpm_tis_read8(struct tpm_tis_data *data, u32 addr, u8 *result) in tpm_tis_read8() 144 static inline int tpm_tis_read16(struct tpm_tis_data *data, u32 addr, in tpm_tis_read16() 158 static inline int tpm_tis_read32(struct tpm_tis_data *data, u32 addr, in tpm_tis_read32() 172 static inline int tpm_tis_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_write_bytes() 179 static inline int tpm_tis_write8(struct tpm_tis_data *data, u32 addr, u8 value) in tpm_tis_write8() [all …]
|
D | tpm_tis_core.c | 51 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_for_tpm_stat() 123 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_startup() 143 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in check_locality() 161 static int __tpm_tis_relinquish_locality(struct tpm_tis_data *priv, int l) in __tpm_tis_relinquish_locality() 170 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_relinquish_locality() 183 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in __tpm_tis_request_locality() 224 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_request_locality() 238 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_status() 273 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_ready() 281 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in get_burstcount() [all …]
|
D | tpm_tis_spi.h | 13 struct tpm_tis_data priv; 23 static inline struct tpm_tis_spi_phy *to_tpm_tis_spi_phy(struct tpm_tis_data *data) in to_tpm_tis_spi_phy() 31 extern int tpm_tis_spi_transfer(struct tpm_tis_data *data, u32 addr, u16 len,
|
D | tpm_tis_i2c.c | 58 struct tpm_tis_data priv; 68 to_tpm_tis_i2c_phy(struct tpm_tis_data *data) in to_tpm_tis_i2c_phy() 107 static int tpm_tis_i2c_retry_transfer_until_ack(struct tpm_tis_data *data, in tpm_tis_i2c_retry_transfer_until_ack() 182 static int tpm_tis_i2c_read_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_i2c_read_bytes() 225 static int tpm_tis_i2c_write_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_i2c_write_bytes() 258 static int tpm_tis_i2c_verify_crc(struct tpm_tis_data *data, size_t len, in tpm_tis_i2c_verify_crc()
|
D | tpm_tis_synquacer.c | 28 struct tpm_tis_data priv; 32 static inline struct tpm_tis_synquacer_phy *to_tpm_tis_tcg_phy(struct tpm_tis_data *data) in to_tpm_tis_tcg_phy() 37 static int tpm_tis_synquacer_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_synquacer_read_bytes() 62 static int tpm_tis_synquacer_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_synquacer_write_bytes()
|
D | tpm_tis_spi_cr50.c | 201 static int tpm_tis_spi_cr50_transfer(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_spi_cr50_transfer() 224 static int tpm_tis_spi_cr50_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_cr50_read_bytes() 230 static int tpm_tis_spi_cr50_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_cr50_write_bytes() 241 static void cr50_print_fw_version(struct tpm_tis_data *data) in cr50_print_fw_version() 332 struct tpm_tis_data *data = dev_get_drvdata(&chip->dev); in tpm_tis_spi_resume()
|
D | tpm_tis.c | 44 struct tpm_tis_data priv; 48 static inline struct tpm_tis_tcg_phy *to_tpm_tis_tcg_phy(struct tpm_tis_data *data) in to_tpm_tis_tcg_phy() 172 static int tpm_tcg_read_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_read_bytes() 197 static int tpm_tcg_write_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_write_bytes()
|
D | tpm_tis_spi_main.c | 74 int tpm_tis_spi_transfer(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_spi_transfer() 143 static int tpm_tis_spi_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_read_bytes() 149 static int tpm_tis_spi_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_write_bytes()
|