/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | pwm-imx-tpm.c | 92 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); in pwm_imx_tpm_round_state() local 96 rate = clk_get_rate(tpm->clk); in pwm_imx_tpm_round_state() 139 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); in pwm_imx_tpm_get_state() local 144 state->period = tpm->real_period; in pwm_imx_tpm_get_state() 147 rate = clk_get_rate(tpm->clk); in pwm_imx_tpm_get_state() 148 val = readl(tpm->base + PWM_IMX_TPM_SC); in pwm_imx_tpm_get_state() 150 tmp = readl(tpm->base + PWM_IMX_TPM_CnV(pwm->hwpwm)); in pwm_imx_tpm_get_state() 155 val = readl(tpm->base + PWM_IMX_TPM_CnSC(pwm->hwpwm)); in pwm_imx_tpm_get_state() 175 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); in pwm_imx_tpm_apply_hw() local 182 if (state->period != tpm in pwm_imx_tpm_apply_hw() 292 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); pwm_imx_tpm_apply() local 310 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); pwm_imx_tpm_request() local 321 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); pwm_imx_tpm_free() local 338 struct imx_tpm_pwm_chip *tpm; pwm_imx_tpm_probe() local 391 struct imx_tpm_pwm_chip *tpm = platform_get_drvdata(pdev); pwm_imx_tpm_remove() local 401 struct imx_tpm_pwm_chip *tpm = dev_get_drvdata(dev); pwm_imx_tpm_suspend() local 420 struct imx_tpm_pwm_chip *tpm = dev_get_drvdata(dev); pwm_imx_tpm_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/pwm/ |
H A D | pwm-imx-tpm.c | 92 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); in pwm_imx_tpm_round_state() local 96 rate = clk_get_rate(tpm->clk); in pwm_imx_tpm_round_state() 139 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); in pwm_imx_tpm_get_state() local 144 state->period = tpm->real_period; in pwm_imx_tpm_get_state() 147 rate = clk_get_rate(tpm->clk); in pwm_imx_tpm_get_state() 148 val = readl(tpm->base + PWM_IMX_TPM_SC); in pwm_imx_tpm_get_state() 150 tmp = readl(tpm->base + PWM_IMX_TPM_CnV(pwm->hwpwm)); in pwm_imx_tpm_get_state() 155 val = readl(tpm->base + PWM_IMX_TPM_CnSC(pwm->hwpwm)); in pwm_imx_tpm_get_state() 177 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); in pwm_imx_tpm_apply_hw() local 184 if (state->period != tpm in pwm_imx_tpm_apply_hw() 294 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); pwm_imx_tpm_apply() local 312 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); pwm_imx_tpm_request() local 323 struct imx_tpm_pwm_chip *tpm = to_imx_tpm_pwm_chip(chip); pwm_imx_tpm_free() local 340 struct imx_tpm_pwm_chip *tpm; pwm_imx_tpm_probe() local 386 struct imx_tpm_pwm_chip *tpm = platform_get_drvdata(pdev); pwm_imx_tpm_remove() local 395 struct imx_tpm_pwm_chip *tpm = dev_get_drvdata(dev); pwm_imx_tpm_suspend() local 414 struct imx_tpm_pwm_chip *tpm = dev_get_drvdata(dev); pwm_imx_tpm_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | Makefile | 3 # Makefile for the kernel tpm device drivers. 5 obj-$(CONFIG_TCG_TPM) += tpm.o 6 tpm-y := tpm-chip.o 7 tpm-y += tpm-dev-common.o 8 tpm-y += tpm-dev.o 9 tpm-y += tpm [all...] |
H A D | tpm_ftpm_tee.h | 10 #include <linux/tpm.h> 23 * @chip: struct tpm_chip instance registered with tpm framework.
|
H A D | tpm.h | 27 #include <linux/tpm.h>
|
H A D | tpm_tis_spi_main.c | 33 #include <linux/tpm.h> 35 #include "tpm.h" 46 * [1] https://trustedcomputinggroup.org/resource/pc-client-platform-tpm-profile-ptp-specification/
|
/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | Makefile | 3 # Makefile for the kernel tpm device drivers. 5 obj-$(CONFIG_TCG_TPM) += tpm.o 6 tpm-y := tpm-chip.o 7 tpm-y += tpm-dev-common.o 8 tpm-y += tpm-dev.o 9 tpm-y += tpm [all...] |
H A D | tpm_ftpm_tee.h | 10 #include <linux/tpm.h> 23 * @chip: struct tpm_chip instance registered with tpm framework.
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | Makefile | 84 tpm.asn1.o \ 87 $(obj)/tpm_parser.o: $(obj)/tpm.asn1.h 88 $(obj)/tpm.asn1.o: $(obj)/tpm.asn1.c $(obj)/tpm.asn1.h
|
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/ |
H A D | tpm2_tests.py | 170 self.client.tpm.write(cmd) 171 hdr = self.client.tpm.read(10) 173 rsp = self.client.tpm.read() 187 self.client.tpm.write(cmd) 189 rsp1 = self.client.tpm.read(15) 192 self.client.tpm.write(cmd) 195 rsp2 = self.client.tpm.read() 210 self.client.tpm.write(cmd) 213 self.client.tpm.write(cmd) 214 rsp = self.client.tpm [all...] |
H A D | tpm2.py | 363 self.tpm = open('/dev/tpm0', 'r+b', buffering=0) 365 self.tpm = open('/dev/tpmrm0', 'r+b', buffering=0) 368 flags = fcntl.fcntl(self.tpm, fcntl.F_GETFL) 370 fcntl.fcntl(self.tpm, fcntl.F_SETFL, flags) 374 if self.tpm: 375 self.tpm.close() 378 self.tpm.close() 381 self.tpm.write(cmd) 384 self.tpm_poll.register(self.tpm, select.POLLIN) 387 rsp = self.tpm [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/tpm2/ |
H A D | tpm2_tests.py | 183 self.client.tpm.write(cmd) 184 hdr = self.client.tpm.read(10) 186 rsp = self.client.tpm.read() 200 self.client.tpm.write(cmd) 202 rsp1 = self.client.tpm.read(15) 205 self.client.tpm.write(cmd) 208 rsp2 = self.client.tpm.read() 223 self.client.tpm.write(cmd) 226 self.client.tpm.write(cmd) 227 rsp = self.client.tpm [all...] |
H A D | tpm2.py | 364 self.tpm = open('/dev/tpm0', 'r+b', buffering=0) 366 self.tpm = open('/dev/tpmrm0', 'r+b', buffering=0) 369 flags = fcntl.fcntl(self.tpm, fcntl.F_GETFL) 371 fcntl.fcntl(self.tpm, fcntl.F_SETFL, flags) 375 if self.tpm: 376 self.tpm.close() 379 self.tpm.close() 382 self.tpm.write(cmd) 385 self.tpm_poll.register(self.tpm, select.POLLIN) 388 rsp = self.tpm [all...] |
/kernel/linux/linux-5.10/include/keys/ |
H A D | trusted-type.h | 12 #include <linux/tpm.h>
|
/kernel/linux/linux-6.6/include/keys/ |
H A D | trusted-type.h | 12 #include <linux/tpm.h>
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | Makefile | 14 obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | Makefile | 14 obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o
|
/kernel/linux/linux-6.6/drivers/char/tpm/st33zp24/ |
H A D | i2c.c | 11 #include <linux/tpm.h> 13 #include "../tpm.h" 26 * @param: tpm_register, the tpm tis register where the data should be written 43 * @param: tpm_register, the tpm tis register where the data should be read 45 * @param: tpm_size, tpm TPM response size to read. 65 * @param: tpm_register, the tpm tis register where the data should be written 81 * @param: tpm_register, the tpm tis register where the data should be read 83 * @param: tpm_size, tpm TPM response size to read.
|
H A D | spi.c | 11 #include <linux/tpm.h> 13 #include "../tpm.h" 91 * @param: tpm_register, the tpm tis register where the data should be written 134 * @param: tpm_register, the tpm tis register where the data should be read 136 * @param: tpm_size, tpm TPM response size to read. 175 * @param: tpm_register, the tpm tis register where the data should be read 177 * @param: tpm_size, tpm TPM response size to read.
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | Makefile | 64 lib-y := efi-stub-helper.o gop.o secureboot.o tpm.o \
|
/kernel/linux/linux-5.10/drivers/char/tpm/st33zp24/ |
H A D | i2c.c | 14 #include <linux/tpm.h> 17 #include "../tpm.h" 31 * @param: tpm_register, the tpm tis register where the data should be written 48 * @param: tpm_register, the tpm tis register where the data should be read 50 * @param: tpm_size, tpm TPM response size to read. 70 * @param: tpm_register, the tpm tis register where the data should be written 86 * @param: tpm_register, the tpm tis register where the data should be read 88 * @param: tpm_size, tpm TPM response size to read.
|
H A D | spi.c | 14 #include <linux/tpm.h> 17 #include "../tpm.h" 96 * @param: tpm_register, the tpm tis register where the data should be written 139 * @param: tpm_register, the tpm tis register where the data should be read 141 * @param: tpm_size, tpm TPM response size to read. 180 * @param: tpm_register, the tpm tis register where the data should be read 182 * @param: tpm_size, tpm TPM response size to read.
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | tpm_eventlog.h | 6 #include <linux/tpm.h>
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | tpm_eventlog.h | 6 #include <linux/tpm.h>
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | Makefile | 70 lib-y := efi-stub-helper.o gop.o secureboot.o tpm.o \
|