#include <linux/bitfield.h>
#include <linux/device.h>
#include <linux/dev_printk.h>
#include <linux/mfd/core.h>
#include <linux/mfd/intel-m10-bmc.h>
#include <linux/module.h>
void m10bmc_fw_state_set(struct intel_m10bmc *m10bmc, enum m10bmc_fw_state new_state)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
static bool m10bmc_reg_always_available(struct intel_m10bmc *m10bmc, unsigned int offset)
{ … }
static bool m10bmc_handshake_reg_unavailable(struct intel_m10bmc *m10bmc)
{ … }
int m10bmc_sys_read(struct intel_m10bmc *m10bmc, unsigned int offset, unsigned int *val)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int m10bmc_sys_update_bits(struct intel_m10bmc *m10bmc, unsigned int offset,
unsigned int msk, unsigned int val)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
static ssize_t bmc_version_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(bmc_version);
static ssize_t bmcfw_version_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(bmcfw_version);
static ssize_t mac_address_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(mac_address);
static ssize_t mac_count_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(mac_count);
static struct attribute *m10bmc_attrs[] = …;
static const struct attribute_group m10bmc_group = …;
const struct attribute_group *m10bmc_dev_groups[] = …;
EXPORT_SYMBOL_NS_GPL(…);
int m10bmc_dev_init(struct intel_m10bmc *m10bmc, const struct intel_m10bmc_platform_info *info)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;