Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/acpi/nfit/
Dcore.c783 struct nfit_dcr *nfit_dcr; in add_dcr() local
788 list_for_each_entry(nfit_dcr, &prev->dcrs, list) in add_dcr()
789 if (memcmp(nfit_dcr->dcr, dcr, sizeof_dcr(dcr)) == 0) { in add_dcr()
790 list_move_tail(&nfit_dcr->list, &acpi_desc->dcrs); in add_dcr()
794 nfit_dcr = devm_kzalloc(dev, sizeof(*nfit_dcr) + sizeof(*dcr), in add_dcr()
796 if (!nfit_dcr) in add_dcr()
798 INIT_LIST_HEAD(&nfit_dcr->list); in add_dcr()
799 memcpy(nfit_dcr->dcr, dcr, sizeof_dcr(dcr)); in add_dcr()
800 list_add_tail(&nfit_dcr->list, &acpi_desc->dcrs); in add_dcr()
1080 struct nfit_dcr *nfit_dcr; in __nfit_mem_init() local
[all …]
Dnfit.h150 struct nfit_dcr { struct