Lines Matching defs:regmap_config
392 struct regmap_config { struct
393 const char *name;
395 int reg_bits;
396 int reg_stride;
397 int reg_shift;
398 unsigned int reg_base;
399 int pad_bits;
400 int val_bits;
402 bool (*writeable_reg)(struct device *dev, unsigned int reg);
403 bool (*readable_reg)(struct device *dev, unsigned int reg);
404 bool (*volatile_reg)(struct device *dev, unsigned int reg);
405 bool (*precious_reg)(struct device *dev, unsigned int reg);
406 bool (*writeable_noinc_reg)(struct device *dev, unsigned int reg);
407 bool (*readable_noinc_reg)(struct device *dev, unsigned int reg);
409 int (*reg_read)(void *context, unsigned int reg, unsigned int *val);
410 int (*reg_write)(void *context, unsigned int reg, unsigned int val);
411 int (*reg_update_bits)(void *context, unsigned int reg,
414 int (*read)(void *context, const void *reg_buf, size_t reg_size,
416 int (*write)(void *context, const void *data, size_t count);
417 size_t max_raw_read;
418 size_t max_raw_write;
420 bool can_sleep;
422 bool fast_io;
423 bool io_port;
425 bool disable_locking;
426 regmap_lock lock;
427 regmap_unlock unlock;
428 void *lock_arg;
430 unsigned int max_register;
431 bool max_register_is_0;
432 const struct regmap_access_table *wr_table;
433 const struct regmap_access_table *rd_table;
434 const struct regmap_access_table *volatile_table;
435 const struct regmap_access_table *precious_table;
436 const struct regmap_access_table *wr_noinc_table;
437 const struct regmap_access_table *rd_noinc_table;
438 const struct reg_default *reg_defaults;
439 unsigned int num_reg_defaults;
440 enum regcache_type cache_type;
441 const void *reg_defaults_raw;
442 unsigned int num_reg_defaults_raw;
444 unsigned long read_flag_mask;
445 unsigned long write_flag_mask;
446 bool zero_flag_mask;
448 bool use_single_read;
449 bool use_single_write;
450 bool use_relaxed_mmio;
451 bool can_multi_write;
453 bool use_hwlock;
454 bool use_raw_spinlock;
455 unsigned int hwlock_id;
456 unsigned int hwlock_mode;
458 enum regmap_endian reg_format_endian;
459 enum regmap_endian val_format_endian;
461 const struct regmap_range_cfg *ranges;
462 unsigned int num_ranges;