/openbmc/linux/include/sound/ |
H A D | soc-component.h | 30 int (*open)(struct snd_soc_component *component, 32 int (*free)(struct snd_soc_component *component, 51 int (*copy)(struct snd_soc_component *component, 54 int (*mmap)(struct snd_soc_component *component, 57 int (*ack)(struct snd_soc_component *component, 115 int (*open)(struct snd_soc_component *component, 150 int (*ack)(struct snd_soc_component *component, 207 struct snd_soc_component { struct 285 struct snd_soc_component *component) in snd_soc_component_get_dapm() 356 struct snd_soc_component *component) in snd_soc_component_cache_sync() [all …]
|
H A D | soc-topology.h | 24 struct snd_soc_component; 113 int (*control_unload)(struct snd_soc_component *, 119 int (*dapm_route_unload)(struct snd_soc_component *, 129 int (*widget_unload)(struct snd_soc_component *, 133 int (*dai_load)(struct snd_soc_component *, int index, 137 int (*dai_unload)(struct snd_soc_component *, 141 int (*link_load)(struct snd_soc_component *, int index, 144 int (*link_unload)(struct snd_soc_component *, 150 int (*vendor_unload)(struct snd_soc_component *, 154 int (*complete)(struct snd_soc_component *comp); [all …]
|
H A D | pxa2xx-lib.h | 13 struct snd_soc_component; 23 extern int pxa2xx_soc_pcm_new(struct snd_soc_component *component, 25 extern int pxa2xx_soc_pcm_open(struct snd_soc_component *component, 27 extern int pxa2xx_soc_pcm_close(struct snd_soc_component *component, 29 extern int pxa2xx_soc_pcm_hw_params(struct snd_soc_component *component, 32 extern int pxa2xx_soc_pcm_prepare(struct snd_soc_component *component, 34 extern int pxa2xx_soc_pcm_trigger(struct snd_soc_component *component, 37 pxa2xx_soc_pcm_pointer(struct snd_soc_component *component,
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wcd-mbhc-v2.h | 235 void (*compute_impedance)(struct snd_soc_component *component, 237 void (*set_micbias_value)(struct snd_soc_component *component); 238 void (*set_auto_zeroing)(struct snd_soc_component *component, 243 void (*set_btn_thr)(struct snd_soc_component *component, 246 void (*hph_pull_up_control)(struct snd_soc_component *component, 248 int (*mbhc_micbias_control)(struct snd_soc_component *component, 252 bool (*extn_use_mb)(struct snd_soc_component *component); 253 int (*mbhc_micb_ctrl_thr_mic)(struct snd_soc_component *component, 255 void (*mbhc_gnd_det_ctrl)(struct snd_soc_component *component, 257 void (*hph_pull_down_ctrl)(struct snd_soc_component *component, [all …]
|
H A D | wm_hubs.h | 18 struct snd_soc_component; 34 bool (*check_class_w_digital)(struct snd_soc_component *); 50 struct snd_soc_component *component; 53 extern int wm_hubs_add_analogue_controls(struct snd_soc_component *); 54 extern int wm_hubs_add_analogue_routes(struct snd_soc_component *, int, int); 55 extern int wm_hubs_handle_analogue_pdata(struct snd_soc_component *, 63 extern void wm_hubs_vmid_ena(struct snd_soc_component *component); 64 extern void wm_hubs_set_bias_level(struct snd_soc_component *component, 66 extern void wm_hubs_update_class_w(struct snd_soc_component *component);
|
H A D | twl6040.h | 23 int twl6040_get_dl1_gain(struct snd_soc_component *component); 24 void twl6040_hs_jack_detect(struct snd_soc_component *component, 26 int twl6040_get_clk_id(struct snd_soc_component *component); 27 int twl6040_get_trim_value(struct snd_soc_component *component, enum twl6040_trim trim); 28 int twl6040_get_hs_step_size(struct snd_soc_component *component);
|
H A D | wcd-clsh-v2.c | 19 struct snd_soc_component *comp; 122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() 179 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_buck_ctrl() 228 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_flyback_ctrl() 248 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_set_gain_path() 350 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_set_hph_mode() 512 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_state_lo() 571 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_state_hph_r() 661 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_state_hph_l() 745 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_state_ear() [all …]
|
H A D | wm_adsp.h | 32 struct snd_soc_component *component; 84 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component); 85 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component); 116 int wm_adsp_compr_free(struct snd_soc_component *component, 118 int wm_adsp_compr_set_params(struct snd_soc_component *component, 121 int wm_adsp_compr_get_caps(struct snd_soc_component *component, 124 int wm_adsp_compr_trigger(struct snd_soc_component *component, 127 int wm_adsp_compr_pointer(struct snd_soc_component *component, 130 int wm_adsp_compr_copy(struct snd_soc_component *component,
|
H A D | twl6040.c | 65 struct snd_soc_component *component; 159 static int twl6040_write(struct snd_soc_component *component, in twl6040_write() 305 struct snd_soc_component *component = priv->component; in twl6040_accessory_work() 314 struct snd_soc_component *component = data; in twl6040_audio_handler() 522 int twl6040_get_dl1_gain(struct snd_soc_component *component) in twl6040_get_dl1_gain() 544 int twl6040_get_clk_id(struct snd_soc_component *component) in twl6040_get_clk_id() 862 struct snd_soc_component *component = dai->component; in twl6040_startup() 876 struct snd_soc_component *component = dai->component; in twl6040_hw_params() 912 struct snd_soc_component *component = dai->component; in twl6040_prepare() 935 struct snd_soc_component *component = codec_dai->component; in twl6040_set_dai_sysclk() [all …]
|
H A D | da7219-aad.h | 189 struct snd_soc_component *component; 209 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack); 212 void da7219_aad_suspend(struct snd_soc_component *component); 213 void da7219_aad_resume(struct snd_soc_component *component); 216 int da7219_aad_init(struct snd_soc_component *component); 217 void da7219_aad_exit(struct snd_soc_component *component);
|
H A D | tas2781-i2c.c | 62 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_getvol() 73 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_putvol() 84 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_getvol() 95 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_putvol() 107 struct snd_soc_component *component = in tas2781_force_fwload_get() 122 struct snd_soc_component *component = in tas2781_force_fwload_put() 154 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_set_profile_id() 186 struct snd_soc_component *codec = in tasdevice_info_configurations() 478 struct snd_soc_component *codec = dai->component; in tasdevice_startup() 576 static int tasdevice_codec_probe(struct snd_soc_component *codec) in tasdevice_codec_probe() [all …]
|
H A D | ak5386.c | 38 static int ak5386_soc_probe(struct snd_soc_component *component) in ak5386_soc_probe() 44 static void ak5386_soc_remove(struct snd_soc_component *component) in ak5386_soc_remove() 51 static int ak5386_soc_suspend(struct snd_soc_component *component) in ak5386_soc_suspend() 58 static int ak5386_soc_resume(struct snd_soc_component *component) in ak5386_soc_resume() 85 struct snd_soc_component *component = codec_dai->component; in ak5386_set_dai_fmt() 101 struct snd_soc_component *component = dai->component; in ak5386_hw_params() 123 struct snd_soc_component *component = dai->component; in ak5386_hw_free()
|
H A D | tlv320dac33.c | 52 struct snd_soc_component *component); 54 struct snd_soc_component *component); 80 struct snd_soc_component *component; 718 struct snd_soc_component *component; in dac33_work() 752 struct snd_soc_component *component = dev; in dac33_interrupt_handler() 784 struct snd_soc_component *component = dai->component; in dac33_startup() 796 struct snd_soc_component *component = dai->component; in dac33_shutdown() 808 struct snd_soc_component *component = dai->component; in dac33_hw_params() 851 struct snd_soc_component *component) in dac33_prepare_chip() 1049 struct snd_soc_component *component) in dac33_calculate_times() [all …]
|
H A D | adav80x.c | 283 static int adav80x_set_deemph(struct snd_soc_component *component) in adav80x_set_deemph() 367 struct snd_soc_component *component = dai->component; in adav80x_set_dai_fmt() 418 static int adav80x_set_adc_clock(struct snd_soc_component *component, in adav80x_set_adc_clock() 435 static int adav80x_set_dac_clock(struct snd_soc_component *component, in adav80x_set_dac_clock() 517 struct snd_soc_component *component = dai->component; in adav80x_hw_params() 537 static int adav80x_set_sysclk(struct snd_soc_component *component, in adav80x_set_sysclk() 698 static int adav80x_set_bias_level(struct snd_soc_component *component, in adav80x_set_bias_level() 726 struct snd_soc_component *component = dai->component; in adav80x_dai_startup() 739 struct snd_soc_component *component = dai->component; in adav80x_dai_shutdown() 803 static int adav80x_probe(struct snd_soc_component *component) in adav80x_probe() [all …]
|
H A D | twl4030.c | 222 twl4030_get_board_params(struct snd_soc_component *component) in twl4030_get_board_params() 1648 struct snd_soc_component *component = dai->component; in twl4030_startup() 1677 struct snd_soc_component *component = dai->component; in twl4030_shutdown() 1701 struct snd_soc_component *component = dai->component; in twl4030_hw_params() 1818 struct snd_soc_component *component = codec_dai->component; in twl4030_set_dai_sysclk() 1843 struct snd_soc_component *component = codec_dai->component; in twl4030_set_dai_fmt() 1896 struct snd_soc_component *component = dai->component; in twl4030_set_tristate() 1932 struct snd_soc_component *component = dai->component; in twl4030_voice_startup() 1964 struct snd_soc_component *component = dai->component; in twl4030_voice_shutdown() 1974 struct snd_soc_component *component = dai->component; in twl4030_voice_hw_params() [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-component.c | 230 struct snd_soc_component *component, in snd_soc_component_force_enable_pin_unlocked() 291 struct snd_soc_component *component) in snd_soc_component_get_jack_type() 511 struct snd_soc_component *component; in snd_soc_component_compr_trigger() 532 struct snd_soc_component *component; in snd_soc_component_compr_set_params() 553 struct snd_soc_component *component; in snd_soc_component_compr_get_params() 573 struct snd_soc_component *component; in snd_soc_component_compr_get_caps() 597 struct snd_soc_component *component; in snd_soc_component_compr_get_codec_caps() 620 struct snd_soc_component *component; in snd_soc_component_compr_ack() 641 struct snd_soc_component *component; in snd_soc_component_compr_pointer() 661 struct snd_soc_component *component; in snd_soc_component_compr_copy() [all …]
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-fifo.h | 77 int axg_fifo_pcm_open(struct snd_soc_component *component, 79 int axg_fifo_pcm_close(struct snd_soc_component *component, 81 int axg_fifo_pcm_hw_params(struct snd_soc_component *component, 84 int g12a_fifo_pcm_hw_params(struct snd_soc_component *component, 87 int axg_fifo_pcm_hw_free(struct snd_soc_component *component, 89 snd_pcm_uframes_t axg_fifo_pcm_pointer(struct snd_soc_component *component, 91 int axg_fifo_pcm_trigger(struct snd_soc_component *component,
|
H A D | aiu-encoder-i2s.c | 30 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable() 38 static int aiu_encoder_i2s_setup_desc(struct snd_soc_component *component, in aiu_encoder_i2s_setup_desc() 81 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div() 111 static int aiu_encoder_i2s_set_more_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_more_div() 144 static int aiu_encoder_i2s_set_clocks(struct snd_soc_component *component, in aiu_encoder_i2s_set_clocks() 191 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_hw_params() 217 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_hw_free() 226 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_set_fmt()
|
/openbmc/linux/sound/soc/sof/ |
H A D | sof-audio.h | 128 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component, 228 int (*parse_manifest)(struct snd_soc_component *scomp, int index, 338 struct snd_soc_component *scomp; 354 struct snd_soc_component *scomp; 403 struct snd_soc_component *scomp; 499 struct snd_soc_component *scomp; 515 struct snd_soc_component *scomp; 569 int snd_sof_ipc_stream_posn(struct snd_soc_component *scomp, 576 snd_sof_find_swidget_sname(struct snd_soc_component *scomp, 578 struct snd_sof_dai *snd_sof_find_dai(struct snd_soc_component *scomp, [all …]
|
H A D | control.c | 23 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_get() 38 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_put() 75 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_switch_get() 90 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_switch_put() 105 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_enum_get() 120 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_enum_put() 135 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_get() 150 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_put() 166 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_ext_put() 185 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_ext_volatile_get() [all …]
|
/openbmc/linux/sound/soc/generic/ |
H A D | test-component.c | 247 static int test_component_probe(struct snd_soc_component *component) in test_component_probe() 254 static void test_component_remove(struct snd_soc_component *component) in test_component_remove() 259 static int test_component_suspend(struct snd_soc_component *component) in test_component_suspend() 266 static int test_component_resume(struct snd_soc_component *component) in test_component_resume() 310 static int test_component_set_jack(struct snd_soc_component *component, in test_component_set_jack() 352 static int test_component_open(struct snd_soc_component *component, in test_component_open() 366 static int test_component_close(struct snd_soc_component *component, in test_component_close() 374 static int test_component_ioctl(struct snd_soc_component *component, in test_component_ioctl() 392 static int test_component_hw_free(struct snd_soc_component *component, in test_component_hw_free() 400 static int test_component_prepare(struct snd_soc_component *component, in test_component_prepare() [all …]
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra_pcm.h | 23 int tegra_pcm_construct(struct snd_soc_component *component, 25 int tegra_pcm_open(struct snd_soc_component *component, 27 int tegra_pcm_close(struct snd_soc_component *component, 29 int tegra_pcm_hw_params(struct snd_soc_component *component, 32 snd_pcm_uframes_t tegra_pcm_pointer(struct snd_soc_component *component,
|
/openbmc/linux/sound/soc/mediatek/common/ |
H A D | mtk-afe-platform-driver.h | 17 struct snd_soc_component; 20 snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component, 22 int mtk_afe_pcm_new(struct snd_soc_component *component, 26 int mtk_afe_add_sub_dai_control(struct snd_soc_component *component);
|
/openbmc/linux/sound/arm/ |
H A D | pxa2xx-pcm-lib.c | 134 int pxa2xx_soc_pcm_new(struct snd_soc_component *component, in pxa2xx_soc_pcm_new() 149 int pxa2xx_soc_pcm_open(struct snd_soc_component *component, in pxa2xx_soc_pcm_open() 156 int pxa2xx_soc_pcm_close(struct snd_soc_component *component, in pxa2xx_soc_pcm_close() 163 int pxa2xx_soc_pcm_hw_params(struct snd_soc_component *component, in pxa2xx_soc_pcm_hw_params() 171 int pxa2xx_soc_pcm_prepare(struct snd_soc_component *component, in pxa2xx_soc_pcm_prepare() 178 int pxa2xx_soc_pcm_trigger(struct snd_soc_component *component, in pxa2xx_soc_pcm_trigger() 186 pxa2xx_soc_pcm_pointer(struct snd_soc_component *component, in pxa2xx_soc_pcm_pointer()
|
/openbmc/linux/sound/soc/codecs/aw88395/ |
H A D | aw88395.c | 176 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_profile_info() 214 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_profile_get() 225 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_profile_set() 251 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_volume_get() 263 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_volume_set() 287 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_get_fade_step() 298 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_set_fade_step() 319 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_re_get() 331 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in aw88395_re_set() 405 static int aw88395_codec_probe(struct snd_soc_component *component) in aw88395_codec_probe() [all …]
|