Lars-Peter Clausen
|
61cddc57dc
regmap: Fix cache defaults initialization from raw cache defaults
|
13 years ago |
Mark Brown
|
bc7ee55633
regmap: Add trace event for successful cache reads
|
13 years ago |
Mark Brown
|
4c69166458
regmap: Remove indexed cache type
|
13 years ago |
Lars-Peter Clausen
|
b44d48c1cc
regmap: Drop check whether a register is readable in regcache_read
|
13 years ago |
Lars-Peter Clausen
|
064d4db11e
regmap: Properly round cache_word_size
|
13 years ago |
Lars-Peter Clausen
|
720e4616e8
regmap: Make reg_config reg_defaults const
|
13 years ago |
Lars-Peter Clausen
|
e5e3b8abed
regmap: Move initialization of regcache related fields to regcache_init
|
13 years ago |
Lars-Peter Clausen
|
bd061c78ca
regmap: Fix memory leak in regcache_init error path
|
13 years ago |
Lars-Peter Clausen
|
021cd616de
regmap: Fix memory leak in regcache_hw_init error path
|
13 years ago |
Mark Brown
|
8ae0d7e8a9
regmap: Track if the register cache is dirty and suppress unneeded syncs
|
13 years ago |
Paul Gortmaker
|
1b6bc32f0a
drivers/base: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required.
|
14 years ago |
Mark Brown
|
8528bdd450
regmap: Allow caches for devices with no defaults
|
13 years ago |
Mark Brown
|
6e6ace00a0
regmap: Return a sensible error code if we fail to read the cache
|
13 years ago |
Mark Brown
|
f094fea68f
regmap: Use bsearch() to search the register defaults
|
13 years ago |
Dimitris Papastamos
|
0eef6b0415
regmap: Fix doc comment
|
13 years ago |
Dimitris Papastamos
|
c08604b8ae
regmap: Optimize the lookup path to use binary search
|
13 years ago |
Dimitris Papastamos
|
ac77a765cb
regmap: Ensure we scream if we enable cache bypass/only at the same time
|
13 years ago |
Dimitris Papastamos
|
6eb0f5e015
regmap: Implement regcache_cache_bypass helper function
|
13 years ago |
Dimitris Papastamos
|
beb1a10f21
regmap: Save/restore the bypass state upon syncing
|
13 years ago |
Dimitris Papastamos
|
13753a9088
regmap: Lock the sync path, ensure we use the lockless _regmap_write()
|
13 years ago |
Mark Brown
|
5fcd256076
regmap: Fix apostrophe usage
|
13 years ago |
Mark Brown
|
2cd148f159
regmap: Fix lock used for regcache_cache_only()
|
13 years ago |
Dimitris Papastamos
|
38f6916976
regmap: Grab the lock in regcache_cache_only()
|
13 years ago |
Dimitris Papastamos
|
ec8a365fe6
regmap: Modify map->cache_bypass directly
|
13 years ago |
Dimitris Papastamos
|
a40c282362
regmap: Fix regcache_sync generic implementation
|
13 years ago |
Dimitris Papastamos
|
954757d767
regmap: Implement generic syncing functionality
|
13 years ago |
Mark Brown
|
92afb286d7
regmap: Allow drivers to control cache_only flag
|
13 years ago |
Mark Brown
|
e7a6db30df
regmap: A cache type of _NONE behaves like a bypassed cache
|
13 years ago |
Dimitris Papastamos
|
5936008901
regmap: Add the regcache_sync trace event
|
13 years ago |
Dimitris Papastamos
|
2cbbb579bc
regmap: Add the LZO cache support
|
13 years ago |