blob: 5b19459828fedafb0e26abc2de47a1847240be00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef REGMAP_INTERNAL_H_
#define REGMAP_INTERNAL_H_
#include <linux/list.h>
#include <driver.h>
struct regmap_bus;
struct regmap {
struct device_d *dev;
const struct regmap_bus *bus;
const char *name;
void *bus_context;
struct list_head list;
int reg_bits;
int reg_stride;
int pad_bits;
int val_bits;
int val_bytes;
unsigned int max_register;
struct cdev cdev;
};
#endif
|