/linux/sound/soc/ |
H A D | soc-component.c | 18 static inline int _soc_component_ret(struct snd_soc_component *component, in _soc_component_ret() 44 static inline int soc_component_field_shift(struct snd_soc_component *component, in soc_component_field_shift() 60 #define soc_component_mark_push(component, substream, tgt) ((component)->mark_##tgt = substream) argument 61 #define soc_component_mark_pop(component, tgt) ((component)->mark_##tgt = NULL) argument 62 #define soc_component_mark_match(component, substream, tgt) ((component)->mark_##tgt == substream) argument 64 void snd_soc_component_set_aux(struct snd_soc_component *component, in snd_soc_component_set_aux() 70 int snd_soc_component_init(struct snd_soc_component *component) in snd_soc_component_init() 90 int snd_soc_component_set_sysclk(struct snd_soc_component *component, in snd_soc_component_set_sysclk() 114 int snd_soc_component_set_pll(struct snd_soc_component *component, int pll_id, in snd_soc_component_set_pll() 128 void snd_soc_component_seq_notifier(struct snd_soc_component *component, in snd_soc_component_seq_notifier() [all …]
|
/linux/sound/soc/codecs/ |
H A D | rt5640.c | 165 static int rt5640_reset(struct snd_soc_component *component) in rt5640_reset() 461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local 479 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_using_asrc() local 916 static void hp_amp_power_on(struct snd_soc_component *component) in hp_amp_power_on() 942 static void rt5640_pmu_depop(struct snd_soc_component *component) in rt5640_pmu_depop() 970 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5640_hp_event() local 994 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5640_lout_event() local 1023 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5640_hp_power_event() local 1039 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5640_hp_post_event() local 1646 static int get_sdp_info(struct snd_soc_component *component, int dai_id) in get_sdp_info() [all …]
|
H A D | twl6040.c | 65 struct snd_soc_component *component; member 95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent) argument 97 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read() 122 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip() 141 static inline void twl6040_update_dl12_cache(struct snd_soc_component *component, in twl6040_update_dl12_cache() 159 static int twl6040_write(struct snd_soc_component *component, in twl6040_write() 174 static void twl6040_init_chip(struct snd_soc_component *component) in twl6040_init_chip() 200 static int headset_power_mode(struct snd_soc_component *component, int high_perf) in headset_power_mode() 225 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_hs_dac_event() local 252 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_ep_drv_event() local [all …]
|
H A D | rt5651.c | 379 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local 684 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_amp_power_event() local 722 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_hp_event() local 767 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_hp_post_event() local 787 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_bst1_event() local 810 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_bst2_event() local 833 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_bst3_event() local 1284 struct snd_soc_component *component = dai->component; in rt5651_hw_params() local 1350 struct snd_soc_component *component = dai->component; in rt5651_set_dai_fmt() local 1413 struct snd_soc_component *component = dai->component; in rt5651_set_dai_sysclk() local [all …]
|
H A D | rt5682s.c | 627 static int rt5682s_button_detect(struct snd_soc_component *component) in rt5682s_button_detect() 647 static void rt5682s_sar_power_mode(struct snd_soc_component *component, int mode) in rt5682s_sar_power_mode() 701 static void rt5682s_enable_push_button_irq(struct snd_soc_component *component) in rt5682s_enable_push_button_irq() 717 static void rt5682s_disable_push_button_irq(struct snd_soc_component *component) in rt5682s_disable_push_button_irq() 740 static int rt5682s_headset_detect(struct snd_soc_component *component, int jack_insert) in rt5682s_headset_detect() 941 static int rt5682s_set_jack_detect(struct snd_soc_component *component, in rt5682s_set_jack_detect() 1054 int rt5682s_sel_asrc_clk_src(struct snd_soc_component *component, in rt5682s_sel_asrc_clk_src() 1142 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local 1161 struct snd_soc_component *component = rt5682s->component; in rt5682s_set_pllb_power() local 1181 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_pllb_event() local [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() 188 static void wm8958_dsp_start_mbc(struct snd_soc_component *component, int path) in wm8958_dsp_start_mbc() 232 static void wm8958_dsp_start_vss(struct snd_soc_component *component, int path) in wm8958_dsp_start_vss() 293 static void wm8958_dsp_start_enh_eq(struct snd_soc_component *component, int path) in wm8958_dsp_start_enh_eq() 324 static void wm8958_dsp_apply(struct snd_soc_component *component, int path, int start) in wm8958_dsp_apply() 414 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8958_aif_ev() local 456 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_put_mbc_enum() local 478 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_get_mbc_enum() local 500 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_mbc_get() local 512 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8958_mbc_put() local [all …]
|
H A D | tlv320dac33.c | 80 struct snd_soc_component *component; member 160 static inline unsigned int dac33_read_reg_cache(struct snd_soc_component *component, in dac33_read_reg_cache() 171 static inline void dac33_write_reg_cache(struct snd_soc_component *component, in dac33_write_reg_cache() 182 static int dac33_read(struct snd_soc_component *component, unsigned int reg, in dac33_read() 208 static int dac33_write(struct snd_soc_component *component, unsigned int reg, in dac33_write() 235 static int dac33_write_locked(struct snd_soc_component *component, unsigned int reg, in dac33_write_locked() 249 static int dac33_write16(struct snd_soc_component *component, unsigned int reg, in dac33_write16() 282 static void dac33_init_chip(struct snd_soc_component *component) in dac33_init_chip() 321 static inline int dac33_read_id(struct snd_soc_component *component) in dac33_read_id() 335 static inline void dac33_soft_power(struct snd_soc_component *component, int power) in dac33_soft_power() [all …]
|
H A D | da7218.c | 290 static void da7218_alc_calib(struct snd_soc_component *component) in da7218_alc_calib() 428 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7218_mixin_gain_put() local 449 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7218_alc_sw_put() local 472 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7218_tonegen_freq_get() local 496 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7218_tonegen_freq_put() local 516 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7218_mic_lvl_det_sw_put() local 543 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7218_mic_lvl_det_sw_get() local 563 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7218_biquad_coeff_get() local 588 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7218_biquad_coeff_put() local 1348 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in da7218_in_filter_event() local [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() local 197 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5631_dmic_put() local 285 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_sysclk1_source() local 295 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dmic_used() local 303 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacl_to_outmixl() local 313 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacr_to_outmixr() local 323 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_dacl_to_spkmixl() local [all …]
|
H A D | wm8994.c | 111 static void wm8958_micd_set_rate(struct snd_soc_component *component) in wm8958_micd_set_rate() 162 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() 215 static int configure_clock(struct snd_soc_component *component) in configure_clock() 255 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in check_clk_sys() local 304 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8994_put_drc_sw() local 323 static void wm8994_set_drc(struct snd_soc_component *component, int drc) in wm8994_set_drc() 361 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8994_put_drc_enum() local 384 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8994_get_drc_enum() local 395 static void wm8994_set_retune_mobile(struct snd_soc_component *component, int block) in wm8994_set_retune_mobile() 468 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8994_put_retune_mobile_enum() local [all …]
|
H A D | wm_hubs.c | 59 static void wait_for_dc_servo(struct snd_soc_component *component, unsigned int op) in wait_for_dc_servo() 107 static bool wm_hubs_dac_hp_direct(struct snd_soc_component *component) in wm_hubs_dac_hp_direct() 148 static bool wm_hubs_dcs_cache_get(struct snd_soc_component *component, in wm_hubs_dcs_cache_get() 172 static void wm_hubs_dcs_cache_set(struct snd_soc_component *component, u16 dcs_cfg) in wm_hubs_dcs_cache_set() 195 static int wm_hubs_read_dc_servo(struct snd_soc_component *component, in wm_hubs_read_dc_servo() 241 static void enable_dc_servo(struct snd_soc_component *component) in enable_dc_servo() 333 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8993_put_dc_servo() local 498 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in hp_supply_event() local 540 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in hp_event() local 592 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in earpiece_event() local [all …]
|
H A D | rt1011.c | 679 static int rt1011_reg_init(struct snd_soc_component *component) in rt1011_reg_init() 1037 struct snd_soc_component *component = in rt1011_recv_spk_mode_get() local 1050 struct snd_soc_component *component = in rt1011_recv_spk_mode_put() local 1113 struct snd_soc_component *component = in rt1011_bq_drc_coeff_get() local 1150 struct snd_soc_component *component = in rt1011_bq_drc_coeff_put() local 1215 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_r0_cali_get() local 1226 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_r0_cali_put() local 1255 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_r0_load_mode_get() local 1266 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt1011_r0_load_mode_put() local 1322 struct snd_soc_component *component = in rt1011_i2s_ref_put() local [all …]
|
H A D | rt1015.c | 430 struct snd_soc_component *component = in rt1015_boost_mode_get() local 443 struct snd_soc_component *component = in rt1015_boost_mode_put() local 484 struct snd_soc_component *component = in rt1015_bypass_boost_get() local 496 struct snd_soc_component *component = rt1015->component; in rt1015_calibrate() local 527 struct snd_soc_component *component = in rt1015_bypass_boost_put() local 577 struct snd_soc_component *component = in rt1015_is_sys_clk_from_pll() local 590 struct snd_soc_component *component = in r1015_dac_event() local 650 struct snd_soc_component *component = in rt1015_amp_drv_event() local 702 struct snd_soc_component *component = dai->component; in rt1015_hw_params() local 752 struct snd_soc_component *component = dai->component; in rt1015_set_dai_fmt() local [all …]
|
H A D | rt5682.c | 837 int rt5682_sel_asrc_clk_src(struct snd_soc_component *component, in rt5682_sel_asrc_clk_src() 866 static int rt5682_button_detect(struct snd_soc_component *component) in rt5682_button_detect() 880 static void rt5682_enable_push_button_irq(struct snd_soc_component *component, in rt5682_enable_push_button_irq() 926 static int rt5682_headset_detect(struct snd_soc_component *component, int jack_insert) in rt5682_headset_detect() 1012 static int rt5682_set_jack_detect(struct snd_soc_component *component, in rt5682_set_jack_detect() 1260 struct snd_soc_component *component = in set_dmic_clk() local 1280 struct snd_soc_component *component = in set_filter_clk() local 1325 struct snd_soc_component *component = in is_sys_clk_from_pll1() local 1340 struct snd_soc_component *component = in is_sys_clk_from_pll2() local 1355 struct snd_soc_component *component = in is_using_asrc() local [all …]
|
H A D | max98095.c | 251 static void m98095_eq_band(struct snd_soc_component *component, unsigned int dai, in m98095_eq_band() 277 static void m98095_biquad_band(struct snd_soc_component *component, unsigned int dai, in m98095_biquad_band() 353 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98095_mic1pre_set() local 367 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98095_mic1pre_get() local 377 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98095_mic2pre_set() local 391 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98095_mic2pre_get() local 598 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98095_mic_event() local 628 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98095_line_pga() local 676 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98095_lineout_event() local 942 struct snd_soc_component *component = dai->component; in max98095_dai1_hw_params() local [all …]
|
H A D | wcd937x.c | 300 static int wcd937x_rx_clk_enable(struct snd_soc_component *component) in wcd937x_rx_clk_enable() 320 static int wcd937x_rx_clk_disable(struct snd_soc_component *component) in wcd937x_rx_clk_disable() 342 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_hphl_dac_event() local 417 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_hphr_dac_event() local 486 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_ear_dac_event() local 541 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_aux_dac_event() local 577 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_enable_hphr_pa() local 646 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_enable_hphl_pa() local 714 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_enable_aux_pa() local 760 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd937x_codec_enable_ear_pa() local [all …]
|
H A D | wm8962.c | 54 struct snd_soc_component *component; member 1472 static int wm8962_dsp2_write_config(struct snd_soc_component *component) in wm8962_dsp2_write_config() 1480 static int wm8962_dsp2_set_enable(struct snd_soc_component *component, u16 val) in wm8962_dsp2_set_enable() 1503 static int wm8962_dsp2_start(struct snd_soc_component *component) in wm8962_dsp2_start() 1516 static int wm8962_dsp2_stop(struct snd_soc_component *component) in wm8962_dsp2_stop() 1547 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8962_dsp2_ena_get() local 1559 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8962_dsp2_ena_put() local 1597 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8962_put_hp_sw() local 1627 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8962_put_spk_sw() local 1847 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tp_event() local [all …]
|
H A D | rt286.c | 40 struct snd_soc_component *component; member 190 static void rt286_index_sync(struct snd_soc_component *component) in rt286_index_sync() 314 static int rt286_mic_detect(struct snd_soc_component *component, in rt286_mic_detect() 343 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_mclk_mode() local 443 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt286_spk_event() local 465 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt286_set_dmic1_event() local 484 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt286_ldo2_event() local 503 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt286_mic1_event() local 683 struct snd_soc_component *component = dai->component; in rt286_hw_params() local 765 struct snd_soc_component *component = dai->component; in rt286_set_dai_fmt() local [all …]
|
H A D | rt5670.c | 431 static int rt5670_headset_detect(struct snd_soc_component *component, int jack_insert) in rt5670_headset_detect() 479 void rt5670_jack_suspend(struct snd_soc_component *component) in rt5670_jack_suspend() 488 void rt5670_jack_resume(struct snd_soc_component *component) in rt5670_jack_resume() 497 static int rt5670_button_detect(struct snd_soc_component *component) in rt5670_button_detect() 577 int rt5670_set_jack_detect(struct snd_soc_component *component, in rt5670_set_jack_detect() 655 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5670_dac1_playback_switch_get() local 667 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5670_dac1_playback_switch_put() local 747 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local 765 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_sys_clk_from_pll() local 777 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_using_asrc() local [all …]
|
H A D | rt5663.c | 58 struct snd_soc_component *component; member 1398 static void rt5663_enable_push_button_irq(struct snd_soc_component *component, in rt5663_enable_push_button_irq() 1464 static int rt5663_v2_jack_detect(struct snd_soc_component *component, int jack_insert) in rt5663_v2_jack_detect() 1536 static int rt5663_jack_detect(struct snd_soc_component *component, int jack_insert) in rt5663_jack_detect() 1672 static int rt5663_impedance_sensing(struct snd_soc_component *component) in rt5663_impedance_sensing() 1843 static int rt5663_button_detect(struct snd_soc_component *component) in rt5663_button_detect() 1868 static int rt5663_set_jack_detect(struct snd_soc_component *component, in rt5663_set_jack_detect() 1880 static bool rt5663_check_jd_status(struct snd_soc_component *component) in rt5663_check_jd_status() 1904 struct snd_soc_component *component = rt5663->component; in rt5663_jack_detect_work() local 2005 struct snd_soc_component *component = rt5663->component; in rt5663_jd_unplug_work() local [all …]
|
H A D | es8326.c | 25 struct snd_soc_component *component; member 51 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in es8326_crosstalk1_get() local 69 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in es8326_crosstalk1_set() local 89 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in es8326_crosstalk2_get() local 107 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in es8326_crosstalk2_set() local 127 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in es8326_hplvol_get() local 138 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in es8326_hplvol_set() local 160 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in es8326_hprvol_get() local 171 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in es8326_hprvol_set() local 496 struct snd_soc_component *component = codec_dai->component; in es8326_set_dai_fmt() local [all …]
|
H A D | uda1380.c | 34 struct snd_soc_component *component; member 61 static inline unsigned int uda1380_read_reg_cache(struct snd_soc_component *component, in uda1380_read_reg_cache() 77 static inline void uda1380_write_reg_cache(struct snd_soc_component *component, in uda1380_write_reg_cache() 93 static int uda1380_write(struct snd_soc_component *component, unsigned int reg, in uda1380_write() 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() 420 struct snd_soc_component *component = codec_dai->component; in uda1380_set_dai_fmt_both() local 450 struct snd_soc_component *component = codec_dai->component; in uda1380_set_dai_fmt_playback() local 480 struct snd_soc_component *component = codec_dai->component; in uda1380_set_dai_fmt_capture() local 509 struct snd_soc_component *component = dai->component; in uda1380_trigger() local [all …]
|
H A D | tlv320aic32x4.c | 59 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in aic32x4_reset_adc() local 81 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in mic_bias_event() local 107 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aic32x4_get_mfp1_gpio() local 120 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aic32x4_set_mfp2_gpio() local 148 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aic32x4_get_mfp3_gpio() local 161 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aic32x4_set_mfp4_gpio() local 189 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aic32x4_get_mfp5_gpio() local 201 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aic32x4_set_mfp5_gpio() local 600 struct snd_soc_component *component = codec_dai->component; in aic32x4_set_dai_sysclk() local 615 struct snd_soc_component *component = codec_dai->component; in aic32x4_set_dai_fmt() local [all …]
|
/linux/sound/soc/generic/ |
H A D | test-component.c | 238 static int test_component_probe(struct snd_soc_component *component) in test_component_probe() 245 static void test_component_remove(struct snd_soc_component *component) in test_component_remove() 250 static int test_component_suspend(struct snd_soc_component *component) in test_component_suspend() 257 static int test_component_resume(struct snd_soc_component *component) in test_component_resume() 265 static int test_component_pcm_construct(struct snd_soc_component *component, in test_component_pcm_construct() 279 static void test_component_pcm_destruct(struct snd_soc_component *component, in test_component_pcm_destruct() 285 static int test_component_set_sysclk(struct snd_soc_component *component, in test_component_set_sysclk() 293 static int test_component_set_pll(struct snd_soc_component *component, int pll_id, in test_component_set_pll() 301 static int test_component_set_jack(struct snd_soc_component *component, in test_component_set_jack() 309 static void test_component_seq_notifier(struct snd_soc_component *component, in test_component_seq_notifier() [all …]
|
/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() local 122 static int sof_pcm_hw_params(struct snd_soc_component *component, in sof_pcm_hw_params() 194 static int sof_pcm_hw_free(struct snd_soc_component *component, in sof_pcm_hw_free() 220 static int sof_pcm_prepare(struct snd_soc_component *component, in sof_pcm_prepare() 268 static int sof_pcm_trigger(struct snd_soc_component *component, in sof_pcm_trigger() 381 static snd_pcm_uframes_t sof_pcm_pointer(struct snd_soc_component *component, in sof_pcm_pointer() 420 static int sof_pcm_open(struct snd_soc_component *component, in sof_pcm_open() 485 static int sof_pcm_close(struct snd_soc_component *component, in sof_pcm_close() 522 static int sof_pcm_new(struct snd_soc_component *component, in sof_pcm_new() [all …]
|