|
@@ -543,6 +543,7 @@ struct snd_soc_codec {
|
|
unsigned int (*hw_read)(struct snd_soc_codec *, unsigned int);
|
|
unsigned int (*hw_read)(struct snd_soc_codec *, unsigned int);
|
|
unsigned int (*read)(struct snd_soc_codec *, unsigned int);
|
|
unsigned int (*read)(struct snd_soc_codec *, unsigned int);
|
|
int (*write)(struct snd_soc_codec *, unsigned int, unsigned int);
|
|
int (*write)(struct snd_soc_codec *, unsigned int, unsigned int);
|
|
|
|
+ int (*bulk_write_raw)(struct snd_soc_codec *, unsigned int, const void *, size_t);
|
|
void *reg_cache;
|
|
void *reg_cache;
|
|
const void *reg_def_copy;
|
|
const void *reg_def_copy;
|
|
const struct snd_soc_cache_ops *cache_ops;
|
|
const struct snd_soc_cache_ops *cache_ops;
|
|
@@ -814,6 +815,8 @@ struct soc_enum {
|
|
unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg);
|
|
unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg);
|
|
unsigned int snd_soc_write(struct snd_soc_codec *codec,
|
|
unsigned int snd_soc_write(struct snd_soc_codec *codec,
|
|
unsigned int reg, unsigned int val);
|
|
unsigned int reg, unsigned int val);
|
|
|
|
+unsigned int snd_soc_bulk_write_raw(struct snd_soc_codec *codec,
|
|
|
|
+ unsigned int reg, const void *data, size_t len);
|
|
|
|
|
|
/* device driver data */
|
|
/* device driver data */
|
|
|
|
|