Lines Matching refs:device
212 struct device *dimm_dev[ARRAY_SIZE(handle)];
226 static struct nfit_test *to_nfit_test(struct device *dev) in to_nfit_test()
237 struct device *dev = &t->pdev.dev; in nd_intel_test_get_fw_info()
263 struct device *dev = &t->pdev.dev; in nd_intel_test_start_update()
293 struct device *dev = &t->pdev.dev; in nd_intel_test_send_data()
344 struct device *dev = &t->pdev.dev; in nd_intel_test_finish_fw()
395 struct device *dev = &t->pdev.dev; in nd_intel_test_finish_query()
639 static int is_region_device(struct device *dev) in is_region_device()
644 static int nfit_test_search_region_spa(struct device *dev, void *data) in nfit_test_search_region_spa()
732 static void smart_notify(struct device *bus_dev, in smart_notify()
733 struct device *dimm_dev, struct nd_intel_smart *smart, in smart_notify()
763 struct device *bus_dev, struct device *dimm_dev) in nfit_test_cmd_smart_set_threshold()
782 struct device *bus_dev, struct device *dimm_dev) in nfit_test_cmd_smart_inject()
908 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_set_lss_status()
948 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_security_status()
963 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_unlock_unit()
989 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_set_pass()
1014 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_freeze_lock()
1033 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_disable_pass()
1057 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_secure_erase()
1088 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_overwrite()
1111 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_query_overwrite()
1134 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_master_set_pass()
1161 struct device *dev = &t->pdev.dev; in nd_intel_test_cmd_master_secure_erase()
1617 struct device *dev = &t->pdev.dev; in __test_alloc()
1696 static int ars_state_init(struct device *dev, struct ars_state *ars_state) in ars_state_init()
1719 static int dimm_name_to_id(struct device *dev) in dimm_name_to_id()
1728 static ssize_t handle_show(struct device *dev, struct device_attribute *attr, in handle_show()
1740 static ssize_t fail_cmd_show(struct device *dev, struct device_attribute *attr, in fail_cmd_show()
1751 static ssize_t fail_cmd_store(struct device *dev, struct device_attribute *attr, in fail_cmd_store()
1770 static ssize_t fail_cmd_code_show(struct device *dev, struct device_attribute *attr, in fail_cmd_code_show()
1781 static ssize_t fail_cmd_code_store(struct device *dev, struct device_attribute *attr, in fail_cmd_code_store()
1800 static ssize_t lock_dimm_store(struct device *dev, in lock_dimm_store()
2893 static int nfit_ctl_test(struct device *dev) in nfit_ctl_test()
3151 struct device *dev = &pdev->dev; in nfit_test_probe()
3273 static void nfit_test_release(struct device *dev) in nfit_test_release()