Lines Matching refs:nfit_flush
837 struct nfit_flush *nfit_flush; in add_flush() local
842 list_for_each_entry(nfit_flush, &prev->flushes, list) { in add_flush()
843 if (sizeof_flush(nfit_flush->flush) != sizeof_flush(flush)) in add_flush()
846 if (memcmp(nfit_flush->flush, flush, in add_flush()
848 list_move_tail(&nfit_flush->list, &acpi_desc->flushes); in add_flush()
853 nfit_flush = devm_kzalloc(dev, sizeof(*nfit_flush) in add_flush()
855 if (!nfit_flush) in add_flush()
857 INIT_LIST_HEAD(&nfit_flush->list); in add_flush()
858 memcpy(nfit_flush->flush, flush, sizeof_flush(flush)); in add_flush()
859 list_add_tail(&nfit_flush->list, &acpi_desc->flushes); in add_flush()
1032 struct nfit_flush *nfit_flush; in __nfit_mem_init() local
1081 list_for_each_entry(nfit_flush, &acpi_desc->flushes, list) { in __nfit_mem_init()
1085 if (nfit_flush->flush->device_handle != device_handle) in __nfit_mem_init()
1087 nfit_mem->nfit_flush = nfit_flush; in __nfit_mem_init()
1088 flush = nfit_flush->flush; in __nfit_mem_init()
1888 flush = nfit_mem->nfit_flush ? nfit_mem->nfit_flush->flush in acpi_nfit_register_dimms()