Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/acpi/nfit/
Dcore.c409 struct nd_cmd_pkg *call_pkg) in cmd_to_func() argument
411 if (call_pkg) { in cmd_to_func()
414 if (nfit_mem && nfit_mem->family != call_pkg->nd_family) in cmd_to_func()
417 for (i = 0; i < ARRAY_SIZE(call_pkg->nd_reserved2); i++) in cmd_to_func()
418 if (call_pkg->nd_reserved2[i]) in cmd_to_func()
420 return call_pkg->nd_command; in cmd_to_func()
446 struct nd_cmd_pkg *call_pkg = NULL; in acpi_nfit_ctl() local
458 call_pkg = buf; in acpi_nfit_ctl()
459 func = cmd_to_func(nfit_mem, cmd, call_pkg); in acpi_nfit_ctl()
512 if (call_pkg) { in acpi_nfit_ctl()
[all …]
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c1216 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local
1218 buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; in nfit_test_ctl()
1219 buf = (void *) call_pkg->nd_payload; in nfit_test_ctl()
1220 func = call_pkg->nd_command; in nfit_test_ctl()
1221 if (call_pkg->nd_family != nfit_mem->family) in nfit_test_ctl()
1351 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local
1357 func = call_pkg->nd_command; in nfit_test_ctl()
1359 buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; in nfit_test_ctl()
1360 buf = (void *) call_pkg->nd_payload; in nfit_test_ctl()