Home
last modified time | relevance | path

Searched refs:tpm_tis_data (Results 1 – 8 of 8) sorted by relevance

/drivers/char/tpm/
Dtpm_tis_core.h93 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 …]
Dtpm_tis_core.c51 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 …]
Dtpm_tis_spi.h13 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,
Dtpm_tis_i2c.c58 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()
Dtpm_tis_synquacer.c28 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()
Dtpm_tis_spi_cr50.c201 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()
Dtpm_tis.c44 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()
Dtpm_tis_spi_main.c74 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()