#ifndef __DA9055_CORE_H
#define __DA9055_CORE_H
#include <linux/interrupt.h>
#include <linux/regmap.h>
#define DA9055_IRQ_ALARM …
#define DA9055_IRQ_TICK …
#define DA9055_IRQ_NONKEY …
#define DA9055_IRQ_REGULATOR …
#define DA9055_IRQ_HWMON …
struct da9055_pdata;
struct da9055 { … };
static inline int da9055_reg_read(struct da9055 *da9055, unsigned char reg)
{ … }
static inline int da9055_reg_write(struct da9055 *da9055, unsigned char reg,
unsigned char val)
{ … }
static inline int da9055_group_read(struct da9055 *da9055, unsigned char reg,
unsigned reg_cnt, unsigned char *val)
{ … }
static inline int da9055_group_write(struct da9055 *da9055, unsigned char reg,
unsigned reg_cnt, unsigned char *val)
{ … }
static inline int da9055_reg_update(struct da9055 *da9055, unsigned char reg,
unsigned char bit_mask,
unsigned char reg_val)
{ … }
int da9055_device_init(struct da9055 *da9055);
void da9055_device_exit(struct da9055 *da9055);
extern const struct regmap_config da9055_regmap_config;
#endif