Lines Matching refs:tpm_chip
240 ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz);
241 int tpm_get_timeouts(struct tpm_chip *);
242 int tpm_auto_startup(struct tpm_chip *chip);
244 int tpm1_pm_suspend(struct tpm_chip *chip, u32 tpm_suspend_pcr);
245 int tpm1_auto_startup(struct tpm_chip *chip);
246 int tpm1_do_selftest(struct tpm_chip *chip);
247 int tpm1_get_timeouts(struct tpm_chip *chip);
248 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
249 int tpm1_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, const u8 *hash,
251 int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf);
252 ssize_t tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap,
254 int tpm1_get_random(struct tpm_chip *chip, u8 *out, size_t max);
255 int tpm1_get_pcr_allocation(struct tpm_chip *chip);
256 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
267 int tpm_chip_bootstrap(struct tpm_chip *chip);
268 int tpm_chip_start(struct tpm_chip *chip);
269 void tpm_chip_stop(struct tpm_chip *chip);
270 struct tpm_chip *tpm_find_get_ops(struct tpm_chip *chip);
272 struct tpm_chip *tpm_chip_alloc(struct device *dev,
274 struct tpm_chip *tpmm_chip_alloc(struct device *pdev,
276 int tpm_chip_register(struct tpm_chip *chip);
277 void tpm_chip_unregister(struct tpm_chip *chip);
279 void tpm_sysfs_add_device(struct tpm_chip *chip);
283 extern void tpm_add_ppi(struct tpm_chip *chip);
285 static inline void tpm_add_ppi(struct tpm_chip *chip) in tpm_add_ppi()
290 int tpm2_get_timeouts(struct tpm_chip *chip);
291 int tpm2_pcr_read(struct tpm_chip *chip, u32 pcr_idx,
293 int tpm2_pcr_extend(struct tpm_chip *chip, u32 pcr_idx,
295 int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max);
296 ssize_t tpm2_get_tpm_pt(struct tpm_chip *chip, u32 property_id,
299 ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip);
300 int tpm2_auto_startup(struct tpm_chip *chip);
301 void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type);
302 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal);
303 int tpm2_probe(struct tpm_chip *chip);
304 int tpm2_get_cc_attrs_tbl(struct tpm_chip *chip);
305 int tpm2_find_cc(struct tpm_chip *chip, u32 cc);
307 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space);
308 void tpm2_flush_space(struct tpm_chip *chip);
309 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd,
311 int tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space, void *buf,
313 int tpm_devs_add(struct tpm_chip *chip);
314 void tpm_devs_remove(struct tpm_chip *chip);
316 void tpm_bios_log_setup(struct tpm_chip *chip);
317 void tpm_bios_log_teardown(struct tpm_chip *chip);