Home
last modified time | relevance | path

Searched refs:tpm (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-imx-tpm.c92 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 Dpwm-imx-tpm.c92 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 DMakefile3 # 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 Dtpm_ftpm_tee.h10 #include <linux/tpm.h>
23 * @chip: struct tpm_chip instance registered with tpm framework.
H A Dtpm.h27 #include <linux/tpm.h>
H A Dtpm_tis_spi_main.c33 #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 DMakefile3 # 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 Dtpm_ftpm_tee.h10 #include <linux/tpm.h>
23 * @chip: struct tpm_chip instance registered with tpm framework.
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A DMakefile84 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 Dtpm2_tests.py170 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 Dtpm2.py363 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 Dtpm2_tests.py183 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 Dtpm2.py364 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 Dtrusted-type.h12 #include <linux/tpm.h>
/kernel/linux/linux-6.6/include/keys/
H A Dtrusted-type.h12 #include <linux/tpm.h>
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A DMakefile14 obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A DMakefile14 obj-$(CONFIG_EFI) += efi.o vars.o reboot.o memattr.o tpm.o
/kernel/linux/linux-6.6/drivers/char/tpm/st33zp24/
H A Di2c.c11 #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 Dspi.c11 #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 DMakefile64 lib-y := efi-stub-helper.o gop.o secureboot.o tpm.o \
/kernel/linux/linux-5.10/drivers/char/tpm/st33zp24/
H A Di2c.c14 #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 Dspi.c14 #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 Dtpm_eventlog.h6 #include <linux/tpm.h>
/kernel/linux/linux-6.6/include/linux/
H A Dtpm_eventlog.h6 #include <linux/tpm.h>
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
H A DMakefile70 lib-y := efi-stub-helper.o gop.o secureboot.o tpm.o \

Completed in 10 milliseconds

12