Lines Matching full:ppi
39 struct tpm_ppi *ppi; member
61 const struct tpm_ppi *const ppi = tpm->ppi; in tpm_write_dsdt() local
69 if (ppi->write_dsdt_regions) { in tpm_write_dsdt()
70 error = ppi->write_dsdt_regions(tpm->ppi_sc); in tpm_write_dsdt()
72 warnx("%s: failed to write ppi dsdt regions\n", in tpm_write_dsdt()
88 if (ppi->write_dsdt_dsm) { in tpm_write_dsdt()
89 error = ppi->write_dsdt_dsm(tpm->ppi_sc); in tpm_write_dsdt()
91 warnx("%s: failed to write ppi dsdt dsm\n", __func__); in tpm_write_dsdt()
114 if (dev->ppi != NULL && dev->ppi->deinit != NULL) in tpm_device_destroy()
115 dev->ppi->deinit(dev->ppi_sc); in tpm_device_destroy()
142 set_config_value_node_if_unset(nvl, "ppi", "qemu"); in tpm_device_create()
206 value = get_config_value_node(nvl, "ppi"); in tpm_device_create()
211 dev->ppi = *pp_ppi; in tpm_device_create()
214 if (dev->ppi == NULL) { in tpm_device_create()
215 warnx("TPM PPI \"%s\" not found\n", value); in tpm_device_create()
220 if (dev->ppi->init) { in tpm_device_create()
221 error = dev->ppi->init(&dev->ppi_sc); in tpm_device_create()