Searched refs:tpm_tis_data (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/char/tpm/ |
D | tpm_tis_core.h | 91 struct tpm_tis_data { struct 120 int (*read_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, argument 122 int (*write_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, 126 static inline int tpm_tis_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_read_bytes() 133 static inline int tpm_tis_read8(struct tpm_tis_data *data, u32 addr, u8 *result) in tpm_tis_read8() 138 static inline int tpm_tis_read16(struct tpm_tis_data *data, u32 addr, in tpm_tis_read16() 152 static inline int tpm_tis_read32(struct tpm_tis_data *data, u32 addr, in tpm_tis_read32() 166 static inline int tpm_tis_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_write_bytes() 173 static inline int tpm_tis_write8(struct tpm_tis_data *data, u32 addr, u8 value) in tpm_tis_write8() 179 static inline int tpm_tis_write32(struct tpm_tis_data *data, u32 addr, in tpm_tis_write32() [all …]
|
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() 141 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in release_locality() 150 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in request_locality() 191 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_status() 226 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_ready() 234 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in get_burstcount() 259 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in recv_data() 288 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_recv() [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_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() 155 static int tpm_tcg_read_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_read_bytes() 180 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()
|