Searched refs:call_pkg (Results 1 – 3 of 3) sorted by relevance
405 struct nd_cmd_pkg *call_pkg, int *family) in cmd_to_func() argument407 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() local456 call_pkg = buf; in acpi_nfit_ctl()457 func = cmd_to_func(nfit_mem, cmd, call_pkg, &family); in acpi_nfit_ctl()[all …]
1374 struct nd_cmd_pkg *call_pkg = buf; in nfit_test_ctl() local1376 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() local1524 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 …]
736 struct nd_cmd_pkg *call_pkg = NULL; in papr_scm_ndctl() local771 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()