aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regcache.c
AgeCommit message (Expand)AuthorFilesLines
2026-06-16regcache: Do not overwrite error code when finalizing cache after errorFrancesco Lavra1-1/+1
2026-03-05regcache: Move HW readback after cache initialisationAndy Shevchenko1-12/+15
2026-03-05regcache: Allocate and free reg_defaults on the same levelAndy Shevchenko1-19/+15
2026-03-05regcache: Move count check and cache_bypass assignment to the callerAndy Shevchenko1-4/+4
2026-03-03regcache: Factor out regcache_hw_exit() helperAndy Shevchenko1-6/+9
2026-03-02regcache: Amend printf() specifiers when printing registersAndy Shevchenko1-2/+2
2026-03-02regcache: Define iterator inside for-loop and align their typesAndy Shevchenko1-7/+6
2026-02-22regcache: Split regcache_count_cacheable_registers() helperAndy Shevchenko1-11/+19
2026-02-22regcache: Remove duplicate check in regcache_hw_init()Andy Shevchenko1-3/+0
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-1/+1
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-2/+1
2026-01-28regmap: reg_default_cb for flat cache defaultsMark Brown1-1/+2
2026-01-27regcache: Demote defaults readback from HW to debug printMarek Vasut1-1/+1
2026-01-27regmap: Add reg_default_cb callback for flat cache defaultsSheetal1-1/+2
2025-10-31regcache: Add ->populate() callback to separate from ->init()Andy Shevchenko1-0/+16
2025-10-29regmap: add flat cache with sparse validitySander Vanheule1-0/+1
2025-04-30regcache: Use sort()'s default swap() implementationThorsten Blum1-12/+1
2025-02-27regcache: Add support for sorting defaults arraysCharles Keepax1-0/+31
2024-12-02regmap: cache: Use BITS_TO_BYTES()Andy Shevchenko1-1/+1
2024-08-23regmap: Hold the regmap lock when allocating and freeing the cacheMark Brown1-0/+4
2024-06-07regmap: cache: Switch to use kmemdup_array()Andy Shevchenko1-2/+2
2024-06-07regmap: cache: Use correct type of the rb_for_each() parameterAndy Shevchenko1-1/+1
2024-02-05regmap: rework ->max_register handlingJan Dakinevich1-1/+3
2023-12-04regmap: fix bogus error on regcache_sync successMatthias Reichl1-2/+1
2023-10-26regmap: Ensure range selector registers are updated after cache syncMark Brown1-0/+30
2023-07-23regmap: Merge up fixes from mainlineMark Brown1-3/+0
2023-07-19regcache: Push async I/O request down into the rbtree cacheMark Brown1-3/+0
2023-07-18regmap: Let users check if a register is cachedMark Brown1-0/+23
2023-07-09regmap: cache: Revert "Add 64-bit mode support"Andy Shevchenko1-15/+0
2023-06-28Merge tag 'regmap-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broo...Linus Torvalds1-8/+4
2023-06-13regmap: regcache: Don't sync read-only registersTakashi Iwai1-0/+3
2023-06-12regmap: Don't check for changes in regcache_set_val()Mark Brown1-6/+2
2023-06-12regmap: maple: Implement block sync for the maple tree cacheMark Brown1-2/+2
2023-04-03regmap: Add maple tree based register cacheMark Brown1-0/+1
2023-04-03regmap: Factor out single value register syncingMark Brown1-14/+26
2023-03-29regmap: Removed compressed cache supportMark Brown1-3/+0
2023-03-27regmap: Clarify error for unknown cache typesMark Brown1-1/+1
2023-03-27regmap: Handle sparse caches in the default syncMark Brown1-0/+2
2023-03-13regmap: cache: Silence checkpatch warningAlexander Stein1-1/+1
2023-03-13regmap: cache: Return error in cache sync operations for REGCACHE_NONEAlexander Stein1-0/+6
2022-06-30regmap: cache: Add extra parameter check in regcache_initSchspa Shi1-0/+6
2022-06-27regmap: Don't warn about cache only mode for devices with no cacheMark Brown1-1/+2
2022-06-06regmap: cache: Fix syntax errors in commentsXiang wangx1-1/+1
2022-04-25regmap: cache: set max_register with reg_strideJeongtae Park1-2/+2
2021-01-21regmap: Assign boolean values to a bool variableJiapeng Zhong1-1/+1
2020-09-21regmap: fix page selection for noinc writesDmitry Baryshkov1-1/+1
2019-04-25regmap: add proper SPDX identifiers on files that did not have them.Greg Kroah-Hartman1-11/+7
2017-06-08regmap: Fix typo in IS_ENABLED() checkMark Brown1-1/+1
2017-06-06regmap: make LZO cache optionalJonas Gorski1-0/+2
2017-01-12regmap: Fixup the kernel-doc comments on functions/structuresCharles Keepax1-10/+10
2016-07-29regmap: cache: Fix num_reg_defaults computation from reg_defaults_rawMaarten ter Huurne1-2/+3
2016-03-23regmap: cache: Fix typo in cache_bypass parameter descriptionAndrew F. Davis1-1/+1
2016-03-05Merge remote-tracking branch 'regmap/topic/mmio' into regmap-nextMark Brown1-11/+30
2016-03-05Merge remote-tracking branch 'regmap/fix/raw' into regmap-linusMark Brown1-2/+2
2016-02-02regmap: cache: Fall back to register by register read for cache defaultsMark Brown1-11/+30
2016-01-15regmap: pass buffer size to regmap_raw_read() in regcache_hw_init()Maciej S. Szmigiero1-2/+2
2016-01-05Merge remote-tracking branches 'regmap/topic/64bit' and 'regmap/topic/irq-typ...Mark Brown1-0/+21
2015-12-12regmap: cache: Move the num_reg_defaults check as early as possibleXiubo Li1-2/+6
2015-12-12regmap: cache: Add warning info for the cache checkXiubo Li1-4/+8
2015-12-09regmap: cache: Add 64-bit mode supportXiubo Li1-0/+15
2015-12-09regmap: cache: To suppress the noise of checkpatchXiubo Li1-0/+6
2015-10-04debugfs: Pass bool pointer to debugfs_create_bool()Viresh Kumar1-12/+12
2015-08-21regmap: Split use_single_rw internally into use_single_read/writeMarkus Pargmann1-1/+1
2015-05-06regmap: Use regcache_mark_dirty() to indicate power loss or resetKevin Cernekee1-4/+15
2015-05-06regmap: Add a helper function for regcache sync testKevin Cernekee1-11/+15
2015-04-13Merge tag 'regmap-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broo...Linus Torvalds1-1/+1
2015-03-24Merge tag 'regmap-fix-v4.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-8/+8
2015-03-19regmap: Move tracing header into drivers/base/regmapSteven Rostedt1-1/+1
2015-03-19regmap: introduce regmap_name to fix syscon regmap trace eventsPhilipp Zabel1-8/+8
2015-03-04regmap: Skip read-only registers in regcache_sync()Takashi Iwai1-2/+4
2014-11-21Merge remote-tracking branches 'regmap/topic/ac97' and 'regmap/topic/headers'...Mark Brown1-4/+4
2014-10-20regmap: cache: Sort include headers alphabeticallyXiubo Li1-4/+4
2014-10-20regmap: cache: Fix possible ZERO_SIZE_PTR pointer dereferencing error.Xiubo Li1-21/+29
2014-10-20regmap: cache: use kmalloc_array instead of kmallocXiubo Li1-2/+2
2014-10-20regmap: cache: speed regcache_hw_init() up.Xiubo Li1-1/+1
2014-10-20regmap: cache: fix errno in regcache_hw_init()Xiubo Li1-1/+1
2014-10-20regmap: cache: cleanup regcache_hw_init()Xiubo Li1-6/+3
2014-09-29Merge remote-tracking branch 'regmap/topic/cache' into regmap-nextMark Brown1-2/+11
2014-09-16regmap: cache: Do not fail silently from regcache_sync callsJarkko Nikula1-2/+11
2014-08-31regmap: Don't attempt block writes when syncing cache on single_rw devicesMark Brown1-1/+1
2014-03-28Merge remote-tracking branches 'regmap/topic/cache', 'regmap/topic/irq', 'reg...Mark Brown1-6/+3
2014-03-19regmap: cache: Don't attempt to sync non-writeable registersDylan Reid1-1/+2
2014-03-19regmap: cache: Step by stride in default syncDylan Reid1-1/+1
2014-02-22regmap: Check stride of register patch as we register itCharles Keepax1-4/+0
2014-01-27regmap: cache: Handle stride > 1 in sync_block_raw_flushDylan Reid1-2/+2
2013-10-10regmap: Use async I/O during cache syncMark Brown1-2/+14
2013-10-09regmap: Simplify the initiation of async I/OMark Brown1-2/+1
2013-08-29regmap: rbtree: Make cache_present bitmap per nodeLars-Peter Clausen1-53/+19
2013-08-29Merge remote-tracking branch 'regmap/topic/cache' into regmap-rbtreeMark Brown1-3/+0
2013-08-09regmap: regcache: allow read-only regs to be cachedIonut Nicu1-3/+0
2013-08-05regmap: cache: Make sure to sync the last register in a blockLars-Peter Clausen1-1/+2
2013-06-03regmap: Implemented default cache sync operationMaarten ter Huurne1-4/+42
2013-05-23regmap: regcache: Fixup locking for custom lock callbacksLars-Peter Clausen1-12/+12
2013-05-12regmap: Add support for discarding parts of the register cacheMark Brown1-0/+37
2013-04-05regmap: cache: Fix format specifier in dev_dbgStratos Karafotis1-1/+1
2013-04-05regmap: cache: Make regcache_sync_block_raw staticSachin Kamat1-1/+1
2013-03-30regmap: cache: Write consecutive registers in a single block writeMark Brown1-17/+47
2013-03-30regmap: cache: Split raw and non-raw syncsMark Brown1-11/+53
2013-03-30regmap: cache: Factor out block syncMark Brown1-0/+42
2013-03-30regmap: cache: Factor out reg_present support from rbtree cacheMark Brown1-0/+39
2013-03-26regmap: cache: Provide a get address of value operationMark Brown1-2/+2
2013-03-04regmap: cache: Store caches in native register format where possibleMark Brown1-2/+14
2013-03-04regmap: cache: Use regcache_get_value() to check if we updatedMark Brown1-6/+3
2013-03-04regmap: cache: Pass the map rather than the word size when updating valuesMark Brown1-10/+8
2013-01-02regmap: flat: Add flat cache typeMark Brown1-0/+1
2012-04-10regmap: implement register stridingStephen Warren1-3/+11
2012-04-10Merge branches 'regmap-core', 'regmap-mmio' and 'regmap-naming' into regmap-s...Mark Brown1-10/+10
2012-04-06regmap: introduce fast_io busses, and use a spinlock for themStephen Warren1-10/+10
2012-04-03regmap: Export regcache_sync_region()Mark Brown1-0/+1
2012-03-24Merge tag 'device-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-0/+1
2012-03-14Merge remote-tracking branch 'regmap/topic/bulk' into regmap-nextMark Brown1-0/+5
2012-03-14Merge remote-tracking branches 'regmap/topic/patch' and 'regmap/topic/sync' i...Mark Brown1-19/+50
2012-03-14Merge remote-tracking branch 'regmap/topic/drivers' into regmap-nextMark Brown1-2/+16
2012-03-11device.h: cleanup users outside of linux/include (C files)Paul Gortmaker1-0/+1
2012-02-24regmap: Allow drivers to sync only part of the register cacheMark Brown1-0/+45
2012-02-24regmap: Supply ranges to the sync operationsMark Brown1-1/+1
2012-02-23regmap: Add tracepoints for cache only and cache bypassMark Brown1-0/+2
2012-02-23regmap: Mark the cache as clean after a successful syncMark Brown1-0/+3
2012-02-23regmap: Remove default cache sync implementationMark Brown1-19/+2
2012-02-20Merge branch 'topic/patch' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Mark Brown1-0/+14
2012-02-17regmap: Implement support for 32 bit registers and valuesMark Brown1-0/+11
2012-02-17regmap: Bypassing cache when initializing cacheLaxman Dewangan1-0/+5
2012-02-15regmap: Fix cache defaults initialization from raw cache defaultsLars-Peter Clausen1-2/+2
2012-01-31regmap: Remove incorrect unreachable comment in regcache_set_val()Axel Lin1-1/+0
2012-01-25regmap: Bypass the cache when applying patchesMark Brown1-0/+2
2012-01-25regmap: Skip patch application when the cache is not dirty on syncMark Brown1-2/+3
2012-01-25regmap: Unexport regcache_write() and regcache_read()Mark Brown1-2/+0
2012-01-23regmap: Support register patch setsMark Brown1-0/+11
2011-11-30regmap: Add trace event for successful cache readsMark Brown1-2/+10
2011-11-20regmap: Remove indexed cache typeMark Brown1-20/+0
2011-11-17regmap: Drop check whether a register is readable in regcache_readLars-Peter Clausen1-3/+0
2011-11-17regmap: Properly round cache_word_sizeLars-Peter Clausen1-2/+2
2011-11-16regmap: Make reg_config reg_defaults constLars-Peter Clausen1-3/+2
2011-11-16regmap: Move initialization of regcache related fields to regcache_initLars-Peter Clausen1-1/+8
2011-11-14regmap: Fix memory leak in regcache_init error pathLars-Peter Clausen1-1/+10
2011-11-14regmap: Fix memory leak in regcache_hw_init error pathLars-Peter Clausen1-2/+10
2011-11-08regmap: Track if the register cache is dirty and suppress unneeded syncsMark Brown1-0/+19
2011-10-31drivers/base: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required.Paul Gortmaker1-0/+1
2011-10-10regmap: Allow caches for devices with no defaultsMark Brown1-1/+1
2011-10-10regmap: Return a sensible error code if we fail to read the cacheMark Brown1-1/+1
2011-10-09regmap: Use bsearch() to search the register defaultsMark Brown1-19/+19
2011-10-03regmap: Fix doc commentDimitris Papastamos1-1/+1
2011-10-03regmap: Optimize the lookup path to use binary searchDimitris Papastamos1-4/+23
2011-09-30regmap: Ensure we scream if we enable cache bypass/only at the same timeDimitris Papastamos1-0/+2
2011-09-30regmap: Implement regcache_cache_bypass helper functionDimitris Papastamos1-0/+19
2011-09-30regmap: Save/restore the bypass state upon syncingDimitris Papastamos1-0/+5
2011-09-30regmap: Lock the sync path, ensure we use the lockless _regmap_write()Dimitris Papastamos1-1/+3
2011-09-30regmap: Fix apostrophe usageMark Brown1-1/+1
2011-09-29regmap: Fix lock used for regcache_cache_only()Mark Brown1-2/+2
2011-09-28regmap: Grab the lock in regcache_cache_only()Dimitris Papastamos1-0/+2
2011-09-28regmap: Modify map->cache_bypass directlyDimitris Papastamos1-2/+2
2011-09-28regmap: Fix regcache_sync generic implementationDimitris Papastamos1-1/+1
2011-09-27regmap: Implement generic syncing functionalityDimitris Papastamos1-7/+26
2011-09-19regmap: Allow drivers to control cache_only flagMark Brown1-0/+18
2011-09-19regmap: A cache type of _NONE behaves like a bypassed cacheMark Brown1-1/+3
2011-09-19regmap: Add the regcache_sync trace eventDimitris Papastamos1-1/+7
2011-09-19regmap: Add the LZO cache supportDimitris Papastamos1-0/+1
2011-09-19regmap: Add the rbtree cache supportDimitris Papastamos1-0/+1
2011-09-19regmap: Add the indexed cache supportDimitris Papastamos1-0/+1
2011-09-19regmap: Introduce caching supportDimitris Papastamos1-0/+304