Changeset 772 for GPL/trunk/lib32/regcache.c
- Timestamp:
- Apr 19, 2025, 8:08:37 PM (5 months ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-6.6-LTS (added) merged: 765,768-769 /GPL/branches/uniaud32-exp (added) merged: 735-741,743-744,748-751,753-760,762-764 /GPL/branches/uniaud32-next merged: 718-734
- Property svn:mergeinfo changed
-
GPL/trunk/lib32/regcache.c
r679 r772 24 24 static const struct regcache_ops *cache_types[] = { 25 25 ®cache_rbtree_ops, 26 #if IS_ENABLED(CONFIG_REGCACHE_COMPRESSED)27 ®cache_ lzo_ops,26 #ifndef TARGET_OS2 // Not (yet?) supported 27 ®cache_maple_ops, 28 28 #endif 29 29 ®cache_flat_ops, … … 562 562 EXPORT_SYMBOL_GPL(regcache_cache_bypass); 563 563 564 /** 565 * regcache_reg_cached - Check if a register is cached 566 * 567 * @map: map to check 568 * @reg: register to check 569 * 570 * Reports if a register is cached. 571 */ 572 bool regcache_reg_cached(struct regmap *map, unsigned int reg) 573 { 574 unsigned int val; 575 int ret; 576 577 map->lock(map->lock_arg); 578 579 ret = regcache_read(map, reg, &val); 580 581 map->unlock(map->lock_arg); 582 583 return ret == 0; 584 } 585 EXPORT_SYMBOL_GPL(regcache_reg_cached); 586 564 587 bool regcache_set_val(struct regmap *map, void *base, unsigned int idx, 565 588 unsigned int val) … … 729 752 count = (cur - base) / map->reg_stride; 730 753 731 dev_dbg(map->dev, "Writing % zu bytes for %d registers from 0x%x-0x%x\n",754 dev_dbg(map->dev, "Writing %lu bytes for %d registers from 0x%x-0x%x\n", 732 755 count * val_bytes, count, base, cur - map->reg_stride); 733 756
Note:
See TracChangeset
for help on using the changeset viewer.