Searched refs:nfit_memdev (Results 1 – 1 of 1) sorted by relevance
259 NvdimmNfitMemDev *nfit_memdev; in nvdimm_build_structure_memdev() local267 nfit_memdev = acpi_data_push(structures, sizeof(*nfit_memdev)); in nvdimm_build_structure_memdev()269 nfit_memdev->type = cpu_to_le16(1 /* Memory Device to System Address in nvdimm_build_structure_memdev()271 nfit_memdev->length = cpu_to_le16(sizeof(*nfit_memdev)); in nvdimm_build_structure_memdev()272 nfit_memdev->nfit_handle = cpu_to_le32(handle); in nvdimm_build_structure_memdev()278 nfit_memdev->spa_index = cpu_to_le16(nvdimm_slot_to_spa_index(slot)); in nvdimm_build_structure_memdev()280 nfit_memdev->dcr_index = cpu_to_le16(nvdimm_slot_to_dcr_index(slot)); in nvdimm_build_structure_memdev()283 nfit_memdev->region_len = cpu_to_le64(size); in nvdimm_build_structure_memdev()285 nfit_memdev->region_dpa = cpu_to_le64(0); in nvdimm_build_structure_memdev()288 nfit_memdev->interleave_ways = cpu_to_le16(1); in nvdimm_build_structure_memdev()[all …]