Home
last modified time | relevance | path

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

/openbmc/qemu/hw/acpi/
H A Dnvdimm.c543 NvdimmFuncReadFITIn *read_fit; in nvdimm_dsm_func_read_fit() local
549 read_fit = (NvdimmFuncReadFITIn *)in->arg3; in nvdimm_dsm_func_read_fit()
550 read_fit->offset = le32_to_cpu(read_fit->offset); in nvdimm_dsm_func_read_fit()
554 trace_acpi_nvdimm_read_fit(read_fit->offset, fit->len, in nvdimm_dsm_func_read_fit()
557 if (read_fit->offset > fit->len) { in nvdimm_dsm_func_read_fit()
563 if (!read_fit->offset) { in nvdimm_dsm_func_read_fit()
571 read_len = MIN(fit->len - read_fit->offset, in nvdimm_dsm_func_read_fit()
580 memcpy(read_fit_out->fit, fit->data + read_fit->offset, read_len); in nvdimm_dsm_func_read_fit()