Home
last modified time | relevance | path

Searched refs:tsm (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/pci/
H A Dtsm.c33 static const struct pci_tsm_ops *to_pci_tsm_ops(struct pci_tsm *tsm) in to_pci_tsm_ops() argument
35 return tsm->tsm_dev->pci_ops; in to_pci_tsm_ops()
40 return pdev->tsm && pdev->tsm->dsm_dev == pdev; in is_dsm()
49 static struct pci_tsm_pf0 *to_pci_tsm_pf0(struct pci_tsm *tsm) in to_pci_tsm_pf0() argument
56 struct pci_dev *pf0 = tsm->dsm_dev; in to_pci_tsm_pf0()
59 pci_WARN_ONCE(tsm->pdev, 1, "invalid context object\n"); in to_pci_tsm_pf0()
63 return container_of(pf0->tsm, struct pci_tsm_pf0, base_tsm); in to_pci_tsm_pf0()
66 static void tsm_remove(struct pci_tsm *tsm) in tsm_remove() argument
70 if (!tsm) in tsm_remove()
73 pdev = tsm->pdev; in tsm_remove()
[all …]
H A DMakefile38 obj-$(CONFIG_PCI_TSM) += tsm.o
/linux/drivers/crypto/ccp/
H A Dsev-dev-tsm.c33 #define pdev_to_tio_dsm(pdev) (container_of((pdev)->tsm, struct tio_dsm, tsm.base_tsm))
49 ret = pci_doe(dsm->tsm.doe_mb, PCI_VENDOR_ID_PCI_SIG, ret, in sev_tio_spdm_cmd()
229 rc = pci_tsm_pf0_constructor(pdev, &dsm->tsm, sev->tsmdev); in tio_pf0_probe()
235 return &no_free_ptr(dsm)->tsm.base_tsm; in tio_pf0_probe()
247 static void dsm_remove(struct pci_tsm *tsm) in dsm_remove() argument
249 struct pci_dev *pdev = tsm->pdev; in dsm_remove()
254 struct tio_dsm *dsm = container_of(tsm, struct tio_dsm, tsm.base_tsm); in dsm_remove()
256 pci_tsm_pf0_destructor(&dsm->tsm); in dsm_remove()
263 struct pci_dev *pdev = dsm->tsm.base_tsm.pdev; in dsm_create()
288 PCI_DOE_FEATURE_SSESSION) != dsm->tsm.doe_mb) { in dsm_connect()
H A DMakefile20 ccp-$(CONFIG_CRYPTO_DEV_SP_PSP) += sev-dev-tsm.o sev-dev-tio.o
H A Dsev-dev-tio.h58 struct pci_tsm_pf0 tsm; member
/linux/include/linux/
H A Dpci-tsm.h50 void (*remove)(struct pci_tsm *tsm);
76 void (*unlock)(struct pci_tsm *tsm);
205 int pci_tsm_link_constructor(struct pci_dev *pdev, struct pci_tsm *tsm,
207 int pci_tsm_pf0_constructor(struct pci_dev *pdev, struct pci_tsm_pf0 *tsm,
209 void pci_tsm_pf0_destructor(struct pci_tsm_pf0 *tsm);
H A Dpci.h558 struct pci_tsm *tsm; /* TSM operation state */ member
/linux/Documentation/ABI/testing/
H A Dconfigfs-tsm-report1 What: /sys/kernel/config/tsm/report/$name/inblob
10 What: /sys/kernel/config/tsm/report/$name/outblob
20 What: /sys/kernel/config/tsm/report/$name/auxblob
34 What: /sys/kernel/config/tsm/report/$name/manifestblob
46 What: /sys/kernel/config/tsm/report/$name/provider
64 What: /sys/kernel/config/tsm/report/$name/generation
76 What: /sys/kernel/config/tsm/report/$name/privlevel
88 What: /sys/kernel/config/tsm/report/$name/privlevel_floor
96 What: /sys/kernel/config/tsm/report/$name/service_provider
113 What: /sys/kernel/config/tsm/report/$name/service_guid
[all …]
H A Dsysfs-class-tsm1 What: /sys/class/tsm/tsmN
6 platform enumerated TSM device. /sys/class/tsm/tsmN/uevent
9 through a platform tsm.
11 What: /sys/class/tsm/tsmN/streamH.R.E
H A Dsysfs-bus-pci625 What: /sys/bus/pci/devices/.../tsm/
633 the /sys/class/tsm/tsm0 device arrives can tools assume that
634 devices without a tsm/ attribute directory will never have one;
637 Documentation/ABI/testing/sysfs-class-tsm.
639 What: /sys/bus/pci/devices/.../tsm/connect
643 /sys/class/tsm to this file to establish a connection with the
652 What: /sys/bus/pci/devices/.../tsm/disconnect
658 What: /sys/bus/pci/devices/.../tsm/dsm
666 populate this tsm/dsm attribute. The managed functions of a DSM
672 Documentation/ABI/testing/sysfs-class-tsm.
[all …]
/linux/Documentation/driver-api/coco/
H A Dmeasurement-registers.rst8 .. kernel-doc:: include/linux/tsm-mr.h
11 .. kernel-doc:: drivers/virt/coco/guest/tsm-mr.c
/linux/Documentation/driver-api/pci/
H A Dtsm.rst17 .. kernel-doc:: include/linux/pci-tsm.h
20 .. kernel-doc:: drivers/pci/tsm.c
H A Dindex.rst13 tsm
/linux/drivers/virt/coco/
H A Dtsm-core.c115 struct pci_tsm *tsm = pdev->tsm; in tsm_ide_stream_register() local
116 struct tsm_dev *tsm_dev = tsm->tsm_dev; in tsm_ide_stream_register()
H A DMakefile10 obj-$(CONFIG_TSM) += tsm-core.o
/linux/drivers/virt/coco/guest/
H A Dreport.c511 struct config_group *tsm; in tsm_report_init() local
519 tsm = configfs_register_default_group(root, "report", in tsm_report_init()
521 if (IS_ERR(tsm)) { in tsm_report_init()
523 return PTR_ERR(tsm); in tsm_report_init()
525 tsm_report_group = tsm; in tsm_report_init()
H A DMakefile4 obj-$(CONFIG_TSM_MEASUREMENTS) += tsm-mr.o
/linux/arch/arc/boot/dts/
H A Dabilis_tb10x.dtsi192 tb10x_tsm: tb10x-tsm@ff316000 {
193 compatible = "abilis,tb100-tsm";
/linux/samples/
H A DMakefile47 obj-$(CONFIG_SAMPLE_TSM_MR) += tsm-mr/
H A DKconfig196 The module name will be tsm-mr-sample when built as a module.
/linux/
H A DMAINTAINERS26523 F: Documentation/ABI/testing/configfs-tsm-report
26525 F: Documentation/driver-api/pci/tsm.rst
26526 F: drivers/pci/tsm.c
26528 F: include/linux/*tsm*.h
26529 F: samples/tsm-mr/