Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/char/tpm/
Dtpm_tis_core.h94 struct tpm_tis_data { struct
129 int (*read_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, argument
131 int (*write_bytes)(struct tpm_tis_data *data, u32 addr, u16 len,
133 int (*verify_crc)(struct tpm_tis_data *data, size_t len,
137 static inline int tpm_tis_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_read_bytes()
144 static inline int tpm_tis_read8(struct tpm_tis_data *data, u32 addr, u8 *result) in tpm_tis_read8()
149 static inline int tpm_tis_read16(struct tpm_tis_data *data, u32 addr, in tpm_tis_read16()
163 static inline int tpm_tis_read32(struct tpm_tis_data *data, u32 addr, in tpm_tis_read32()
177 static inline int tpm_tis_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_write_bytes()
184 static inline int tpm_tis_write8(struct tpm_tis_data *data, u32 addr, u8 value) in tpm_tis_write8()
[all …]
Dtpm_tis_core.c68 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_for_tpm_stat()
133 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_startup()
153 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in check_locality()
171 static int __tpm_tis_relinquish_locality(struct tpm_tis_data *priv, int l) in __tpm_tis_relinquish_locality()
180 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_relinquish_locality()
193 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in __tpm_tis_request_locality()
234 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_request_locality()
248 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_status()
283 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_ready()
291 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_synquacer.c27 struct tpm_tis_data priv;
31 static inline struct tpm_tis_synquacer_phy *to_tpm_tis_tcg_phy(struct tpm_tis_data *data) in to_tpm_tis_tcg_phy()
36 static int tpm_tis_synquacer_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_synquacer_read_bytes()
61 static int tpm_tis_synquacer_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_synquacer_write_bytes()
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_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_spi_main.c80 static int tpm_tis_spi_transfer_half(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_transfer_half()
140 static int tpm_tis_spi_transfer_full(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_transfer_full()
217 int tpm_tis_spi_transfer(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_spi_transfer()
235 static int tpm_tis_spi_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_read_bytes()
241 static int tpm_tis_spi_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_write_bytes()
Dtpm_tis.c42 struct tpm_tis_data priv;
46 static inline struct tpm_tis_tcg_phy *to_tpm_tis_tcg_phy(struct tpm_tis_data *data) in to_tpm_tis_tcg_phy()
171 static int tpm_tcg_read_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_read_bytes()
196 static int tpm_tcg_write_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_write_bytes()