| /linux/include/sound/ |
| H A D | soc-component.h | 32 int (*open)(struct snd_soc_component *component, 34 int (*free)(struct snd_soc_component *component, 36 int (*set_params)(struct snd_soc_component *component, 39 int (*get_params)(struct snd_soc_component *component, 42 int (*set_metadata)(struct snd_soc_component *component, 45 int (*get_metadata)(struct snd_soc_component *component, 48 int (*trigger)(struct snd_soc_component *component, 50 int (*pointer)(struct snd_soc_component *component, 53 int (*copy)(struct snd_soc_component *component, 56 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 | soc-usb.h | 54 struct snd_soc_component *component; 58 int (*update_offload_route_info)(struct snd_soc_component *component, 74 int snd_soc_usb_setup_offload_jack(struct snd_soc_component *component, 80 struct snd_soc_usb *snd_soc_usb_allocate_port(struct snd_soc_component *component, 110 static inline int snd_soc_usb_setup_offload_jack(struct snd_soc_component *component, in snd_soc_usb_setup_offload_jack() 124 snd_soc_usb_allocate_port(struct snd_soc_component *component, void *data) in snd_soc_usb_allocate_port()
|
| /linux/sound/soc/codecs/ |
| H A D | wcd-mbhc-v2.h | 197 bool (*swap_gnd_mic)(struct snd_soc_component *component); 233 void (*update_cross_conn_thr)(struct snd_soc_component *component); 234 void (*get_micbias_val)(struct snd_soc_component *component, int *mb); 235 void (*bcs_enable)(struct snd_soc_component *component, bool bcs_enable); 236 void (*compute_impedance)(struct snd_soc_component *component, 238 void (*set_micbias_value)(struct snd_soc_component *component); 239 void (*set_auto_zeroing)(struct snd_soc_component *component, 241 void (*clk_setup)(struct snd_soc_component *component, bool enable); 242 bool (*micbias_enable_status)(struct snd_soc_component *component, int micb_num); 243 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 *com [all...] |
| H A D | twl6040.c | 66 struct snd_soc_component *component; 98 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read() 123 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip() 142 static inline void twl6040_update_dl12_cache(struct snd_soc_component *component, in twl6040_update_dl12_cache() 160 static int twl6040_write(struct snd_soc_component *component, in twl6040_write() 175 static void twl6040_init_chip(struct snd_soc_component *component) in twl6040_init_chip() 201 static int headset_power_mode(struct snd_soc_component *component, int high_perf) in headset_power_mode() 226 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_hs_dac_event() 253 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in twl6040_ep_drv_event() 271 static void twl6040_hs_jack_report(struct snd_soc_component *componen in twl6040_hs_jack_report() [all...] |
| 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 | 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); 213 void da7219_aad_suspend(struct snd_soc_component *component); 214 void da7219_aad_resume(struct snd_soc_component *component); 216 static inline void da7219_aad_suspend(struct snd_soc_component *component) { } 217 static inline void da7219_aad_resume(struct snd_soc_component *component) { } 221 int da7219_aad_init(struct snd_soc_component *component); 222 void da7219_aad_exit(struct snd_soc_component *component);
|
| H A D | ak5386.c | 39 static int ak5386_soc_probe(struct snd_soc_component *component) in ak5386_soc_probe() 45 static void ak5386_soc_remove(struct snd_soc_component *component) in ak5386_soc_remove() 52 static int ak5386_soc_suspend(struct snd_soc_component *component) in ak5386_soc_suspend() 59 static int ak5386_soc_resume(struct snd_soc_component *component) in ak5386_soc_resume() 86 struct snd_soc_component *component = codec_dai->component; in ak5386_set_dai_fmt() 102 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 | 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_kcontrol_chip(kcontrol); in adav80x_put_deemph() 332 struct snd_soc_component *component = snd_kcontrol_chip(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 *componen [all...] |
| H A D | sma1307.c | 106 static struct snd_soc_component *sma1307_amp_component; 108 static void sma1307_startup(struct snd_soc_component *); 109 static void sma1307_shutdown(struct snd_soc_component *); 110 static void sma1307_reset(struct snd_soc_component *); 111 static void sma1307_set_binary(struct snd_soc_component *); 112 static void sma1307_set_default(struct snd_soc_component *); 306 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_force_mute_get() 317 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_force_mute_put() 334 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in sma1307_tdm_slot_get() 367 struct snd_soc_component *componen in sma1307_tdm_slot_put() [all...] |
| H A D | wm8958-dsp2.c | 42 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw() 189 static void wm8958_dsp_start_mbc(struct snd_soc_component *component, int path) in wm8958_dsp_start_mbc() 233 static void wm8958_dsp_start_vss(struct snd_soc_component *component, int path) in wm8958_dsp_start_vss() 294 static void wm8958_dsp_start_enh_eq(struct snd_soc_component *component, int path) in wm8958_dsp_start_enh_eq() 325 static void wm8958_dsp_apply(struct snd_soc_component *component, int path, int start) in wm8958_dsp_apply() 415 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8958_aif_ev() 457 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8958_put_mbc_enum() 479 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8958_get_mbc_enum() 501 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in wm8958_mbc_get() 513 struct snd_soc_component *componen in wm8958_mbc_put() [all...] |
| H A D | twl4030.c | 80 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read() 145 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write() 180 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable() 218 twl4030_get_board_params(struct snd_soc_component *component) in twl4030_get_board_params() 241 static int twl4030_init_chip(struct snd_soc_component *component) in twl4030_init_chip() 331 static void twl4030_apll_enable(struct snd_soc_component *component, int enable) in twl4030_apll_enable() 556 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); \ 578 static void handsfree_ramp(struct snd_soc_component *component, int reg, int ramp) in handsfree_ramp() 611 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in handsfreelpga_event() 627 struct snd_soc_component *componen in handsfreerpga_event() [all...] |
| H A D | arizona.h | 312 int arizona_set_sysclk(struct snd_soc_component *component, int clk_id, int source, 336 int arizona_dvfs_up(struct snd_soc_component *component, unsigned int flags); 337 int arizona_dvfs_down(struct snd_soc_component *component, unsigned int flags); 349 int arizona_init_spk(struct snd_soc_component *component); 350 int arizona_init_gpio(struct snd_soc_component *component); 351 int arizona_init_mono(struct snd_soc_component *component); 361 int arizona_set_output_mode(struct snd_soc_component *component, int output, 364 bool arizona_input_analog(struct snd_soc_component *component, int shift); 368 static inline int arizona_register_notifier(struct snd_soc_component *component, in arizona_register_notifier() 382 static inline int arizona_unregister_notifier(struct snd_soc_component *componen in arizona_unregister_notifier() [all...] |
| /linux/sound/soc/ |
| H A D | soc-component.c | 17 static inline int _soc_component_ret(struct snd_soc_component *component, const char *func, int ret) in _soc_component_ret() 24 static inline int _soc_component_ret_reg_rw(struct snd_soc_component *component, in _soc_component_ret_reg_rw() 32 struct snd_soc_component *snd_soc_component_alloc(struct device *dev) in snd_soc_component_alloc() 34 struct snd_soc_component *component = devm_kzalloc(dev, sizeof(*component), GFP_KERNEL); in snd_soc_component_alloc() 45 void snd_soc_component_set_name(struct snd_soc_component *component, const char *name) in snd_soc_component_set_name() 51 const char *snd_soc_component_name(struct snd_soc_component *component) in snd_soc_component_name() 57 void snd_soc_component_set_priv(struct snd_soc_component *component, void *priv) in snd_soc_component_set_priv() 63 void *snd_soc_component_to_priv(struct snd_soc_component *component) in snd_soc_component_to_priv() 77 void snd_soc_component_set_aux(struct snd_soc_component *component, in snd_soc_component_set_aux() 83 int snd_soc_component_init(struct snd_soc_component *component) in snd_soc_component_init() [all …]
|
| 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() 108 struct snd_soc_component *component = gpio_to_component(chip); in snd_soc_ac97_gpio_direction_out() 133 struct snd_soc_component *component) in snd_soc_ac97_init_gpio() 160 struct snd_soc_component *component) in snd_soc_ac97_init_gpio() 180 struct snd_ac97 *snd_soc_alloc_ac97_component(struct snd_soc_component *component) in snd_soc_alloc_ac97_component() 219 struct snd_ac97 *snd_soc_new_ac97_component(struct snd_soc_component *component, in snd_soc_new_ac97_component()
|
| /linux/sound/soc/sof/ |
| H A D | sof-audio.h | 124 int (*hw_params)(struct snd_soc_component *component, struct snd_pcm_substream *substream, 127 int (*hw_free)(struct snd_soc_component *component, struct snd_pcm_substream *substream); 128 int (*trigger)(struct snd_soc_component *component, struct snd_pcm_substream *substream, 133 int (*pointer)(struct snd_soc_component *component, 136 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component, 186 int (*bind_event)(struct snd_soc_component *scomp, struct snd_sof_widget *swidget, 239 int (*parse_manifest)(struct snd_soc_component *scomp, int index, 353 struct snd_soc_component *scomp; 374 struct snd_soc_component *scomp; 423 struct snd_soc_component *scom [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 *scom in snd_sof_bytes_ext_volatile_get() [all...] |
| /linux/sound/soc/meson/ |
| H A D | axg-fifo.h | 75 int axg_fifo_pcm_open(struct snd_soc_component *component, 77 int axg_fifo_pcm_close(struct snd_soc_component *component, 79 int axg_fifo_pcm_hw_params(struct snd_soc_component *component, 82 int g12a_fifo_pcm_hw_params(struct snd_soc_component *component, 85 int axg_fifo_pcm_hw_free(struct snd_soc_component *component, 87 snd_pcm_uframes_t axg_fifo_pcm_pointer(struct snd_soc_component *component, 89 int axg_fifo_pcm_trigger(struct snd_soc_component *component,
|
| H A D | aiu-encoder-i2s.c | 27 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component, 35 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable() 91 static int aiu_encoder_i2s_set_more_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div() 128 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_set_more_div() 201 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_hw_params() 222 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_hw_free() 245 struct snd_soc_component *component = dai->component; in aiu_encoder_i2s_set_fmt()
|
| /linux/sound/soc/tegra/ |
| H A D | tegra_pcm.h | 23 int tegra_pcm_new(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,
|
| /linux/sound/soc/mediatek/common/ |
| H A D | mtk-afe-platform-driver.h | 19 struct snd_soc_component; 22 snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component, 24 int mtk_afe_pcm_new(struct snd_soc_component *component, 28 int mtk_afe_add_sub_dai_control(struct snd_soc_component *component);
|
| /linux/sound/arm/ |
| H A D | pxa2xx-pcm-lib.c | |
| /linux/sound/soc/codecs/aw88395/ |
| H A D | aw88395.c | 107 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aw88395_get_fade_in_time() 119 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aw88395_set_fade_in_time() 142 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aw88395_get_fade_out_time() 154 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in aw88395_set_fade_out_time() 176 struct snd_soc_component *codec = snd_kcontrol_chip(kcontrol); in aw88395_profile_info() 211 struct snd_soc_component *codec = snd_kcontrol_chip(kcontrol); in aw88395_profile_get() 222 struct snd_soc_component *codec = snd_kcontrol_chip(kcontrol); in aw88395_profile_set() 245 struct snd_soc_component *codec = snd_kcontrol_chip(kcontrol); in aw88395_volume_get() 257 struct snd_soc_component *codec = snd_kcontrol_chip(kcontrol); in aw88395_volume_set() 281 struct snd_soc_component *code [all...] |