Lines Matching full:tpm
40 #include <dev/tpm/tpmvar.h>
144 .d_name = "tpm",
190 * FreeBSD specific code for probing and attaching TPM to device tree.
196 BUS_ADD_CHILD(parent, ISA_ORDER_SPECULATIVE, "tpm", 0);
241 if ((sc->sc_init)(sc, irq, "tpm")) { in tpm_attach()
255 UID_ROOT, GID_WHEEL, 0600, "tpm"); in tpm_attach()
287 /* Probe TPM using TIS 1.2 interface. */
299 printf("tpm: caps=%b\n", r, TPM_CAPBITS); in tpm_tis12_probe()
304 printf("tpm: caps too low (caps=%b)\n", r, TPM_CAPBITS); in tpm_tis12_probe()
357 /* Setup TPM using TIS 1.2 interface. */
495 /* Save TPM state on suspend. */
575 * Enable interrupt on tpm chip. Note that interrupts on our in tpm_waitfor_int()
576 * level (SPL_TTY) are disabled (see tpm{read,write} et al) and in tpm_waitfor_int()
588 * and enabling interrupts on the tpm chip. in tpm_waitfor_int()
603 * generated by the tpm chip while being at SPL_TTY are not lost in tpm_waitfor_int()
616 /* Disable interrupts on tpm chip again. */ in tpm_waitfor_int()
644 * the tpm chips supports them) as waiting for those can take in tpm_waitfor()
968 /* Probe for TPM using legacy interface. */
1013 /* Setup TPM using legacy interface. */
1021 printf(": cannot map tpm registers (%d)\n", i); in tpm_legacy_init()