/linux-3.3/sound/soc/ |
D | soc-cache.c | 69 static int snd_soc_flat_cache_sync(struct snd_soc_codec *codec) in snd_soc_flat_cache_sync() 97 static int snd_soc_flat_cache_write(struct snd_soc_codec *codec, in snd_soc_flat_cache_write() 105 static int snd_soc_flat_cache_read(struct snd_soc_codec *codec, in snd_soc_flat_cache_read() 113 static int snd_soc_flat_cache_exit(struct snd_soc_codec *codec) in snd_soc_flat_cache_exit() 122 static int snd_soc_flat_cache_init(struct snd_soc_codec *codec) in snd_soc_flat_cache_init() 149 int snd_soc_cache_init(struct snd_soc_codec *codec) in snd_soc_cache_init() 180 int snd_soc_cache_exit(struct snd_soc_codec *codec) in snd_soc_cache_exit() 198 int snd_soc_cache_read(struct snd_soc_codec *codec, in snd_soc_cache_read() 223 int snd_soc_cache_write(struct snd_soc_codec *codec, in snd_soc_cache_write() 250 int snd_soc_cache_sync(struct snd_soc_codec *codec) in snd_soc_cache_sync() [all …]
|
/linux-3.3/sound/pci/hda/ |
D | hda_codec.c | 99 #define hda_codec_is_power_on(codec) ((codec)->power_on) argument 101 static inline void hda_keep_power_on(struct hda_codec *codec) {} in hda_keep_power_on() 102 #define hda_codec_is_power_on(codec) 1 argument 179 make_codec_cmd(struct hda_codec *codec, hda_nid_t nid, int direct, in make_codec_cmd() 202 static int codec_exec_verb(struct hda_codec *codec, unsigned int cmd, in codec_exec_verb() 251 unsigned int snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() 275 int snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int direct, in snd_hda_codec_write() 293 void snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) in snd_hda_sequence_write() 309 int snd_hda_get_sub_nodes(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_sub_nodes() 347 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list() [all …]
|
D | patch_ca0110.c | 52 struct hda_codec *codec, in ca0110_playback_pcm_open() 61 struct hda_codec *codec, in ca0110_playback_pcm_prepare() 72 struct hda_codec *codec, in ca0110_playback_pcm_cleanup() 83 struct hda_codec *codec, in ca0110_dig_playback_pcm_open() 91 struct hda_codec *codec, in ca0110_dig_playback_pcm_close() 99 struct hda_codec *codec, in ca0110_dig_playback_pcm_prepare() 113 struct hda_codec *codec, in ca0110_capture_pcm_prepare() 126 struct hda_codec *codec, in ca0110_capture_pcm_cleanup() 140 static int _add_switch(struct hda_codec *codec, hda_nid_t nid, const char *pfx, in _add_switch() 151 static int _add_volume(struct hda_codec *codec, hda_nid_t nid, const char *pfx, in _add_volume() [all …]
|
D | patch_conexant.c | 169 struct hda_codec *codec, in conexant_playback_pcm_open() 178 struct hda_codec *codec, in conexant_playback_pcm_prepare() 190 struct hda_codec *codec, in conexant_playback_pcm_cleanup() 201 struct hda_codec *codec, in conexant_dig_playback_pcm_open() 209 struct hda_codec *codec, in conexant_dig_playback_pcm_close() 217 struct hda_codec *codec, in conexant_dig_playback_pcm_prepare() 232 struct hda_codec *codec, in conexant_capture_pcm_prepare() 246 struct hda_codec *codec, in conexant_capture_pcm_cleanup() 302 struct hda_codec *codec, in cx5051_capture_pcm_prepare() 316 struct hda_codec *codec, in cx5051_capture_pcm_cleanup() [all …]
|
D | patch_via.c | 213 struct hda_codec *codec; member 233 static struct via_spec * via_new_spec(struct hda_codec *codec) in via_new_spec() 251 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) in get_codec_type() 313 #define hp_detect_with_aa(codec) \ argument 344 static void set_widgets_power_state(struct hda_codec *codec) in set_widgets_power_state() 355 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in analog_input_switch_put() local 422 static void via_free_kctls(struct hda_codec *codec) in via_free_kctls() 455 #define get_connection_index(codec, mux, nid) \ argument 458 static bool check_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, in check_amp_caps() 476 #define have_mute(codec, nid, dir) \ argument [all …]
|
D | hda_jack.c | 23 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid) in read_pin_sense() 41 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 59 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, unsigned char tag) in snd_hda_jack_tbl_get_from_tag() 77 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_new() 93 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear() 110 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update() 125 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all() 144 u32 snd_hda_pin_sense(struct hda_codec *codec, hda_nid_t nid) in snd_hda_pin_sense() 164 int snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect() 174 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable() [all …]
|
D | patch_analog.c | 100 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ad198x_mux_enum_info() local 108 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ad198x_mux_enum_get() local 118 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ad198x_mux_enum_put() local 130 static int ad198x_init(struct hda_codec *codec) in ad198x_init() 207 static int ad198x_build_controls(struct hda_codec *codec) in ad198x_build_controls() 302 static int ad198x_check_power_status(struct hda_codec *codec, hda_nid_t nid) in ad198x_check_power_status() 309 static void activate_ctl(struct hda_codec *codec, const char *name, int active) in activate_ctl() 324 static void set_stream_active(struct hda_codec *codec, bool active) in set_stream_active() 352 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ad1988_independent_hp_get() local 361 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in ad1988_independent_hp_put() local [all …]
|
D | patch_cirrus.c | 157 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get() 166 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set() 184 struct hda_codec *codec, in cs_playback_pcm_open() 193 struct hda_codec *codec, in cs_playback_pcm_prepare() 204 struct hda_codec *codec, in cs_playback_pcm_cleanup() 215 struct hda_codec *codec, in cs_dig_playback_pcm_open() 223 struct hda_codec *codec, in cs_dig_playback_pcm_close() 231 struct hda_codec *codec, in cs_dig_playback_pcm_prepare() 242 struct hda_codec *codec, in cs_dig_playback_pcm_cleanup() 249 static void cs_update_input_select(struct hda_codec *codec) in cs_update_input_select() [all …]
|
D | patch_ca0132.c | 239 static void init_output(struct hda_codec *codec, hda_nid_t pin, hda_nid_t dac) in init_output() 254 static void init_input(struct hda_codec *codec, hda_nid_t pin, hda_nid_t adc) in init_input() 272 static int _add_switch(struct hda_codec *codec, hda_nid_t nid, const char *pfx, in _add_switch() 283 static int _add_volume(struct hda_codec *codec, hda_nid_t nid, const char *pfx, in _add_volume() 294 #define add_out_switch(codec, nid, pfx) _add_switch(codec, nid, pfx, 3, 0) argument 295 #define add_out_volume(codec, nid, pfx) _add_volume(codec, nid, pfx, 3, 0) argument 296 #define add_in_switch(codec, nid, pfx) _add_switch(codec, nid, pfx, 3, 1) argument 297 #define add_in_volume(codec, nid, pfx) _add_volume(codec, nid, pfx, 3, 1) argument 298 #define add_mono_switch(codec, nid, pfx, chan) \ argument 300 #define add_mono_volume(codec, nid, pfx, chan) \ argument [all …]
|
D | patch_realtek.c | 225 static bool check_amp_caps(struct hda_codec *codec, hda_nid_t nid, in check_amp_caps() 236 #define nid_has_mute(codec, nid, dir) \ argument 238 #define nid_has_volume(codec, nid, dir) \ argument 247 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in alc_mux_enum_info() local 260 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in alc_mux_enum_get() local 268 static bool alc_dyn_adc_pcm_resetup(struct hda_codec *codec, int cur) in alc_dyn_adc_pcm_resetup() 294 static int alc_mux_select(struct hda_codec *codec, unsigned int adc_idx, in alc_mux_select() 362 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in alc_mux_enum_put() local 371 static void alc_set_input_pin(struct hda_codec *codec, hda_nid_t nid, in alc_set_input_pin() 445 static void alc_fix_pll(struct hda_codec *codec) in alc_fix_pll() [all …]
|
D | hda_generic.c | 94 static void snd_hda_generic_free(struct hda_codec *codec) in snd_hda_generic_free() 114 static int add_new_node(struct hda_codec *codec, struct hda_gspec *spec, hda_nid_t nid) in add_new_node() 175 static int build_afg_tree(struct hda_codec *codec) in build_afg_tree() 221 static int unmute_output(struct hda_codec *codec, struct hda_gnode *node) in unmute_output() 236 static int unmute_input(struct hda_codec *codec, struct hda_gnode *node, unsigned int index) in unmute_input() 251 static int select_input_connection(struct hda_codec *codec, struct hda_gnode *node, in select_input_connection() 276 static int parse_output_path(struct hda_codec *codec, struct hda_gspec *spec, in parse_output_path() 345 static struct hda_gnode *parse_output_jack(struct hda_codec *codec, in parse_output_jack() 398 static int parse_output(struct hda_codec *codec) in parse_output() 444 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in capture_source_info() local [all …]
|
D | patch_sigmatel.c | 588 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac92xx_dmux_enum_info() local 596 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac92xx_dmux_enum_get() local 607 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac92xx_dmux_enum_put() local 618 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac92xx_smux_enum_info() local 626 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac92xx_smux_enum_get() local 637 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac92xx_smux_enum_put() local 666 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set() 691 static unsigned int stac92xx_vref_set(struct hda_codec *codec, in stac92xx_vref_set() 716 static unsigned int stac92xx_vref_get(struct hda_codec *codec, hda_nid_t nid) in stac92xx_vref_get() 727 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in stac92xx_mux_enum_info() local [all …]
|
D | patch_hdmi.c | 70 struct hda_codec *codec; member 335 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_info() local 351 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_get() local 372 static int hdmi_create_eld_ctl(struct hda_codec *codec, int pin_idx, in hdmi_create_eld_ctl() 393 static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_get_dip_index() 406 static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_set_dip_index() 416 static void hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_write_dip_byte() 422 static void hdmi_init_pin(struct hda_codec *codec, hda_nid_t pin_nid) in hdmi_init_pin() 433 static int hdmi_get_channel_count(struct hda_codec *codec, hda_nid_t cvt_nid) in hdmi_get_channel_count() 439 static void hdmi_set_channel_count(struct hda_codec *codec, in hdmi_set_channel_count() [all …]
|
D | patch_cmedia.c | 84 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cmi_mux_enum_info() local 91 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cmi_mux_enum_get() local 101 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cmi_mux_enum_put() local 154 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cmi_ch_mode_info() local 162 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cmi_ch_mode_get() local 170 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cmi_ch_mode_put() local 316 static int cmi9880_build_controls(struct hda_codec *codec) in cmi9880_build_controls() 360 static int cmi9880_fill_multi_dac_nids(struct hda_codec *codec, const struct auto_pin_cfg *cfg) in cmi9880_fill_multi_dac_nids() 398 static int cmi9880_fill_multi_init(struct hda_codec *codec, const struct auto_pin_cfg *cfg) in cmi9880_fill_multi_init() 429 static int cmi9880_init(struct hda_codec *codec) in cmi9880_init() [all …]
|
/linux-3.3/sound/soc/codecs/ |
D | twl6040.c | 101 struct snd_soc_codec *codec; member 208 static inline unsigned int twl6040_read_reg_cache(struct snd_soc_codec *codec, in twl6040_read_reg_cache() 222 static inline void twl6040_write_reg_cache(struct snd_soc_codec *codec, in twl6040_write_reg_cache() 235 static int twl6040_read_reg_volatile(struct snd_soc_codec *codec, in twl6040_read_reg_volatile() 257 static int twl6040_write(struct snd_soc_codec *codec, in twl6040_write() 272 static void twl6040_init_chip(struct snd_soc_codec *codec) in twl6040_init_chip() 304 static void twl6040_restore_regs(struct snd_soc_codec *codec) in twl6040_restore_regs() 318 static inline int twl6040_hs_ramp_step(struct snd_soc_codec *codec, in twl6040_hs_ramp_step() 403 static inline int twl6040_hf_ramp_step(struct snd_soc_codec *codec, in twl6040_hf_ramp_step() 490 struct snd_soc_codec *codec = priv->codec; in twl6040_pga_hs_work() local [all …]
|
D | uda134x.c | 53 static inline unsigned int uda134x_read_reg_cache(struct snd_soc_codec *codec, in uda134x_read_reg_cache() 66 static inline void uda134x_write_reg_cache(struct snd_soc_codec *codec, in uda134x_write_reg_cache() 80 static int uda134x_write(struct snd_soc_codec *codec, unsigned int reg, in uda134x_write() 134 static inline void uda134x_reset(struct snd_soc_codec *codec) in uda134x_reset() 144 struct snd_soc_codec *codec = dai->codec; in uda134x_mute() local 163 struct snd_soc_codec *codec =rtd->codec; in uda134x_startup() local 195 struct snd_soc_codec *codec = rtd->codec; in uda134x_shutdown() local 209 struct snd_soc_codec *codec = rtd->codec; in uda134x_hw_params() local 281 struct snd_soc_codec *codec = codec_dai->codec; in uda134x_set_dai_sysclk() local 303 struct snd_soc_codec *codec = codec_dai->codec; in uda134x_set_dai_fmt() local [all …]
|
D | wm8958-dsp2.c | 42 static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name, in wm8958_dsp2_fw() 195 static void wm8958_dsp_start_mbc(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_mbc() 239 static void wm8958_dsp_start_vss(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_vss() 300 static void wm8958_dsp_start_enh_eq(struct snd_soc_codec *codec, int path) in wm8958_dsp_start_enh_eq() 331 static void wm8958_dsp_apply(struct snd_soc_codec *codec, int path, int start) in wm8958_dsp_apply() 421 struct snd_soc_codec *codec = w->codec; in wm8958_aif_ev() local 459 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8958_put_mbc_enum() local 481 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8958_get_mbc_enum() local 503 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8958_mbc_get() local 515 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8958_mbc_put() local [all …]
|
D | cq93vc.c | 43 static inline unsigned int cq93vc_read(struct snd_soc_codec *codec, in cq93vc_read() 51 static inline int cq93vc_write(struct snd_soc_codec *codec, unsigned int reg, in cq93vc_write() 68 struct snd_soc_codec *codec = dai->codec; in cq93vc_mute() local 83 struct snd_soc_codec *codec = codec_dai->codec; in cq93vc_set_dai_sysclk() local 97 static int cq93vc_set_bias_level(struct snd_soc_codec *codec, in cq93vc_set_bias_level() 147 static int cq93vc_resume(struct snd_soc_codec *codec) in cq93vc_resume() 154 static int cq93vc_probe(struct snd_soc_codec *codec) in cq93vc_probe() 171 static int cq93vc_remove(struct snd_soc_codec *codec) in cq93vc_remove()
|
D | wm8770.c | 53 struct snd_soc_codec *codec; member 277 struct snd_soc_codec *codec; in vout12supply_event() local 296 struct snd_soc_codec *codec; in vout34supply_event() local 312 static int wm8770_reset(struct snd_soc_codec *codec) in wm8770_reset() 319 struct snd_soc_codec *codec; in wm8770_set_fmt() local 384 struct snd_soc_codec *codec; in wm8770_hw_params() local 450 struct snd_soc_codec *codec; in wm8770_mute() local 460 struct snd_soc_codec *codec; in wm8770_set_sysclk() local 469 static void wm8770_sync_cache(struct snd_soc_codec *codec) in wm8770_sync_cache() 487 static int wm8770_set_bias_level(struct snd_soc_codec *codec, in wm8770_set_bias_level() [all …]
|
D | max98095.c | 577 static int max98095_readable(struct snd_soc_codec *codec, unsigned int reg) in max98095_readable() 584 static int max98095_volatile(struct snd_soc_codec *codec, unsigned int reg) in max98095_volatile() 616 static int max98095_hw_write(struct snd_soc_codec *codec, unsigned int reg, in max98095_hw_write() 631 static void m98095_eq_band(struct snd_soc_codec *codec, unsigned int dai, in m98095_eq_band() 656 static void m98095_biquad_band(struct snd_soc_codec *codec, unsigned int dai, in m98095_biquad_band() 727 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in max98095_mic1pre_set() local 741 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in max98095_mic1pre_get() local 751 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in max98095_mic2pre_set() local 765 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in max98095_mic2pre_get() local 977 struct snd_soc_codec *codec = w->codec; in max98095_mic_event() local [all …]
|
D | ac97.c | 31 struct snd_soc_codec *codec = rtd->codec; in ac97_prepare() local 64 static unsigned int ac97_read(struct snd_soc_codec *codec, in ac97_read() 70 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, in ac97_write() 77 static int ac97_soc_probe(struct snd_soc_codec *codec) in ac97_soc_probe() 96 static int ac97_soc_remove(struct snd_soc_codec *codec) in ac97_soc_remove() 102 static int ac97_soc_suspend(struct snd_soc_codec *codec) in ac97_soc_suspend() 109 static int ac97_soc_resume(struct snd_soc_codec *codec) in ac97_soc_resume()
|
D | sgtl5000.c | 285 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in dac_get_volsw() local 338 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in dac_put_volsw() local 408 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_digital_mute() local 420 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_set_dai_fmt() local 488 struct snd_soc_codec *codec = codec_dai->codec; in sgtl5000_set_dai_sysclk() local 515 static int sgtl5000_set_clock(struct snd_soc_codec *codec, int frame_rate) in sgtl5000_set_clock() 668 struct snd_soc_codec *codec = rtd->codec; in sgtl5000_pcm_hw_params() local 743 struct snd_soc_codec *codec = (struct snd_soc_codec *)ldo->codec_data; in ldo_regulator_enable() local 776 struct snd_soc_codec *codec = (struct snd_soc_codec *)ldo->codec_data; in ldo_regulator_disable() local 805 static int ldo_regulator_register(struct snd_soc_codec *codec, in ldo_regulator_register() [all …]
|
D | stac9766.c | 141 static int stac9766_ac97_write(struct snd_soc_codec *codec, unsigned int reg, in stac9766_ac97_write() 160 static unsigned int stac9766_ac97_read(struct snd_soc_codec *codec, in stac9766_ac97_read() 187 struct snd_soc_codec *codec = dai->codec; in ac97_analog_prepare() local 209 struct snd_soc_codec *codec = dai->codec; in ac97_digital_prepare() local 225 static int stac9766_set_bias_level(struct snd_soc_codec *codec, in stac9766_set_bias_level() 243 static int stac9766_reset(struct snd_soc_codec *codec, int try_warm) in stac9766_reset() 259 static int stac9766_codec_suspend(struct snd_soc_codec *codec) in stac9766_codec_suspend() 265 static int stac9766_codec_resume(struct snd_soc_codec *codec) in stac9766_codec_resume() 337 static int stac9766_codec_probe(struct snd_soc_codec *codec) in stac9766_codec_probe() 368 static int stac9766_codec_remove(struct snd_soc_codec *codec) in stac9766_codec_remove()
|
D | wm8994.c | 77 static void wm8958_micd_set_rate(struct snd_soc_codec *codec) in wm8958_micd_set_rate() 126 static int configure_aif_clock(struct snd_soc_codec *codec, int aif) in configure_aif_clock() 179 static int configure_clock(struct snd_soc_codec *codec) in configure_clock() 269 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8994_put_drc_sw() local 288 static void wm8994_set_drc(struct snd_soc_codec *codec, int drc) in wm8994_set_drc() 325 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8994_put_drc_enum() local 347 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8994_get_drc_enum() local 356 static void wm8994_set_retune_mobile(struct snd_soc_codec *codec, int block) in wm8994_set_retune_mobile() 428 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8994_put_retune_mobile_enum() local 450 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in wm8994_get_retune_mobile_enum() local [all …]
|
D | tlv320dac33.c | 93 struct snd_soc_codec *codec; member 173 static inline unsigned int dac33_read_reg_cache(struct snd_soc_codec *codec, in dac33_read_reg_cache() 183 static inline void dac33_write_reg_cache(struct snd_soc_codec *codec, in dac33_write_reg_cache() 193 static int dac33_read(struct snd_soc_codec *codec, unsigned int reg, in dac33_read() 219 static int dac33_write(struct snd_soc_codec *codec, unsigned int reg, in dac33_write() 246 static int dac33_write_locked(struct snd_soc_codec *codec, unsigned int reg, in dac33_write_locked() 260 static int dac33_write16(struct snd_soc_codec *codec, unsigned int reg, in dac33_write16() 293 static void dac33_init_chip(struct snd_soc_codec *codec) in dac33_init_chip() 332 static inline int dac33_read_id(struct snd_soc_codec *codec) in dac33_read_id() 346 static inline void dac33_soft_power(struct snd_soc_codec *codec, int power) in dac33_soft_power() [all …]
|