Lines Matching defs:regmap_config
354 struct regmap_config { struct
355 const char *name;
357 int reg_bits;
358 int reg_stride;
359 int pad_bits;
360 int val_bits;
362 bool (*writeable_reg)(struct device *dev, unsigned int reg);
363 bool (*readable_reg)(struct device *dev, unsigned int reg);
364 bool (*volatile_reg)(struct device *dev, unsigned int reg);
365 bool (*precious_reg)(struct device *dev, unsigned int reg);
366 bool (*writeable_noinc_reg)(struct device *dev, unsigned int reg);
367 bool (*readable_noinc_reg)(struct device *dev, unsigned int reg);
369 bool disable_locking;
370 regmap_lock lock;
371 regmap_unlock unlock;
372 void *lock_arg;
374 int (*reg_read)(void *context, unsigned int reg, unsigned int *val);
375 int (*reg_write)(void *context, unsigned int reg, unsigned int val);
377 bool fast_io;
379 unsigned int max_register;
380 const struct regmap_access_table *wr_table;
381 const struct regmap_access_table *rd_table;
382 const struct regmap_access_table *volatile_table;
383 const struct regmap_access_table *precious_table;
384 const struct regmap_access_table *wr_noinc_table;
385 const struct regmap_access_table *rd_noinc_table;
386 const struct reg_default *reg_defaults;
387 unsigned int num_reg_defaults;
388 enum regcache_type cache_type;
389 const void *reg_defaults_raw;
390 unsigned int num_reg_defaults_raw;
392 unsigned long read_flag_mask;
393 unsigned long write_flag_mask;
394 bool zero_flag_mask;
396 bool use_single_read;
397 bool use_single_write;
398 bool use_relaxed_mmio;
399 bool can_multi_write;
401 enum regmap_endian reg_format_endian;
402 enum regmap_endian val_format_endian;
404 const struct regmap_range_cfg *ranges;
405 unsigned int num_ranges;
407 bool use_hwlock;
408 bool use_raw_spinlock;
409 unsigned int hwlock_id;
410 unsigned int hwlock_mode;
412 bool can_sleep;