Searched refs:tpm_tis_data (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/drivers/char/tpm/ |
D | tpm_tis_core.h | 91 struct tpm_tis_data { struct 106 int (*read_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, argument 108 int (*write_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, 110 int (*read16)(struct tpm_tis_data *data, u32 addr, u16 *result); 111 int (*read32)(struct tpm_tis_data *data, u32 addr, u32 *result); 112 int (*write32)(struct tpm_tis_data *data, u32 addr, u32 src); 115 static inline int tpm_tis_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_read_bytes() 121 static inline int tpm_tis_read8(struct tpm_tis_data *data, u32 addr, u8 *result) in tpm_tis_read8() 126 static inline int tpm_tis_read16(struct tpm_tis_data *data, u32 addr, in tpm_tis_read16() 132 static inline int tpm_tis_read32(struct tpm_tis_data *data, u32 addr, in tpm_tis_read32() [all …]
|
D | tpm_tis_spi.c | 47 struct tpm_tis_data priv; 52 static inline struct tpm_tis_spi_phy *to_tpm_tis_spi_phy(struct tpm_tis_data *data) in to_tpm_tis_spi_phy() 57 static int tpm_tis_spi_transfer(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_spi_transfer() 141 static int tpm_tis_spi_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_read_bytes() 147 static int tpm_tis_spi_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_write_bytes() 153 static int tpm_tis_spi_read16(struct tpm_tis_data *data, u32 addr, u16 *result) in tpm_tis_spi_read16() 166 static int tpm_tis_spi_read32(struct tpm_tis_data *data, u32 addr, u32 *result) in tpm_tis_spi_read32() 179 static int tpm_tis_spi_write32(struct tpm_tis_data *data, u32 addr, u32 value) in tpm_tis_spi_write32()
|
D | tpm_tis_core.c | 104 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_startup() 124 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in check_locality() 144 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in release_locality() 153 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in request_locality() 194 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_status() 207 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_ready() 215 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in get_burstcount() 240 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in recv_data() 269 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_recv() 330 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_send_data() [all …]
|
D | tpm_tis.c | 48 struct tpm_tis_data priv; 52 static inline struct tpm_tis_tcg_phy *to_tpm_tis_tcg_phy(struct tpm_tis_data *data) in to_tpm_tis_tcg_phy() 176 static int tpm_tcg_read_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_read_bytes() 187 static int tpm_tcg_write_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_write_bytes() 198 static int tpm_tcg_read16(struct tpm_tis_data *data, u32 addr, u16 *result) in tpm_tcg_read16() 207 static int tpm_tcg_read32(struct tpm_tis_data *data, u32 addr, u32 *result) in tpm_tcg_read32() 216 static int tpm_tcg_write32(struct tpm_tis_data *data, u32 addr, u32 value) in tpm_tcg_write32()
|