projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regmap: Converts group operation into single read write operations
[deliverable/linux.git]
/
include
/
linux
/
regmap.h
diff --git
a/include/linux/regmap.h
b/include/linux/regmap.h
index 0258bcd6258d524c1254c96670d22fd6ec7dc1b0..ae797b142aa8cb5f5eeb2fda088f6a5ee30426da 100644
(file)
--- a/
include/linux/regmap.h
+++ b/
include/linux/regmap.h
@@
-76,6
+76,9
@@
struct reg_default {
* @write_flag_mask: Mask to be set in the top byte of the register when doing
* a write. If both read_flag_mask and write_flag_mask are
* empty the regmap_bus default masks are used.
* @write_flag_mask: Mask to be set in the top byte of the register when doing
* a write. If both read_flag_mask and write_flag_mask are
* empty the regmap_bus default masks are used.
+ * @use_single_rw: If set, converts the bulk read and write operations into
+ * a series of single read and write operations. This is useful
+ * for device that does not support bulk read and write.
*
* @cache_type: The actual cache type.
* @reg_defaults_raw: Power on reset values for registers (for use with
*
* @cache_type: The actual cache type.
* @reg_defaults_raw: Power on reset values for registers (for use with
@@
-104,6
+107,8
@@
struct regmap_config {
u8 read_flag_mask;
u8 write_flag_mask;
u8 read_flag_mask;
u8 write_flag_mask;
+
+ bool use_single_rw;
};
typedef int (*regmap_hw_write)(void *context, const void *data,
};
typedef int (*regmap_hw_write)(void *context, const void *data,
This page took
0.02444 seconds
and
5
git commands to generate.