Lines Matching defs:regmap
52 struct regmap { struct
60 regmap_lock lock; argument
61 regmap_unlock unlock; argument
67 struct regmap_format format; /* Buffer format */ argument
68 const struct regmap_bus *bus; argument
69 void *bus_context;
70 const char *name;
72 bool async;
73 spinlock_t async_lock;
74 wait_queue_head_t async_waitq;
98 const struct regmap_access_table *wr_table; argument
99 const struct regmap_access_table *rd_table; argument
100 const struct regmap_access_table *volatile_table; argument
101 const struct regmap_access_table *precious_table; argument
102 const struct regmap_access_table *rd_noinc_table; argument
104 int (*reg_read)(void *context, unsigned int reg, unsigned int *val);
105 int (*reg_write)(void *context, unsigned int reg, unsigned int val);
106 int (*reg_update_bits)(void *context, unsigned int reg,
109 bool defer_caching;
111 unsigned long read_flag_mask;
112 unsigned long write_flag_mask;
115 int reg_shift;
116 int reg_stride;
117 int reg_stride_order;
120 const struct regcache_ops *cache_ops;
121 enum regcache_type cache_type;
124 unsigned int cache_size_raw;
126 unsigned int cache_word_size;
128 unsigned int num_reg_defaults;
130 unsigned int num_reg_defaults_raw;
133 bool cache_only;
135 bool cache_bypass;
137 bool cache_free;
139 struct reg_default *reg_defaults;
140 const void *reg_defaults_raw;
141 void *cache;
143 bool cache_dirty;
145 bool no_sync_defaults;
170 int (*init)(struct regmap *map); argument
208 struct regmap *regmap; member