#include <linux/bitfield.h>
#include <linux/nvmem-consumer.h>
#include <linux/platform_device.h>
#include "tsens.h"
#define SROT_CTRL_OFF …
#define TM_INT_EN_OFF …
#define TM_Sn_UPPER_LOWER_STATUS_CTRL_OFF …
#define TM_Sn_STATUS_OFF …
#define TM_TRDY_OFF …
#define BKP_SEL …
#define BKP_REDUN_SEL …
#define BIT_APPEND …
static struct tsens_legacy_calibration_format tsens_8916_nvmem = …;
static struct tsens_legacy_calibration_format tsens_8974_nvmem = …;
static struct tsens_legacy_calibration_format tsens_8974_backup_nvmem = …;
static int calibrate_8916(struct tsens_priv *priv)
{ … }
static void fixup_8974_points(int mode, u32 *p1, u32 *p2)
{ … }
static int calibrate_8974_nvmem(struct tsens_priv *priv)
{ … }
static int calibrate_8974(struct tsens_priv *priv)
{ … }
static int __init init_8226(struct tsens_priv *priv)
{ … }
static int __init init_8909(struct tsens_priv *priv)
{ … }
static int __init init_8939(struct tsens_priv *priv) { … }
static int __init init_9607(struct tsens_priv *priv)
{ … }
static struct tsens_features tsens_v0_1_feat = …;
static const struct reg_field tsens_v0_1_regfields[MAX_REGFIELDS] = …;
static const struct tsens_ops ops_8226 = …;
struct tsens_plat_data data_8226 = …;
static const struct tsens_ops ops_8909 = …;
struct tsens_plat_data data_8909 = …;
static const struct tsens_ops ops_8916 = …;
struct tsens_plat_data data_8916 = …;
static const struct tsens_ops ops_8939 = …;
struct tsens_plat_data data_8939 = …;
static const struct tsens_ops ops_8974 = …;
struct tsens_plat_data data_8974 = …;
static const struct tsens_ops ops_9607 = …;
struct tsens_plat_data data_9607 = …;