Lines Matching defs:regmap_config

388 struct regmap_config {  struct
389 const char *name;
391 int reg_bits;
392 int reg_stride;
393 int reg_shift;
394 unsigned int reg_base;
395 int pad_bits;
396 int val_bits;
398 bool (*writeable_reg)(struct device *dev, unsigned int reg);
399 bool (*readable_reg)(struct device *dev, unsigned int reg);
400 bool (*volatile_reg)(struct device *dev, unsigned int reg);
401 bool (*precious_reg)(struct device *dev, unsigned int reg);
402 bool (*writeable_noinc_reg)(struct device *dev, unsigned int reg);
403 bool (*readable_noinc_reg)(struct device *dev, unsigned int reg);
405 bool disable_locking;
406 regmap_lock lock;
407 regmap_unlock unlock;
408 void *lock_arg;
410 int (*reg_read)(void *context, unsigned int reg, unsigned int *val);
411 int (*reg_write)(void *context, unsigned int reg, unsigned int val);
412 int (*reg_update_bits)(void *context, unsigned int reg,
415 int (*read)(void *context, const void *reg_buf, size_t reg_size,
417 int (*write)(void *context, const void *data, size_t count);
418 size_t max_raw_read;
419 size_t max_raw_write;
421 bool fast_io;
422 bool io_port;
424 unsigned int max_register;
425 const struct regmap_access_table *wr_table;
426 const struct regmap_access_table *rd_table;
427 const struct regmap_access_table *volatile_table;
428 const struct regmap_access_table *precious_table;
429 const struct regmap_access_table *wr_noinc_table;
430 const struct regmap_access_table *rd_noinc_table;
431 const struct reg_default *reg_defaults;
432 unsigned int num_reg_defaults;
433 enum regcache_type cache_type;
434 const void *reg_defaults_raw;
435 unsigned int num_reg_defaults_raw;
437 unsigned long read_flag_mask;
438 unsigned long write_flag_mask;
439 bool zero_flag_mask;
441 bool use_single_read;
442 bool use_single_write;
443 bool use_relaxed_mmio;
444 bool can_multi_write;
446 enum regmap_endian reg_format_endian;
447 enum regmap_endian val_format_endian;
449 const struct regmap_range_cfg *ranges;
450 unsigned int num_ranges;
452 bool use_hwlock;
453 bool use_raw_spinlock;
454 unsigned int hwlock_id;
455 unsigned int hwlock_mode;
457 bool can_sleep;