Changeset 724 for GPL/branches/uniaud32-next/lib32/regcache.c
- Timestamp:
- Sep 4, 2022, 11:22:12 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/lib32/regcache.c
r721 r724 22 22 #include "internal.h" 23 23 24 /*static*/const struct regcache_ops *cache_types[] = {24 static const struct regcache_ops *cache_types[] = { 25 25 ®cache_rbtree_ops, 26 26 #if IS_ENABLED(CONFIG_REGCACHE_COMPRESSED) … … 30 30 }; 31 31 32 /*static*/int regcache_hw_init(struct regmap *map)32 static int regcache_hw_init(struct regmap *map) 33 33 { 34 34 int i, j; … … 283 283 } 284 284 285 /*static*/bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg,285 static bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, 286 286 unsigned int val) 287 287 { … … 299 299 } 300 300 301 /*static*/int regcache_default_sync(struct regmap *map, unsigned int min,301 static int regcache_default_sync(struct regmap *map, unsigned int min, 302 302 unsigned int max) 303 303 { … … 649 649 } 650 650 651 /*static*/int regcache_default_cmp(const void *a, const void *b)651 static int regcache_default_cmp(const void *a, const void *b) 652 652 { 653 653 const struct reg_default *_a = a; … … 674 674 } 675 675 676 /*static*/bool regcache_reg_present(unsigned long *cache_present, unsigned int idx)676 static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx) 677 677 { 678 678 if (!cache_present) … … 682 682 } 683 683 684 /*static*/int regcache_sync_block_single(struct regmap *map, void *block,684 static int regcache_sync_block_single(struct regmap *map, void *block, 685 685 unsigned long *cache_present, 686 686 unsigned int block_base, … … 718 718 } 719 719 720 /*static*/int regcache_sync_block_raw_flush(struct regmap *map, const void **data,720 static int regcache_sync_block_raw_flush(struct regmap *map, const void **data, 721 721 unsigned int base, unsigned int cur) 722 722 { … … 746 746 } 747 747 748 /*static*/int regcache_sync_block_raw(struct regmap *map, void *block,748 static int regcache_sync_block_raw(struct regmap *map, void *block, 749 749 unsigned long *cache_present, 750 750 unsigned int block_base, unsigned int start,
Note:
See TracChangeset
for help on using the changeset viewer.