Home
last modified time | relevance | path

Searched refs:tpm (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/io/tpm/
H A Dtpm.c126 static int itpm_command(tpm_state_t *tpm, uint8_t *buf, size_t bufsiz);
127 static int tpm_get_timeouts(tpm_state_t *tpm);
128 static int tpm_get_duration(tpm_state_t *tpm);
129 static int tpm_get_version(tpm_state_t *tpm);
130 static int tpm_continue_selftest(tpm_state_t *tpm);
303 #define TPM_EXCLUSIVE_LOCK(tpm) { \ argument
304 mutex_enter(&tpm->pm_mutex); \
305 while (tpm->suspended) \
306 cv_wait(&tpm->suspend_cv, &tpm->pm_mutex); \
307 mutex_exit(&tpm->pm_mutex); }
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dtpm_emul_passthru.c38 struct tpm_passthru *tpm; in tpm_passthru_init() local
41 tpm = calloc(1, sizeof(struct tpm_passthru)); in tpm_passthru_init()
42 if (tpm == NULL) { in tpm_passthru_init()
48 tpm->fd = open(path, O_RDWR); in tpm_passthru_init()
49 if (tpm->fd < 0) { in tpm_passthru_init()
54 *sc = tpm; in tpm_passthru_init()
63 struct tpm_passthru *tpm; in tpm_passthru_execute_cmd() local
71 tpm = sc; in tpm_passthru_execute_cmd()
73 len = write(tpm->fd, cmd, cmd_size); in tpm_passthru_execute_cmd()
80 len = read(tpm->fd, rsp, rsp_size); in tpm_passthru_execute_cmd()
[all …]
H A Dtpm_device.c50 const struct tpm_device *const tpm = acpi_device_get_softc(dev); in tpm_build_acpi_table() local
52 if (tpm->intf->build_acpi_table == NULL) { in tpm_build_acpi_table()
56 return (tpm->intf->build_acpi_table(tpm->intf_sc, tpm->vm_ctx)); in tpm_build_acpi_table()
64 const struct tpm_device *const tpm = acpi_device_get_softc(dev); in tpm_write_dsdt() local
65 const struct tpm_ppi *const ppi = tpm->ppi; in tpm_write_dsdt()
74 error = ppi->write_dsdt_regions(tpm->ppi_sc); in tpm_write_dsdt()
93 error = ppi->write_dsdt_dsm(tpm->ppi_sc); in tpm_write_dsdt()
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-crypto-tpm.p5m32 set name=pkg.fmri value=pkg:/driver/crypto/tpm@$(PKGVERS)
41 $(i386_ONLY)file path=kernel/drv/$(ARCH64)/tpm group=sys
42 $(i386_ONLY)driver name=tpm perms="* 0600 root sys" \
43 devlink=type=ddi_pseudo;name=tpm\t\D
/illumos-gate/usr/src/uts/intel/tpm/
H A DMakefile32 MODULE = tpm
/illumos-gate/usr/src/test/crypto-tests/runfiles/
H A Ddefault.run23 # Unfortunately, if the tpm based PKCS11 library is present, libtspi will make
/illumos-gate/usr/src/uts/intel/
H A DMakefile.intel338 DRV_KMODS += tpm
/illumos-gate/usr/src/uts/common/
H A DMakefile.rules1712 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/tpm/%.c
1716 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/tpm/%.S
H A DMakefile.files2234 TPM_OBJS = tpm.o tpm_hcall.o
/illumos-gate/exception_lists/
H A Dcstyle1245 usr/src/cmd/bhyve/tpm*