Lines Matching defs:regmap

50 struct regmap {  struct
63 regmap_lock lock; argument
64 regmap_unlock unlock; argument
71 struct regmap_format format; /* Buffer format */ argument
72 const struct regmap_bus *bus; argument
73 void *bus_context;
74 const char *name;
76 bool async;
77 spinlock_t async_lock;
78 wait_queue_head_t async_waitq;
79 struct list_head async_list;
80 struct list_head async_free;
104 const struct regmap_access_table *wr_table; argument
105 const struct regmap_access_table *rd_table; argument
106 const struct regmap_access_table *volatile_table; argument
107 const struct regmap_access_table *precious_table; argument
108 const struct regmap_access_table *wr_noinc_table; argument
109 const struct regmap_access_table *rd_noinc_table; argument
111 int (*reg_read)(void *context, unsigned int reg, unsigned int *val);
112 int (*reg_write)(void *context, unsigned int reg, unsigned int val);
113 int (*reg_update_bits)(void *context, unsigned int reg,
116 int (*read)(void *context, const void *reg_buf, size_t reg_size,
118 int (*write)(void *context, const void *data, size_t count);
120 bool defer_caching;
122 unsigned long read_flag_mask;
123 unsigned long write_flag_mask;
126 int reg_shift;
127 int reg_stride;
128 int reg_stride_order;
131 bool force_write_field;
134 const struct regcache_ops *cache_ops;
135 enum regcache_type cache_type;
138 unsigned int cache_size_raw;
140 unsigned int cache_word_size;
142 unsigned int num_reg_defaults;
144 unsigned int num_reg_defaults_raw;
147 bool cache_only;
149 bool cache_bypass;
151 bool cache_free;
153 struct reg_default *reg_defaults;
154 const void *reg_defaults_raw;
155 void *cache;
180 /* if set, the regmap core can sleep */ argument
187 int (*init)(struct regmap *map); argument
226 struct regmap *regmap; member