Lines Matching refs:nfit_flush
366 struct nfit_flush *nfit_flush; in add_flush() local
368 list_for_each_entry(nfit_flush, &prev->flushes, list) in add_flush()
369 if (memcmp(nfit_flush->flush, flush, length) == 0) { in add_flush()
370 list_move_tail(&nfit_flush->list, &acpi_desc->flushes); in add_flush()
374 nfit_flush = devm_kzalloc(dev, sizeof(*nfit_flush), GFP_KERNEL); in add_flush()
375 if (!nfit_flush) in add_flush()
377 INIT_LIST_HEAD(&nfit_flush->list); in add_flush()
378 nfit_flush->flush = flush; in add_flush()
379 list_add_tail(&nfit_flush->list, &acpi_desc->flushes); in add_flush()
476 struct nfit_flush *nfit_flush; in nfit_mem_init_bdw() local
510 list_for_each_entry(nfit_flush, &acpi_desc->flushes, list) { in nfit_mem_init_bdw()
511 if (nfit_flush->flush->device_handle != in nfit_mem_init_bdw()
514 nfit_mem->nfit_flush = nfit_flush; in nfit_mem_init_bdw()
1350 struct nfit_flush *nfit_flush; in acpi_nfit_blk_region_enable() local
1425 nfit_flush = nfit_mem->nfit_flush; in acpi_nfit_blk_region_enable()
1426 if (nfit_flush && nfit_flush->flush->hint_count != 0) { in acpi_nfit_blk_region_enable()
1428 nfit_flush->flush->hint_address[0], 8); in acpi_nfit_blk_region_enable()