Lines Matching refs:nd_desc
199 return nvdimm_bus->nd_desc; in to_nd_desc()
286 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in commands_show() local
288 for_each_set_bit(cmd, &nd_desc->cmd_mask, BITS_PER_LONG) in commands_show()
297 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_bus_provider() local
300 if (nd_desc->provider_name) in nvdimm_bus_provider()
301 return nd_desc->provider_name; in nvdimm_bus_provider()
336 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in wait_probe_show() local
339 if (nd_desc->flush_probe) { in wait_probe_show()
340 rc = nd_desc->flush_probe(nd_desc); in wait_probe_show()
365 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in capability_show() local
368 if (!nd_desc->fw_ops) in capability_show()
371 cap = nd_desc->fw_ops->capability(nd_desc); in capability_show()
389 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in activate_show() local
393 if (!nd_desc->fw_ops) in activate_show()
396 cap = nd_desc->fw_ops->capability(nd_desc); in activate_show()
397 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_show()
418 struct nvdimm_bus_descriptor *nd_desc = data; in exec_firmware_activate() local
420 return nd_desc->fw_ops->activate(nd_desc); in exec_firmware_activate()
427 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in activate_store() local
432 if (!nd_desc->fw_ops) in activate_store()
442 state = nd_desc->fw_ops->activate_state(nd_desc); in activate_store()
451 rc = hibernate_quiet_exec(exec_firmware_activate, nd_desc); in activate_store()
453 rc = nd_desc->fw_ops->activate(nd_desc); in activate_store()
471 struct nvdimm_bus_descriptor *nd_desc = nvdimm_bus->nd_desc; in nvdimm_bus_firmware_visible() local
478 if (!nd_desc->fw_ops) in nvdimm_bus_firmware_visible()
481 cap = nd_desc->fw_ops->capability(nd_desc); in nvdimm_bus_firmware_visible()