/Linux-v4.19/drivers/nvdimm/ |
D | dimm_devs.c | 34 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_check_config_data() local 36 if (!nvdimm->cmd_mask || in nvdimm_check_config_data() 37 !test_bit(ND_CMD_GET_CONFIG_DATA, &nvdimm->cmd_mask)) { in nvdimm_check_config_data() 38 if (test_bit(NDD_ALIASING, &nvdimm->flags)) in nvdimm_check_config_data() 193 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_set_aliasing() local 195 set_bit(NDD_ALIASING, &nvdimm->flags); in nvdimm_set_aliasing() 200 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_set_locked() local 202 set_bit(NDD_LOCKED, &nvdimm->flags); in nvdimm_set_locked() 207 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_clear_locked() local 209 clear_bit(NDD_LOCKED, &nvdimm->flags); in nvdimm_clear_locked() [all …]
|
D | region_devs.c | 33 static int nvdimm_map_flush(struct device *dev, struct nvdimm *nvdimm, int dimm, in nvdimm_map_flush() argument 38 dev_dbg(dev, "%s: map %d flush address%s\n", nvdimm_name(nvdimm), in nvdimm_map_flush() 39 nvdimm->num_flush, nvdimm->num_flush == 1 ? "" : "es"); in nvdimm_map_flush() 41 struct resource *res = &nvdimm->flush_wpq[i]; in nvdimm_map_flush() 47 struct resource *res_j = &nvdimm->flush_wpq[j]; in nvdimm_map_flush() 80 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_activate() local 84 num_flush = min_not_zero(num_flush, nvdimm->num_flush); in nd_region_activate() 85 if (!nvdimm->num_flush) in nd_region_activate() 87 flush_data_size += nvdimm->num_flush * sizeof(void *); in nd_region_activate() 102 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_activate() local [all …]
|
D | bus.c | 760 u32 nd_cmd_in_size(struct nvdimm *nvdimm, int cmd, in nd_cmd_in_size() argument 769 if (nvdimm && cmd == ND_CMD_SET_CONFIG_DATA && idx == 2) { in nd_cmd_in_size() 773 } else if (nvdimm && cmd == ND_CMD_VENDOR && idx == 2) { in nd_cmd_in_size() 787 u32 nd_cmd_out_size(struct nvdimm *nvdimm, int cmd, in nd_cmd_out_size() argument 797 if (nvdimm && cmd == ND_CMD_GET_CONFIG_DATA && idx == 1) in nd_cmd_out_size() 799 else if (nvdimm && cmd == ND_CMD_VENDOR && idx == 2) in nd_cmd_out_size() 801 else if (!nvdimm && cmd == ND_CMD_ARS_STATUS && idx == 2) { in nd_cmd_out_size() 891 struct nvdimm *nvdimm, unsigned int cmd, void *data) in nd_cmd_clear_to_send() argument 897 int rc = nd_desc->clear_to_send(nd_desc, nvdimm, cmd); in nd_cmd_clear_to_send() 904 if (!nvdimm && cmd == ND_CMD_CLEAR_ERROR) in nd_cmd_clear_to_send() [all …]
|
D | namespace_devs.c | 804 struct nvdimm *nvdimm = data; in __reserve_free_pmem() local 822 if (nd_mapping->nvdimm != nvdimm) in __reserve_free_pmem() 853 struct nvdimm *nvdimm = nd_mapping->nvdimm; in reserve_free_pmem() local 856 rc = device_for_each_child(&nvdimm_bus->dev, nvdimm, in reserve_free_pmem() 1156 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_namespace_locked() local 1158 if (test_bit(NDD_LOCKED, &nvdimm->flags)) { in nvdimm_namespace_locked() 1159 dev_dbg(dev, "%s locked\n", nvdimm_name(nvdimm)); in nvdimm_namespace_locked() 1947 struct nvdimm *nvdimm = nd_region->mapping[i].nvdimm; in create_namespace_pmem() local 1955 nvdimm_name(nvdimm), nd_label->uuid); in create_namespace_pmem() 2460 struct nvdimm *nvdimm = nd_mapping->nvdimm; in init_active_labels() local [all …]
|
D | nd.h | 127 struct nvdimm *nvdimm; member 239 struct nvdimm;
|
D | Kconfig | 35 Documentation/nvdimm/nvdimm.txt for more details.
|
D | nd-core.h | 37 struct nvdimm { struct
|
/Linux-v4.19/include/linux/ |
D | libnvdimm.h | 73 struct nvdimm; 76 struct nvdimm *nvdimm, unsigned int cmd, void *buf, 90 struct nvdimm *nvdimm, unsigned int cmd); 112 struct nvdimm *nvdimm; member 168 struct nvdimm *to_nvdimm(struct device *dev); 174 const char *nvdimm_name(struct nvdimm *nvdimm); 175 struct kobject *nvdimm_kobj(struct nvdimm *nvdimm); 176 unsigned long nvdimm_cmd_mask(struct nvdimm *nvdimm); 177 void *nvdimm_provider_data(struct nvdimm *nvdimm); 178 struct nvdimm *nvdimm_create(struct nvdimm_bus *nvdimm_bus, void *provider_data, [all …]
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-bus-nfit | 8 Contact: linux-nvdimm@lists.01.org 17 Contact: linux-nvdimm@lists.01.org 26 Contact: linux-nvdimm@lists.01.org 34 Contact: linux-nvdimm@lists.01.org 42 Contact: linux-nvdimm@lists.01.org 52 Contact: linux-nvdimm@lists.01.org 55 the state of the data on the nvdimm relative to its energy 71 Contact: linux-nvdimm@lists.01.org 87 Contact: linux-nvdimm@lists.01.org 95 Contact: linux-nvdimm@lists.01.org [all …]
|
/Linux-v4.19/drivers/acpi/nfit/ |
D | core.c | 183 static int xlat_nvdimm_status(struct nvdimm *nvdimm, void *buf, unsigned int cmd, in xlat_nvdimm_status() argument 186 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in xlat_nvdimm_status() 218 static int xlat_status(struct nvdimm *nvdimm, void *buf, unsigned int cmd, in xlat_status() argument 221 if (!nvdimm) in xlat_status() 223 return xlat_nvdimm_status(nvdimm, buf, cmd, status); in xlat_status() 394 int acpi_nfit_ctl(struct nvdimm_bus_descriptor *nd_desc, struct nvdimm *nvdimm, in acpi_nfit_ctl() argument 398 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in acpi_nfit_ctl() 423 if (nvdimm) { in acpi_nfit_ctl() 431 dimm_name = nvdimm_name(nvdimm); in acpi_nfit_ctl() 433 cmd_mask = nvdimm_cmd_mask(nvdimm); in acpi_nfit_ctl() [all …]
|
D | nfit.h | 164 struct nvdimm *nvdimm; member 290 int acpi_nfit_ctl(struct nvdimm_bus_descriptor *nd_desc, struct nvdimm *nvdimm,
|
/Linux-v4.19/tools/testing/nvdimm/test/ |
D | Kbuild | 2 ccflags-y := -I$(src)/../../../../drivers/nvdimm/
|
D | nfit.c | 659 struct nvdimm *nvdimm = NULL; in nfit_test_search_spa() local 681 nvdimm = nd_mapping->nvdimm; in nfit_test_search_spa() 683 spa->devices[0].nfit_device_handle = handle[nvdimm->id]; in nfit_test_search_spa() 948 struct nvdimm *nvdimm, unsigned int cmd, void *buf, in nfit_test_ctl() argument 960 if (nvdimm) { in nfit_test_ctl() 961 struct nfit_mem *nfit_mem = nvdimm_provider_data(nvdimm); in nfit_test_ctl() 962 unsigned long cmd_mask = nvdimm_cmd_mask(nvdimm); in nfit_test_ctl() 2357 struct nvdimm *nvdimm; in nfit_ctl_test() local 2418 nvdimm = devm_kzalloc(dev, sizeof(*nvdimm), GFP_KERNEL); in nfit_ctl_test() 2419 if (!nvdimm) in nfit_ctl_test() [all …]
|
/Linux-v4.19/Documentation/ABI/removed/ |
D | sysfs-bus-nfit | 4 Contact: linux-nvdimm@lists.01.org
|
/Linux-v4.19/tools/testing/nvdimm/ |
D | Kbuild | 21 NVDIMM_SRC := $(DRIVERS)/nvdimm
|
/Linux-v4.19/drivers/ |
D | Makefile | 73 obj-$(CONFIG_LIBNVDIMM) += nvdimm/
|
D | Kconfig | 198 source "drivers/nvdimm/Kconfig"
|
/Linux-v4.19/Documentation/nvdimm/ |
D | nvdimm.txt | 3 linux-nvdimm@lists.01.org 105 LIBNVDIMM: https://git.kernel.org/cgit/linux/kernel/git/djbw/nvdimm.git 359 struct nvdimm *nvdimm_create(struct nvdimm_bus *nvdimm_bus, void *provider_data, 369 | |-- driver -> ../../../../../bus/nd/drivers/nvdimm
|
/Linux-v4.19/Documentation/filesystems/ |
D | dax.txt | 127 the driver (see CONFIG_NVDIMM_PFN in drivers/nvdimm for an example of
|
/Linux-v4.19/Documentation/ |
D | 00-INDEX | 289 nvdimm/
|
/Linux-v4.19/ |
D | MAINTAINERS | 4394 L: linux-nvdimm@lists.01.org 8342 L: linux-nvdimm@lists.01.org 8343 Q: https://patchwork.kernel.org/project/linux-nvdimm/list/ 8345 F: drivers/nvdimm/blk.c 8346 F: drivers/nvdimm/region_devs.c 8353 L: linux-nvdimm@lists.01.org 8354 Q: https://patchwork.kernel.org/project/linux-nvdimm/list/ 8356 F: drivers/nvdimm/btt* 8363 L: linux-nvdimm@lists.01.org 8364 Q: https://patchwork.kernel.org/project/linux-nvdimm/list/ [all …]
|