Searched refs:tpm_tis_spi_phy (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_tis_spi.h | 12 struct tpm_tis_spi_phy { struct 15 int (*flow_control)(struct tpm_tis_spi_phy *phy, argument 23 static inline struct tpm_tis_spi_phy *to_tpm_tis_spi_phy(struct tpm_tis_data *data) in to_tpm_tis_spi_phy() argument 25 return container_of(data, struct tpm_tis_spi_phy, priv); in to_tpm_tis_spi_phy() 28 extern int tpm_tis_spi_init(struct spi_device *spi, struct tpm_tis_spi_phy *phy,
|
H A D | tpm_tis_spi_cr50.c | 43 struct tpm_tis_spi_phy spi_phy; 55 static inline struct cr50_spi_phy *to_cr50_spi_phy(struct tpm_tis_spi_phy *phy) in to_cr50_spi_phy() 134 struct tpm_tis_spi_phy *phy = &cr50_phy->spi_phy; in cr50_wake_if_needed() 162 static int cr50_spi_flow_control(struct tpm_tis_spi_phy *phy, in cr50_spi_flow_control() 204 struct tpm_tis_spi_phy *phy = to_tpm_tis_spi_phy(data); in tpm_tis_spi_cr50_transfer() 243 struct tpm_tis_spi_phy *phy = to_tpm_tis_spi_phy(data); in cr50_print_fw_version() 268 struct tpm_tis_spi_phy *phy; in cr50_spi_probe() 333 struct tpm_tis_spi_phy *phy = to_tpm_tis_spi_phy(data); in tpm_tis_spi_resume()
|
H A D | tpm_tis_spi_main.c | 49 static int tpm_tis_spi_flow_control(struct tpm_tis_spi_phy *phy, in tpm_tis_spi_flow_control() 84 struct tpm_tis_spi_phy *phy = to_tpm_tis_spi_phy(data); in tpm_tis_spi_transfer_half() 144 struct tpm_tis_spi_phy *phy = to_tpm_tis_spi_phy(data); in tpm_tis_spi_transfer_full() 221 struct tpm_tis_spi_phy *phy = to_tpm_tis_spi_phy(data); in tpm_tis_spi_transfer() 248 int tpm_tis_spi_init(struct spi_device *spi, struct tpm_tis_spi_phy *phy, in tpm_tis_spi_init() 267 struct tpm_tis_spi_phy *phy; in tpm_tis_spi_probe() 270 phy = devm_kzalloc(&dev->dev, sizeof(struct tpm_tis_spi_phy), in tpm_tis_spi_probe()
|