summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/internal.h
blob: 52df5290a18d3afb403a1b37a0e69c548ae5d651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#include <linux/list.h>

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;
};