Lines Matching refs:nd_desc

199 	return nvdimm_bus->nd_desc;  in to_nd_desc()
318 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in commands_show() local
320 for_each_set_bit(cmd, &nd_desc->cmd_mask, BITS_PER_LONG) in commands_show()
329 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_bus_provider() local
332 if (nd_desc->provider_name) in nvdimm_bus_provider()
333 return nd_desc->provider_name; in nvdimm_bus_provider()
368 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in wait_probe_show() local
371 if (nd_desc->flush_probe) { in wait_probe_show()
372 rc = nd_desc->flush_probe(nd_desc); in wait_probe_show()
397 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in capability_show() local
400 if (!nd_desc->fw_ops) in capability_show()
404 cap = nd_desc->fw_ops->capability(nd_desc); in capability_show()
423 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in activate_show() local
427 if (!nd_desc->fw_ops) in activate_show()
431 cap = nd_desc->fw_ops->capability(nd_desc); in activate_show()
432 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_show()
454 struct nvdimm_bus_descriptor *nd_desc = data; in exec_firmware_activate() local
456 return nd_desc->fw_ops->activate(nd_desc); in exec_firmware_activate()
463 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in activate_store() local
468 if (!nd_desc->fw_ops) in activate_store()
479 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_store()
488 rc = hibernate_quiet_exec(exec_firmware_activate, nd_desc); in activate_store()
490 rc = nd_desc->fw_ops->activate(nd_desc); in activate_store()
509 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_bus_firmware_visible() local
516 if (!nd_desc->fw_ops) in nvdimm_bus_firmware_visible()
520 cap = nd_desc->fw_ops->capability(nd_desc); in nvdimm_bus_firmware_visible()