Lines Matching refs:tpm_chip

40 static int tpm_request_locality(struct tpm_chip *chip)  in tpm_request_locality()
55 static void tpm_relinquish_locality(struct tpm_chip *chip) in tpm_relinquish_locality()
69 static int tpm_cmd_ready(struct tpm_chip *chip) in tpm_cmd_ready()
77 static int tpm_go_idle(struct tpm_chip *chip) in tpm_go_idle()
85 static void tpm_clk_enable(struct tpm_chip *chip) in tpm_clk_enable()
91 static void tpm_clk_disable(struct tpm_chip *chip) in tpm_clk_disable()
105 int tpm_chip_start(struct tpm_chip *chip) in tpm_chip_start()
138 void tpm_chip_stop(struct tpm_chip *chip) in tpm_chip_stop()
157 int tpm_try_get_ops(struct tpm_chip *chip) in tpm_try_get_ops()
189 void tpm_put_ops(struct tpm_chip *chip) in tpm_put_ops()
201 struct tpm_chip *tpm_default_chip(void) in tpm_default_chip()
203 struct tpm_chip *chip, *res = NULL; in tpm_default_chip()
240 struct tpm_chip *tpm_find_get_ops(struct tpm_chip *chip) in tpm_find_get_ops()
269 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); in tpm_dev_release()
292 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); in tpm_class_shutdown()
317 struct tpm_chip *tpm_chip_alloc(struct device *pdev, in tpm_chip_alloc()
320 struct tpm_chip *chip; in tpm_chip_alloc()
391 struct tpm_chip *tpmm_chip_alloc(struct device *pdev, in tpmm_chip_alloc()
394 struct tpm_chip *chip; in tpmm_chip_alloc()
413 static int tpm_add_char_device(struct tpm_chip *chip) in tpm_add_char_device()
444 static void tpm_del_char_device(struct tpm_chip *chip) in tpm_del_char_device()
473 static void tpm_del_legacy_sysfs(struct tpm_chip *chip) in tpm_del_legacy_sysfs()
491 static int tpm_add_legacy_sysfs(struct tpm_chip *chip) in tpm_add_legacy_sysfs()
520 struct tpm_chip *chip = container_of(rng, struct tpm_chip, hwrng); in tpm_hwrng_read()
529 static bool tpm_is_hwrng_enabled(struct tpm_chip *chip) in tpm_is_hwrng_enabled()
540 static int tpm_add_hwrng(struct tpm_chip *chip) in tpm_add_hwrng()
552 static int tpm_get_pcr_allocation(struct tpm_chip *chip) in tpm_get_pcr_allocation()
576 int tpm_chip_bootstrap(struct tpm_chip *chip) in tpm_chip_bootstrap()
616 int tpm_chip_register(struct tpm_chip *chip) in tpm_chip_register()
669 void tpm_chip_unregister(struct tpm_chip *chip) in tpm_chip_unregister()