Searched refs:tpm_tis_data (Results 1 – 4 of 4) sorted by relevance
/drivers/char/tpm/ |
D | tpm_tis_core.h | 86 struct tpm_tis_data { struct 98 int (*read_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, argument 100 int (*write_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, 102 int (*read16)(struct tpm_tis_data *data, u32 addr, u16 *result); 103 int (*read32)(struct tpm_tis_data *data, u32 addr, u32 *result); 104 int (*write32)(struct tpm_tis_data *data, u32 addr, u32 src); 107 static inline int tpm_tis_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_read_bytes() 113 static inline int tpm_tis_read8(struct tpm_tis_data *data, u32 addr, u8 *result) in tpm_tis_read8() 118 static inline int tpm_tis_read16(struct tpm_tis_data *data, u32 addr, in tpm_tis_read16() 124 static inline int tpm_tis_read32(struct tpm_tis_data *data, u32 addr, in tpm_tis_read32() [all …]
|
D | tpm_tis_core.c | 41 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in wait_startup() 61 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in check_locality() 78 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in release_locality() 95 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in request_locality() 136 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_status() 149 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_ready() 157 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in get_burstcount() 182 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in recv_data() 209 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_recv() 262 struct tpm_tis_data *priv = dev_get_drvdata(&chip->dev); in tpm_tis_send_data() [all …]
|
D | tpm_tis_spi.c | 48 struct tpm_tis_data priv; 53 static inline struct tpm_tis_spi_phy *to_tpm_tis_spi_phy(struct tpm_tis_data *data) in to_tpm_tis_spi_phy() 58 static int tpm_tis_spi_transfer(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_spi_transfer() 142 static int tpm_tis_spi_read_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_read_bytes() 148 static int tpm_tis_spi_write_bytes(struct tpm_tis_data *data, u32 addr, in tpm_tis_spi_write_bytes() 154 static int tpm_tis_spi_read16(struct tpm_tis_data *data, u32 addr, u16 *result) in tpm_tis_spi_read16() 164 static int tpm_tis_spi_read32(struct tpm_tis_data *data, u32 addr, u32 *result) in tpm_tis_spi_read32() 174 static int tpm_tis_spi_write32(struct tpm_tis_data *data, u32 addr, u32 value) in tpm_tis_spi_write32()
|
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() 90 static int tpm_tcg_read_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_read_bytes() 100 static int tpm_tcg_write_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tcg_write_bytes() 110 static int tpm_tcg_read16(struct tpm_tis_data *data, u32 addr, u16 *result) in tpm_tcg_read16() 118 static int tpm_tcg_read32(struct tpm_tis_data *data, u32 addr, u32 *result) in tpm_tcg_read32() 126 static int tpm_tcg_write32(struct tpm_tis_data *data, u32 addr, u32 value) in tpm_tcg_write32()
|