Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/nfit/
Dcore.c407 struct nd_cmd_pkg *call_pkg, int *family) in cmd_to_func() argument
409 if (call_pkg) { in cmd_to_func()
412 if (nfit_mem && nfit_mem->family != call_pkg->nd_family) in cmd_to_func()
415 for (i = 0; i < ARRAY_SIZE(call_pkg->nd_reserved2); i++) in cmd_to_func()
416 if (call_pkg->nd_reserved2[i]) in cmd_to_func()
418 *family = call_pkg->nd_family; in cmd_to_func()
419 return call_pkg->nd_command; in cmd_to_func()
445 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, &family); in acpi_nfit_ctl()
[all …]
/linux-6.1.9/tools/testing/nvdimm/test/
Dnfit.c1371 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local
1373 buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; in nfit_test_ctl()
1374 buf = (void *) call_pkg->nd_payload; in nfit_test_ctl()
1375 func = call_pkg->nd_command; in nfit_test_ctl()
1376 if (call_pkg->nd_family != nfit_mem->family) in nfit_test_ctl()
1516 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local
1521 if (cmd == ND_CMD_CALL && call_pkg->nd_family in nfit_test_ctl()
1523 func = call_pkg->nd_command; in nfit_test_ctl()
1524 buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; in nfit_test_ctl()
1525 buf = (void *) call_pkg->nd_payload; in nfit_test_ctl()
[all …]
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dpapr_scm.c1047 struct nd_cmd_pkg *call_pkg = NULL; in papr_scm_ndctl() local
1082 call_pkg = (struct nd_cmd_pkg *)buf; in papr_scm_ndctl()
1083 *cmd_rc = papr_scm_service_pdsm(p, call_pkg); in papr_scm_ndctl()