Home
last modified time | relevance | path

Searched refs:tpm_tis_spi_phy (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/char/tpm/
Dtpm_tis_spi.h12 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,
Dtpm_tis_spi_cr50.c43 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()
Dtpm_tis_spi_main.c48 static int tpm_tis_spi_flow_control(struct tpm_tis_spi_phy *phy, in tpm_tis_spi_flow_control()
77 struct tpm_tis_spi_phy *phy = to_tpm_tis_spi_phy(data); in tpm_tis_spi_transfer()
155 int tpm_tis_spi_init(struct spi_device *spi, struct tpm_tis_spi_phy *phy, in tpm_tis_spi_init()
174 struct tpm_tis_spi_phy *phy; in tpm_tis_spi_probe()
177 phy = devm_kzalloc(&dev->dev, sizeof(struct tpm_tis_spi_phy), in tpm_tis_spi_probe()