Lines Matching refs:nfit_flush
884 struct nfit_flush *nfit_flush; in add_flush() local
889 list_for_each_entry(nfit_flush, &prev->flushes, list) { in add_flush()
890 if (sizeof_flush(nfit_flush->flush) != sizeof_flush(flush)) in add_flush()
893 if (memcmp(nfit_flush->flush, flush, in add_flush()
895 list_move_tail(&nfit_flush->list, &acpi_desc->flushes); in add_flush()
900 nfit_flush = devm_kzalloc(dev, sizeof(*nfit_flush) in add_flush()
902 if (!nfit_flush) in add_flush()
904 INIT_LIST_HEAD(&nfit_flush->list); in add_flush()
905 memcpy(nfit_flush->flush, flush, sizeof_flush(flush)); in add_flush()
906 list_add_tail(&nfit_flush->list, &acpi_desc->flushes); in add_flush()
1079 struct nfit_flush *nfit_flush; in __nfit_mem_init() local
1128 list_for_each_entry(nfit_flush, &acpi_desc->flushes, list) { in __nfit_mem_init()
1132 if (nfit_flush->flush->device_handle != device_handle) in __nfit_mem_init()
1134 nfit_mem->nfit_flush = nfit_flush; in __nfit_mem_init()
1135 flush = nfit_flush->flush; in __nfit_mem_init()
2080 flush = nfit_mem->nfit_flush ? nfit_mem->nfit_flush->flush in acpi_nfit_register_dimms()