/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, 34 int (*set_params)(struct snd_soc_component *component, 37 int (*get_params)(struct snd_soc_component *component, 40 int (*set_metadata)(struct snd_soc_component *component, 43 int (*get_metadata)(struct snd_soc_component *component, 46 int (*trigger)(struct snd_soc_component *component, 48 int (*pointer)(struct snd_soc_component *component, 51 int (*copy)(struct snd_soc_component *component, 54 int (*mmap)(struct snd_soc_component *component, [all …]
|
H A D | soc-topology.h | 24 struct snd_soc_component; 65 int (*unload)(struct snd_soc_component *comp, struct snd_soc_dobj *dobj); 111 int (*control_load)(struct snd_soc_component *, int index, 113 int (*control_unload)(struct snd_soc_component *, 117 int (*dapm_route_load)(struct snd_soc_component *, int index, 119 int (*dapm_route_unload)(struct snd_soc_component *, 123 int (*widget_load)(struct snd_soc_component *, int index, 126 int (*widget_ready)(struct snd_soc_component *, int index, 129 int (*widget_unload)(struct snd_soc_component *, 133 int (*dai_load)(struct snd_soc_component *, int index, [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 | 196 bool (*swap_gnd_mic)(struct snd_soc_component *component, bool active); 232 void (*update_cross_conn_thr)(struct snd_soc_component *component); 233 void (*get_micbias_val)(struct snd_soc_component *component, int *mb); 234 void (*bcs_enable)(struct snd_soc_component *component, bool bcs_enable); 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, 240 void (*clk_setup)(struct snd_soc_component *component, bool enable); 241 bool (*micbias_enable_status)(struct snd_soc_component *component, int micb_num); 242 void (*mbhc_bias)(struct snd_soc_component *component, bool enable); [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 | wcd-clsh-v2.c | 19 struct snd_soc_component *comp; 122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() 133 static inline void wcd_clsh_set_buck_mode(struct snd_soc_component *comp, in wcd_clsh_set_buck_mode() 147 static void wcd_clsh_v3_set_buck_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_buck_mode() 161 static inline void wcd_clsh_set_flyback_mode(struct snd_soc_component *comp, in wcd_clsh_set_flyback_mode() 179 struct snd_soc_component *comp = ctrl->comp; in wcd_clsh_buck_ctrl() 194 static void wcd_clsh_v3_buck_ctrl(struct snd_soc_component *component, in wcd_clsh_v3_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() 273 static void wcd_clsh_v2_set_hph_mode(struct snd_soc_component *comp, int mode) in wcd_clsh_v2_set_hph_mode() [all …]
|
H A D | twl6040.c | 65 struct snd_soc_component *component; 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() 252 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_ep_drv_event() 270 static void twl6040_hs_jack_report(struct snd_soc_component *component, in twl6040_hs_jack_report() [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.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 | 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() 171 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_info_programs() 186 struct snd_soc_component *codec = in tasdevice_info_configurations() 202 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_info_profile() [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 | tlv320dac33.c | 52 struct snd_soc_component *component); 54 struct snd_soc_component *component); 80 struct snd_soc_component *component; 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() [all …]
|
H A D | adav80x.c | 214 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_sysclk_check() 238 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_pll_check() 283 static int adav80x_set_deemph(struct snd_soc_component *component) in adav80x_set_deemph() 317 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in adav80x_put_deemph() 332 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in adav80x_get_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() 453 static int adav80x_set_capture_pcm_format(struct snd_soc_component *component, in adav80x_set_capture_pcm_format() 482 static int adav80x_set_playback_pcm_format(struct snd_soc_component *component, in adav80x_set_playback_pcm_format() [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 | twl4030.c | 83 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read() 148 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write() 183 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable() 222 twl4030_get_board_params(struct snd_soc_component *component) in twl4030_get_board_params() 245 static void twl4030_init_chip(struct snd_soc_component *component) in twl4030_init_chip() 337 static void twl4030_apll_enable(struct snd_soc_component *component, int enable) in twl4030_apll_enable() 562 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); \ 584 static void handsfree_ramp(struct snd_soc_component *component, int reg, int ramp) in handsfree_ramp() 617 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in handsfreelpga_event() 633 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in handsfreerpga_event() [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() 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() [all …]
|
/openbmc/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() 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() 135 int snd_soc_component_stream_event(struct snd_soc_component *component, in snd_soc_component_stream_event() 146 int snd_soc_component_set_bias_level(struct snd_soc_component *component, in snd_soc_component_set_bias_level() 157 int snd_soc_component_enable_pin(struct snd_soc_component *component, in snd_soc_component_enable_pin() [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | sof-audio.h | 119 int (*hw_params)(struct snd_soc_component *component, struct snd_pcm_substream *substream, 122 int (*hw_free)(struct snd_soc_component *component, struct snd_pcm_substream *substream); 123 int (*trigger)(struct snd_soc_component *component, struct snd_pcm_substream *substream, 128 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component, 178 int (*bind_event)(struct snd_soc_component *scomp, struct snd_sof_widget *swidget, 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; [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() 274 static int test_component_pcm_construct(struct snd_soc_component *component, in test_component_pcm_construct() 288 static void test_component_pcm_destruct(struct snd_soc_component *component, in test_component_pcm_destruct() 294 static int test_component_set_sysclk(struct snd_soc_component *component, in test_component_set_sysclk() 302 static int test_component_set_pll(struct snd_soc_component *component, int pll_id, in test_component_set_pll() 310 static int test_component_set_jack(struct snd_soc_component *component, in test_component_set_jack() 318 static void test_component_seq_notifier(struct snd_soc_component *component, in test_component_seq_notifier() [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,
|
/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 | 107 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in aw88395_get_fade_in_time() 119 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in aw88395_set_fade_in_time() 142 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in aw88395_get_fade_out_time() 154 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in aw88395_set_fade_out_time() 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() [all …]
|