Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/acpi/nfit/
Dcore.c733 struct nfit_memdev *nfit_memdev; in add_memdev() local
738 list_for_each_entry(nfit_memdev, &prev->memdevs, list) in add_memdev()
739 if (memcmp(nfit_memdev->memdev, memdev, sizeof(*memdev)) == 0) { in add_memdev()
740 list_move_tail(&nfit_memdev->list, &acpi_desc->memdevs); in add_memdev()
744 nfit_memdev = devm_kzalloc(dev, sizeof(*nfit_memdev) + sizeof(*memdev), in add_memdev()
746 if (!nfit_memdev) in add_memdev()
748 INIT_LIST_HEAD(&nfit_memdev->list); in add_memdev()
749 memcpy(nfit_memdev->memdev, memdev, sizeof(*memdev)); in add_memdev()
750 list_add_tail(&nfit_memdev->list, &acpi_desc->memdevs); in add_memdev()
1006 struct nfit_memdev *nfit_memdev; in __nfit_mem_init() local
[all …]
Dnfit.h192 struct nfit_memdev { struct