#include <linux/module.h>
#include <linux/mfd/si476x-core.h>
struct si476x_property_range { … };
static bool si476x_core_element_is_in_array(u16 element,
const u16 array[],
size_t size)
{ … }
static bool si476x_core_element_is_in_range(u16 element,
const struct si476x_property_range range[],
size_t size)
{ … }
static bool si476x_core_is_valid_property_a10(struct si476x_core *core,
u16 property)
{ … }
static bool si476x_core_is_valid_property_a20(struct si476x_core *core,
u16 property)
{ … }
static bool si476x_core_is_valid_property_a30(struct si476x_core *core,
u16 property)
{ … }
valid_property_pred_t;
static bool si476x_core_is_valid_property(struct si476x_core *core,
u16 property)
{ … }
static bool si476x_core_is_readonly_property(struct si476x_core *core,
u16 property)
{ … }
static bool si476x_core_regmap_readable_register(struct device *dev,
unsigned int reg)
{ … }
static bool si476x_core_regmap_writable_register(struct device *dev,
unsigned int reg)
{ … }
static int si476x_core_regmap_write(void *context, unsigned int reg,
unsigned int val)
{ … }
static int si476x_core_regmap_read(void *context, unsigned int reg,
unsigned *val)
{ … }
static const struct regmap_config si476x_regmap_config = …;
struct regmap *devm_regmap_init_si476x(struct si476x_core *core)
{ … }
EXPORT_SYMBOL_GPL(…);