nfit_test         199 tools/testing/nvdimm/test/nfit.c 	int (*alloc)(struct nfit_test *t);
nfit_test         200 tools/testing/nvdimm/test/nfit.c 	void (*setup)(struct nfit_test *t);
nfit_test         223 tools/testing/nvdimm/test/nfit.c static struct nfit_test *to_nfit_test(struct device *dev)
nfit_test         227 tools/testing/nvdimm/test/nfit.c 	return container_of(pdev, struct nfit_test, pdev);
nfit_test         230 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_get_fw_info(struct nfit_test *t,
nfit_test         256 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_start_update(struct nfit_test *t,
nfit_test         286 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_send_data(struct nfit_test *t,
nfit_test         337 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_finish_fw(struct nfit_test *t,
nfit_test         388 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_finish_query(struct nfit_test *t,
nfit_test         566 tools/testing/nvdimm/test/nfit.c static int nfit_test_cmd_ars_start(struct nfit_test *t,
nfit_test         612 tools/testing/nvdimm/test/nfit.c static int nfit_test_cmd_clear_error(struct nfit_test *t,
nfit_test         816 tools/testing/nvdimm/test/nfit.c 	struct nfit_test *t = container_of(work, typeof(*t), work);
nfit_test         821 tools/testing/nvdimm/test/nfit.c static int nfit_test_cmd_ars_error_inject(struct nfit_test *t,
nfit_test         852 tools/testing/nvdimm/test/nfit.c static int nfit_test_cmd_ars_inject_clear(struct nfit_test *t,
nfit_test         878 tools/testing/nvdimm/test/nfit.c static int nfit_test_cmd_ars_inject_status(struct nfit_test *t,
nfit_test         901 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_set_lss_status(struct nfit_test *t,
nfit_test         940 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_security_status(struct nfit_test *t,
nfit_test         955 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_unlock_unit(struct nfit_test *t,
nfit_test         981 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_set_pass(struct nfit_test *t,
nfit_test        1006 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_freeze_lock(struct nfit_test *t,
nfit_test        1025 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_disable_pass(struct nfit_test *t,
nfit_test        1049 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_secure_erase(struct nfit_test *t,
nfit_test        1080 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_overwrite(struct nfit_test *t,
nfit_test        1103 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_query_overwrite(struct nfit_test *t,
nfit_test        1126 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_master_set_pass(struct nfit_test *t,
nfit_test        1153 tools/testing/nvdimm/test/nfit.c static int nd_intel_test_cmd_master_secure_erase(struct nfit_test *t,
nfit_test        1200 tools/testing/nvdimm/test/nfit.c 	struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc);
nfit_test        1411 tools/testing/nvdimm/test/nfit.c static struct nfit_test *instances[NUM_NFITS];
nfit_test        1428 tools/testing/nvdimm/test/nfit.c static void *__test_alloc(struct nfit_test *t, size_t size, dma_addr_t *dma,
nfit_test        1464 tools/testing/nvdimm/test/nfit.c static void *test_alloc(struct nfit_test *t, size_t size, dma_addr_t *dma)
nfit_test        1485 tools/testing/nvdimm/test/nfit.c 		struct nfit_test *t = instances[i];
nfit_test        1523 tools/testing/nvdimm/test/nfit.c 	struct nfit_test *t = data;
nfit_test        1642 tools/testing/nvdimm/test/nfit.c static int nfit_test_dimm_init(struct nfit_test *t)
nfit_test        1659 tools/testing/nvdimm/test/nfit.c static void security_init(struct nfit_test *t)
nfit_test        1670 tools/testing/nvdimm/test/nfit.c static void smart_init(struct nfit_test *t)
nfit_test        1688 tools/testing/nvdimm/test/nfit.c static int nfit_test0_alloc(struct nfit_test *t)
nfit_test        1752 tools/testing/nvdimm/test/nfit.c static int nfit_test1_alloc(struct nfit_test *t)
nfit_test        1795 tools/testing/nvdimm/test/nfit.c static void nfit_test0_setup(struct nfit_test *t)
nfit_test        2536 tools/testing/nvdimm/test/nfit.c static void nfit_test1_setup(struct nfit_test *t)
nfit_test        2913 tools/testing/nvdimm/test/nfit.c 	struct nfit_test *nfit_test;
nfit_test        2924 tools/testing/nvdimm/test/nfit.c 	nfit_test = to_nfit_test(&pdev->dev);
nfit_test        2927 tools/testing/nvdimm/test/nfit.c 	if (nfit_test->num_dcr) {
nfit_test        2928 tools/testing/nvdimm/test/nfit.c 		int num = nfit_test->num_dcr;
nfit_test        2930 tools/testing/nvdimm/test/nfit.c 		nfit_test->dimm = devm_kcalloc(dev, num, sizeof(void *),
nfit_test        2932 tools/testing/nvdimm/test/nfit.c 		nfit_test->dimm_dma = devm_kcalloc(dev, num, sizeof(dma_addr_t),
nfit_test        2934 tools/testing/nvdimm/test/nfit.c 		nfit_test->flush = devm_kcalloc(dev, num, sizeof(void *),
nfit_test        2936 tools/testing/nvdimm/test/nfit.c 		nfit_test->flush_dma = devm_kcalloc(dev, num, sizeof(dma_addr_t),
nfit_test        2938 tools/testing/nvdimm/test/nfit.c 		nfit_test->label = devm_kcalloc(dev, num, sizeof(void *),
nfit_test        2940 tools/testing/nvdimm/test/nfit.c 		nfit_test->label_dma = devm_kcalloc(dev, num,
nfit_test        2942 tools/testing/nvdimm/test/nfit.c 		nfit_test->dcr = devm_kcalloc(dev, num,
nfit_test        2944 tools/testing/nvdimm/test/nfit.c 		nfit_test->dcr_dma = devm_kcalloc(dev, num,
nfit_test        2946 tools/testing/nvdimm/test/nfit.c 		nfit_test->smart = devm_kcalloc(dev, num,
nfit_test        2948 tools/testing/nvdimm/test/nfit.c 		nfit_test->smart_threshold = devm_kcalloc(dev, num,
nfit_test        2951 tools/testing/nvdimm/test/nfit.c 		nfit_test->fw = devm_kcalloc(dev, num,
nfit_test        2953 tools/testing/nvdimm/test/nfit.c 		if (nfit_test->dimm && nfit_test->dimm_dma && nfit_test->label
nfit_test        2954 tools/testing/nvdimm/test/nfit.c 				&& nfit_test->label_dma && nfit_test->dcr
nfit_test        2955 tools/testing/nvdimm/test/nfit.c 				&& nfit_test->dcr_dma && nfit_test->flush
nfit_test        2956 tools/testing/nvdimm/test/nfit.c 				&& nfit_test->flush_dma
nfit_test        2957 tools/testing/nvdimm/test/nfit.c 				&& nfit_test->fw)
nfit_test        2963 tools/testing/nvdimm/test/nfit.c 	if (nfit_test->num_pm) {
nfit_test        2964 tools/testing/nvdimm/test/nfit.c 		int num = nfit_test->num_pm;
nfit_test        2966 tools/testing/nvdimm/test/nfit.c 		nfit_test->spa_set = devm_kcalloc(dev, num, sizeof(void *),
nfit_test        2968 tools/testing/nvdimm/test/nfit.c 		nfit_test->spa_set_dma = devm_kcalloc(dev, num,
nfit_test        2970 tools/testing/nvdimm/test/nfit.c 		if (nfit_test->spa_set && nfit_test->spa_set_dma)
nfit_test        2977 tools/testing/nvdimm/test/nfit.c 	if (nfit_test->alloc(nfit_test))
nfit_test        2980 tools/testing/nvdimm/test/nfit.c 	nfit_test->setup(nfit_test);
nfit_test        2981 tools/testing/nvdimm/test/nfit.c 	acpi_desc = &nfit_test->acpi_desc;
nfit_test        2989 tools/testing/nvdimm/test/nfit.c 	rc = acpi_nfit_init(acpi_desc, nfit_test->nfit_buf,
nfit_test        2990 tools/testing/nvdimm/test/nfit.c 			nfit_test->nfit_filled);
nfit_test        2998 tools/testing/nvdimm/test/nfit.c 	if (nfit_test->setup != nfit_test0_setup)
nfit_test        3001 tools/testing/nvdimm/test/nfit.c 	nfit_test->setup_hotplug = 1;
nfit_test        3002 tools/testing/nvdimm/test/nfit.c 	nfit_test->setup(nfit_test);
nfit_test        3008 tools/testing/nvdimm/test/nfit.c 	obj->buffer.length = nfit_test->nfit_size;
nfit_test        3009 tools/testing/nvdimm/test/nfit.c 	obj->buffer.pointer = nfit_test->nfit_buf;
nfit_test        3010 tools/testing/nvdimm/test/nfit.c 	*(nfit_test->_fit) = obj;
nfit_test        3011 tools/testing/nvdimm/test/nfit.c 	__acpi_nfit_notify(&pdev->dev, nfit_test, 0x80);
nfit_test        3021 tools/testing/nvdimm/test/nfit.c 				dev_set_drvdata(nfit_test->dimm_dev[i],
nfit_test        3036 tools/testing/nvdimm/test/nfit.c 	struct nfit_test *nfit_test = to_nfit_test(dev);
nfit_test        3038 tools/testing/nvdimm/test/nfit.c 	kfree(nfit_test);
nfit_test        3195 tools/testing/nvdimm/test/nfit.c 		struct nfit_test *nfit_test;
nfit_test        3198 tools/testing/nvdimm/test/nfit.c 		nfit_test = kzalloc(sizeof(*nfit_test), GFP_KERNEL);
nfit_test        3199 tools/testing/nvdimm/test/nfit.c 		if (!nfit_test) {
nfit_test        3203 tools/testing/nvdimm/test/nfit.c 		INIT_LIST_HEAD(&nfit_test->resources);
nfit_test        3204 tools/testing/nvdimm/test/nfit.c 		badrange_init(&nfit_test->badrange);
nfit_test        3207 tools/testing/nvdimm/test/nfit.c 			nfit_test->num_pm = NUM_PM;
nfit_test        3208 tools/testing/nvdimm/test/nfit.c 			nfit_test->dcr_idx = 0;
nfit_test        3209 tools/testing/nvdimm/test/nfit.c 			nfit_test->num_dcr = NUM_DCR;
nfit_test        3210 tools/testing/nvdimm/test/nfit.c 			nfit_test->alloc = nfit_test0_alloc;
nfit_test        3211 tools/testing/nvdimm/test/nfit.c 			nfit_test->setup = nfit_test0_setup;
nfit_test        3214 tools/testing/nvdimm/test/nfit.c 			nfit_test->num_pm = 2;
nfit_test        3215 tools/testing/nvdimm/test/nfit.c 			nfit_test->dcr_idx = NUM_DCR;
nfit_test        3216 tools/testing/nvdimm/test/nfit.c 			nfit_test->num_dcr = 2;
nfit_test        3217 tools/testing/nvdimm/test/nfit.c 			nfit_test->alloc = nfit_test1_alloc;
nfit_test        3218 tools/testing/nvdimm/test/nfit.c 			nfit_test->setup = nfit_test1_setup;
nfit_test        3224 tools/testing/nvdimm/test/nfit.c 		pdev = &nfit_test->pdev;
nfit_test        3239 tools/testing/nvdimm/test/nfit.c 		instances[i] = nfit_test;
nfit_test        3240 tools/testing/nvdimm/test/nfit.c 		INIT_WORK(&nfit_test->work, uc_error_notify);