Searched refs:nfit_dcr (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/acpi/nfit/ |
D | core.c | 804 struct nfit_dcr *nfit_dcr; in add_dcr() local 809 list_for_each_entry(nfit_dcr, &prev->dcrs, list) in add_dcr() 810 if (memcmp(nfit_dcr->dcr, dcr, sizeof_dcr(dcr)) == 0) { in add_dcr() 811 list_move_tail(&nfit_dcr->list, &acpi_desc->dcrs); in add_dcr() 815 nfit_dcr = devm_kzalloc(dev, sizeof(*nfit_dcr) + sizeof(*dcr), in add_dcr() 817 if (!nfit_dcr) in add_dcr() 819 INIT_LIST_HEAD(&nfit_dcr->list); in add_dcr() 820 memcpy(nfit_dcr->dcr, dcr, sizeof_dcr(dcr)); in add_dcr() 821 list_add_tail(&nfit_dcr->list, &acpi_desc->dcrs); in add_dcr() 1027 struct nfit_dcr *nfit_dcr; in __nfit_mem_init() local [all …]
|
D | nfit.h | 172 struct nfit_dcr { struct
|