Lines Matching refs:tpm_chip

35 static int tpm_request_locality(struct tpm_chip *chip)  in tpm_request_locality()
50 static void tpm_relinquish_locality(struct tpm_chip *chip) in tpm_relinquish_locality()
64 static int tpm_cmd_ready(struct tpm_chip *chip) in tpm_cmd_ready()
72 static int tpm_go_idle(struct tpm_chip *chip) in tpm_go_idle()
80 static void tpm_clk_enable(struct tpm_chip *chip) in tpm_clk_enable()
86 static void tpm_clk_disable(struct tpm_chip *chip) in tpm_clk_disable()
100 int tpm_chip_start(struct tpm_chip *chip) in tpm_chip_start()
133 void tpm_chip_stop(struct tpm_chip *chip) in tpm_chip_stop()
152 int tpm_try_get_ops(struct tpm_chip *chip) in tpm_try_get_ops()
184 void tpm_put_ops(struct tpm_chip *chip) in tpm_put_ops()
196 struct tpm_chip *tpm_default_chip(void) in tpm_default_chip()
198 struct tpm_chip *chip, *res = NULL; in tpm_default_chip()
235 struct tpm_chip *tpm_find_get_ops(struct tpm_chip *chip) in tpm_find_get_ops()
264 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); in tpm_dev_release()
279 struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); in tpm_devs_release()
296 struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); in tpm_class_shutdown()
321 struct tpm_chip *tpm_chip_alloc(struct device *pdev, in tpm_chip_alloc()
324 struct tpm_chip *chip; in tpm_chip_alloc()
412 struct tpm_chip *tpmm_chip_alloc(struct device *pdev, in tpmm_chip_alloc()
415 struct tpm_chip *chip; in tpmm_chip_alloc()
434 static int tpm_add_char_device(struct tpm_chip *chip) in tpm_add_char_device()
466 static void tpm_del_char_device(struct tpm_chip *chip) in tpm_del_char_device()
487 static void tpm_del_legacy_sysfs(struct tpm_chip *chip) in tpm_del_legacy_sysfs()
504 static int tpm_add_legacy_sysfs(struct tpm_chip *chip) in tpm_add_legacy_sysfs()
532 struct tpm_chip *chip = container_of(rng, struct tpm_chip, hwrng); in tpm_hwrng_read()
537 static int tpm_add_hwrng(struct tpm_chip *chip) in tpm_add_hwrng()
549 static int tpm_get_pcr_allocation(struct tpm_chip *chip) in tpm_get_pcr_allocation()
574 int tpm_chip_register(struct tpm_chip *chip) in tpm_chip_register()
637 void tpm_chip_unregister(struct tpm_chip *chip) in tpm_chip_unregister()