Home
last modified time | relevance | path

Searched refs:call_pkg (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/acpi/nfit/
Dcore.c402 struct nd_cmd_pkg *call_pkg = NULL; in acpi_nfit_ctl() local
415 call_pkg = buf; in acpi_nfit_ctl()
416 func = call_pkg->nd_command; in acpi_nfit_ctl()
418 for (i = 0; i < ARRAY_SIZE(call_pkg->nd_reserved2); i++) in acpi_nfit_ctl()
419 if (call_pkg->nd_reserved2[i]) in acpi_nfit_ctl()
428 if (call_pkg && nfit_mem->family != call_pkg->nd_family) in acpi_nfit_ctl()
470 if (call_pkg) { in acpi_nfit_ctl()
472 in_buf.buffer.pointer = (void *) &call_pkg->nd_payload; in acpi_nfit_ctl()
473 in_buf.buffer.length = call_pkg->nd_size_in; in acpi_nfit_ctl()
510 if (call_pkg) { in acpi_nfit_ctl()
[all …]
/Linux-v4.19/tools/testing/nvdimm/test/
Dnfit.c968 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local
970 buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; in nfit_test_ctl()
971 buf = (void *) call_pkg->nd_payload; in nfit_test_ctl()
972 func = call_pkg->nd_command; in nfit_test_ctl()
973 if (call_pkg->nd_family != nfit_mem->family) in nfit_test_ctl()
1063 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local
1069 func = call_pkg->nd_command; in nfit_test_ctl()
1071 buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; in nfit_test_ctl()
1072 buf = (void *) call_pkg->nd_payload; in nfit_test_ctl()