Lines Matching refs:tpm_chip

40 static int tpm_request_locality(struct tpm_chip *chip)
55 static void tpm_relinquish_locality(struct tpm_chip *chip)
69 static int tpm_cmd_ready(struct tpm_chip *chip)
77 static int tpm_go_idle(struct tpm_chip *chip)
85 static void tpm_clk_enable(struct tpm_chip *chip)
91 static void tpm_clk_disable(struct tpm_chip *chip)
105 int tpm_chip_start(struct tpm_chip *chip)
138 void tpm_chip_stop(struct tpm_chip *chip)
147 * tpm_try_get_ops() - Get a ref to the tpm_chip
157 int tpm_try_get_ops(struct tpm_chip *chip)
186 * tpm_put_ops() - Release a ref to the tpm_chip
192 void tpm_put_ops(struct tpm_chip *chip)
204 struct tpm_chip *tpm_default_chip(void)
206 struct tpm_chip *chip, *res = NULL;
230 * @chip: a &struct tpm_chip instance, %NULL for the default chip
239 * A reserved &struct tpm_chip instance.
243 struct tpm_chip *tpm_find_get_ops(struct tpm_chip *chip)
272 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev);
298 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev);
314 * tpm_chip_alloc() - allocate a new struct tpm_chip instance
320 * Allocates a new struct tpm_chip instance and assigns a free
323 struct tpm_chip *tpm_chip_alloc(struct device *pdev,
326 struct tpm_chip *chip;
391 * tpmm_chip_alloc() - allocate a new struct tpm_chip instance
397 struct tpm_chip *tpmm_chip_alloc(struct device *pdev,
400 struct tpm_chip *chip;
419 static int tpm_add_char_device(struct tpm_chip *chip)
450 static void tpm_del_char_device(struct tpm_chip *chip)
479 static void tpm_del_legacy_sysfs(struct tpm_chip *chip)
497 static int tpm_add_legacy_sysfs(struct tpm_chip *chip)
526 struct tpm_chip *chip = container_of(rng, struct tpm_chip, hwrng);
535 static bool tpm_is_hwrng_enabled(struct tpm_chip *chip)
546 static int tpm_add_hwrng(struct tpm_chip *chip)
558 static int tpm_get_pcr_allocation(struct tpm_chip *chip)
582 int tpm_chip_bootstrap(struct tpm_chip *chip)
622 int tpm_chip_register(struct tpm_chip *chip)
675 void tpm_chip_unregister(struct tpm_chip *chip)