acpi_desc          76 drivers/acpi/nfit/core.c static struct acpi_device *to_acpi_dev(struct acpi_nfit_desc *acpi_desc)
acpi_desc          78 drivers/acpi/nfit/core.c 	struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc;
acpi_desc          88 drivers/acpi/nfit/core.c 	return to_acpi_device(acpi_desc->dev);
acpi_desc         441 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc);
acpi_desc         445 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         477 drivers/acpi/nfit/core.c 		struct acpi_device *adev = to_acpi_dev(acpi_desc);
acpi_desc         678 drivers/acpi/nfit/core.c static bool add_spa(struct acpi_nfit_desc *acpi_desc,
acpi_desc         682 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         690 drivers/acpi/nfit/core.c 			list_move_tail(&nfit_spa->list, &acpi_desc->spas);
acpi_desc         701 drivers/acpi/nfit/core.c 	list_add_tail(&nfit_spa->list, &acpi_desc->spas);
acpi_desc         708 drivers/acpi/nfit/core.c static bool add_memdev(struct acpi_nfit_desc *acpi_desc,
acpi_desc         712 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         720 drivers/acpi/nfit/core.c 			list_move_tail(&nfit_memdev->list, &acpi_desc->memdevs);
acpi_desc         730 drivers/acpi/nfit/core.c 	list_add_tail(&nfit_memdev->list, &acpi_desc->memdevs);
acpi_desc         740 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc         745 drivers/acpi/nfit/core.c 	list_for_each_entry(acpi_desc, &acpi_descs, list) {
acpi_desc         746 drivers/acpi/nfit/core.c 		mutex_lock(&acpi_desc->init_mutex);
acpi_desc         747 drivers/acpi/nfit/core.c 		list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) {
acpi_desc         752 drivers/acpi/nfit/core.c 				mutex_unlock(&acpi_desc->init_mutex);
acpi_desc         757 drivers/acpi/nfit/core.c 		mutex_unlock(&acpi_desc->init_mutex);
acpi_desc         779 drivers/acpi/nfit/core.c static bool add_dcr(struct acpi_nfit_desc *acpi_desc,
acpi_desc         783 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         791 drivers/acpi/nfit/core.c 			list_move_tail(&nfit_dcr->list, &acpi_desc->dcrs);
acpi_desc         801 drivers/acpi/nfit/core.c 	list_add_tail(&nfit_dcr->list, &acpi_desc->dcrs);
acpi_desc         807 drivers/acpi/nfit/core.c static bool add_bdw(struct acpi_nfit_desc *acpi_desc,
acpi_desc         811 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         818 drivers/acpi/nfit/core.c 			list_move_tail(&nfit_bdw->list, &acpi_desc->bdws);
acpi_desc         828 drivers/acpi/nfit/core.c 	list_add_tail(&nfit_bdw->list, &acpi_desc->bdws);
acpi_desc         841 drivers/acpi/nfit/core.c static bool add_idt(struct acpi_nfit_desc *acpi_desc,
acpi_desc         845 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         856 drivers/acpi/nfit/core.c 			list_move_tail(&nfit_idt->list, &acpi_desc->idts);
acpi_desc         867 drivers/acpi/nfit/core.c 	list_add_tail(&nfit_idt->list, &acpi_desc->idts);
acpi_desc         880 drivers/acpi/nfit/core.c static bool add_flush(struct acpi_nfit_desc *acpi_desc,
acpi_desc         884 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         896 drivers/acpi/nfit/core.c 			list_move_tail(&nfit_flush->list, &acpi_desc->flushes);
acpi_desc         907 drivers/acpi/nfit/core.c 	list_add_tail(&nfit_flush->list, &acpi_desc->flushes);
acpi_desc         913 drivers/acpi/nfit/core.c static bool add_platform_cap(struct acpi_nfit_desc *acpi_desc,
acpi_desc         916 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         920 drivers/acpi/nfit/core.c 	acpi_desc->platform_cap = pcap->capabilities & mask;
acpi_desc         921 drivers/acpi/nfit/core.c 	dev_dbg(dev, "cap: %#x\n", acpi_desc->platform_cap);
acpi_desc         925 drivers/acpi/nfit/core.c static void *add_table(struct acpi_nfit_desc *acpi_desc,
acpi_desc         928 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc         944 drivers/acpi/nfit/core.c 		if (!add_spa(acpi_desc, prev, table))
acpi_desc         948 drivers/acpi/nfit/core.c 		if (!add_memdev(acpi_desc, prev, table))
acpi_desc         952 drivers/acpi/nfit/core.c 		if (!add_dcr(acpi_desc, prev, table))
acpi_desc         956 drivers/acpi/nfit/core.c 		if (!add_bdw(acpi_desc, prev, table))
acpi_desc         960 drivers/acpi/nfit/core.c 		if (!add_idt(acpi_desc, prev, table))
acpi_desc         964 drivers/acpi/nfit/core.c 		if (!add_flush(acpi_desc, prev, table))
acpi_desc         971 drivers/acpi/nfit/core.c 		if (!add_platform_cap(acpi_desc, table))
acpi_desc         982 drivers/acpi/nfit/core.c static void nfit_mem_find_spa_bdw(struct acpi_nfit_desc *acpi_desc,
acpi_desc         989 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
acpi_desc         997 drivers/acpi/nfit/core.c 		list_for_each_entry(nfit_memdev, &acpi_desc->memdevs, list) {
acpi_desc        1010 drivers/acpi/nfit/core.c 	dev_dbg(acpi_desc->dev, "SPA-BDW not found for SPA-DCR %d\n",
acpi_desc        1015 drivers/acpi/nfit/core.c static void nfit_mem_init_bdw(struct acpi_nfit_desc *acpi_desc,
acpi_desc        1024 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_bdw, &acpi_desc->bdws, list) {
acpi_desc        1034 drivers/acpi/nfit/core.c 	nfit_mem_find_spa_bdw(acpi_desc, nfit_mem);
acpi_desc        1040 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_memdev, &acpi_desc->memdevs, list) {
acpi_desc        1046 drivers/acpi/nfit/core.c 		list_for_each_entry(nfit_idt, &acpi_desc->idts, list) {
acpi_desc        1056 drivers/acpi/nfit/core.c static int __nfit_mem_init(struct acpi_nfit_desc *acpi_desc,
acpi_desc        1079 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_memdev, &acpi_desc->memdevs, list) {
acpi_desc        1092 drivers/acpi/nfit/core.c 		list_for_each_entry(nfit_mem, &acpi_desc->dimms, list)
acpi_desc        1102 drivers/acpi/nfit/core.c 			nfit_mem = devm_kzalloc(acpi_desc->dev,
acpi_desc        1107 drivers/acpi/nfit/core.c 			nfit_mem->acpi_desc = acpi_desc;
acpi_desc        1108 drivers/acpi/nfit/core.c 			list_add(&nfit_mem->list, &acpi_desc->dimms);
acpi_desc        1111 drivers/acpi/nfit/core.c 		list_for_each_entry(nfit_dcr, &acpi_desc->dcrs, list) {
acpi_desc        1129 drivers/acpi/nfit/core.c 		list_for_each_entry(nfit_flush, &acpi_desc->flushes, list) {
acpi_desc        1137 drivers/acpi/nfit/core.c 			nfit_mem->flush_wpq = devm_kcalloc(acpi_desc->dev,
acpi_desc        1153 drivers/acpi/nfit/core.c 			dev_err(acpi_desc->dev, "SPA %d missing DCR %d\n",
acpi_desc        1166 drivers/acpi/nfit/core.c 			list_for_each_entry(nfit_idt, &acpi_desc->idts, list) {
acpi_desc        1172 drivers/acpi/nfit/core.c 			nfit_mem_init_bdw(acpi_desc, nfit_mem, spa);
acpi_desc        1202 drivers/acpi/nfit/core.c static int nfit_mem_init(struct acpi_nfit_desc *acpi_desc)
acpi_desc        1216 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
acpi_desc        1217 drivers/acpi/nfit/core.c 		rc = __nfit_mem_init(acpi_desc, nfit_spa->spa);
acpi_desc        1227 drivers/acpi/nfit/core.c 	rc = __nfit_mem_init(acpi_desc, NULL);
acpi_desc        1231 drivers/acpi/nfit/core.c 	list_sort(NULL, &acpi_desc->dimms, nfit_mem_cmp);
acpi_desc        1252 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc);
acpi_desc        1254 drivers/acpi/nfit/core.c 	return sprintf(buf, "%d\n", acpi_desc->acpi_header.revision);
acpi_desc        1263 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc);
acpi_desc        1265 drivers/acpi/nfit/core.c 	return sprintf(buf, "%d\n", acpi_desc->scrub_mode);
acpi_desc        1289 drivers/acpi/nfit/core.c 		struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc);
acpi_desc        1293 drivers/acpi/nfit/core.c 			acpi_desc->scrub_mode = HW_ERROR_SCRUB_ON;
acpi_desc        1296 drivers/acpi/nfit/core.c 			acpi_desc->scrub_mode = HW_ERROR_SCRUB_OFF;
acpi_desc        1319 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        1329 drivers/acpi/nfit/core.c 	acpi_desc = to_acpi_desc(nd_desc);
acpi_desc        1331 drivers/acpi/nfit/core.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        1332 drivers/acpi/nfit/core.c 	busy = test_bit(ARS_BUSY, &acpi_desc->scrub_flags)
acpi_desc        1333 drivers/acpi/nfit/core.c 		&& !test_bit(ARS_CANCEL, &acpi_desc->scrub_flags);
acpi_desc        1334 drivers/acpi/nfit/core.c 	rc = sprintf(buf, "%d%s", acpi_desc->scrub_count, busy ? "+\n" : "\n");
acpi_desc        1337 drivers/acpi/nfit/core.c 				&acpi_desc->scrub_flags)) {
acpi_desc        1338 drivers/acpi/nfit/core.c 		acpi_desc->scrub_tmo = 1;
acpi_desc        1339 drivers/acpi/nfit/core.c 		mod_delayed_work(nfit_wq, &acpi_desc->dwork, HZ);
acpi_desc        1342 drivers/acpi/nfit/core.c 	mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        1363 drivers/acpi/nfit/core.c 		struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc);
acpi_desc        1365 drivers/acpi/nfit/core.c 		rc = acpi_nfit_ars_rescan(acpi_desc, ARS_REQ_LONG);
acpi_desc        1530 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        1535 drivers/acpi/nfit/core.c 	acpi_desc = nfit_mem->acpi_desc;
acpi_desc        1539 drivers/acpi/nfit/core.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        1540 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_memdev, &acpi_desc->memdevs, list) {
acpi_desc        1547 drivers/acpi/nfit/core.c 		list_for_each_entry(nfit_dcr, &acpi_desc->dcrs, list) {
acpi_desc        1559 drivers/acpi/nfit/core.c 	mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        1708 drivers/acpi/nfit/core.c static struct nvdimm *acpi_nfit_dimm_by_handle(struct acpi_nfit_desc *acpi_desc,
acpi_desc        1713 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_mem, &acpi_desc->dimms, list)
acpi_desc        1723 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        1734 drivers/acpi/nfit/core.c 	acpi_desc = dev_get_drvdata(dev->parent);
acpi_desc        1735 drivers/acpi/nfit/core.c 	if (!acpi_desc)
acpi_desc        1826 drivers/acpi/nfit/core.c static int acpi_nfit_add_dimm(struct acpi_nfit_desc *acpi_desc,
acpi_desc        1830 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        1838 drivers/acpi/nfit/core.c 	nfit_mem->dsm_mask = acpi_desc->dimm_cmd_force_en;
acpi_desc        1852 drivers/acpi/nfit/core.c 	adev = to_acpi_dev(acpi_desc);
acpi_desc        1979 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = data;
acpi_desc        1982 drivers/acpi/nfit/core.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        1987 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) {
acpi_desc        2000 drivers/acpi/nfit/core.c 	mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        2013 drivers/acpi/nfit/core.c static int acpi_nfit_register_dimms(struct acpi_nfit_desc *acpi_desc)
acpi_desc        2019 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) {
acpi_desc        2027 drivers/acpi/nfit/core.c 		nvdimm = acpi_nfit_dimm_by_handle(acpi_desc, device_handle);
acpi_desc        2037 drivers/acpi/nfit/core.c 		list_for_each_entry(nfit_memdev, &acpi_desc->memdevs, list) {
acpi_desc        2051 drivers/acpi/nfit/core.c 		rc = acpi_nfit_add_dimm(acpi_desc, nfit_mem, device_handle);
acpi_desc        2083 drivers/acpi/nfit/core.c 		nvdimm = __nvdimm_create(acpi_desc->nvdimm_bus, nfit_mem,
acpi_desc        2097 drivers/acpi/nfit/core.c 		dev_err(acpi_desc->dev, "Error found in NVDIMM %s flags:%s%s%s%s%s\n",
acpi_desc        2107 drivers/acpi/nfit/core.c 	rc = nvdimm_bus_check_dimm_count(acpi_desc->nvdimm_bus, dimm_count);
acpi_desc        2115 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) {
acpi_desc        2128 drivers/acpi/nfit/core.c 			dev_warn(acpi_desc->dev, "%s: notifications disabled\n",
acpi_desc        2132 drivers/acpi/nfit/core.c 	return devm_add_action_or_reset(acpi_desc->dev, shutdown_dimm_notify,
acpi_desc        2133 drivers/acpi/nfit/core.c 			acpi_desc);
acpi_desc        2147 drivers/acpi/nfit/core.c static void acpi_nfit_init_dsms(struct acpi_nfit_desc *acpi_desc)
acpi_desc        2149 drivers/acpi/nfit/core.c 	struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc;
acpi_desc        2155 drivers/acpi/nfit/core.c 	nd_desc->cmd_mask = acpi_desc->bus_cmd_force_en;
acpi_desc        2156 drivers/acpi/nfit/core.c 	nd_desc->bus_dsm_mask = acpi_desc->bus_nfit_cmd_force_en;
acpi_desc        2157 drivers/acpi/nfit/core.c 	adev = to_acpi_dev(acpi_desc);
acpi_desc        2276 drivers/acpi/nfit/core.c 		struct acpi_nfit_desc *acpi_desc, u16 range_index, int n)
acpi_desc        2280 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_memdev, &acpi_desc->memdevs, list)
acpi_desc        2287 drivers/acpi/nfit/core.c static int acpi_nfit_init_interleave_set(struct acpi_nfit_desc *acpi_desc,
acpi_desc        2291 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        2317 drivers/acpi/nfit/core.c 		struct acpi_nfit_memory_map *memdev = memdev_from_spa(acpi_desc,
acpi_desc        2646 drivers/acpi/nfit/core.c static int ars_get_cap(struct acpi_nfit_desc *acpi_desc,
acpi_desc        2649 drivers/acpi/nfit/core.c 	struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc;
acpi_desc        2662 drivers/acpi/nfit/core.c static int ars_start(struct acpi_nfit_desc *acpi_desc,
acpi_desc        2669 drivers/acpi/nfit/core.c 	struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc;
acpi_desc        2690 drivers/acpi/nfit/core.c 	set_bit(ARS_VALID, &acpi_desc->scrub_flags);
acpi_desc        2694 drivers/acpi/nfit/core.c static int ars_continue(struct acpi_nfit_desc *acpi_desc)
acpi_desc        2698 drivers/acpi/nfit/core.c 	struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc;
acpi_desc        2699 drivers/acpi/nfit/core.c 	struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status;
acpi_desc        2713 drivers/acpi/nfit/core.c static int ars_get_status(struct acpi_nfit_desc *acpi_desc)
acpi_desc        2715 drivers/acpi/nfit/core.c 	struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc;
acpi_desc        2716 drivers/acpi/nfit/core.c 	struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status;
acpi_desc        2720 drivers/acpi/nfit/core.c 			acpi_desc->max_ars, &cmd_rc);
acpi_desc        2726 drivers/acpi/nfit/core.c static void ars_complete(struct acpi_nfit_desc *acpi_desc,
acpi_desc        2729 drivers/acpi/nfit/core.c 	struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status;
acpi_desc        2734 drivers/acpi/nfit/core.c 	lockdep_assert_held(&acpi_desc->init_mutex);
acpi_desc        2740 drivers/acpi/nfit/core.c 	if (acpi_desc->scrub_spa != nfit_spa)
acpi_desc        2762 drivers/acpi/nfit/core.c 	acpi_desc->scrub_spa = NULL;
acpi_desc        2767 drivers/acpi/nfit/core.c 		dev = acpi_desc->dev;
acpi_desc        2771 drivers/acpi/nfit/core.c static int ars_status_process_records(struct acpi_nfit_desc *acpi_desc)
acpi_desc        2773 drivers/acpi/nfit/core.c 	struct nvdimm_bus *nvdimm_bus = acpi_desc->nvdimm_bus;
acpi_desc        2774 drivers/acpi/nfit/core.c 	struct nd_cmd_ars_status *ars_status = acpi_desc->ars_status;
acpi_desc        2789 drivers/acpi/nfit/core.c 	if (!test_and_clear_bit(ARS_VALID, &acpi_desc->scrub_flags)) {
acpi_desc        2790 drivers/acpi/nfit/core.c 		dev_dbg(acpi_desc->dev, "skip %d stale records\n",
acpi_desc        2807 drivers/acpi/nfit/core.c 		dev_warn(acpi_desc->dev, "detected truncated ars results\n");
acpi_desc        2819 drivers/acpi/nfit/core.c static int acpi_nfit_insert_resource(struct acpi_nfit_desc *acpi_desc,
acpi_desc        2831 drivers/acpi/nfit/core.c 	res = devm_kzalloc(acpi_desc->dev, sizeof(*res), GFP_KERNEL);
acpi_desc        2845 drivers/acpi/nfit/core.c 	ret = devm_add_action_or_reset(acpi_desc->dev,
acpi_desc        2854 drivers/acpi/nfit/core.c static int acpi_nfit_init_mapping(struct acpi_nfit_desc *acpi_desc,
acpi_desc        2859 drivers/acpi/nfit/core.c 	struct nvdimm *nvdimm = acpi_nfit_dimm_by_handle(acpi_desc,
acpi_desc        2867 drivers/acpi/nfit/core.c 		dev_err(acpi_desc->dev, "spa%d dimm: %#x not found\n",
acpi_desc        2882 drivers/acpi/nfit/core.c 			dev_dbg(acpi_desc->dev, "spa%d %s missing bdw\n",
acpi_desc        2894 drivers/acpi/nfit/core.c 		ndbr_desc->do_io = acpi_desc->blk_do_io;
acpi_desc        2895 drivers/acpi/nfit/core.c 		rc = acpi_nfit_init_interleave_set(acpi_desc, ndr_desc, spa);
acpi_desc        2898 drivers/acpi/nfit/core.c 		nfit_spa->nd_region = nvdimm_blk_region_create(acpi_desc->nvdimm_bus,
acpi_desc        2923 drivers/acpi/nfit/core.c static int acpi_nfit_register_region(struct acpi_nfit_desc *acpi_desc,
acpi_desc        2939 drivers/acpi/nfit/core.c 		dev_dbg(acpi_desc->dev, "detected invalid spa index\n");
acpi_desc        2967 drivers/acpi/nfit/core.c 	if (acpi_desc->platform_cap & ACPI_NFIT_CAPABILITY_CACHE_FLUSH)
acpi_desc        2969 drivers/acpi/nfit/core.c 	else if (acpi_desc->platform_cap & ACPI_NFIT_CAPABILITY_MEM_FLUSH)
acpi_desc        2972 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_memdev, &acpi_desc->memdevs, list) {
acpi_desc        2979 drivers/acpi/nfit/core.c 			dev_err(acpi_desc->dev, "spa%d exceeds max mappings %d\n",
acpi_desc        2984 drivers/acpi/nfit/core.c 		rc = acpi_nfit_init_mapping(acpi_desc, mapping, ndr_desc,
acpi_desc        2992 drivers/acpi/nfit/core.c 	rc = acpi_nfit_init_interleave_set(acpi_desc, ndr_desc, spa);
acpi_desc        2996 drivers/acpi/nfit/core.c 	nvdimm_bus = acpi_desc->nvdimm_bus;
acpi_desc        2998 drivers/acpi/nfit/core.c 		rc = acpi_nfit_insert_resource(acpi_desc, ndr_desc);
acpi_desc        3000 drivers/acpi/nfit/core.c 			dev_warn(acpi_desc->dev,
acpi_desc        3024 drivers/acpi/nfit/core.c 		dev_err(acpi_desc->dev, "failed to register spa range %d\n",
acpi_desc        3029 drivers/acpi/nfit/core.c static int ars_status_alloc(struct acpi_nfit_desc *acpi_desc)
acpi_desc        3031 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        3034 drivers/acpi/nfit/core.c 	if (acpi_desc->ars_status) {
acpi_desc        3035 drivers/acpi/nfit/core.c 		memset(acpi_desc->ars_status, 0, acpi_desc->max_ars);
acpi_desc        3039 drivers/acpi/nfit/core.c 	ars_status = devm_kzalloc(dev, acpi_desc->max_ars, GFP_KERNEL);
acpi_desc        3042 drivers/acpi/nfit/core.c 	acpi_desc->ars_status = ars_status;
acpi_desc        3046 drivers/acpi/nfit/core.c static int acpi_nfit_query_poison(struct acpi_nfit_desc *acpi_desc)
acpi_desc        3050 drivers/acpi/nfit/core.c 	if (ars_status_alloc(acpi_desc))
acpi_desc        3053 drivers/acpi/nfit/core.c 	rc = ars_get_status(acpi_desc);
acpi_desc        3058 drivers/acpi/nfit/core.c 	if (ars_status_process_records(acpi_desc))
acpi_desc        3059 drivers/acpi/nfit/core.c 		dev_err(acpi_desc->dev, "Failed to process ARS records\n");
acpi_desc        3064 drivers/acpi/nfit/core.c static int ars_register(struct acpi_nfit_desc *acpi_desc,
acpi_desc        3070 drivers/acpi/nfit/core.c 		return acpi_nfit_register_region(acpi_desc, nfit_spa);
acpi_desc        3076 drivers/acpi/nfit/core.c 	switch (acpi_nfit_query_poison(acpi_desc)) {
acpi_desc        3080 drivers/acpi/nfit/core.c 		rc = ars_start(acpi_desc, nfit_spa, ARS_REQ_SHORT);
acpi_desc        3089 drivers/acpi/nfit/core.c 		rc = acpi_nfit_query_poison(acpi_desc);
acpi_desc        3092 drivers/acpi/nfit/core.c 		acpi_desc->scrub_spa = nfit_spa;
acpi_desc        3093 drivers/acpi/nfit/core.c 		ars_complete(acpi_desc, nfit_spa);
acpi_desc        3099 drivers/acpi/nfit/core.c 		acpi_desc->scrub_spa = NULL;
acpi_desc        3114 drivers/acpi/nfit/core.c 	return acpi_nfit_register_region(acpi_desc, nfit_spa);
acpi_desc        3117 drivers/acpi/nfit/core.c static void ars_complete_all(struct acpi_nfit_desc *acpi_desc)
acpi_desc        3121 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
acpi_desc        3124 drivers/acpi/nfit/core.c 		ars_complete(acpi_desc, nfit_spa);
acpi_desc        3128 drivers/acpi/nfit/core.c static unsigned int __acpi_nfit_scrub(struct acpi_nfit_desc *acpi_desc,
acpi_desc        3131 drivers/acpi/nfit/core.c 	unsigned int tmo = acpi_desc->scrub_tmo;
acpi_desc        3132 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        3135 drivers/acpi/nfit/core.c 	lockdep_assert_held(&acpi_desc->init_mutex);
acpi_desc        3137 drivers/acpi/nfit/core.c 	if (test_bit(ARS_CANCEL, &acpi_desc->scrub_flags))
acpi_desc        3146 drivers/acpi/nfit/core.c 		ars_continue(acpi_desc);
acpi_desc        3152 drivers/acpi/nfit/core.c 		addr = acpi_desc->ars_status->address;
acpi_desc        3153 drivers/acpi/nfit/core.c 		end = addr + acpi_desc->ars_status->length;
acpi_desc        3158 drivers/acpi/nfit/core.c 	ars_complete_all(acpi_desc);
acpi_desc        3159 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
acpi_desc        3173 drivers/acpi/nfit/core.c 		rc = ars_start(acpi_desc, nfit_spa, req_type);
acpi_desc        3187 drivers/acpi/nfit/core.c 			dev_WARN_ONCE(dev, acpi_desc->scrub_spa,
acpi_desc        3189 drivers/acpi/nfit/core.c 					acpi_desc->scrub_spa->spa->range_index);
acpi_desc        3191 drivers/acpi/nfit/core.c 			acpi_desc->scrub_spa = nfit_spa;
acpi_desc        3196 drivers/acpi/nfit/core.c 			list_move_tail(&nfit_spa->list, &acpi_desc->spas);
acpi_desc        3207 drivers/acpi/nfit/core.c static void __sched_ars(struct acpi_nfit_desc *acpi_desc, unsigned int tmo)
acpi_desc        3209 drivers/acpi/nfit/core.c 	lockdep_assert_held(&acpi_desc->init_mutex);
acpi_desc        3211 drivers/acpi/nfit/core.c 	set_bit(ARS_BUSY, &acpi_desc->scrub_flags);
acpi_desc        3214 drivers/acpi/nfit/core.c 		acpi_desc->scrub_tmo = tmo;
acpi_desc        3215 drivers/acpi/nfit/core.c 	queue_delayed_work(nfit_wq, &acpi_desc->dwork, tmo * HZ);
acpi_desc        3218 drivers/acpi/nfit/core.c static void sched_ars(struct acpi_nfit_desc *acpi_desc)
acpi_desc        3220 drivers/acpi/nfit/core.c 	__sched_ars(acpi_desc, 0);
acpi_desc        3223 drivers/acpi/nfit/core.c static void notify_ars_done(struct acpi_nfit_desc *acpi_desc)
acpi_desc        3225 drivers/acpi/nfit/core.c 	lockdep_assert_held(&acpi_desc->init_mutex);
acpi_desc        3227 drivers/acpi/nfit/core.c 	clear_bit(ARS_BUSY, &acpi_desc->scrub_flags);
acpi_desc        3228 drivers/acpi/nfit/core.c 	acpi_desc->scrub_count++;
acpi_desc        3229 drivers/acpi/nfit/core.c 	if (acpi_desc->scrub_count_state)
acpi_desc        3230 drivers/acpi/nfit/core.c 		sysfs_notify_dirent(acpi_desc->scrub_count_state);
acpi_desc        3235 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        3239 drivers/acpi/nfit/core.c 	acpi_desc = container_of(work, typeof(*acpi_desc), dwork.work);
acpi_desc        3240 drivers/acpi/nfit/core.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        3241 drivers/acpi/nfit/core.c 	query_rc = acpi_nfit_query_poison(acpi_desc);
acpi_desc        3242 drivers/acpi/nfit/core.c 	tmo = __acpi_nfit_scrub(acpi_desc, query_rc);
acpi_desc        3244 drivers/acpi/nfit/core.c 		__sched_ars(acpi_desc, tmo);
acpi_desc        3246 drivers/acpi/nfit/core.c 		notify_ars_done(acpi_desc);
acpi_desc        3247 drivers/acpi/nfit/core.c 	memset(acpi_desc->ars_status, 0, acpi_desc->max_ars);
acpi_desc        3248 drivers/acpi/nfit/core.c 	clear_bit(ARS_POLL, &acpi_desc->scrub_flags);
acpi_desc        3249 drivers/acpi/nfit/core.c 	mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        3252 drivers/acpi/nfit/core.c static void acpi_nfit_init_ars(struct acpi_nfit_desc *acpi_desc,
acpi_desc        3261 drivers/acpi/nfit/core.c 	rc = ars_get_cap(acpi_desc, &ars_cap, nfit_spa);
acpi_desc        3274 drivers/acpi/nfit/core.c 	acpi_desc->max_ars = max(nfit_spa->max_ars, acpi_desc->max_ars);
acpi_desc        3278 drivers/acpi/nfit/core.c static int acpi_nfit_register_regions(struct acpi_nfit_desc *acpi_desc)
acpi_desc        3283 drivers/acpi/nfit/core.c 	set_bit(ARS_VALID, &acpi_desc->scrub_flags);
acpi_desc        3284 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
acpi_desc        3288 drivers/acpi/nfit/core.c 			acpi_nfit_init_ars(acpi_desc, nfit_spa);
acpi_desc        3293 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_spa, &acpi_desc->spas, list)
acpi_desc        3298 drivers/acpi/nfit/core.c 			rc = ars_register(acpi_desc, nfit_spa);
acpi_desc        3311 drivers/acpi/nfit/core.c 			rc = acpi_nfit_register_region(acpi_desc, nfit_spa);
acpi_desc        3320 drivers/acpi/nfit/core.c 	sched_ars(acpi_desc);
acpi_desc        3324 drivers/acpi/nfit/core.c static int acpi_nfit_check_deletions(struct acpi_nfit_desc *acpi_desc,
acpi_desc        3327 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        3341 drivers/acpi/nfit/core.c static int acpi_nfit_desc_init_scrub_attr(struct acpi_nfit_desc *acpi_desc)
acpi_desc        3343 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        3347 drivers/acpi/nfit/core.c 	if (!ars_supported(acpi_desc->nvdimm_bus))
acpi_desc        3350 drivers/acpi/nfit/core.c 	bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus);
acpi_desc        3356 drivers/acpi/nfit/core.c 	acpi_desc->scrub_count_state = sysfs_get_dirent(nfit, "scrub");
acpi_desc        3358 drivers/acpi/nfit/core.c 	if (!acpi_desc->scrub_count_state) {
acpi_desc        3368 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = data;
acpi_desc        3370 drivers/acpi/nfit/core.c 	nvdimm_bus_unregister(acpi_desc->nvdimm_bus);
acpi_desc        3373 drivers/acpi/nfit/core.c int acpi_nfit_init(struct acpi_nfit_desc *acpi_desc, void *data, acpi_size sz)
acpi_desc        3375 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        3380 drivers/acpi/nfit/core.c 	if (!acpi_desc->nvdimm_bus) {
acpi_desc        3381 drivers/acpi/nfit/core.c 		acpi_nfit_init_dsms(acpi_desc);
acpi_desc        3383 drivers/acpi/nfit/core.c 		acpi_desc->nvdimm_bus = nvdimm_bus_register(dev,
acpi_desc        3384 drivers/acpi/nfit/core.c 				&acpi_desc->nd_desc);
acpi_desc        3385 drivers/acpi/nfit/core.c 		if (!acpi_desc->nvdimm_bus)
acpi_desc        3389 drivers/acpi/nfit/core.c 				acpi_desc);
acpi_desc        3393 drivers/acpi/nfit/core.c 		rc = acpi_nfit_desc_init_scrub_attr(acpi_desc);
acpi_desc        3399 drivers/acpi/nfit/core.c 		list_add_tail(&acpi_desc->list, &acpi_descs);
acpi_desc        3403 drivers/acpi/nfit/core.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        3412 drivers/acpi/nfit/core.c 	list_cut_position(&prev.spas, &acpi_desc->spas,
acpi_desc        3413 drivers/acpi/nfit/core.c 				acpi_desc->spas.prev);
acpi_desc        3414 drivers/acpi/nfit/core.c 	list_cut_position(&prev.memdevs, &acpi_desc->memdevs,
acpi_desc        3415 drivers/acpi/nfit/core.c 				acpi_desc->memdevs.prev);
acpi_desc        3416 drivers/acpi/nfit/core.c 	list_cut_position(&prev.dcrs, &acpi_desc->dcrs,
acpi_desc        3417 drivers/acpi/nfit/core.c 				acpi_desc->dcrs.prev);
acpi_desc        3418 drivers/acpi/nfit/core.c 	list_cut_position(&prev.bdws, &acpi_desc->bdws,
acpi_desc        3419 drivers/acpi/nfit/core.c 				acpi_desc->bdws.prev);
acpi_desc        3420 drivers/acpi/nfit/core.c 	list_cut_position(&prev.idts, &acpi_desc->idts,
acpi_desc        3421 drivers/acpi/nfit/core.c 				acpi_desc->idts.prev);
acpi_desc        3422 drivers/acpi/nfit/core.c 	list_cut_position(&prev.flushes, &acpi_desc->flushes,
acpi_desc        3423 drivers/acpi/nfit/core.c 				acpi_desc->flushes.prev);
acpi_desc        3427 drivers/acpi/nfit/core.c 		data = add_table(acpi_desc, &prev, data, end);
acpi_desc        3435 drivers/acpi/nfit/core.c 	rc = acpi_nfit_check_deletions(acpi_desc, &prev);
acpi_desc        3439 drivers/acpi/nfit/core.c 	rc = nfit_mem_init(acpi_desc);
acpi_desc        3443 drivers/acpi/nfit/core.c 	rc = acpi_nfit_register_dimms(acpi_desc);
acpi_desc        3447 drivers/acpi/nfit/core.c 	rc = acpi_nfit_register_regions(acpi_desc);
acpi_desc        3450 drivers/acpi/nfit/core.c 	mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        3457 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc);
acpi_desc        3458 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        3465 drivers/acpi/nfit/core.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        3466 drivers/acpi/nfit/core.c 	mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        3474 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc);
acpi_desc        3487 drivers/acpi/nfit/core.c 	if (work_busy(&acpi_desc->dwork.work))
acpi_desc        3511 drivers/acpi/nfit/core.c int acpi_nfit_ars_rescan(struct acpi_nfit_desc *acpi_desc,
acpi_desc        3514 drivers/acpi/nfit/core.c 	struct device *dev = acpi_desc->dev;
acpi_desc        3518 drivers/acpi/nfit/core.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        3519 drivers/acpi/nfit/core.c 	if (test_bit(ARS_CANCEL, &acpi_desc->scrub_flags)) {
acpi_desc        3520 drivers/acpi/nfit/core.c 		mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        3524 drivers/acpi/nfit/core.c 	list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
acpi_desc        3538 drivers/acpi/nfit/core.c 		sched_ars(acpi_desc);
acpi_desc        3541 drivers/acpi/nfit/core.c 	mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        3550 drivers/acpi/nfit/core.c void acpi_nfit_desc_init(struct acpi_nfit_desc *acpi_desc, struct device *dev)
acpi_desc        3554 drivers/acpi/nfit/core.c 	dev_set_drvdata(dev, acpi_desc);
acpi_desc        3555 drivers/acpi/nfit/core.c 	acpi_desc->dev = dev;
acpi_desc        3556 drivers/acpi/nfit/core.c 	acpi_desc->blk_do_io = acpi_nfit_blk_region_do_io;
acpi_desc        3557 drivers/acpi/nfit/core.c 	nd_desc = &acpi_desc->nd_desc;
acpi_desc        3565 drivers/acpi/nfit/core.c 	INIT_LIST_HEAD(&acpi_desc->spas);
acpi_desc        3566 drivers/acpi/nfit/core.c 	INIT_LIST_HEAD(&acpi_desc->dcrs);
acpi_desc        3567 drivers/acpi/nfit/core.c 	INIT_LIST_HEAD(&acpi_desc->bdws);
acpi_desc        3568 drivers/acpi/nfit/core.c 	INIT_LIST_HEAD(&acpi_desc->idts);
acpi_desc        3569 drivers/acpi/nfit/core.c 	INIT_LIST_HEAD(&acpi_desc->flushes);
acpi_desc        3570 drivers/acpi/nfit/core.c 	INIT_LIST_HEAD(&acpi_desc->memdevs);
acpi_desc        3571 drivers/acpi/nfit/core.c 	INIT_LIST_HEAD(&acpi_desc->dimms);
acpi_desc        3572 drivers/acpi/nfit/core.c 	INIT_LIST_HEAD(&acpi_desc->list);
acpi_desc        3573 drivers/acpi/nfit/core.c 	mutex_init(&acpi_desc->init_mutex);
acpi_desc        3574 drivers/acpi/nfit/core.c 	acpi_desc->scrub_tmo = 1;
acpi_desc        3575 drivers/acpi/nfit/core.c 	INIT_DELAYED_WORK(&acpi_desc->dwork, acpi_nfit_scrub);
acpi_desc        3586 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = data;
acpi_desc        3587 drivers/acpi/nfit/core.c 	struct device *bus_dev = to_nvdimm_bus_dev(acpi_desc->nvdimm_bus);
acpi_desc        3594 drivers/acpi/nfit/core.c 	list_del(&acpi_desc->list);
acpi_desc        3597 drivers/acpi/nfit/core.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        3598 drivers/acpi/nfit/core.c 	set_bit(ARS_CANCEL, &acpi_desc->scrub_flags);
acpi_desc        3599 drivers/acpi/nfit/core.c 	cancel_delayed_work_sync(&acpi_desc->dwork);
acpi_desc        3600 drivers/acpi/nfit/core.c 	mutex_unlock(&acpi_desc->init_mutex);
acpi_desc        3617 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        3642 drivers/acpi/nfit/core.c 	acpi_desc = devm_kzalloc(dev, sizeof(*acpi_desc), GFP_KERNEL);
acpi_desc        3643 drivers/acpi/nfit/core.c 	if (!acpi_desc)
acpi_desc        3645 drivers/acpi/nfit/core.c 	acpi_nfit_desc_init(acpi_desc, &adev->dev);
acpi_desc        3648 drivers/acpi/nfit/core.c 	acpi_desc->acpi_header = *tbl;
acpi_desc        3656 drivers/acpi/nfit/core.c 			rc = acpi_nfit_init(acpi_desc, obj->buffer.pointer,
acpi_desc        3664 drivers/acpi/nfit/core.c 		rc = acpi_nfit_init(acpi_desc, (void *) tbl
acpi_desc        3670 drivers/acpi/nfit/core.c 	return devm_add_action_or_reset(dev, acpi_nfit_shutdown, acpi_desc);
acpi_desc        3681 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = dev_get_drvdata(dev);
acpi_desc        3693 drivers/acpi/nfit/core.c 	if (!acpi_desc) {
acpi_desc        3694 drivers/acpi/nfit/core.c 		acpi_desc = devm_kzalloc(dev, sizeof(*acpi_desc), GFP_KERNEL);
acpi_desc        3695 drivers/acpi/nfit/core.c 		if (!acpi_desc)
acpi_desc        3697 drivers/acpi/nfit/core.c 		acpi_nfit_desc_init(acpi_desc, dev);
acpi_desc        3715 drivers/acpi/nfit/core.c 		ret = acpi_nfit_init(acpi_desc, obj->buffer.pointer,
acpi_desc        3726 drivers/acpi/nfit/core.c 	struct acpi_nfit_desc *acpi_desc = dev_get_drvdata(dev);
acpi_desc        3728 drivers/acpi/nfit/core.c 	if (acpi_desc->scrub_mode == HW_ERROR_SCRUB_ON)
acpi_desc        3729 drivers/acpi/nfit/core.c 		acpi_nfit_ars_rescan(acpi_desc, ARS_REQ_LONG);
acpi_desc        3731 drivers/acpi/nfit/core.c 		acpi_nfit_ars_rescan(acpi_desc, ARS_REQ_SHORT);
acpi_desc          17 drivers/acpi/nfit/mce.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc          34 drivers/acpi/nfit/mce.c 	list_for_each_entry(acpi_desc, &acpi_descs, list) {
acpi_desc          35 drivers/acpi/nfit/mce.c 		struct device *dev = acpi_desc->dev;
acpi_desc          38 drivers/acpi/nfit/mce.c 		mutex_lock(&acpi_desc->init_mutex);
acpi_desc          39 drivers/acpi/nfit/mce.c 		list_for_each_entry(nfit_spa, &acpi_desc->spas, list) {
acpi_desc          59 drivers/acpi/nfit/mce.c 		mutex_unlock(&acpi_desc->init_mutex);
acpi_desc          65 drivers/acpi/nfit/mce.c 		nvdimm_bus_add_badrange(acpi_desc->nvdimm_bus,
acpi_desc          71 drivers/acpi/nfit/mce.c 		if (acpi_desc->scrub_mode == HW_ERROR_SCRUB_ON) {
acpi_desc          77 drivers/acpi/nfit/mce.c 			acpi_nfit_ars_rescan(acpi_desc, 0);
acpi_desc         201 drivers/acpi/nfit/nfit.h 	struct acpi_nfit_desc *acpi_desc;
acpi_desc         285 drivers/acpi/nfit/nfit.h int acpi_nfit_ars_rescan(struct acpi_nfit_desc *acpi_desc,
acpi_desc         341 drivers/acpi/nfit/nfit.h int acpi_nfit_init(struct acpi_nfit_desc *acpi_desc, void *nfit, acpi_size sz);
acpi_desc         347 drivers/acpi/nfit/nfit.h void acpi_nfit_desc_init(struct acpi_nfit_desc *acpi_desc, struct device *dev);
acpi_desc         179 tools/testing/nvdimm/test/nfit.c 	struct acpi_nfit_desc acpi_desc;
acpi_desc        1199 tools/testing/nvdimm/test/nfit.c 	struct acpi_nfit_desc *acpi_desc = to_acpi_desc(nd_desc);
acpi_desc        1200 tools/testing/nvdimm/test/nfit.c 	struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc);
acpi_desc        1365 tools/testing/nvdimm/test/nfit.c 					acpi_desc->nvdimm_bus, buf, buf_len);
acpi_desc        1799 tools/testing/nvdimm/test/nfit.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        2497 tools/testing/nvdimm/test/nfit.c 	acpi_desc = &t->acpi_desc;
acpi_desc        2498 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_GET_CONFIG_SIZE, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2499 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_GET_CONFIG_DATA, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2500 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_SET_CONFIG_DATA, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2501 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_SMART, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2502 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_SMART_THRESHOLD, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2503 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_SMART_SET_THRESHOLD, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2504 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_SMART_INJECT, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2505 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_ARS_CAP, &acpi_desc->bus_cmd_force_en);
acpi_desc        2506 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_ARS_START, &acpi_desc->bus_cmd_force_en);
acpi_desc        2507 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_ARS_STATUS, &acpi_desc->bus_cmd_force_en);
acpi_desc        2508 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_CLEAR_ERROR, &acpi_desc->bus_cmd_force_en);
acpi_desc        2509 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_CALL, &acpi_desc->bus_cmd_force_en);
acpi_desc        2510 tools/testing/nvdimm/test/nfit.c 	set_bit(NFIT_CMD_TRANSLATE_SPA, &acpi_desc->bus_nfit_cmd_force_en);
acpi_desc        2511 tools/testing/nvdimm/test/nfit.c 	set_bit(NFIT_CMD_ARS_INJECT_SET, &acpi_desc->bus_nfit_cmd_force_en);
acpi_desc        2512 tools/testing/nvdimm/test/nfit.c 	set_bit(NFIT_CMD_ARS_INJECT_CLEAR, &acpi_desc->bus_nfit_cmd_force_en);
acpi_desc        2513 tools/testing/nvdimm/test/nfit.c 	set_bit(NFIT_CMD_ARS_INJECT_GET, &acpi_desc->bus_nfit_cmd_force_en);
acpi_desc        2514 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_FW_GET_INFO, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2515 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_FW_START_UPDATE, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2516 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_FW_SEND_DATA, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2517 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_FW_FINISH_UPDATE, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2518 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_FW_FINISH_QUERY, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2519 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_ENABLE_LSS_STATUS, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2521 tools/testing/nvdimm/test/nfit.c 			&acpi_desc->dimm_cmd_force_en);
acpi_desc        2522 tools/testing/nvdimm/test/nfit.c 	set_bit(NVDIMM_INTEL_SET_PASSPHRASE, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2524 tools/testing/nvdimm/test/nfit.c 			&acpi_desc->dimm_cmd_force_en);
acpi_desc        2525 tools/testing/nvdimm/test/nfit.c 	set_bit(NVDIMM_INTEL_UNLOCK_UNIT, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2526 tools/testing/nvdimm/test/nfit.c 	set_bit(NVDIMM_INTEL_FREEZE_LOCK, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2527 tools/testing/nvdimm/test/nfit.c 	set_bit(NVDIMM_INTEL_SECURE_ERASE, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2528 tools/testing/nvdimm/test/nfit.c 	set_bit(NVDIMM_INTEL_OVERWRITE, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2529 tools/testing/nvdimm/test/nfit.c 	set_bit(NVDIMM_INTEL_QUERY_OVERWRITE, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2531 tools/testing/nvdimm/test/nfit.c 			&acpi_desc->dimm_cmd_force_en);
acpi_desc        2533 tools/testing/nvdimm/test/nfit.c 			&acpi_desc->dimm_cmd_force_en);
acpi_desc        2543 tools/testing/nvdimm/test/nfit.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        2633 tools/testing/nvdimm/test/nfit.c 	acpi_desc = &t->acpi_desc;
acpi_desc        2634 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_ARS_CAP, &acpi_desc->bus_cmd_force_en);
acpi_desc        2635 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_ARS_START, &acpi_desc->bus_cmd_force_en);
acpi_desc        2636 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_ARS_STATUS, &acpi_desc->bus_cmd_force_en);
acpi_desc        2637 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_CLEAR_ERROR, &acpi_desc->bus_cmd_force_en);
acpi_desc        2638 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_INTEL_ENABLE_LSS_STATUS, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2639 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_GET_CONFIG_SIZE, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2640 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_GET_CONFIG_DATA, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2641 tools/testing/nvdimm/test/nfit.c 	set_bit(ND_CMD_SET_CONFIG_DATA, &acpi_desc->dimm_cmd_force_en);
acpi_desc        2699 tools/testing/nvdimm/test/nfit.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        2721 tools/testing/nvdimm/test/nfit.c 	acpi_desc = devm_kzalloc(dev, sizeof(*acpi_desc), GFP_KERNEL);
acpi_desc        2722 tools/testing/nvdimm/test/nfit.c 	if (!acpi_desc)
acpi_desc        2724 tools/testing/nvdimm/test/nfit.c 	*acpi_desc = (struct acpi_nfit_desc) {
acpi_desc        2778 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_ctl(&acpi_desc->nd_desc, nvdimm, ND_CMD_GET_CONFIG_SIZE,
acpi_desc        2798 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_ctl(&acpi_desc->nd_desc, NULL, ND_CMD_ARS_STATUS,
acpi_desc        2817 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_ctl(&acpi_desc->nd_desc, NULL, ND_CMD_ARS_CAP,
acpi_desc        2839 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_ctl(&acpi_desc->nd_desc, NULL, ND_CMD_ARS_STATUS,
acpi_desc        2861 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_ctl(&acpi_desc->nd_desc, NULL, ND_CMD_ARS_STATUS,
acpi_desc        2879 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_ctl(&acpi_desc->nd_desc, nvdimm, ND_CMD_GET_CONFIG_SIZE,
acpi_desc        2897 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_ctl(&acpi_desc->nd_desc, NULL, ND_CMD_CLEAR_ERROR,
acpi_desc        2911 tools/testing/nvdimm/test/nfit.c 	struct acpi_nfit_desc *acpi_desc;
acpi_desc        2981 tools/testing/nvdimm/test/nfit.c 	acpi_desc = &nfit_test->acpi_desc;
acpi_desc        2982 tools/testing/nvdimm/test/nfit.c 	acpi_nfit_desc_init(acpi_desc, &pdev->dev);
acpi_desc        2983 tools/testing/nvdimm/test/nfit.c 	acpi_desc->blk_do_io = nfit_test_blk_do_io;
acpi_desc        2984 tools/testing/nvdimm/test/nfit.c 	nd_desc = &acpi_desc->nd_desc;
acpi_desc        2989 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_init(acpi_desc, nfit_test->nfit_buf,
acpi_desc        2994 tools/testing/nvdimm/test/nfit.c 	rc = devm_add_action_or_reset(&pdev->dev, acpi_nfit_shutdown, acpi_desc);
acpi_desc        3014 tools/testing/nvdimm/test/nfit.c 	mutex_lock(&acpi_desc->init_mutex);
acpi_desc        3015 tools/testing/nvdimm/test/nfit.c 	list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) {
acpi_desc        3024 tools/testing/nvdimm/test/nfit.c 	mutex_unlock(&acpi_desc->init_mutex);