Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/acpi/nfit/
Dcore.c852 struct nfit_idt *nfit_idt; in add_idt() local
857 list_for_each_entry(nfit_idt, &prev->idts, list) { in add_idt()
858 if (sizeof_idt(nfit_idt->idt) != sizeof_idt(idt)) in add_idt()
861 if (memcmp(nfit_idt->idt, idt, sizeof_idt(idt)) == 0) { in add_idt()
862 list_move_tail(&nfit_idt->list, &acpi_desc->idts); in add_idt()
867 nfit_idt = devm_kzalloc(dev, sizeof(*nfit_idt) + sizeof_idt(idt), in add_idt()
869 if (!nfit_idt) in add_idt()
871 INIT_LIST_HEAD(&nfit_idt->list); in add_idt()
872 memcpy(nfit_idt->idt, idt, sizeof_idt(idt)); in add_idt()
873 list_add_tail(&nfit_idt->list, &acpi_desc->idts); in add_idt()
[all …]
Dnfit.h182 struct nfit_idt { struct