Lines Matching defs:regmap

50 struct regmap {  struct
62 regmap_lock lock; argument
63 regmap_unlock unlock; argument
70 struct regmap_format format; /* Buffer format */ argument
71 const struct regmap_bus *bus; argument
72 void *bus_context;
73 const char *name;
75 bool async;
76 spinlock_t async_lock;
77 wait_queue_head_t async_waitq;
78 struct list_head async_list;
102 const struct regmap_access_table *wr_table; argument
103 const struct regmap_access_table *rd_table; argument
104 const struct regmap_access_table *volatile_table; argument
105 const struct regmap_access_table *precious_table; argument
106 const struct regmap_access_table *wr_noinc_table; argument
107 const struct regmap_access_table *rd_noinc_table; argument
109 int (*reg_read)(void *context, unsigned int reg, unsigned int *val);
110 int (*reg_write)(void *context, unsigned int reg, unsigned int val);
111 int (*reg_update_bits)(void *context, unsigned int reg,
114 int (*read)(void *context, const void *reg_buf, size_t reg_size,
116 int (*write)(void *context, const void *data, size_t count);
118 bool defer_caching;
120 unsigned long read_flag_mask;
121 unsigned long write_flag_mask;
124 int reg_shift;
125 int reg_stride;
126 int reg_stride_order;
129 bool force_write_field;
132 const struct regcache_ops *cache_ops;
133 enum regcache_type cache_type;
136 unsigned int cache_size_raw;
138 unsigned int cache_word_size;
140 unsigned int num_reg_defaults;
142 unsigned int num_reg_defaults_raw;
145 bool cache_only;
147 bool cache_bypass;
149 bool cache_free;
151 struct reg_default *reg_defaults;
152 const void *reg_defaults_raw;
153 void *cache;
178 /* if set, the regmap core can sleep */ argument
185 int (*init)(struct regmap *map); argument
224 struct regmap *regmap; member