Lines Matching refs:nfit_flush
905 struct nfit_flush *nfit_flush; in add_flush() local
910 list_for_each_entry(nfit_flush, &prev->flushes, list) { in add_flush()
911 if (sizeof_flush(nfit_flush->flush) != sizeof_flush(flush)) in add_flush()
914 if (memcmp(nfit_flush->flush, flush, in add_flush()
916 list_move_tail(&nfit_flush->list, &acpi_desc->flushes); in add_flush()
921 nfit_flush = devm_kzalloc(dev, sizeof(*nfit_flush) in add_flush()
923 if (!nfit_flush) in add_flush()
925 INIT_LIST_HEAD(&nfit_flush->list); in add_flush()
926 memcpy(nfit_flush->flush, flush, sizeof_flush(flush)); in add_flush()
927 list_add_tail(&nfit_flush->list, &acpi_desc->flushes); in add_flush()
1026 struct nfit_flush *nfit_flush; in __nfit_mem_init() local
1075 list_for_each_entry(nfit_flush, &acpi_desc->flushes, list) { in __nfit_mem_init()
1079 if (nfit_flush->flush->device_handle != device_handle) in __nfit_mem_init()
1081 nfit_mem->nfit_flush = nfit_flush; in __nfit_mem_init()
1082 flush = nfit_flush->flush; in __nfit_mem_init()
2046 flush = nfit_mem->nfit_flush ? nfit_mem->nfit_flush->flush in acpi_nfit_register_dimms()