Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/acpi/nfit/
Dcore.c405 struct nd_cmd_pkg *call_pkg, int *family) in cmd_to_func() argument
407 if (call_pkg) { in cmd_to_func()
410 if (nfit_mem && nfit_mem->family != call_pkg->nd_family) in cmd_to_func()
413 for (i = 0; i < ARRAY_SIZE(call_pkg->nd_reserved2); i++) in cmd_to_func()
414 if (call_pkg->nd_reserved2[i]) in cmd_to_func()
416 *family = call_pkg->nd_family; in cmd_to_func()
417 return call_pkg->nd_command; in cmd_to_func()
443 struct nd_cmd_pkg *call_pkg = NULL; in acpi_nfit_ctl() local
456 call_pkg = buf; in acpi_nfit_ctl()
457 func = cmd_to_func(nfit_mem, cmd, call_pkg, &family); in acpi_nfit_ctl()
[all …]
/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c1374 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local
1376 buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; in nfit_test_ctl()
1377 buf = (void *) call_pkg->nd_payload; in nfit_test_ctl()
1378 func = call_pkg->nd_command; in nfit_test_ctl()
1379 if (call_pkg->nd_family != nfit_mem->family) in nfit_test_ctl()
1519 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local
1524 if (cmd == ND_CMD_CALL && call_pkg->nd_family in nfit_test_ctl()
1526 func = call_pkg->nd_command; in nfit_test_ctl()
1527 buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; in nfit_test_ctl()
1528 buf = (void *) call_pkg->nd_payload; in nfit_test_ctl()
[all …]
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dpapr_scm.c736 struct nd_cmd_pkg *call_pkg = NULL; in papr_scm_ndctl() local
771 call_pkg = (struct nd_cmd_pkg *)buf; in papr_scm_ndctl()
772 *cmd_rc = papr_scm_service_pdsm(p, call_pkg); in papr_scm_ndctl()