Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | regmap_format |
struct | regmap |
struct | regcache_ops |
struct | regmap_range_node |
Typedefs | |
typedef void(* | regmap_lock )(struct regmap *map) |
typedef void(* | regmap_unlock )(struct regmap *map) |
Functions | |
bool | regmap_writeable (struct regmap *map, unsigned int reg) |
bool | regmap_readable (struct regmap *map, unsigned int reg) |
bool | regmap_volatile (struct regmap *map, unsigned int reg) |
bool | regmap_precious (struct regmap *map, unsigned int reg) |
int | _regmap_write (struct regmap *map, unsigned int reg, unsigned int val) |
int | regcache_init (struct regmap *map, const struct regmap_config *config) |
void | regcache_exit (struct regmap *map) |
int | regcache_read (struct regmap *map, unsigned int reg, unsigned int *value) |
int | regcache_write (struct regmap *map, unsigned int reg, unsigned int value) |
int | regcache_sync (struct regmap *map) |
unsigned int | regcache_get_val (const void *base, unsigned int idx, unsigned int word_size) |
bool | regcache_set_val (void *base, unsigned int idx, unsigned int val, unsigned int word_size) |
int | regcache_lookup_reg (struct regmap *map, unsigned int reg) |
Variables | |
struct regcache_ops | regcache_rbtree_ops |
struct regcache_ops | regcache_lzo_ops |
Definition at line 176 of file regcache.c.
Definition at line 450 of file regcache.c.
Definition at line 95 of file regcache.c.
Definition at line 484 of file regcache.c.
Definition at line 419 of file regcache.c.
regcache_sync: Sync the register cache with the hardware.
: map to configure.
Any registers that should not be synced should be marked as volatile. In general drivers can choose not to use the provided syncing functionality if they so require.
Return a negative value on failure, 0 on success.
Definition at line 262 of file regcache.c.
struct regcache_ops regcache_lzo_ops |
Definition at line 372 of file regcache-lzo.c.
struct regcache_ops regcache_rbtree_ops |
Definition at line 428 of file regcache-rbtree.c.