tpmm_chip_alloc(9)
tpmm_chip_alloc(9) β Kernel API Manual π
πΈ NAME πΈ
tpmm_chip_alloc β allocate a new struct tpm_chip instance. That's the assignment, bestie. π
β¨ SYNOPSIS β¨
struct tpm_chip * tpmm_chip_alloc (struct device *pdev , const struct
tpm_class_ops *ops );
no cap, that's the whole signature. π
π ARGUMENTS π
pdevβ the parent device to which the chip is associated. It's giving "who's your parent device" energy. π«Άopsβ astruct tpm_class_opsinstance. Literally the ops, handed over. π
π¦ DESCRIPTION π¦
Okay so this is the same as tpm_chip_alloc β no cap β except devm is used to do the put_device. The way that devm is the one doing the put_device? iconic. That's the plot, periodt. β¨
π SEE ALSO π
Kernel file ./drivers/char/tpm/tpm-chip.c is main character energy. Also go check out tpm_chip_start(9), tpm_chip_stop(9), tpm_try_get_ops(9), tpm_put_ops(9), tpm_default_chip(9), tpm_dev_release(9), tpm_class_shutdown(9), and tpm_chip_alloc(9). iykyk π
okay bye bestie β source/version is ./drivers/char/tpm, dated October 2026, and this page is tpmm_chip_alloc(9). πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms