• Home
  • Raw
  • Download

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;
103 const struct regmap_access_table *wr_table; argument
104 const struct regmap_access_table *rd_table; argument
105 const struct regmap_access_table *volatile_table; argument
106 const struct regmap_access_table *precious_table; argument
107 const struct regmap_access_table *wr_noinc_table; argument
108 const struct regmap_access_table *rd_noinc_table; argument
110 int (*reg_read)(void *context, unsigned int reg, unsigned int *val);
111 int (*reg_write)(void *context, unsigned int reg, unsigned int val);
112 int (*reg_update_bits)(void *context, unsigned int reg,
115 int (*read)(void *context, const void *reg_buf, size_t reg_size,
117 int (*write)(void *context, const void *data, size_t count);
119 bool defer_caching;
121 unsigned long read_flag_mask;
122 unsigned long write_flag_mask;
125 int reg_shift;
126 int reg_stride;
127 int reg_stride_order;
130 bool force_write_field;
133 const struct regcache_ops *cache_ops;
134 enum regcache_type cache_type;
137 unsigned int cache_size_raw;
139 unsigned int cache_word_size;
141 unsigned int num_reg_defaults;
143 unsigned int num_reg_defaults_raw;
146 bool cache_only;
148 bool cache_bypass;
150 bool cache_free;
152 struct reg_default *reg_defaults;
153 const void *reg_defaults_raw;
154 void *cache;
179 /* if set, the regmap core can sleep */ argument
186 int (*init)(struct regmap *map); argument
225 struct regmap *regmap; member