Home
last modified time | relevance | path

Searched refs:reportdata (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/virt/coco/tdx-guest/
Dtdx-guest.c23 u8 *reportdata, *tdreport; in tdx_get_report0() local
26 reportdata = kmalloc(TDX_REPORTDATA_LEN, GFP_KERNEL); in tdx_get_report0()
27 if (!reportdata) in tdx_get_report0()
36 if (copy_from_user(reportdata, req->reportdata, TDX_REPORTDATA_LEN)) { in tdx_get_report0()
42 ret = tdx_mcall_get_report0(reportdata, tdreport); in tdx_get_report0()
50 kfree(reportdata); in tdx_get_report0()
/linux-6.6.21/tools/testing/selftests/tdx/
Dtdx_guest_test.c60 __u8 reportdata[64]; member
142 req.reportdata[i] = i; in TEST()
149 req.reportdata, sizeof(req.reportdata)); in TEST()
157 ASSERT_EQ(0, memcmp(&tdreport->reportmac.reportdata[0], in TEST()
158 req.reportdata, sizeof(req.reportdata))); in TEST()
/linux-6.6.21/tools/testing/selftests/hid/tests/
Dtest_wacom_generic.py61 def fill(self, reportdata): argument
63 reportdata.inrange = self in [ProximityState.IN_RANGE]
64 reportdata.wacomsense = self in [
97 def fill(self, reportdata): argument
99 reportdata.barrelswitch = int(self.primary or 0)
100 reportdata.secondarybarrelswitch = int(self.secondary or 0)
101 reportdata.b3 = int(self.tertiary or 0)
122 def fill(self, reportdata): argument
124 reportdata.transducerserialnumber = self.serial & 0xFFFFFFFF
125 reportdata.serialhi = (self.serial >> 32) & 0xFFFFFFFF
[all …]
/linux-6.6.21/include/uapi/linux/
Dtdx-guest.h29 __u8 reportdata[TDX_REPORTDATA_LEN]; member
/linux-6.6.21/arch/x86/include/asm/
Dtdx.h53 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport);
/linux-6.6.21/arch/x86/coco/tdx/
Dtdx.c91 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport) in tdx_mcall_get_report0() argument
96 virt_to_phys(reportdata), TDREPORT_SUBTYPE_0, in tdx_mcall_get_report0()