#include <linux/libnvdimm.h>
#include <linux/ndctl.h>
#include <linux/acpi.h>
#include <linux/memregion.h>
#include <asm/smp.h>
#include "intel.h"
#include "nfit.h"
static ssize_t firmware_activate_noidle_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static ssize_t firmware_activate_noidle_store(struct device *dev,
struct device_attribute *attr, const char *buf, size_t size)
{ … }
DEVICE_ATTR_RW(…);
bool intel_fwa_supported(struct nvdimm_bus *nvdimm_bus)
{ … }
static unsigned long intel_security_flags(struct nvdimm *nvdimm,
enum nvdimm_passphrase_type ptype)
{ … }
static int intel_security_freeze(struct nvdimm *nvdimm)
{ … }
static int intel_security_change_key(struct nvdimm *nvdimm,
const struct nvdimm_key_data *old_data,
const struct nvdimm_key_data *new_data,
enum nvdimm_passphrase_type ptype)
{ … }
static int __maybe_unused intel_security_unlock(struct nvdimm *nvdimm,
const struct nvdimm_key_data *key_data)
{ … }
static int intel_security_disable(struct nvdimm *nvdimm,
const struct nvdimm_key_data *key_data)
{ … }
static int __maybe_unused intel_security_erase(struct nvdimm *nvdimm,
const struct nvdimm_key_data *key,
enum nvdimm_passphrase_type ptype)
{ … }
static int __maybe_unused intel_security_query_overwrite(struct nvdimm *nvdimm)
{ … }
static int __maybe_unused intel_security_overwrite(struct nvdimm *nvdimm,
const struct nvdimm_key_data *nkey)
{ … }
static const struct nvdimm_security_ops __intel_security_ops = …;
const struct nvdimm_security_ops *intel_security_ops = …;
static int intel_bus_fwa_businfo(struct nvdimm_bus_descriptor *nd_desc,
struct nd_intel_bus_fw_activate_businfo *info)
{ … }
static enum nvdimm_fwa_state intel_bus_fwa_state(
struct nvdimm_bus_descriptor *nd_desc)
{ … }
static enum nvdimm_fwa_capability intel_bus_fwa_capability(
struct nvdimm_bus_descriptor *nd_desc)
{ … }
static int intel_bus_fwa_activate(struct nvdimm_bus_descriptor *nd_desc)
{ … }
static const struct nvdimm_bus_fw_ops __intel_bus_fw_ops = …;
const struct nvdimm_bus_fw_ops *intel_bus_fw_ops = …;
static int intel_fwa_dimminfo(struct nvdimm *nvdimm,
struct nd_intel_fw_activate_dimminfo *info)
{ … }
static enum nvdimm_fwa_state intel_fwa_state(struct nvdimm *nvdimm)
{ … }
static enum nvdimm_fwa_result intel_fwa_result(struct nvdimm *nvdimm)
{ … }
static int intel_fwa_arm(struct nvdimm *nvdimm, enum nvdimm_fwa_trigger arm)
{ … }
static const struct nvdimm_fw_ops __intel_fw_ops = …;
const struct nvdimm_fw_ops *intel_fw_ops = …;