Lines Matching refs:call_pkg
407 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()
481 if (cmd == ND_CMD_CALL && call_pkg->nd_family) { in acpi_nfit_ctl()
482 family = call_pkg->nd_family; in acpi_nfit_ctl()
524 if (call_pkg) { in acpi_nfit_ctl()
526 in_buf.buffer.pointer = (void *) &call_pkg->nd_payload; in acpi_nfit_ctl()
527 in_buf.buffer.length = call_pkg->nd_size_in; in acpi_nfit_ctl()
580 if (call_pkg) { in acpi_nfit_ctl()
581 call_pkg->nd_fw_size = out_obj->buffer.length; in acpi_nfit_ctl()
582 memcpy(call_pkg->nd_payload + call_pkg->nd_size_in, in acpi_nfit_ctl()
584 min(call_pkg->nd_fw_size, call_pkg->nd_size_out)); in acpi_nfit_ctl()
3194 struct nd_cmd_pkg *call_pkg = buf; in acpi_nfit_clear_to_send() local
3198 call_pkg->nd_family == NVDIMM_FAMILY_INTEL) { in acpi_nfit_clear_to_send()
3199 func = call_pkg->nd_command; in acpi_nfit_clear_to_send()
3207 call_pkg->nd_family != NVDIMM_BUS_FAMILY_NFIT) in acpi_nfit_clear_to_send()