drivers/char/tpm/tpm_tis.c
Source file repositories/reference/linux-study-clean/drivers/char/tpm/tpm_tis.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/char/tpm/tpm_tis.c- Extension
.c- Size
- 10520 bytes
- Lines
- 436
- Domain
- Driver Families
- Bucket
- drivers/char
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/module.hlinux/moduleparam.hlinux/pnp.hlinux/slab.hlinux/interrupt.hlinux/wait.hlinux/acpi.hlinux/freezer.hlinux/of.hlinux/kernel.htpm.htpm_tis_core.h
Detected Declarations
struct tpm_infostruct tpm_tis_tcg_phyfunction tpm_tis_flushfunction tpm_tis_iowrite8function tpm_tis_iowrite32function has_hidfunction is_itpmfunction is_itpmfunction check_acpi_tpm2function check_acpi_tpm2function tpm_tcg_read_bytesfunction tpm_tcg_write_bytesfunction tpm_tis_initfunction tpm_tis_pnp_initfunction tpm_tis_pnp_removefunction tpm_tis_plat_probefunction tpm_tis_plat_removefunction tpm_tis_force_devicefunction init_tisfunction cleanup_tismodule init init_tis
Annotated Snippet
module_init(init_tis);
module_exit(cleanup_tis);
MODULE_AUTHOR("Leendert van Doorn <leendert@watson.ibm.com>");
MODULE_DESCRIPTION("TPM Driver");
MODULE_VERSION("2.0");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/init.h`, `linux/module.h`, `linux/moduleparam.h`, `linux/pnp.h`, `linux/slab.h`, `linux/interrupt.h`, `linux/wait.h`, `linux/acpi.h`.
- Detected declarations: `struct tpm_info`, `struct tpm_tis_tcg_phy`, `function tpm_tis_flush`, `function tpm_tis_iowrite8`, `function tpm_tis_iowrite32`, `function has_hid`, `function is_itpm`, `function is_itpm`, `function check_acpi_tpm2`, `function check_acpi_tpm2`.
- Atlas domain: Driver Families / drivers/char.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.