tpm_chip 45 drivers/char/tpm/eventlog/acpi.c int tpm_read_log_acpi(struct tpm_chip *chip) tpm_chip 32 drivers/char/tpm/eventlog/common.c struct tpm_chip *chip; tpm_chip 59 drivers/char/tpm/eventlog/common.c struct tpm_chip *chip = (struct tpm_chip *)seq->private; tpm_chip 74 drivers/char/tpm/eventlog/common.c static int tpm_read_log(struct tpm_chip *chip) tpm_chip 103 drivers/char/tpm/eventlog/common.c void tpm_bios_log_setup(struct tpm_chip *chip) tpm_chip 166 drivers/char/tpm/eventlog/common.c void tpm_bios_log_teardown(struct tpm_chip *chip) tpm_chip 11 drivers/char/tpm/eventlog/common.h int tpm_read_log_acpi(struct tpm_chip *chip); tpm_chip 13 drivers/char/tpm/eventlog/common.h static inline int tpm_read_log_acpi(struct tpm_chip *chip) tpm_chip 19 drivers/char/tpm/eventlog/common.h int tpm_read_log_of(struct tpm_chip *chip); tpm_chip 21 drivers/char/tpm/eventlog/common.h static inline int tpm_read_log_of(struct tpm_chip *chip) tpm_chip 27 drivers/char/tpm/eventlog/common.h int tpm_read_log_efi(struct tpm_chip *chip); tpm_chip 29 drivers/char/tpm/eventlog/common.h static inline int tpm_read_log_efi(struct tpm_chip *chip) tpm_chip 16 drivers/char/tpm/eventlog/efi.c int tpm_read_log_efi(struct tpm_chip *chip) tpm_chip 20 drivers/char/tpm/eventlog/of.c int tpm_read_log_of(struct tpm_chip *chip) tpm_chip 73 drivers/char/tpm/eventlog/tpm1.c struct tpm_chip *chip = m->private; tpm_chip 112 drivers/char/tpm/eventlog/tpm1.c struct tpm_chip *chip = m->private; tpm_chip 44 drivers/char/tpm/eventlog/tpm2.c struct tpm_chip *chip = m->private; tpm_chip 91 drivers/char/tpm/eventlog/tpm2.c struct tpm_chip *chip = m->private; tpm_chip 131 drivers/char/tpm/eventlog/tpm2.c struct tpm_chip *chip = m->private; tpm_chip 111 drivers/char/tpm/st33zp24/i2c.c struct tpm_chip *chip = i2c_get_clientdata(client); tpm_chip 143 drivers/char/tpm/st33zp24/i2c.c struct tpm_chip *chip = i2c_get_clientdata(client); tpm_chip 183 drivers/char/tpm/st33zp24/i2c.c struct tpm_chip *chip = i2c_get_clientdata(client); tpm_chip 269 drivers/char/tpm/st33zp24/i2c.c struct tpm_chip *chip = i2c_get_clientdata(client); tpm_chip 230 drivers/char/tpm/st33zp24/spi.c struct tpm_chip *chip = spi_get_drvdata(spi_dev); tpm_chip 261 drivers/char/tpm/st33zp24/spi.c struct tpm_chip *chip = spi_get_drvdata(spi_dev); tpm_chip 301 drivers/char/tpm/st33zp24/spi.c struct tpm_chip *chip = spi_get_drvdata(dev); tpm_chip 386 drivers/char/tpm/st33zp24/spi.c struct tpm_chip *chip = spi_get_drvdata(dev); tpm_chip 82 drivers/char/tpm/st33zp24/st33zp24.c static void st33zp24_cancel(struct tpm_chip *chip) tpm_chip 96 drivers/char/tpm/st33zp24/st33zp24.c static u8 st33zp24_status(struct tpm_chip *chip) tpm_chip 110 drivers/char/tpm/st33zp24/st33zp24.c static bool check_locality(struct tpm_chip *chip) tpm_chip 130 drivers/char/tpm/st33zp24/st33zp24.c static int request_locality(struct tpm_chip *chip) tpm_chip 162 drivers/char/tpm/st33zp24/st33zp24.c static void release_locality(struct tpm_chip *chip) tpm_chip 177 drivers/char/tpm/st33zp24/st33zp24.c static int get_burstcount(struct tpm_chip *chip) tpm_chip 215 drivers/char/tpm/st33zp24/st33zp24.c static bool wait_for_tpm_stat_cond(struct tpm_chip *chip, u8 mask, tpm_chip 239 drivers/char/tpm/st33zp24/st33zp24.c static int wait_for_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, tpm_chip 304 drivers/char/tpm/st33zp24/st33zp24.c static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 336 drivers/char/tpm/st33zp24/st33zp24.c struct tpm_chip *chip = dev_id; tpm_chip 355 drivers/char/tpm/st33zp24/st33zp24.c static int st33zp24_send(struct tpm_chip *chip, unsigned char *buf, tpm_chip 442 drivers/char/tpm/st33zp24/st33zp24.c static int st33zp24_recv(struct tpm_chip *chip, unsigned char *buf, tpm_chip 487 drivers/char/tpm/st33zp24/st33zp24.c static bool st33zp24_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 515 drivers/char/tpm/st33zp24/st33zp24.c struct tpm_chip *chip; tpm_chip 591 drivers/char/tpm/st33zp24/st33zp24.c int st33zp24_remove(struct tpm_chip *chip) tpm_chip 607 drivers/char/tpm/st33zp24/st33zp24.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 628 drivers/char/tpm/st33zp24/st33zp24.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 14 drivers/char/tpm/st33zp24/st33zp24.h struct tpm_chip *chip; tpm_chip 37 drivers/char/tpm/st33zp24/st33zp24.h int st33zp24_remove(struct tpm_chip *chip); tpm_chip 35 drivers/char/tpm/tpm-chip.c static int tpm_request_locality(struct tpm_chip *chip) tpm_chip 50 drivers/char/tpm/tpm-chip.c static void tpm_relinquish_locality(struct tpm_chip *chip) tpm_chip 64 drivers/char/tpm/tpm-chip.c static int tpm_cmd_ready(struct tpm_chip *chip) tpm_chip 72 drivers/char/tpm/tpm-chip.c static int tpm_go_idle(struct tpm_chip *chip) tpm_chip 80 drivers/char/tpm/tpm-chip.c static void tpm_clk_enable(struct tpm_chip *chip) tpm_chip 86 drivers/char/tpm/tpm-chip.c static void tpm_clk_disable(struct tpm_chip *chip) tpm_chip 100 drivers/char/tpm/tpm-chip.c int tpm_chip_start(struct tpm_chip *chip) tpm_chip 133 drivers/char/tpm/tpm-chip.c void tpm_chip_stop(struct tpm_chip *chip) tpm_chip 152 drivers/char/tpm/tpm-chip.c int tpm_try_get_ops(struct tpm_chip *chip) tpm_chip 184 drivers/char/tpm/tpm-chip.c void tpm_put_ops(struct tpm_chip *chip) tpm_chip 196 drivers/char/tpm/tpm-chip.c struct tpm_chip *tpm_default_chip(void) tpm_chip 198 drivers/char/tpm/tpm-chip.c struct tpm_chip *chip, *res = NULL; tpm_chip 235 drivers/char/tpm/tpm-chip.c struct tpm_chip *tpm_find_get_ops(struct tpm_chip *chip) tpm_chip 264 drivers/char/tpm/tpm-chip.c struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); tpm_chip 279 drivers/char/tpm/tpm-chip.c struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); tpm_chip 296 drivers/char/tpm/tpm-chip.c struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); tpm_chip 321 drivers/char/tpm/tpm-chip.c struct tpm_chip *tpm_chip_alloc(struct device *pdev, tpm_chip 324 drivers/char/tpm/tpm-chip.c struct tpm_chip *chip; tpm_chip 417 drivers/char/tpm/tpm-chip.c struct tpm_chip *tpmm_chip_alloc(struct device *pdev, tpm_chip 420 drivers/char/tpm/tpm-chip.c struct tpm_chip *chip; tpm_chip 439 drivers/char/tpm/tpm-chip.c static int tpm_add_char_device(struct tpm_chip *chip) tpm_chip 471 drivers/char/tpm/tpm-chip.c static void tpm_del_char_device(struct tpm_chip *chip) tpm_chip 492 drivers/char/tpm/tpm-chip.c static void tpm_del_legacy_sysfs(struct tpm_chip *chip) tpm_chip 509 drivers/char/tpm/tpm-chip.c static int tpm_add_legacy_sysfs(struct tpm_chip *chip) tpm_chip 537 drivers/char/tpm/tpm-chip.c struct tpm_chip *chip = container_of(rng, struct tpm_chip, hwrng); tpm_chip 542 drivers/char/tpm/tpm-chip.c static int tpm_add_hwrng(struct tpm_chip *chip) tpm_chip 554 drivers/char/tpm/tpm-chip.c static int tpm_get_pcr_allocation(struct tpm_chip *chip) tpm_chip 579 drivers/char/tpm/tpm-chip.c int tpm_chip_register(struct tpm_chip *chip) tpm_chip 642 drivers/char/tpm/tpm-chip.c void tpm_chip_unregister(struct tpm_chip *chip) tpm_chip 25 drivers/char/tpm/tpm-dev-common.c static ssize_t tpm_dev_transmit(struct tpm_chip *chip, struct tpm_space *space, tpm_chip 105 drivers/char/tpm/tpm-dev-common.c void tpm_common_open(struct file *file, struct tpm_chip *chip, tpm_chip 20 drivers/char/tpm/tpm-dev.c struct tpm_chip *chip; tpm_chip 23 drivers/char/tpm/tpm-dev.c chip = container_of(inode->i_cdev, struct tpm_chip, cdev); tpm_chip 9 drivers/char/tpm/tpm-dev.h struct tpm_chip *chip; tpm_chip 24 drivers/char/tpm/tpm-dev.h void tpm_common_open(struct file *file, struct tpm_chip *chip, tpm_chip 51 drivers/char/tpm/tpm-interface.c unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) tpm_chip 60 drivers/char/tpm/tpm-interface.c static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz) tpm_chip 152 drivers/char/tpm/tpm-interface.c ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz) tpm_chip 212 drivers/char/tpm/tpm-interface.c ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf, tpm_chip 238 drivers/char/tpm/tpm-interface.c int tpm_get_timeouts(struct tpm_chip *chip) tpm_chip 259 drivers/char/tpm/tpm-interface.c int tpm_is_tpm2(struct tpm_chip *chip) tpm_chip 283 drivers/char/tpm/tpm-interface.c int tpm_pcr_read(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 313 drivers/char/tpm/tpm-interface.c int tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 352 drivers/char/tpm/tpm-interface.c int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen) tpm_chip 369 drivers/char/tpm/tpm-interface.c int tpm_auto_startup(struct tpm_chip *chip) tpm_chip 390 drivers/char/tpm/tpm-interface.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 418 drivers/char/tpm/tpm-interface.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 435 drivers/char/tpm/tpm-interface.c int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) tpm_chip 467 drivers/char/tpm/tpm-interface.c int tpm_seal_trusted(struct tpm_chip *chip, struct trusted_key_payload *payload, tpm_chip 494 drivers/char/tpm/tpm-interface.c int tpm_unseal_trusted(struct tpm_chip *chip, tpm_chip 39 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 100 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 131 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 153 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 175 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 197 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 219 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 269 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 283 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 300 drivers/char/tpm/tpm-sysfs.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 330 drivers/char/tpm/tpm-sysfs.c void tpm_sysfs_add_device(struct tpm_chip *chip) tpm_chip 167 drivers/char/tpm/tpm.h #define to_tpm_chip(d) container_of(d, struct tpm_chip, dev) tpm_chip 380 drivers/char/tpm/tpm.h ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz); tpm_chip 381 drivers/char/tpm/tpm.h ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf, tpm_chip 383 drivers/char/tpm/tpm.h int tpm_get_timeouts(struct tpm_chip *); tpm_chip 384 drivers/char/tpm/tpm.h int tpm_auto_startup(struct tpm_chip *chip); tpm_chip 386 drivers/char/tpm/tpm.h int tpm1_pm_suspend(struct tpm_chip *chip, u32 tpm_suspend_pcr); tpm_chip 387 drivers/char/tpm/tpm.h int tpm1_auto_startup(struct tpm_chip *chip); tpm_chip 388 drivers/char/tpm/tpm.h int tpm1_do_selftest(struct tpm_chip *chip); tpm_chip 389 drivers/char/tpm/tpm.h int tpm1_get_timeouts(struct tpm_chip *chip); tpm_chip 390 drivers/char/tpm/tpm.h unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); tpm_chip 391 drivers/char/tpm/tpm.h int tpm1_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, const u8 *hash, tpm_chip 393 drivers/char/tpm/tpm.h int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf); tpm_chip 394 drivers/char/tpm/tpm.h ssize_t tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap, tpm_chip 396 drivers/char/tpm/tpm.h int tpm1_get_random(struct tpm_chip *chip, u8 *out, size_t max); tpm_chip 397 drivers/char/tpm/tpm.h int tpm1_get_pcr_allocation(struct tpm_chip *chip); tpm_chip 398 drivers/char/tpm/tpm.h unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); tpm_chip 408 drivers/char/tpm/tpm.h int tpm_chip_start(struct tpm_chip *chip); tpm_chip 409 drivers/char/tpm/tpm.h void tpm_chip_stop(struct tpm_chip *chip); tpm_chip 410 drivers/char/tpm/tpm.h struct tpm_chip *tpm_find_get_ops(struct tpm_chip *chip); tpm_chip 411 drivers/char/tpm/tpm.h __must_check int tpm_try_get_ops(struct tpm_chip *chip); tpm_chip 412 drivers/char/tpm/tpm.h void tpm_put_ops(struct tpm_chip *chip); tpm_chip 414 drivers/char/tpm/tpm.h struct tpm_chip *tpm_chip_alloc(struct device *dev, tpm_chip 416 drivers/char/tpm/tpm.h struct tpm_chip *tpmm_chip_alloc(struct device *pdev, tpm_chip 418 drivers/char/tpm/tpm.h int tpm_chip_register(struct tpm_chip *chip); tpm_chip 419 drivers/char/tpm/tpm.h void tpm_chip_unregister(struct tpm_chip *chip); tpm_chip 421 drivers/char/tpm/tpm.h void tpm_sysfs_add_device(struct tpm_chip *chip); tpm_chip 425 drivers/char/tpm/tpm.h extern void tpm_add_ppi(struct tpm_chip *chip); tpm_chip 427 drivers/char/tpm/tpm.h static inline void tpm_add_ppi(struct tpm_chip *chip) tpm_chip 437 drivers/char/tpm/tpm.h int tpm2_get_timeouts(struct tpm_chip *chip); tpm_chip 438 drivers/char/tpm/tpm.h int tpm2_pcr_read(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 440 drivers/char/tpm/tpm.h int tpm2_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 442 drivers/char/tpm/tpm.h int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max); tpm_chip 443 drivers/char/tpm/tpm.h void tpm2_flush_context(struct tpm_chip *chip, u32 handle); tpm_chip 444 drivers/char/tpm/tpm.h int tpm2_seal_trusted(struct tpm_chip *chip, tpm_chip 447 drivers/char/tpm/tpm.h int tpm2_unseal_trusted(struct tpm_chip *chip, tpm_chip 450 drivers/char/tpm/tpm.h ssize_t tpm2_get_tpm_pt(struct tpm_chip *chip, u32 property_id, tpm_chip 453 drivers/char/tpm/tpm.h ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip); tpm_chip 454 drivers/char/tpm/tpm.h int tpm2_auto_startup(struct tpm_chip *chip); tpm_chip 455 drivers/char/tpm/tpm.h void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type); tpm_chip 456 drivers/char/tpm/tpm.h unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); tpm_chip 457 drivers/char/tpm/tpm.h int tpm2_probe(struct tpm_chip *chip); tpm_chip 458 drivers/char/tpm/tpm.h int tpm2_find_cc(struct tpm_chip *chip, u32 cc); tpm_chip 460 drivers/char/tpm/tpm.h void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space); tpm_chip 461 drivers/char/tpm/tpm.h void tpm2_flush_space(struct tpm_chip *chip); tpm_chip 462 drivers/char/tpm/tpm.h int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd, tpm_chip 464 drivers/char/tpm/tpm.h int tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space, void *buf, tpm_chip 467 drivers/char/tpm/tpm.h void tpm_bios_log_setup(struct tpm_chip *chip); tpm_chip 468 drivers/char/tpm/tpm.h void tpm_bios_log_teardown(struct tpm_chip *chip); tpm_chip 291 drivers/char/tpm/tpm1-cmd.c unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) tpm_chip 324 drivers/char/tpm/tpm1-cmd.c static int tpm1_startup(struct tpm_chip *chip) tpm_chip 342 drivers/char/tpm/tpm1-cmd.c int tpm1_get_timeouts(struct tpm_chip *chip) tpm_chip 448 drivers/char/tpm/tpm1-cmd.c int tpm1_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, const u8 *hash, tpm_chip 467 drivers/char/tpm/tpm1-cmd.c ssize_t tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap, tpm_chip 515 drivers/char/tpm/tpm1-cmd.c int tpm1_get_random(struct tpm_chip *chip, u8 *dest, size_t max) tpm_chip 569 drivers/char/tpm/tpm1-cmd.c int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf) tpm_chip 605 drivers/char/tpm/tpm1-cmd.c static int tpm1_continue_selftest(struct tpm_chip *chip) tpm_chip 627 drivers/char/tpm/tpm1-cmd.c int tpm1_do_selftest(struct tpm_chip *chip) tpm_chip 689 drivers/char/tpm/tpm1-cmd.c int tpm1_auto_startup(struct tpm_chip *chip) tpm_chip 722 drivers/char/tpm/tpm1-cmd.c int tpm1_pm_suspend(struct tpm_chip *chip, u32 tpm_suspend_pcr) tpm_chip 780 drivers/char/tpm/tpm1-cmd.c int tpm1_get_pcr_allocation(struct tpm_chip *chip) tpm_chip 39 drivers/char/tpm/tpm2-cmd.c int tpm2_get_timeouts(struct tpm_chip *chip) tpm_chip 142 drivers/char/tpm/tpm2-cmd.c unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) tpm_chip 175 drivers/char/tpm/tpm2-cmd.c int tpm2_pcr_read(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 249 drivers/char/tpm/tpm2-cmd.c int tpm2_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 302 drivers/char/tpm/tpm2-cmd.c int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max) tpm_chip 362 drivers/char/tpm/tpm2-cmd.c void tpm2_flush_context(struct tpm_chip *chip, u32 handle) tpm_chip 419 drivers/char/tpm/tpm2-cmd.c int tpm2_seal_trusted(struct tpm_chip *chip, tpm_chip 533 drivers/char/tpm/tpm2-cmd.c static int tpm2_load_cmd(struct tpm_chip *chip, tpm_chip 597 drivers/char/tpm/tpm2-cmd.c static int tpm2_unseal_cmd(struct tpm_chip *chip, tpm_chip 657 drivers/char/tpm/tpm2-cmd.c int tpm2_unseal_trusted(struct tpm_chip *chip, tpm_chip 692 drivers/char/tpm/tpm2-cmd.c ssize_t tpm2_get_tpm_pt(struct tpm_chip *chip, u32 property_id, u32 *value, tpm_chip 726 drivers/char/tpm/tpm2-cmd.c void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type) tpm_chip 752 drivers/char/tpm/tpm2-cmd.c static int tpm2_do_selftest(struct tpm_chip *chip) tpm_chip 789 drivers/char/tpm/tpm2-cmd.c int tpm2_probe(struct tpm_chip *chip) tpm_chip 813 drivers/char/tpm/tpm2-cmd.c static int tpm2_init_bank_info(struct tpm_chip *chip, u32 bank_index) tpm_chip 845 drivers/char/tpm/tpm2-cmd.c ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip) tpm_chip 924 drivers/char/tpm/tpm2-cmd.c static int tpm2_get_cc_attrs_tbl(struct tpm_chip *chip) tpm_chip 1002 drivers/char/tpm/tpm2-cmd.c static int tpm2_startup(struct tpm_chip *chip) tpm_chip 1027 drivers/char/tpm/tpm2-cmd.c int tpm2_auto_startup(struct tpm_chip *chip) tpm_chip 1057 drivers/char/tpm/tpm2-cmd.c int tpm2_find_cc(struct tpm_chip *chip, u32 cc) tpm_chip 31 drivers/char/tpm/tpm2-space.c static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) tpm_chip 56 drivers/char/tpm/tpm2-space.c void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) tpm_chip 68 drivers/char/tpm/tpm2-space.c static int tpm2_load_context(struct tpm_chip *chip, u8 *buf, tpm_chip 119 drivers/char/tpm/tpm2-space.c static int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf, tpm_chip 161 drivers/char/tpm/tpm2-space.c void tpm2_flush_space(struct tpm_chip *chip) tpm_chip 173 drivers/char/tpm/tpm2-space.c static int tpm2_load_space(struct tpm_chip *chip) tpm_chip 236 drivers/char/tpm/tpm2-space.c static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) tpm_chip 262 drivers/char/tpm/tpm2-space.c static int tpm_find_and_validate_cc(struct tpm_chip *chip, tpm_chip 297 drivers/char/tpm/tpm2-space.c int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd, tpm_chip 333 drivers/char/tpm/tpm2-space.c static bool tpm2_add_session(struct tpm_chip *chip, u32 handle) tpm_chip 369 drivers/char/tpm/tpm2-space.c static int tpm2_map_response_header(struct tpm_chip *chip, u32 cc, u8 *rsp, tpm_chip 429 drivers/char/tpm/tpm2-space.c static int tpm2_map_response_body(struct tpm_chip *chip, u32 cc, u8 *rsp, tpm_chip 483 drivers/char/tpm/tpm2-space.c static int tpm2_save_space(struct tpm_chip *chip) tpm_chip 527 drivers/char/tpm/tpm2-space.c int tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space, tpm_chip 33 drivers/char/tpm/tpm_atmel.c static int tpm_atml_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 92 drivers/char/tpm/tpm_atmel.c static int tpm_atml_send(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 106 drivers/char/tpm/tpm_atmel.c static void tpm_atml_cancel(struct tpm_chip *chip) tpm_chip 113 drivers/char/tpm/tpm_atmel.c static u8 tpm_atml_status(struct tpm_chip *chip) tpm_chip 120 drivers/char/tpm/tpm_atmel.c static bool tpm_atml_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 139 drivers/char/tpm/tpm_atmel.c struct tpm_chip *chip = dev_get_drvdata(&pdev->dev); tpm_chip 164 drivers/char/tpm/tpm_atmel.c struct tpm_chip *chip; tpm_chip 166 drivers/char/tpm/tpm_crb.c static int crb_go_idle(struct tpm_chip *chip) tpm_chip 208 drivers/char/tpm/tpm_crb.c static int crb_cmd_ready(struct tpm_chip *chip) tpm_chip 235 drivers/char/tpm/tpm_crb.c static int crb_request_locality(struct tpm_chip *chip, int loc) tpm_chip 262 drivers/char/tpm/tpm_crb.c static int crb_relinquish_locality(struct tpm_chip *chip, int loc) tpm_chip 269 drivers/char/tpm/tpm_crb.c static u8 crb_status(struct tpm_chip *chip) tpm_chip 281 drivers/char/tpm/tpm_crb.c static int crb_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 313 drivers/char/tpm/tpm_crb.c static int crb_do_acpi_start(struct tpm_chip *chip) tpm_chip 358 drivers/char/tpm/tpm_crb.c static int crb_send(struct tpm_chip *chip, u8 *buf, size_t len) tpm_chip 400 drivers/char/tpm/tpm_crb.c static void crb_cancel(struct tpm_chip *chip) tpm_chip 412 drivers/char/tpm/tpm_crb.c static bool crb_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 606 drivers/char/tpm/tpm_crb.c struct tpm_chip *chip; tpm_chip 662 drivers/char/tpm/tpm_crb.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 44 drivers/char/tpm/tpm_ftpm_tee.c static int ftpm_tee_tpm_op_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 73 drivers/char/tpm/tpm_ftpm_tee.c static int ftpm_tee_tpm_op_send(struct tpm_chip *chip, u8 *buf, size_t len) tpm_chip 168 drivers/char/tpm/tpm_ftpm_tee.c static void ftpm_tee_tpm_op_cancel(struct tpm_chip *chip) tpm_chip 173 drivers/char/tpm/tpm_ftpm_tee.c static u8 ftpm_tee_tpm_op_status(struct tpm_chip *chip) tpm_chip 178 drivers/char/tpm/tpm_ftpm_tee.c static bool ftpm_tee_tpm_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 220 drivers/char/tpm/tpm_ftpm_tee.c struct tpm_chip *chip; tpm_chip 32 drivers/char/tpm/tpm_ftpm_tee.h struct tpm_chip *chip; tpm_chip 40 drivers/char/tpm/tpm_i2c_atmel.c static int i2c_atmel_send(struct tpm_chip *chip, u8 *buf, size_t len) tpm_chip 67 drivers/char/tpm/tpm_i2c_atmel.c static int i2c_atmel_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 102 drivers/char/tpm/tpm_i2c_atmel.c static void i2c_atmel_cancel(struct tpm_chip *chip) tpm_chip 107 drivers/char/tpm/tpm_i2c_atmel.c static u8 i2c_atmel_read_status(struct tpm_chip *chip) tpm_chip 133 drivers/char/tpm/tpm_i2c_atmel.c static bool i2c_atmel_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 152 drivers/char/tpm/tpm_i2c_atmel.c struct tpm_chip *chip; tpm_chip 185 drivers/char/tpm/tpm_i2c_atmel.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 66 drivers/char/tpm/tpm_i2c_infineon.c struct tpm_chip *chip; tpm_chip 312 drivers/char/tpm/tpm_i2c_infineon.c static bool check_locality(struct tpm_chip *chip, int loc) tpm_chip 331 drivers/char/tpm/tpm_i2c_infineon.c static void release_locality(struct tpm_chip *chip, int loc, int force) tpm_chip 344 drivers/char/tpm/tpm_i2c_infineon.c static int request_locality(struct tpm_chip *chip, int loc) tpm_chip 365 drivers/char/tpm/tpm_i2c_infineon.c static u8 tpm_tis_i2c_status(struct tpm_chip *chip) tpm_chip 382 drivers/char/tpm/tpm_i2c_infineon.c static void tpm_tis_i2c_ready(struct tpm_chip *chip) tpm_chip 389 drivers/char/tpm/tpm_i2c_infineon.c static ssize_t get_burstcount(struct tpm_chip *chip) tpm_chip 413 drivers/char/tpm/tpm_i2c_infineon.c static int wait_for_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, tpm_chip 436 drivers/char/tpm/tpm_i2c_infineon.c static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 468 drivers/char/tpm/tpm_i2c_infineon.c static int tpm_tis_i2c_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 517 drivers/char/tpm/tpm_i2c_infineon.c static int tpm_tis_i2c_send(struct tpm_chip *chip, u8 *buf, size_t len) tpm_chip 596 drivers/char/tpm/tpm_i2c_infineon.c static bool tpm_tis_i2c_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 616 drivers/char/tpm/tpm_i2c_infineon.c struct tpm_chip *chip; tpm_chip 711 drivers/char/tpm/tpm_i2c_infineon.c struct tpm_chip *chip = tpm_dev.chip; tpm_chip 88 drivers/char/tpm/tpm_i2c_nuvoton.c static u8 i2c_nuvoton_read_status(struct tpm_chip *chip) tpm_chip 121 drivers/char/tpm/tpm_i2c_nuvoton.c static void i2c_nuvoton_ready(struct tpm_chip *chip) tpm_chip 136 drivers/char/tpm/tpm_i2c_nuvoton.c struct tpm_chip *chip) tpm_chip 164 drivers/char/tpm/tpm_i2c_nuvoton.c static bool i2c_nuvoton_check_status(struct tpm_chip *chip, u8 mask, u8 value) tpm_chip 170 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_wait_for_stat(struct tpm_chip *chip, u8 mask, u8 value, tpm_chip 219 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_wait_for_data_avail(struct tpm_chip *chip, u32 timeout, tpm_chip 230 drivers/char/tpm/tpm_i2c_nuvoton.c struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 264 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 352 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_send(struct tpm_chip *chip, u8 *buf, size_t len) tpm_chip 459 drivers/char/tpm/tpm_i2c_nuvoton.c static bool i2c_nuvoton_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 482 drivers/char/tpm/tpm_i2c_nuvoton.c struct tpm_chip *chip = dev_id; tpm_chip 529 drivers/char/tpm/tpm_i2c_nuvoton.c struct tpm_chip *chip; tpm_chip 627 drivers/char/tpm/tpm_i2c_nuvoton.c struct tpm_chip *chip = i2c_get_clientdata(client); tpm_chip 104 drivers/char/tpm/tpm_ibmvtpm.c static int tpm_ibmvtpm_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 165 drivers/char/tpm/tpm_ibmvtpm.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 204 drivers/char/tpm/tpm_ibmvtpm.c static int tpm_ibmvtpm_send(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 264 drivers/char/tpm/tpm_ibmvtpm.c static void tpm_ibmvtpm_cancel(struct tpm_chip *chip) tpm_chip 269 drivers/char/tpm/tpm_ibmvtpm.c static u8 tpm_ibmvtpm_status(struct tpm_chip *chip) tpm_chip 347 drivers/char/tpm/tpm_ibmvtpm.c struct tpm_chip *chip = dev_get_drvdata(&vdev->dev); tpm_chip 387 drivers/char/tpm/tpm_ibmvtpm.c struct tpm_chip *chip = dev_get_drvdata(&vdev->dev); tpm_chip 411 drivers/char/tpm/tpm_ibmvtpm.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 451 drivers/char/tpm/tpm_ibmvtpm.c static bool tpm_ibmvtpm_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 607 drivers/char/tpm/tpm_ibmvtpm.c struct tpm_chip *chip; tpm_chip 144 drivers/char/tpm/tpm_infineon.c static int empty_fifo(struct tpm_chip *chip, int clear_wrfifo) tpm_chip 181 drivers/char/tpm/tpm_infineon.c static int wait(struct tpm_chip *chip, int wait_for_bit) tpm_chip 202 drivers/char/tpm/tpm_infineon.c static void wait_and_send(struct tpm_chip *chip, u8 sendbyte) tpm_chip 216 drivers/char/tpm/tpm_infineon.c static void tpm_wtx(struct tpm_chip *chip) tpm_chip 228 drivers/char/tpm/tpm_infineon.c static void tpm_wtx_abort(struct tpm_chip *chip) tpm_chip 239 drivers/char/tpm/tpm_infineon.c static int tpm_inf_recv(struct tpm_chip *chip, u8 * buf, size_t count) tpm_chip 309 drivers/char/tpm/tpm_infineon.c static int tpm_inf_send(struct tpm_chip *chip, u8 * buf, size_t count) tpm_chip 356 drivers/char/tpm/tpm_infineon.c static void tpm_inf_cancel(struct tpm_chip *chip) tpm_chip 365 drivers/char/tpm/tpm_infineon.c static u8 tpm_inf_status(struct tpm_chip *chip) tpm_chip 397 drivers/char/tpm/tpm_infineon.c struct tpm_chip *chip; tpm_chip 576 drivers/char/tpm/tpm_infineon.c struct tpm_chip *chip = pnp_get_drvdata(dev); tpm_chip 70 drivers/char/tpm/tpm_nsc.c static int wait_for_stat(struct tpm_chip *chip, u8 mask, u8 val, u8 * data) tpm_chip 93 drivers/char/tpm/tpm_nsc.c static int nsc_wait_for_ready(struct tpm_chip *chip) tpm_chip 123 drivers/char/tpm/tpm_nsc.c static int tpm_nsc_recv(struct tpm_chip *chip, u8 * buf, size_t count) tpm_chip 181 drivers/char/tpm/tpm_nsc.c static int tpm_nsc_send(struct tpm_chip *chip, u8 * buf, size_t count) tpm_chip 227 drivers/char/tpm/tpm_nsc.c static void tpm_nsc_cancel(struct tpm_chip *chip) tpm_chip 234 drivers/char/tpm/tpm_nsc.c static u8 tpm_nsc_status(struct tpm_chip *chip) tpm_chip 241 drivers/char/tpm/tpm_nsc.c static bool tpm_nsc_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 260 drivers/char/tpm/tpm_nsc.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 293 drivers/char/tpm/tpm_nsc.c struct tpm_chip *chip; tpm_chip 53 drivers/char/tpm/tpm_ppi.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 63 drivers/char/tpm/tpm_ppi.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 121 drivers/char/tpm/tpm_ppi.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 187 drivers/char/tpm/tpm_ppi.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 228 drivers/char/tpm/tpm_ppi.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 328 drivers/char/tpm/tpm_ppi.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 338 drivers/char/tpm/tpm_ppi.c struct tpm_chip *chip = to_tpm_chip(dev); tpm_chip 366 drivers/char/tpm/tpm_ppi.c void tpm_add_ppi(struct tpm_chip *chip) tpm_chip 254 drivers/char/tpm/tpm_tis.c struct tpm_chip *chip = pnp_get_drvdata(dev); tpm_chip 303 drivers/char/tpm/tpm_tis.c struct tpm_chip *chip = dev_get_drvdata(&pdev->dev); tpm_chip 30 drivers/char/tpm/tpm_tis_core.c static void tpm_tis_clkrun_enable(struct tpm_chip *chip, bool value); tpm_chip 32 drivers/char/tpm/tpm_tis_core.c static bool wait_for_tpm_stat_cond(struct tpm_chip *chip, u8 mask, tpm_chip 47 drivers/char/tpm/tpm_tis_core.c static int wait_for_tpm_stat(struct tpm_chip *chip, u8 mask, tpm_chip 98 drivers/char/tpm/tpm_tis_core.c static int wait_startup(struct tpm_chip *chip, int l) tpm_chip 118 drivers/char/tpm/tpm_tis_core.c static bool check_locality(struct tpm_chip *chip, int l) tpm_chip 137 drivers/char/tpm/tpm_tis_core.c static bool locality_inactive(struct tpm_chip *chip, int l) tpm_chip 154 drivers/char/tpm/tpm_tis_core.c static int release_locality(struct tpm_chip *chip, int l) tpm_chip 191 drivers/char/tpm/tpm_tis_core.c static int request_locality(struct tpm_chip *chip, int l) tpm_chip 232 drivers/char/tpm/tpm_tis_core.c static u8 tpm_tis_status(struct tpm_chip *chip) tpm_chip 245 drivers/char/tpm/tpm_tis_core.c static void tpm_tis_ready(struct tpm_chip *chip) tpm_chip 253 drivers/char/tpm/tpm_tis_core.c static int get_burstcount(struct tpm_chip *chip) tpm_chip 278 drivers/char/tpm/tpm_tis_core.c static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 307 drivers/char/tpm/tpm_tis_core.c static int tpm_tis_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 362 drivers/char/tpm/tpm_tis_core.c static int tpm_tis_send_data(struct tpm_chip *chip, const u8 *buf, size_t len) tpm_chip 430 drivers/char/tpm/tpm_tis_core.c static void disable_interrupts(struct tpm_chip *chip) tpm_chip 456 drivers/char/tpm/tpm_tis_core.c static int tpm_tis_send_main(struct tpm_chip *chip, const u8 *buf, size_t len) tpm_chip 489 drivers/char/tpm/tpm_tis_core.c static int tpm_tis_send(struct tpm_chip *chip, u8 *buf, size_t len) tpm_chip 523 drivers/char/tpm/tpm_tis_core.c static void tpm_tis_update_timeouts(struct tpm_chip *chip, tpm_chip 562 drivers/char/tpm/tpm_tis_core.c static int probe_itpm(struct tpm_chip *chip) tpm_chip 610 drivers/char/tpm/tpm_tis_core.c static bool tpm_tis_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 627 drivers/char/tpm/tpm_tis_core.c struct tpm_chip *chip = dev_id; tpm_chip 660 drivers/char/tpm/tpm_tis_core.c static int tpm_tis_gen_interrupt(struct tpm_chip *chip) tpm_chip 677 drivers/char/tpm/tpm_tis_core.c static int tpm_tis_probe_irq_single(struct tpm_chip *chip, u32 intmask, tpm_chip 745 drivers/char/tpm/tpm_tis_core.c static void tpm_tis_probe_irq(struct tpm_chip *chip, u32 intmask) tpm_chip 767 drivers/char/tpm/tpm_tis_core.c void tpm_tis_remove(struct tpm_chip *chip) tpm_chip 798 drivers/char/tpm/tpm_tis_core.c static void tpm_tis_clkrun_enable(struct tpm_chip *chip, bool value) tpm_chip 866 drivers/char/tpm/tpm_tis_core.c struct tpm_chip *chip; tpm_chip 1019 drivers/char/tpm/tpm_tis_core.c static void tpm_tis_reenable_interrupts(struct tpm_chip *chip) tpm_chip 1054 drivers/char/tpm/tpm_tis_core.c struct tpm_chip *chip = dev_get_drvdata(dev); tpm_chip 160 drivers/char/tpm/tpm_tis_core.h void tpm_tis_remove(struct tpm_chip *chip); tpm_chip 225 drivers/char/tpm/tpm_tis_spi.c struct tpm_chip *chip = spi_get_drvdata(dev); tpm_chip 29 drivers/char/tpm/tpm_vtpm_proxy.c struct tpm_chip *chip; tpm_chip 267 drivers/char/tpm/tpm_vtpm_proxy.c static int vtpm_proxy_tpm_op_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 298 drivers/char/tpm/tpm_vtpm_proxy.c static int vtpm_proxy_is_driver_command(struct tpm_chip *chip, tpm_chip 330 drivers/char/tpm/tpm_vtpm_proxy.c static int vtpm_proxy_tpm_op_send(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 366 drivers/char/tpm/tpm_vtpm_proxy.c static void vtpm_proxy_tpm_op_cancel(struct tpm_chip *chip) tpm_chip 371 drivers/char/tpm/tpm_vtpm_proxy.c static u8 vtpm_proxy_tpm_op_status(struct tpm_chip *chip) tpm_chip 381 drivers/char/tpm/tpm_vtpm_proxy.c static bool vtpm_proxy_tpm_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 395 drivers/char/tpm/tpm_vtpm_proxy.c static int vtpm_proxy_request_locality(struct tpm_chip *chip, int locality) tpm_chip 490 drivers/char/tpm/tpm_vtpm_proxy.c struct tpm_chip *chip; tpm_chip 15 drivers/char/tpm/tpmrm-dev.c struct tpm_chip *chip; tpm_chip 19 drivers/char/tpm/tpmrm-dev.c chip = container_of(inode->i_cdev, struct tpm_chip, cdevs); tpm_chip 21 drivers/char/tpm/xen-tpmfront.c struct tpm_chip *chip; tpm_chip 40 drivers/char/tpm/xen-tpmfront.c static bool wait_for_tpm_stat_cond(struct tpm_chip *chip, u8 mask, tpm_chip 55 drivers/char/tpm/xen-tpmfront.c static int wait_for_tpm_stat(struct tpm_chip *chip, u8 mask, tpm_chip 100 drivers/char/tpm/xen-tpmfront.c static u8 vtpm_status(struct tpm_chip *chip) tpm_chip 116 drivers/char/tpm/xen-tpmfront.c static bool vtpm_req_canceled(struct tpm_chip *chip, u8 status) tpm_chip 121 drivers/char/tpm/xen-tpmfront.c static void vtpm_cancel(struct tpm_chip *chip) tpm_chip 134 drivers/char/tpm/xen-tpmfront.c static int vtpm_send(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 176 drivers/char/tpm/xen-tpmfront.c static int vtpm_recv(struct tpm_chip *chip, u8 *buf, size_t count) tpm_chip 236 drivers/char/tpm/xen-tpmfront.c struct tpm_chip *chip; tpm_chip 377 drivers/char/tpm/xen-tpmfront.c struct tpm_chip *chip = dev_get_drvdata(&dev->dev); tpm_chip 29 include/linux/tpm.h struct tpm_chip; tpm_chip 63 include/linux/tpm.h bool (*req_canceled)(struct tpm_chip *chip, u8 status); tpm_chip 64 include/linux/tpm.h int (*recv) (struct tpm_chip *chip, u8 *buf, size_t len); tpm_chip 65 include/linux/tpm.h int (*send) (struct tpm_chip *chip, u8 *buf, size_t len); tpm_chip 66 include/linux/tpm.h void (*cancel) (struct tpm_chip *chip); tpm_chip 67 include/linux/tpm.h u8 (*status) (struct tpm_chip *chip); tpm_chip 68 include/linux/tpm.h void (*update_timeouts)(struct tpm_chip *chip, tpm_chip 70 include/linux/tpm.h int (*go_idle)(struct tpm_chip *chip); tpm_chip 71 include/linux/tpm.h int (*cmd_ready)(struct tpm_chip *chip); tpm_chip 72 include/linux/tpm.h int (*request_locality)(struct tpm_chip *chip, int loc); tpm_chip 73 include/linux/tpm.h int (*relinquish_locality)(struct tpm_chip *chip, int loc); tpm_chip 74 include/linux/tpm.h void (*clk_enable)(struct tpm_chip *chip, bool value); tpm_chip 104 include/linux/tpm.h struct tpm_chip *chip; tpm_chip 166 include/linux/tpm.h extern int tpm_is_tpm2(struct tpm_chip *chip); tpm_chip 167 include/linux/tpm.h extern int tpm_pcr_read(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 169 include/linux/tpm.h extern int tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 171 include/linux/tpm.h extern int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen); tpm_chip 172 include/linux/tpm.h extern int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max); tpm_chip 173 include/linux/tpm.h extern int tpm_seal_trusted(struct tpm_chip *chip, tpm_chip 176 include/linux/tpm.h extern int tpm_unseal_trusted(struct tpm_chip *chip, tpm_chip 179 include/linux/tpm.h extern struct tpm_chip *tpm_default_chip(void); tpm_chip 181 include/linux/tpm.h static inline int tpm_is_tpm2(struct tpm_chip *chip) tpm_chip 186 include/linux/tpm.h static inline int tpm_pcr_read(struct tpm_chip *chip, int pcr_idx, tpm_chip 192 include/linux/tpm.h static inline int tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, tpm_chip 198 include/linux/tpm.h static inline int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen) tpm_chip 202 include/linux/tpm.h static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max) tpm_chip 207 include/linux/tpm.h static inline int tpm_seal_trusted(struct tpm_chip *chip, tpm_chip 213 include/linux/tpm.h static inline int tpm_unseal_trusted(struct tpm_chip *chip, tpm_chip 219 include/linux/tpm.h static inline struct tpm_chip *tpm_default_chip(void) tpm_chip 54 security/integrity/ima/ima.h extern struct tpm_chip *ima_tpm_chip; tpm_chip 25 security/integrity/ima/ima_init.c struct tpm_chip *ima_tpm_chip; tpm_chip 34 security/keys/trusted.c static struct tpm_chip *chip;