tpm_cr50_check_locality(9)
π tpm_cr50_check_locality(9) β the Kernel API Manual glow-up
okay so bestie, welcome to tpm_cr50_check_locality(9) β¨ this is the kernel API page for it, and honestly? it's a little one but it's doing its job and we respect it π«Ά
πΈ NAME πΈ
tpm_cr50_check_locality β literally just verifying that the TPM locality you need is actually active. that's the whole vibe check π
π¦ SYNOPSIS π¦
int tpm_cr50_check_locality (struct tpm_chip *chip , int loc );
no cap, that's the whole signature. she's compact π
π ARGUMENTS π
chipβ a TPM chip. that's it, that's the whole description, she's a chip and we love her π§locβ the locality you want verified. like, "is this locality active or not" energy β
π₯ RETURN π₯
here's what you get back, and it's giving two options only π
locβ Success. yes, it returns the locality value itself on success, iconic behaviour fr fr π-errnoβ a POSIX error code. the classic "something's off" situation π
π SEE ALSO π
the whole friend group, iykyk π
kernel file ./drivers/char/tpm/tpm_tis_i2c_cr50.c and the struct tpm_i2c_cr50_priv_data(9) β plus literally all of these:
tpm_cr50_i2c_int_handler(9)tpm_cr50_i2c_wait_tpm_ready(9)tpm_cr50_i2c_enable_tpm_irq(9)tpm_cr50_i2c_disable_tpm_irq(9)tpm_cr50_i2c_transfer_message(9)tpm_cr50_i2c_read(9)tpm_cr50_i2c_write(9)tpm_cr50_release_locality(9)tpm_cr50_request_locality(9)tpm_cr50_i2c_tis_status(9)tpm_cr50_i2c_tis_set_ready(9)tpm_cr50_i2c_get_burst_and_status(9)tpm_cr50_i2c_tis_recv(9)tpm_cr50_i2c_tis_send(9)tpm_cr50_i2c_req_canceled(9)tpm_cr50_vid_to_name(9)tpm_cr50_i2c_probe(9)tpm_cr50_i2c_remove(9)
like, the whole squad showed up to the function's birthday party ππ
π‘ friendly reminder:locin the RETURN section means the locality value coming back at you β don't get it twisted with thelocargument, they're the same name but she's wearing two different outfits okay π
and that's the page!! this one lives under ./drivers/char/tpm, dated October 2026, and it's the tpm_cr50_check_locality(9) manual page β periodt. go check those localities, bestie, you got this π¦β¨π
π¦ 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