linux/drivers/hwmon/intel-m10-bmc-hwmon.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Intel MAX 10 BMC HWMON Driver
 *
 * Copyright (C) 2018-2020 Intel Corporation. All rights reserved.
 *
 */
#include <linux/device.h>
#include <linux/hwmon.h>
#include <linux/mfd/intel-m10-bmc.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>

struct m10bmc_sdata {};

struct m10bmc_hwmon_board_data {};

struct m10bmc_hwmon {};

static const struct m10bmc_sdata n3000bmc_temp_tbl[] =;

static const struct m10bmc_sdata n3000bmc_in_tbl[] =;

static const struct m10bmc_sdata n3000bmc_curr_tbl[] =;

static const struct m10bmc_sdata n3000bmc_power_tbl[] =;

static const struct hwmon_channel_info * const n3000bmc_hinfo[] =;

static const struct m10bmc_sdata d5005bmc_temp_tbl[] =;

static const struct m10bmc_sdata d5005bmc_in_tbl[] =;

static const struct m10bmc_sdata d5005bmc_curr_tbl[] =;

static const struct m10bmc_hwmon_board_data n3000bmc_hwmon_bdata =;

static const struct hwmon_channel_info * const d5005bmc_hinfo[] =;

static const struct m10bmc_hwmon_board_data d5005bmc_hwmon_bdata =;

static const struct m10bmc_sdata n5010bmc_temp_tbl[] =;

static const struct m10bmc_sdata n5010bmc_in_tbl[] =;

static const struct m10bmc_sdata n5010bmc_curr_tbl[] =;

static const struct hwmon_channel_info * const n5010bmc_hinfo[] =;

static const struct m10bmc_hwmon_board_data n5010bmc_hwmon_bdata =;

static const struct m10bmc_sdata n6000bmc_temp_tbl[] =;

static const struct m10bmc_sdata n6000bmc_in_tbl[] =;

static const struct m10bmc_sdata n6000bmc_curr_tbl[] =;

static const struct m10bmc_sdata n6000bmc_power_tbl[] =;

static const struct hwmon_channel_info * const n6000bmc_hinfo[] =;

static const struct m10bmc_hwmon_board_data n6000bmc_hwmon_bdata =;

static umode_t
m10bmc_hwmon_is_visible(const void *data, enum hwmon_sensor_types type,
			u32 attr, int channel)
{}

static const struct m10bmc_sdata *
find_sensor_data(struct m10bmc_hwmon *hw, enum hwmon_sensor_types type,
		 int channel)
{}

static int do_sensor_read(struct m10bmc_hwmon *hw,
			  const struct m10bmc_sdata *data,
			  unsigned int regoff, long *val)
{}

static int m10bmc_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
			     u32 attr, int channel, long *val)
{}

static int m10bmc_hwmon_read_string(struct device *dev,
				    enum hwmon_sensor_types type,
				    u32 attr, int channel, const char **str)
{}

static const struct hwmon_ops m10bmc_hwmon_ops =;

static int m10bmc_hwmon_probe(struct platform_device *pdev)
{}

static const struct platform_device_id intel_m10bmc_hwmon_ids[] =;

static struct platform_driver intel_m10bmc_hwmon_driver =;
module_platform_driver();

MODULE_DEVICE_TABLE(platform, intel_m10bmc_hwmon_ids);
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_IMPORT_NS();