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 spinlock_t async_lock;
77 wait_queue_head_t async_waitq;
78 struct list_head async_list;
79 struct list_head async_free;
80 int async_ret;
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 unsigned long read_flag_mask;
121 unsigned long write_flag_mask;
124 int reg_shift;
125 int reg_stride;
126 int reg_stride_order;
128 bool defer_caching;
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;
164 /* if set, the regmap core can sleep */ argument
187 int (*init)(struct regmap *map); argument
226 struct regmap *regmap; member