Searched refs:tpm_tis_data (Results 1 – 7 of 7) sorted by relevance
/drivers/char/tpm/ |
D | tpm_tis_core.h | 91 struct tpm_tis_data { struct 110 int (*read_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, argument 112 int (*write_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, 114 int (*read16)(struct tpm_tis_data *data, u32 addr, u16 *result); 115 int (*read32)(struct tpm_tis_data *data, u32 addr, u32 *result); 116 int (*write32)(struct tpm_tis_data *data, u32 addr, u32 src); 119 static inline int tpm_tis_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_read_bytes() 125 static inline int tpm_tis_read8(struct tpm_tis_data *data, u32 addr, u8 *result) in tpm_tis_read8() 130 static inline int tpm_tis_read16(struct tpm_tis_data *data, u32 addr, in tpm_tis_read16() 136 static inline int tpm_tis_read32(struct tpm_tis_data *data, u32 addr, in tpm_tis_read32() [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, 34 extern int tpm_tis_spi_read16(struct tpm_tis_data *data, u32 addr, u16 *result); 35 extern int tpm_tis_spi_read32(struct tpm_tis_data *data, u32 addr, u32 *result); 36 extern int tpm_tis_spi_write32(struct tpm_tis_data *data, u32 addr, u32 value);
|
D | tpm_tis_core.c | 51 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_for_tpm_stat() 101 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_startup() 121 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in check_locality() 139 static int __tpm_tis_relinquish_locality(struct tpm_tis_data *priv, int l) in __tpm_tis_relinquish_locality() 148 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_relinquish_locality() 161 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in __tpm_tis_request_locality() 202 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_request_locality() 216 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_status() 251 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_ready() 259 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in get_burstcount() [all …]
|
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() 48 static int tpm_tis_synquacer_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_synquacer_write_bytes() 59 static int tpm_tis_synquacer_read16_bw(struct tpm_tis_data *data, in tpm_tis_synquacer_read16_bw() 74 static int tpm_tis_synquacer_read32_bw(struct tpm_tis_data *data, in tpm_tis_synquacer_read32_bw() 91 static int tpm_tis_synquacer_write32_bw(struct tpm_tis_data *data, in tpm_tis_synquacer_write32_bw()
|
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() 183 static int tpm_tcg_write_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_write_bytes() 194 static int tpm_tcg_read16(struct tpm_tis_data *data, u32 addr, u16 *result) in tpm_tcg_read16() 203 static int tpm_tcg_read32(struct tpm_tis_data *data, u32 addr, u32 *result) in tpm_tcg_read32() 212 static int tpm_tcg_write32(struct tpm_tis_data *data, u32 addr, u32 value) in tpm_tcg_write32()
|
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() 155 int tpm_tis_spi_read16(struct tpm_tis_data *data, u32 addr, u16 *result) in tpm_tis_spi_read16() 168 int tpm_tis_spi_read32(struct tpm_tis_data *data, u32 addr, u32 *result) in tpm_tis_spi_read32() 181 int tpm_tis_spi_write32(struct tpm_tis_data *data, u32 addr, u32 value) in tpm_tis_spi_write32()
|
D | tpm_tis_spi_cr50.c | 185 static int tpm_tis_spi_cr50_transfer(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_spi_cr50_transfer() 208 static int tpm_tis_spi_cr50_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_cr50_read_bytes() 214 static int tpm_tis_spi_cr50_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_cr50_write_bytes() 228 static void cr50_print_fw_version(struct tpm_tis_data *data) in cr50_print_fw_version() 317 struct tpm_tis_data *data = dev_get_drvdata(&chip->dev); in tpm_tis_spi_resume()
|