/openbmc/linux/sound/soc/codecs/ |
H A D | arizona.h | 311 int arizona_set_sysclk(struct snd_soc_component *component, int clk_id, int source, 335 int arizona_dvfs_up(struct snd_soc_component *component, unsigned int flags); 336 int arizona_dvfs_down(struct snd_soc_component *component, unsigned int flags); 348 int arizona_init_spk(struct snd_soc_component *component); 349 int arizona_init_gpio(struct snd_soc_component *component); 350 int arizona_init_mono(struct snd_soc_component *component); 360 int arizona_set_output_mode(struct snd_soc_component *component, int output, 363 bool arizona_input_analog(struct snd_soc_component *component, int shift); 367 static inline int arizona_register_notifier(struct snd_soc_component *component, in arizona_register_notifier() 381 static inline int arizona_unregister_notifier(struct snd_soc_component *component, in arizona_unregister_notifier() [all …]
|
H A D | wm8958-dsp2.c | 41 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw() 414 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8958_aif_ev() 456 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_put_mbc_enum() 478 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_get_mbc_enum() 500 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_mbc_get() 512 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_mbc_put() 546 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_put_vss_enum() 863 struct snd_soc_component *component = context; in wm8958_enh_eq_loaded() 875 struct snd_soc_component *component = context; in wm8958_mbc_vss_loaded() 887 struct snd_soc_component *component = context; in wm8958_mbc_loaded() [all …]
|
H A D | uda1380.c | 34 struct snd_soc_component *component; 133 static void uda1380_sync_cache(struct snd_soc_component *component) in uda1380_sync_cache() 151 static int uda1380_reset(struct snd_soc_component *component) in uda1380_reset() 179 struct snd_soc_component *uda1380_component = uda1380->component; in uda1380_flush_work() 420 struct snd_soc_component *component = codec_dai->component; in uda1380_set_dai_fmt_both() 450 struct snd_soc_component *component = codec_dai->component; in uda1380_set_dai_fmt_playback() 480 struct snd_soc_component *component = codec_dai->component; in uda1380_set_dai_fmt_capture() 509 struct snd_soc_component *component = dai->component; in uda1380_trigger() 534 struct snd_soc_component *component = dai->component; in uda1380_pcm_hw_params() 571 struct snd_soc_component *component = dai->component; in uda1380_pcm_shutdown() [all …]
|
H A D | wm8753.c | 53 static int wm8753_hifi_write_dai_fmt(struct snd_soc_component *component, 743 struct snd_soc_component *component = codec_dai->component; in wm8753_set_dai_pll() 864 struct snd_soc_component *component = codec_dai->component; in wm8753_set_dai_sysclk() 924 struct snd_soc_component *component = dai->component; in wm8753_pcm_hw_params() 1025 struct snd_soc_component *component = codec_dai->component; in wm8753_set_dai_clkdiv() 1155 struct snd_soc_component *component = dai->component; in wm8753_i2s_hw_params() 1262 struct snd_soc_component *component = codec_dai->component; in wm8753_hifi_set_dai_fmt() 1292 struct snd_soc_component *component = codec_dai->component; in wm8753_voice_set_dai_fmt() 1302 struct snd_soc_component *component = dai->component; in wm8753_mute() 1442 static int wm8753_resume(struct snd_soc_component *component) in wm8753_resume() [all …]
|
H A D | mt6351.c | 200 static void set_hp_gain_zero(struct snd_soc_component *cmpnt) in set_hp_gain_zero() 208 static unsigned int get_cap_reg_val(struct snd_soc_component *cmpnt, in get_cap_reg_val() 231 static unsigned int get_play_reg_val(struct snd_soc_component *cmpnt, in get_play_reg_val() 266 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params() 359 static void hp_zcd_enable(struct snd_soc_component *cmpnt) in hp_zcd_enable() 374 static void hp_zcd_disable(struct snd_soc_component *cmpnt) in hp_zcd_disable() 579 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_reg_set_clr_event() 623 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_ncp_event() 647 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event() 1408 static int mt6351_codec_init_reg(struct snd_soc_component *cmpnt) in mt6351_codec_init_reg() [all …]
|
H A D | rt5631.c | 70 static void rt5631_write_index(struct snd_soc_component *component, in rt5631_write_index() 80 static unsigned int rt5631_read_index(struct snd_soc_component *component, in rt5631_read_index() 91 static int rt5631_reset(struct snd_soc_component *component) in rt5631_reset() 186 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5631_dmic_get() 197 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5631_dmic_put() 1355 struct snd_soc_component *component = dai->component; in rt5631_hifi_pcm_params() 1407 struct snd_soc_component *component = codec_dai->component; in rt5631_hifi_codec_set_dai_fmt() 1459 struct snd_soc_component *component = codec_dai->component; in rt5631_hifi_codec_set_dai_sysclk() 1475 struct snd_soc_component *component = codec_dai->component; in rt5631_codec_set_dai_pll() 1534 static int rt5631_set_bias_level(struct snd_soc_component *component, in rt5631_set_bias_level() [all …]
|
H A D | rt1015.c | 430 struct snd_soc_component *component = in rt1015_boost_mode_get() 443 struct snd_soc_component *component = in rt1015_boost_mode_put() 484 struct snd_soc_component *component = in rt1015_bypass_boost_get() 496 struct snd_soc_component *component = rt1015->component; in rt1015_calibrate() 527 struct snd_soc_component *component = in rt1015_bypass_boost_put() 564 struct snd_soc_component *component = in rt1015_is_sys_clk_from_pll() 577 struct snd_soc_component *component = in r1015_dac_event() 637 struct snd_soc_component *component = in rt1015_amp_drv_event() 689 struct snd_soc_component *component = dai->component; in rt1015_hw_params() 739 struct snd_soc_component *component = dai->component; in rt1015_set_dai_fmt() [all …]
|
H A D | max98095.c | 942 struct snd_soc_component *component = dai->component; in max98095_dai1_hw_params() 1003 struct snd_soc_component *component = dai->component; in max98095_dai2_hw_params() 1064 struct snd_soc_component *component = dai->component; in max98095_dai3_hw_params() 1124 struct snd_soc_component *component = dai->component; in max98095_dai_set_sysclk() 1161 struct snd_soc_component *component = codec_dai->component; in max98095_dai1_set_fmt() 1227 struct snd_soc_component *component = codec_dai->component; in max98095_dai2_set_fmt() 1294 struct snd_soc_component *component = codec_dai->component; in max98095_dai3_set_fmt() 1806 struct snd_soc_component *component = data; in max98095_report_jack() 1887 int max98095_jack_detect(struct snd_soc_component *component, in max98095_jack_detect() 1948 static int max98095_reset(struct snd_soc_component *component) in max98095_reset() [all …]
|
H A D | tlv320aic23.c | 80 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in snd_soc_tlv320aic23_put_volsw() 103 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in snd_soc_tlv320aic23_get_volsw() 311 static int set_sample_rate_control(struct snd_soc_component *component, int mclk, in set_sample_rate_control() 337 struct snd_soc_component *component = dai->component; in tlv320aic23_hw_params() 382 struct snd_soc_component *component = dai->component; in tlv320aic23_pcm_prepare() 393 struct snd_soc_component *component = dai->component; in tlv320aic23_shutdown() 409 struct snd_soc_component *component = dai->component; in tlv320aic23_mute() 427 struct snd_soc_component *component = codec_dai->component; in tlv320aic23_set_dai_fmt() 478 static int tlv320aic23_set_bias_level(struct snd_soc_component *component, in tlv320aic23_set_bias_level() 537 static int tlv320aic23_resume(struct snd_soc_component *component) in tlv320aic23_resume() [all …]
|
H A D | da7219.c | 1166 struct snd_soc_component *component = codec_dai->component; in da7219_set_dai_sysclk() 1294 struct snd_soc_component *component = codec_dai->component; in da7219_set_dai_pll() 1424 struct snd_soc_component *component = dai->component; in da7219_set_dai_tdm_slot() 1560 struct snd_soc_component *component = dai->component; in da7219_hw_params() 1903 struct snd_soc_component *component = da7219->component; in da7219_wclk_prepare() 1920 struct snd_soc_component *component = da7219->component; in da7219_wclk_unprepare() 1934 struct snd_soc_component *component = da7219->component; in da7219_wclk_is_prepared() 1951 struct snd_soc_component *component = da7219->component; in da7219_wclk_recalc_rate() 2022 struct snd_soc_component *component = da7219->component; in da7219_wclk_set_rate() 2036 struct snd_soc_component *component = da7219->component; in da7219_bclk_recalc_rate() [all …]
|
H A D | es8316.c | 39 struct snd_soc_component *component; 366 struct snd_soc_component *component = codec_dai->component; in es8316_set_dai_sysclk() 403 struct snd_soc_component *component = codec_dai->component; in es8316_set_dai_fmt() 452 struct snd_soc_component *component = dai->component; in es8316_pcm_startup() 467 struct snd_soc_component *component = dai->component; in es8316_pcm_hw_params() 561 struct snd_soc_component *component) in es8316_enable_micbias_for_mic_gnd_short_detect() 576 struct snd_soc_component *component) in es8316_disable_micbias_for_mic_gnd_short_detect() 591 struct snd_soc_component *comp = es8316->component; in es8316_irq() 726 static int es8316_probe(struct snd_soc_component *component) in es8316_probe() 769 static void es8316_remove(struct snd_soc_component *component) in es8316_remove() [all …]
|
/openbmc/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-misc-control.c | 77 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_get() 89 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_set() 131 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_rate_get() 143 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_rate_set() 175 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_amplitude_get() 186 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_amplitude_set() 245 int mt8186_add_misc_control(struct snd_soc_component *component) in mt8186_add_misc_control()
|
/openbmc/linux/sound/soc/ |
H A D | soc-ac97.c | 49 struct snd_soc_component *component; 52 static inline struct snd_soc_component *gpio_to_component(struct gpio_chip *chip) in gpio_to_component() 70 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_direction_in() 79 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_get() 94 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_set() 106 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_direction_out() 126 struct snd_soc_component *component) in snd_soc_ac97_init_gpio() 153 struct snd_soc_component *component) in snd_soc_ac97_init_gpio() 173 struct snd_ac97 *snd_soc_alloc_ac97_component(struct snd_soc_component *component) in snd_soc_alloc_ac97_component() 212 struct snd_ac97 *snd_soc_new_ac97_component(struct snd_soc_component *component, in snd_soc_new_ac97_component()
|
/openbmc/linux/sound/soc/meson/ |
H A D | aiu-encoder-spdif.c | 30 aiu_encoder_spdif_divider_enable(struct snd_soc_component *component, in aiu_encoder_spdif_divider_enable() 38 static void aiu_encoder_spdif_hold(struct snd_soc_component *component, in aiu_encoder_spdif_hold() 50 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_trigger() 70 static int aiu_encoder_spdif_setup_cs_word(struct snd_soc_component *component, in aiu_encoder_spdif_setup_cs_word() 99 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_hw_params() 158 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_hw_free()
|
H A D | aiu-fifo-spdif.c | 49 static void fifo_spdif_dcu_enable(struct snd_soc_component *component, in fifo_spdif_dcu_enable() 60 struct snd_soc_component *component = dai->component; in fifo_spdif_trigger() 88 struct snd_soc_component *component = dai->component; in fifo_spdif_prepare() 110 struct snd_soc_component *component = dai->component; in fifo_spdif_hw_params() 170 struct snd_soc_component *component = dai->component; in aiu_fifo_spdif_dai_probe()
|
/openbmc/linux/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-compress.c | 42 static int sst_platform_compr_open(struct snd_soc_component *component, in sst_platform_compr_open() 75 static int sst_platform_compr_free(struct snd_soc_component *component, in sst_platform_compr_free() 95 static int sst_platform_compr_set_params(struct snd_soc_component *component, in sst_platform_compr_set_params() 169 static int sst_platform_compr_trigger(struct snd_soc_component *component, in sst_platform_compr_trigger() 203 static int sst_platform_compr_pointer(struct snd_soc_component *component, in sst_platform_compr_pointer() 217 static int sst_platform_compr_ack(struct snd_soc_component *component, in sst_platform_compr_ack() 230 static int sst_platform_compr_get_caps(struct snd_soc_component *component, in sst_platform_compr_get_caps() 240 static int sst_platform_compr_get_codec_caps(struct snd_soc_component *component, in sst_platform_compr_get_codec_caps() 250 static int sst_platform_compr_set_metadata(struct snd_soc_component *component, in sst_platform_compr_set_metadata()
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | topology.c | 395 parse_dictionary_header(struct snd_soc_component *comp, in parse_dictionary_header() 419 parse_dictionary_entries(struct snd_soc_component *comp, in parse_dictionary_entries() 452 static int parse_dictionary(struct snd_soc_component *comp, in parse_dictionary() 483 static int avs_tplg_parse_libraries(struct snd_soc_component *comp, in avs_tplg_parse_libraries() 958 static int avs_tplg_parse_pplcfgs(struct snd_soc_component *comp, in avs_tplg_parse_pplcfgs() 1023 static int avs_tplg_parse_bindings(struct snd_soc_component *comp, in avs_tplg_parse_bindings() 1308 static int parse_path_template(struct snd_soc_component *comp, in parse_path_template() 1457 static int avs_dai_load(struct snd_soc_component *comp, int index, in avs_dai_load() 1501 static int avs_manifest(struct snd_soc_component *comp, int index, in avs_manifest() 1675 struct avs_tplg *avs_tplg_new(struct snd_soc_component *comp) in avs_tplg_new() [all …]
|
H A D | topology.h | 17 struct snd_soc_component; 22 struct snd_soc_component *comp; 192 struct avs_tplg *avs_tplg_new(struct snd_soc_component *comp); 194 int avs_load_topology(struct snd_soc_component *comp, const char *filename); 195 int avs_remove_topology(struct snd_soc_component *comp);
|
/openbmc/linux/sound/soc/uniphier/ |
H A D | aio-compress.c | 19 static int uniphier_aio_compr_prepare(struct snd_soc_component *component, 21 static int uniphier_aio_compr_hw_free(struct snd_soc_component *component, 75 static int uniphier_aio_compr_open(struct snd_soc_component *component, in uniphier_aio_compr_open() 101 static int uniphier_aio_compr_free(struct snd_soc_component *component, in uniphier_aio_compr_free() 121 static int uniphier_aio_compr_get_params(struct snd_soc_component *component, in uniphier_aio_compr_get_params() 134 static int uniphier_aio_compr_set_params(struct snd_soc_component *component, in uniphier_aio_compr_set_params() 166 static int uniphier_aio_compr_hw_free(struct snd_soc_component *component, in uniphier_aio_compr_hw_free() 178 static int uniphier_aio_compr_prepare(struct snd_soc_component *component, in uniphier_aio_compr_prepare() 216 static int uniphier_aio_compr_trigger(struct snd_soc_component *component, in uniphier_aio_compr_trigger() 250 static int uniphier_aio_compr_pointer(struct snd_soc_component *component, in uniphier_aio_compr_pointer() [all …]
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra210_dmic.c | 162 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_get_boost_gain() 173 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_put_boost_gain() 188 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_get_ch_select() 199 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_put_ch_select() 214 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_get_mono_to_stereo() 225 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_put_mono_to_stereo() 240 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_get_stereo_to_mono() 251 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_put_stereo_to_mono() 266 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_get_osr_val() 277 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol); in tegra210_dmic_put_osr_val() [all …]
|
H A D | tegra186_dspk.c | 31 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_fifo_th() 42 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_fifo_th() 57 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_osr_val() 68 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_osr_val() 83 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_pol_sel() 94 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_pol_sel() 109 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_ch_sel() 120 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_ch_sel() 135 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_get_mono_to_stereo() 146 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tegra186_dspk_put_mono_to_stereo() [all …]
|
/openbmc/linux/sound/soc/au1x/ |
H A D | dbdma2.c | 186 struct snd_soc_component *component) in to_dmadata() 192 static int au1xpsc_pcm_hw_params(struct snd_soc_component *component, in au1xpsc_pcm_hw_params() 231 static int au1xpsc_pcm_prepare(struct snd_soc_component *component, in au1xpsc_pcm_prepare() 249 static int au1xpsc_pcm_trigger(struct snd_soc_component *component, in au1xpsc_pcm_trigger() 270 au1xpsc_pcm_pointer(struct snd_soc_component *component, in au1xpsc_pcm_pointer() 277 static int au1xpsc_pcm_open(struct snd_soc_component *component, in au1xpsc_pcm_open() 294 static int au1xpsc_pcm_close(struct snd_soc_component *component, in au1xpsc_pcm_close() 301 static int au1xpsc_pcm_new(struct snd_soc_component *component, in au1xpsc_pcm_new()
|
H A D | dma.c | 178 struct snd_soc_component *component) in ss_to_ctx() 184 struct snd_soc_component *component) in ss_to_as() 190 static int alchemy_pcm_open(struct snd_soc_component *component, in alchemy_pcm_open() 217 static int alchemy_pcm_close(struct snd_soc_component *component, in alchemy_pcm_close() 229 static int alchemy_pcm_hw_params(struct snd_soc_component *component, in alchemy_pcm_hw_params() 240 static int alchemy_pcm_hw_free(struct snd_soc_component *component, in alchemy_pcm_hw_free() 248 static int alchemy_pcm_trigger(struct snd_soc_component *component, in alchemy_pcm_trigger() 268 static snd_pcm_uframes_t alchemy_pcm_pointer(struct snd_soc_component *component, in alchemy_pcm_pointer() 281 static int alchemy_pcm_new(struct snd_soc_component *component, in alchemy_pcm_new()
|
/openbmc/linux/sound/soc/fsl/ |
H A D | imx-pcm-fiq.c | 72 static int snd_imx_pcm_hw_params(struct snd_soc_component *component, in snd_imx_pcm_hw_params() 88 static int snd_imx_pcm_prepare(struct snd_soc_component *component, in snd_imx_pcm_prepare() 108 static int snd_imx_pcm_trigger(struct snd_soc_component *component, in snd_imx_pcm_trigger() 147 snd_imx_pcm_pointer(struct snd_soc_component *component, in snd_imx_pcm_pointer() 172 static int snd_imx_open(struct snd_soc_component *component, in snd_imx_open() 202 static int snd_imx_close(struct snd_soc_component *component, in snd_imx_close() 232 static int snd_imx_pcm_new(struct snd_soc_component *component, in snd_imx_pcm_new() 263 static void snd_imx_pcm_free(struct snd_soc_component *component, in snd_imx_pcm_free()
|
/openbmc/linux/sound/soc/sof/ |
H A D | pcm.c | 24 static int create_page_table(struct snd_soc_component *component, in create_page_table() 64 struct snd_soc_component *component = in snd_sof_pcm_period_elapsed() 194 static int sof_pcm_hw_free(struct snd_soc_component *component, in sof_pcm_hw_free() 246 static int sof_pcm_prepare(struct snd_soc_component *component, in sof_pcm_prepare() 283 static int sof_pcm_trigger(struct snd_soc_component *component, in sof_pcm_trigger() 416 static int sof_pcm_open(struct snd_soc_component *component, in sof_pcm_open() 481 static int sof_pcm_close(struct snd_soc_component *component, in sof_pcm_close() 518 static int sof_pcm_new(struct snd_soc_component *component, in sof_pcm_new() 590 struct snd_soc_component *component = in sof_pcm_dai_link_fixup() 623 static int sof_pcm_probe(struct snd_soc_component *component) in sof_pcm_probe() [all …]
|