Home
last modified time | relevance | path

Searched full:component (Results 1 – 25 of 1298) sorted by relevance

12345678910>>...52

/linux/sound/soc/
H A Dsoc-component.c3 // soc-component.c
17 static inline int _soc_component_ret(struct snd_soc_component *component, const char *func, int ret) in _soc_component_ret() argument
19 return snd_soc_ret(component->dev, ret, in _soc_component_ret()
20 "at %s() on %s\n", func, component->name); in _soc_component_ret()
24 static inline int _soc_component_ret_reg_rw(struct snd_soc_component *component, in _soc_component_ret_reg_rw() argument
27 return snd_soc_ret(component->dev, ret, in _soc_component_ret_reg_rw()
29 func, component->name, reg); in _soc_component_ret_reg_rw()
34 struct snd_soc_component *component = devm_kzalloc(dev, sizeof(*component), GFP_KERNEL); in snd_soc_component_alloc() local
36 if (!component) in snd_soc_component_alloc()
39 component->dev = dev; in snd_soc_component_alloc()
[all …]
H A Dsoc-core.c52 #define for_each_component(component) \ argument
53 list_for_each_entry(component, &component_list, list)
134 static void soc_init_component_debugfs(struct snd_soc_component *component) in soc_init_component_debugfs() argument
136 if (!component->card->debugfs_card_root) in soc_init_component_debugfs()
139 if (component->driver->debugfs_prefix) { in soc_init_component_debugfs()
143 component->driver->debugfs_prefix, component->name); in soc_init_component_debugfs()
145 component->debugfs_root = debugfs_create_dir(name, in soc_init_component_debugfs()
146 component->card->debugfs_card_root); in soc_init_component_debugfs()
150 component->debugfs_root = debugfs_create_dir(component->name, in soc_init_component_debugfs()
151 component->card->debugfs_card_root); in soc_init_component_debugfs()
[all …]
/linux/Documentation/gpu/
H A Dafbc.rst21 AFBC streams can contain several components - where a component
29 maximum compression efficiency), the component order must be:
31 * Component 0: R
32 * Component 1: G
33 * Component 2: B
35 The component ordering is communicated via the fourcc code in the
36 fourcc:modifier pair. In general, component '0' is considered to
42 * Component 0: R(8)
43 * Component 1: G(8)
44 * Component 2: B(8)
[all …]
/linux/include/sound/
H A Dsoc-component.h3 * soc-component.h
16 * Component probe and remove ordering levels for components with runtime
30 /* component interface */
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,
[all …]
/linux/drivers/base/
H A Dcomponent.c5 #include <linux/component.h>
16 * The component helper allows drivers to collect a pile of sub-devices,
19 * of_clk_get_by_name(). The component helper can be used when such a
20 * subsystem-specific way to find a device is not available: The component
27 * The component helper also doesn't solve runtime dependencies, e.g. for system
33 * Aggregate drivers first assemble a component match list of what they need
39 struct component;
46 struct component *component; member
65 struct component { struct
98 struct component *component = match->compare[i].component; in component_devices_show() local
[all …]
/linux/sound/soc/codecs/
H A Dwm8958-dsp2.c42 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw()
45 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw()
58 dev_err(component->dev, "%s: firmware too short (%zd bytes)\n", in wm8958_dsp2_fw()
65 dev_err(component->dev, "%s: firmware has bad file magic %08x\n", in wm8958_dsp2_fw()
74 dev_err(component->dev, "%s: unsupported firmware version %d\n", in wm8958_dsp2_fw()
79 dev_err(component->dev, "%s: unsupported target device %d\n", in wm8958_dsp2_fw()
84 dev_err(component->dev, "%s: unsupported target core %d\n", in wm8958_dsp2_fw()
91 dev_info(component->dev, "%s timestamp %llx\n", name, data64); in wm8958_dsp2_fw()
93 snd_soc_component_write(component, 0x102, 0x2); in wm8958_dsp2_fw()
94 snd_soc_component_write(component, in wm8958_dsp2_fw()
41 wm8958_dsp2_fw(struct snd_soc_component * component,const char * name,const struct firmware * fw,bool check) wm8958_dsp2_fw() argument
188 wm8958_dsp_start_mbc(struct snd_soc_component * component,int path) wm8958_dsp_start_mbc() argument
232 wm8958_dsp_start_vss(struct snd_soc_component * component,int path) wm8958_dsp_start_vss() argument
293 wm8958_dsp_start_enh_eq(struct snd_soc_component * component,int path) wm8958_dsp_start_enh_eq() argument
324 wm8958_dsp_apply(struct snd_soc_component * component,int path,int start) wm8958_dsp_apply() argument
414 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wm8958_aif_ev() local
456 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_put_mbc_enum() local
478 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_get_mbc_enum() local
500 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_mbc_get() local
512 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_mbc_put() local
546 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_put_vss_enum() local
568 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_get_vss_enum() local
579 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_put_vss_hpf_enum() local
601 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_get_vss_hpf_enum() local
623 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_vss_get() local
635 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_vss_put() local
684 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_hpf_get() local
699 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_hpf_put() local
746 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_put_enh_eq_enum() local
768 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_get_enh_eq_enum() local
790 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_enh_eq_get() local
802 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8958_enh_eq_put() local
863 struct snd_soc_component *component = context; wm8958_enh_eq_loaded() local
875 struct snd_soc_component *component = context; wm8958_mbc_vss_loaded() local
887 struct snd_soc_component *component = context; wm8958_mbc_loaded() local
897 wm8958_dsp2_init(struct snd_soc_component * component) wm8958_dsp2_init() argument
[all...]
H A Dwcd939x.c17 #include <linux/component.h>
181 struct snd_soc_component *component;
333 static int wcd939x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd939x_set_swr_clk_rate()
357 snd_soc_component_write_field(component, WCD939X_DIGITAL_SWR_TX_CLK_RATE, mask, val); in wcd939x_set_swr_clk_rate()
362 static int wcd939x_io_init(struct snd_soc_component *component) in wcd939x_io_init()
364 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
366 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
371 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
374 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_L, in wcd939x_io_init()
376 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_ in wcd939x_io_init()
180 struct snd_soc_component *component; global() member
332 wcd939x_set_swr_clk_rate(struct snd_soc_component * component,int rate,int bank) wcd939x_set_swr_clk_rate() argument
361 wcd939x_io_init(struct snd_soc_component * component) wcd939x_io_init() argument
446 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_rxclk() local
506 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_hphl_dac_event() local
560 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_hphr_dac_event() local
616 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_ear_dac_event() local
648 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_hphr_pa() local
768 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_hphl_pa() local
885 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_ear_pa() local
929 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_dmic() local
1013 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_tx_swr_ctrl() local
1090 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_adc() local
1116 wcd939x_tx_channel_config(struct snd_soc_component * component,int channel,bool init) wcd939x_tx_channel_config() argument
1148 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_adc_enable_req() local
1264 wcd939x_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) wcd939x_micbias_control() argument
1389 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_micbias() local
1412 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_micbias_pullup() local
1436 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_tx_mode_get() local
1449 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_tx_mode_put() local
1467 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_rx_hph_mode_get() local
1478 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_rx_hph_mode_put() local
1523 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_get_compander() local
1538 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_set_compander() local
1560 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_ldoh_get() local
1571 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_ldoh_put() local
1833 wcd939x_mbhc_clk_setup(struct snd_soc_component * component,bool enable) wcd939x_mbhc_clk_setup() argument
1840 wcd939x_mbhc_mbhc_bias_control(struct snd_soc_component * component,bool enable) wcd939x_mbhc_mbhc_bias_control() argument
1847 wcd939x_mbhc_program_btn_thr(struct snd_soc_component * component,int * btn_low,int * btn_high,int num_btn,bool is_micbias) wcd939x_mbhc_program_btn_thr() argument
1868 wcd939x_mbhc_micb_en_status(struct snd_soc_component * component,int micb_num) wcd939x_mbhc_micb_en_status() argument
1882 wcd939x_mbhc_hph_l_pull_up_control(struct snd_soc_component * component,int pull_up_cur) wcd939x_mbhc_hph_l_pull_up_control() argument
1898 wcd939x_mbhc_request_micbias(struct snd_soc_component * component,int micb_num,int req) wcd939x_mbhc_request_micbias() argument
1904 wcd939x_mbhc_micb_ramp_control(struct snd_soc_component * component,bool enable) wcd939x_mbhc_micb_ramp_control() argument
1920 wcd939x_mbhc_micb_adjust_voltage(struct snd_soc_component * component,int req_volt,int micb_num) wcd939x_mbhc_micb_adjust_voltage() argument
1998 wcd939x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component * component,int micb_num,bool req_en) wcd939x_mbhc_micb_ctrl_threshold_mic() argument
2038 wcd939x_mbhc_get_result_params(struct snd_soc_component * component,int32_t * zdet) wcd939x_mbhc_get_result_params() argument
2097 wcd939x_mbhc_zdet_ramp(struct snd_soc_component * component,s32 * zl,int32_t * zr) wcd939x_mbhc_zdet_ramp() argument
2148 wcd939x_wcd_mbhc_qfuse_cal(struct snd_soc_component * component,s32 * z_val,int flag_l_r) wcd939x_wcd_mbhc_qfuse_cal() argument
2164 wcd939x_wcd_mbhc_calc_impedance(struct snd_soc_component * component,u32 * zl,uint32_t * zr) wcd939x_wcd_mbhc_calc_impedance() argument
2305 wcd939x_mbhc_gnd_det_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_gnd_det_ctrl() argument
2323 wcd939x_mbhc_hph_pull_down_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_hph_pull_down_ctrl() argument
2332 wcd939x_mbhc_moisture_config(struct snd_soc_component * component) wcd939x_mbhc_moisture_config() argument
2355 wcd939x_mbhc_moisture_detect_en(struct snd_soc_component * component,bool enable) wcd939x_mbhc_moisture_detect_en() argument
2368 wcd939x_mbhc_get_moisture_status(struct snd_soc_component * component) wcd939x_mbhc_get_moisture_status() argument
2405 wcd939x_mbhc_moisture_polling_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_moisture_polling_ctrl() argument
2435 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_get_hph_type() local
2447 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd939x_hph_impedance_get() local
2471 wcd939x_mbhc_init(struct snd_soc_component * component) wcd939x_mbhc_init() argument
2503 wcd939x_mbhc_deinit(struct snd_soc_component * component) wcd939x_mbhc_deinit() argument
2968 wcd939x_soc_codec_probe(struct snd_soc_component * component) wcd939x_soc_codec_probe() argument
3090 wcd939x_soc_codec_remove(struct snd_soc_component * component) wcd939x_soc_codec_remove() argument
3165 wcd939x_swap_gnd_mic(struct snd_soc_component * component) wcd939x_swap_gnd_mic() argument
[all...]
H A Dda7219-aad.c31 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack) in da7219_aad_jack_det() argument
33 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_jack_det()
42 snd_soc_component_update_bits(component, DA7219_ACCDET_CONFIG_1, in da7219_aad_jack_det()
55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() local
56 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in da7219_aad_btn_det_work()
57 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_btn_det_work()
63 snd_soc_component_update_bits(component, DA7219_HP_L_CTRL, in da7219_aad_btn_det_work()
66 snd_soc_component_update_bits(component, DA7219_HP_R_CTRL, in da7219_aad_btn_det_work()
75 statusa = snd_soc_component_read(component, DA7219_ACCDET_STATUS_ in da7219_aad_btn_det_work()
111 struct snd_soc_component *component = da7219_aad->component; da7219_aad_hptest_work() local
340 struct snd_soc_component *component = da7219_aad->component; da7219_aad_jack_det_work() local
353 struct snd_soc_component *component = da7219_aad->component; da7219_aad_irq_thread() local
763 da7219_aad_handle_pdata(struct snd_soc_component * component) da7219_aad_handle_pdata() argument
896 da7219_aad_handle_gnd_switch_time(struct snd_soc_component * component) da7219_aad_handle_gnd_switch_time() argument
927 da7219_aad_suspend(struct snd_soc_component * component) da7219_aad_suspend() argument
961 da7219_aad_resume(struct snd_soc_component * component) da7219_aad_resume() argument
990 da7219_aad_init(struct snd_soc_component * component) da7219_aad_init() argument
1035 da7219_aad_exit(struct snd_soc_component * component) da7219_aad_exit() argument
[all...]
H A Dwcd937x.c4 #include <linux/component.h>
299 static int wcd937x_rx_clk_enable(struct snd_soc_component *component) in wcd937x_rx_clk_enable()
301 struct wcd937x_priv *wcd937x = snd_soc_component_get_drvdata(component); in wcd937x_rx_clk_enable()
306 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_DIG_CLK_CTL, BIT(3), BIT(3)); in wcd937x_rx_clk_enable()
307 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_ANA_CLK_CTL, BIT(0), BIT(0)); in wcd937x_rx_clk_enable()
308 snd_soc_component_update_bits(component, WCD937X_ANA_RX_SUPPLIES, BIT(0), BIT(0)); in wcd937x_rx_clk_enable()
309 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX0_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
310 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX1_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
311 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX2_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
312 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_ANA_CLK_CT in wcd937x_rx_clk_enable()
298 wcd937x_rx_clk_enable(struct snd_soc_component * component) wcd937x_rx_clk_enable() argument
318 wcd937x_rx_clk_disable(struct snd_soc_component * component) wcd937x_rx_clk_disable() argument
340 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_hphl_dac_event() local
415 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_hphr_dac_event() local
484 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_ear_dac_event() local
539 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_aux_dac_event() local
575 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_hphr_pa() local
644 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_hphl_pa() local
712 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_aux_pa() local
758 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_ear_pa() local
830 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_enable_rx1() local
845 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_enable_rx2() local
861 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_enable_rx3() local
878 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_tx_swr_ctrl() local
893 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_adc() local
921 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_enable_req() local
976 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd937x_codec_enable_dmic() local
1014 wcd937x_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) wcd937x_micbias_control() argument
1128 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); __wcd937x_codec_enable_micbias() local
1158 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); __wcd937x_codec_enable_micbias_pullup() local
1211 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_rx_hph_mode_get() local
1221 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_rx_hph_mode_put() local
1253 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_get_compander() local
1269 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_set_compander() local
1359 wcd937x_mbhc_clk_setup(struct snd_soc_component * component,bool enable) wcd937x_mbhc_clk_setup() argument
1366 wcd937x_mbhc_mbhc_bias_control(struct snd_soc_component * component,bool enable) wcd937x_mbhc_mbhc_bias_control() argument
1373 wcd937x_mbhc_program_btn_thr(struct snd_soc_component * component,int * btn_low,int * btn_high,int num_btn,bool is_micbias) wcd937x_mbhc_program_btn_thr() argument
1392 wcd937x_mbhc_micb_en_status(struct snd_soc_component * component,int micb_num) wcd937x_mbhc_micb_en_status() argument
1406 wcd937x_mbhc_hph_l_pull_up_control(struct snd_soc_component * component,int pull_up_cur) wcd937x_mbhc_hph_l_pull_up_control() argument
1418 wcd937x_mbhc_request_micbias(struct snd_soc_component * component,int micb_num,int req) wcd937x_mbhc_request_micbias() argument
1424 wcd937x_mbhc_micb_ramp_control(struct snd_soc_component * component,bool enable) wcd937x_mbhc_micb_ramp_control() argument
1440 wcd937x_mbhc_micb_adjust_voltage(struct snd_soc_component * component,int req_volt,int micb_num) wcd937x_mbhc_micb_adjust_voltage() argument
1508 wcd937x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component * component,int micb_num,bool req_en) wcd937x_mbhc_micb_ctrl_threshold_mic() argument
1529 wcd937x_mbhc_get_result_params(struct snd_soc_component * component,s16 * d1_a,u16 noff,int32_t * zdet) wcd937x_mbhc_get_result_params() argument
1589 wcd937x_mbhc_zdet_ramp(struct snd_soc_component * component,struct wcd937x_mbhc_zdet_param * zdet_param,s32 * zl,s32 * zr,s16 * d1_a) wcd937x_mbhc_zdet_ramp() argument
1633 wcd937x_wcd_mbhc_qfuse_cal(struct snd_soc_component * component,s32 * z_val,int flag_l_r) wcd937x_wcd_mbhc_qfuse_cal() argument
1653 wcd937x_wcd_mbhc_calc_impedance(struct snd_soc_component * component,u32 * zl,u32 * zr) wcd937x_wcd_mbhc_calc_impedance() argument
1829 wcd937x_mbhc_gnd_det_ctrl(struct snd_soc_component * component,bool enable) wcd937x_mbhc_gnd_det_ctrl() argument
1845 wcd937x_mbhc_hph_pull_down_ctrl(struct snd_soc_component * component,bool enable) wcd937x_mbhc_hph_pull_down_ctrl() argument
1854 wcd937x_mbhc_moisture_config(struct snd_soc_component * component) wcd937x_mbhc_moisture_config() argument
1877 wcd937x_mbhc_moisture_detect_en(struct snd_soc_component * component,bool enable) wcd937x_mbhc_moisture_detect_en() argument
1889 wcd937x_mbhc_get_moisture_status(struct snd_soc_component * component) wcd937x_mbhc_get_moisture_status() argument
1924 wcd937x_mbhc_moisture_polling_ctrl(struct snd_soc_component * component,bool enable) wcd937x_mbhc_moisture_polling_ctrl() argument
1953 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_get_hph_type() local
1967 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd937x_hph_impedance_get() local
1990 wcd937x_mbhc_init(struct snd_soc_component * component) wcd937x_mbhc_init() argument
2022 wcd937x_mbhc_deinit(struct snd_soc_component * component) wcd937x_mbhc_deinit() argument
2474 wcd937x_soc_codec_probe(struct snd_soc_component * component) wcd937x_soc_codec_probe() argument
2573 wcd937x_soc_codec_remove(struct snd_soc_component * component) wcd937x_soc_codec_remove() argument
2613 wcd937x_swap_gnd_mic(struct snd_soc_component * component) wcd937x_swap_gnd_mic() argument
[all...]
H A Dwcd938x.c13 #include <linux/component.h>
314 static int wcd938x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd938x_set_swr_clk_rate()
337 snd_soc_component_update_bits(component, WCD938X_DIGITAL_SWR_TX_CLK_RATE, in wcd938x_set_swr_clk_rate()
428 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd938x_codec_enable_rxclk()
432 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_ANA_CLK_CTL, in wcd938x_codec_enable_rxclk()
434 snd_soc_component_write_field(component, WCD938X_ANA_RX_SUPPLIES, in wcd938x_codec_enable_rxclk()
436 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX0_CTL, in wcd938x_codec_enable_rxclk()
438 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX1_CTL, in wcd938x_codec_enable_rxclk()
440 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX2_CTL, in wcd938x_codec_enable_rxclk()
442 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_ANA_CLK_CT in wcd938x_codec_enable_rxclk()
313 wcd938x_set_swr_clk_rate(struct snd_soc_component * component,int rate,int bank) wcd938x_set_swr_clk_rate() argument
427 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_rxclk() local
466 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_hphl_dac_event() local
520 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_hphr_dac_event() local
574 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_ear_dac_event() local
653 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_aux_dac_event() local
689 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_hphr_pa() local
796 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_hphl_pa() local
901 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_aux_pa() local
945 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_ear_pa() local
1019 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_dmic() local
1090 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_tx_swr_ctrl() local
1173 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_adc() local
1196 wcd938x_tx_channel_config(struct snd_soc_component * component,int channel,int mode) wcd938x_tx_channel_config() argument
1228 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_adc_enable_req() local
1331 wcd938x_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) wcd938x_micbias_control() argument
1435 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_micbias() local
1458 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_micbias_pullup() local
1482 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_tx_mode_get() local
1495 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_tx_mode_put() local
1511 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_rx_hph_mode_get() local
1522 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_rx_hph_mode_put() local
1536 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_ear_pa_put_gain() local
1555 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_get_compander() local
1574 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_set_compander() local
1605 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_ldoh_get() local
1616 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_ldoh_put() local
1892 wcd938x_mbhc_clk_setup(struct snd_soc_component * component,bool enable) wcd938x_mbhc_clk_setup() argument
1899 wcd938x_mbhc_mbhc_bias_control(struct snd_soc_component * component,bool enable) wcd938x_mbhc_mbhc_bias_control() argument
1906 wcd938x_mbhc_program_btn_thr(struct snd_soc_component * component,int * btn_low,int * btn_high,int num_btn,bool is_micbias) wcd938x_mbhc_program_btn_thr() argument
1927 wcd938x_mbhc_micb_en_status(struct snd_soc_component * component,int micb_num) wcd938x_mbhc_micb_en_status() argument
1941 wcd938x_mbhc_hph_l_pull_up_control(struct snd_soc_component * component,int pull_up_cur) wcd938x_mbhc_hph_l_pull_up_control() argument
1953 wcd938x_mbhc_request_micbias(struct snd_soc_component * component,int micb_num,int req) wcd938x_mbhc_request_micbias() argument
1959 wcd938x_mbhc_micb_ramp_control(struct snd_soc_component * component,bool enable) wcd938x_mbhc_micb_ramp_control() argument
1975 wcd938x_mbhc_micb_adjust_voltage(struct snd_soc_component * component,int req_volt,int micb_num) wcd938x_mbhc_micb_adjust_voltage() argument
2046 wcd938x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component * component,int micb_num,bool req_en) wcd938x_mbhc_micb_ctrl_threshold_mic() argument
2067 wcd938x_mbhc_get_result_params(struct snd_soc_component * component,s16 * d1_a,u16 noff,int32_t * zdet) wcd938x_mbhc_get_result_params() argument
2127 wcd938x_mbhc_zdet_ramp(struct snd_soc_component * component,struct wcd938x_mbhc_zdet_param * zdet_param,int32_t * zl,int32_t * zr,s16 * d1_a) wcd938x_mbhc_zdet_ramp() argument
2175 wcd938x_wcd_mbhc_qfuse_cal(struct snd_soc_component * component,int32_t * z_val,int flag_l_r) wcd938x_wcd_mbhc_qfuse_cal() argument
2195 wcd938x_wcd_mbhc_calc_impedance(struct snd_soc_component * component,uint32_t * zl,uint32_t * zr) wcd938x_wcd_mbhc_calc_impedance() argument
2383 wcd938x_mbhc_gnd_det_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_gnd_det_ctrl() argument
2399 wcd938x_mbhc_hph_pull_down_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_hph_pull_down_ctrl() argument
2408 wcd938x_mbhc_moisture_config(struct snd_soc_component * component) wcd938x_mbhc_moisture_config() argument
2431 wcd938x_mbhc_moisture_detect_en(struct snd_soc_component * component,bool enable) wcd938x_mbhc_moisture_detect_en() argument
2443 wcd938x_mbhc_get_moisture_status(struct snd_soc_component * component) wcd938x_mbhc_get_moisture_status() argument
2480 wcd938x_mbhc_moisture_polling_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_moisture_polling_ctrl() argument
2509 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_get_hph_type() local
2523 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); wcd938x_hph_impedance_get() local
2547 wcd938x_mbhc_init(struct snd_soc_component * component) wcd938x_mbhc_init() argument
2579 wcd938x_mbhc_deinit(struct snd_soc_component * component) wcd938x_mbhc_deinit() argument
3016 wcd938x_soc_codec_probe(struct snd_soc_component * component) wcd938x_soc_codec_probe() argument
3139 wcd938x_soc_codec_remove(struct snd_soc_component * component) wcd938x_soc_codec_remove() argument
3179 wcd938x_swap_gnd_mic(struct snd_soc_component * component) wcd938x_swap_gnd_mic() argument
[all...]
H A Dtwl6040.c66 struct snd_soc_component *component;
96 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent)
98 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read()
100 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_read()
101 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_read()
123 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip()
126 struct twl6040_data *priv = snd_soc_component_get_drvdata(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()
145 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_update_dl12_cache()
65 struct snd_soc_component *component; global() member
95 to_twl6040(component) global() argument
97 twl6040_read(struct snd_soc_component * component,unsigned int reg) twl6040_read() argument
122 twl6040_can_write_to_chip(struct snd_soc_component * component,unsigned int reg) twl6040_can_write_to_chip() argument
141 twl6040_update_dl12_cache(struct snd_soc_component * component,u8 reg,u8 value) twl6040_update_dl12_cache() argument
159 twl6040_write(struct snd_soc_component * component,unsigned int reg,unsigned int value) twl6040_write() argument
174 twl6040_init_chip(struct snd_soc_component * component) twl6040_init_chip() argument
200 headset_power_mode(struct snd_soc_component * component,int high_perf) headset_power_mode() argument
225 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); twl6040_hs_dac_event() local
252 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); twl6040_ep_drv_event() local
270 twl6040_hs_jack_report(struct snd_soc_component * component,struct snd_soc_jack * jack,int report) twl6040_hs_jack_report() argument
288 twl6040_hs_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * jack,int report) twl6040_hs_jack_detect() argument
305 struct snd_soc_component *component = priv->component; twl6040_accessory_work() local
314 struct snd_soc_component *component = data; twl6040_audio_handler() local
326 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); twl6040_soc_dapm_put_vibra_enum() local
475 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); twl6040_headset_power_get_enum() local
486 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); twl6040_headset_power_put_enum() local
503 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); twl6040_pll_get_enum() local
514 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); twl6040_pll_put_enum() local
522 twl6040_get_dl1_gain(struct snd_soc_component * component) twl6040_get_dl1_gain() argument
544 twl6040_get_clk_id(struct snd_soc_component * component) twl6040_get_clk_id() argument
552 twl6040_get_trim_value(struct snd_soc_component * component,enum twl6040_trim trim) twl6040_get_trim_value() argument
561 twl6040_get_hs_step_size(struct snd_soc_component * component) twl6040_get_hs_step_size() argument
818 twl6040_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) twl6040_set_bias_level() argument
862 struct snd_soc_component *component = dai->component; twl6040_startup() local
876 struct snd_soc_component *component = dai->component; twl6040_hw_params() local
912 struct snd_soc_component *component = dai->component; twl6040_prepare() local
935 struct snd_soc_component *component = codec_dai->component; twl6040_set_dai_sysclk() local
952 twl6040_mute_path(struct snd_soc_component * component,enum twl6040_dai_id id,int mute) twl6040_mute_path() argument
1097 twl6040_probe(struct snd_soc_component * component) twl6040_probe() argument
1134 twl6040_remove(struct snd_soc_component * component) twl6040_remove() argument
[all...]
H A Dtas2552.c64 struct snd_soc_component *component; member
82 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas2552_post_event() local
86 snd_soc_component_write(component, TAS2552_RESERVED_0D, 0xc0); in tas2552_post_event()
87 snd_soc_component_update_bits(component, TAS2552_LIMIT_RATE_HYS, (1 << 5), in tas2552_post_event()
89 snd_soc_component_update_bits(component, TAS2552_CFG_2, 1, 0); in tas2552_post_event()
90 snd_soc_component_update_bits(component, TAS2552_CFG_1, TAS2552_SWS, 0); in tas2552_post_event()
93 snd_soc_component_update_bits(component, TAS2552_CFG_1, TAS2552_SWS, in tas2552_post_event()
95 snd_soc_component_update_bits(component, TAS2552_CFG_2, 1, 1); in tas2552_post_event()
96 snd_soc_component_update_bits(component, TAS2552_LIMIT_RATE_HYS, (1 << 5), 0); in tas2552_post_event()
97 snd_soc_component_write(component, TAS2552_RESERVED_0 in tas2552_post_event()
155 tas2552_setup_pll(struct snd_soc_component * component,struct snd_pcm_hw_params * params) tas2552_setup_pll() argument
239 struct snd_soc_component *component = dai->component; tas2552_hw_params() local
328 struct snd_soc_component *component = dai->component; tas2552_prepare() local
346 struct snd_soc_component *component = dai->component; tas2552_set_dai_fmt() local
396 struct snd_soc_component *component = dai->component; tas2552_set_dai_sysclk() local
443 struct snd_soc_component *component = dai->component; tas2552_set_dai_tdm_slot() local
471 struct snd_soc_component *component = dai->component; tas2552_mute() local
570 tas2552_component_probe(struct snd_soc_component * component) tas2552_component_probe() argument
618 tas2552_component_remove(struct snd_soc_component * component) tas2552_component_remove() argument
628 tas2552_suspend(struct snd_soc_component * component) tas2552_suspend() argument
642 tas2552_resume(struct snd_soc_component * component) tas2552_resume() argument
[all...]
H A Dwcd-clsh-v2.c147 static void wcd_clsh_v3_set_buck_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_buck_mode() argument
152 snd_soc_component_update_bits(component, in wcd_clsh_v3_set_buck_mode()
156 snd_soc_component_update_bits(component, in wcd_clsh_v3_set_buck_mode()
194 static void wcd_clsh_v3_buck_ctrl(struct snd_soc_component *component, in wcd_clsh_v3_buck_ctrl() argument
202 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
212 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
216 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
317 static void wcd_clsh_v3_set_hph_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_hph_mode() argument
341 dev_err(component->dev, "%s:Invalid mode %d\n", __func__, mode); in wcd_clsh_v3_set_hph_mode()
345 snd_soc_component_update_bits(component, WCD9XXX_ANA_HP in wcd_clsh_v3_set_hph_mode()
385 wcd_clsh_v3_set_buck_regulator_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_buck_regulator_mode() argument
392 wcd_clsh_v3_set_flyback_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_flyback_mode() argument
413 wcd_clsh_v3_force_iq_ctl(struct snd_soc_component * component,int mode,bool enable) wcd_clsh_v3_force_iq_ctl() argument
452 wcd_clsh_v3_flyback_ctrl(struct snd_soc_component * component,struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_v3_flyback_ctrl() argument
479 wcd_clsh_v3_set_flyback_current(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_flyback_current() argument
493 struct snd_soc_component *component = ctrl->comp; wcd_clsh_v3_state_aux() local
539 struct snd_soc_component *component = ctrl->comp; wcd_clsh_v3_state_hph_r() local
629 struct snd_soc_component *component = ctrl->comp; wcd_clsh_v3_state_hph_l() local
719 struct snd_soc_component *component = ctrl->comp; wcd_clsh_v3_state_ear() local
[all...]
H A Dmax98095.c252 static void m98095_eq_band(struct snd_soc_component *component, unsigned int dai, in m98095_eq_band() argument
270 snd_soc_component_write(component, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band()
271 snd_soc_component_write(component, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band()
278 static void m98095_biquad_band(struct snd_soc_component *component, unsigned int dai, in m98095_biquad_band() argument
296 snd_soc_component_write(component, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band()
297 snd_soc_component_write(component, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band()
354 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in max98095_mic1pre_set() local
355 struct max98095_priv *max98095 = snd_soc_component_get_drvdata(component); in max98095_mic1pre_set()
359 snd_soc_component_update_bits(component, M98095_05F_LVL_MIC1, M98095_MICPRE_MASK, in max98095_mic1pre_set()
368 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in max98095_mic1pre_get() local
[all …]
H A Dpm4125.c5 #include <linux/component.h>
228 static int pm4125_global_mbias_disable(struct snd_soc_component *component) in pm4125_global_mbias_disable()
230 struct pm4125_priv *pm4125 = snd_soc_component_get_drvdata(component); in pm4125_global_mbias_disable()
234 snd_soc_component_write_field(component, PM4125_ANA_MBIAS_EN, in pm4125_global_mbias_disable()
237 snd_soc_component_write_field(component, PM4125_ANA_MBIAS_EN, in pm4125_global_mbias_disable()
245 static int pm4125_global_mbias_enable(struct snd_soc_component *component) in pm4125_global_mbias_enable()
247 struct pm4125_priv *pm4125 = snd_soc_component_get_drvdata(component); in pm4125_global_mbias_enable()
250 snd_soc_component_write_field(component, PM4125_ANA_MBIAS_EN, in pm4125_global_mbias_enable()
253 snd_soc_component_write_field(component, PM4125_ANA_MBIAS_EN, in pm4125_global_mbias_enable()
262 static int pm4125_rx_clk_enable(struct snd_soc_component *component) in pm4125_rx_clk_enable()
227 pm4125_global_mbias_disable(struct snd_soc_component * component) pm4125_global_mbias_disable() argument
244 pm4125_global_mbias_enable(struct snd_soc_component * component) pm4125_global_mbias_enable() argument
261 pm4125_rx_clk_enable(struct snd_soc_component * component) pm4125_rx_clk_enable() argument
288 pm4125_rx_clk_disable(struct snd_soc_component * component) pm4125_rx_clk_disable() argument
316 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_rxclk() local
333 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_hphl_dac_event() local
399 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_hphr_dac_event() local
464 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_ear_lo_dac_event() local
498 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_hphl_wdt_irq() local
517 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_hphr_wdt_irq() local
536 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_hphr_pa() local
558 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_hphl_pa() local
580 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_lo_pa() local
616 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_ear_pa() local
648 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_adc() local
690 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_dmic() local
715 pm4125_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) pm4125_micbias_control() argument
798 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_micbias() local
825 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); pm4125_codec_enable_micbias_pullup() local
870 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); pm4125_get_compander() local
884 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); pm4125_set_compander() local
960 pm4125_mbhc_bias_control(struct snd_soc_component * component,bool enable) pm4125_mbhc_bias_control() argument
968 pm4125_mbhc_program_btn_thr(struct snd_soc_component * component,int * btn_low,int * btn_high,int num_btn,bool is_micbias) pm4125_mbhc_program_btn_thr() argument
992 pm4125_mbhc_init(struct snd_soc_component * component) pm4125_mbhc_init() argument
1022 pm4125_mbhc_deinit(struct snd_soc_component * component) pm4125_mbhc_deinit() argument
1309 pm4125_soc_codec_probe(struct snd_soc_component * component) pm4125_soc_codec_probe() argument
1363 pm4125_soc_codec_remove(struct snd_soc_component * component) pm4125_soc_codec_remove() argument
[all...]
H A Dda7213.c218 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_volsw_locked_get()
219 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_get()
229 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_volsw_locked_put()
230 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_put()
240 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_volsw_locked_put()
241 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component);
251 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7213_enum_locked_get()
252 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_enum_locked_get()
260 static int da7213_get_alc_data(struct snd_soc_component *component, u8 reg_val) in da7213_enum_locked_put()
269 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTR in da7213_enum_locked_put()
217 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_volsw_locked_get() local
231 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_volsw_locked_put() local
245 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_enum_locked_get() local
259 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_enum_locked_put() local
271 da7213_get_alc_data(struct snd_soc_component * component,u8 reg_val) da7213_get_alc_data() argument
298 da7213_alc_calib_man(struct snd_soc_component * component) da7213_alc_calib_man() argument
331 da7213_alc_calib_auto(struct snd_soc_component * component) da7213_alc_calib_auto() argument
358 da7213_alc_calib(struct snd_soc_component * component) da7213_alc_calib() argument
423 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_put_mixin_gain() local
439 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_put_alc_sw() local
460 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_tonegen_freq_get() local
487 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7213_tonegen_freq_put() local
901 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7213_dai_event() local
1324 struct snd_soc_component *component = dai->component; da7213_hw_params() local
1423 struct snd_soc_component *component = codec_dai->component; da7213_set_dai_fmt() local
1529 struct snd_soc_component *component = dai->component; da7213_mute() local
1549 da7213_set_component_sysclk(struct snd_soc_component * component,int clk_id,int source,unsigned int freq,int dir) da7213_set_component_sysclk() argument
1602 _da7213_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int fref,unsigned int fout) _da7213_set_component_pll() argument
1713 da7213_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int fref,unsigned int fout) da7213_set_component_pll() argument
1771 da7213_set_auto_pll(struct snd_soc_component * component,bool enable) da7213_set_auto_pll() argument
1815 da7213_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) da7213_set_bias_level() argument
1886 da7213_of_micbias_lvl(struct snd_soc_component * component,u32 val) da7213_of_micbias_lvl() argument
1904 da7213_of_dmic_data_sel(struct snd_soc_component * component,const char * str) da7213_of_dmic_data_sel() argument
1917 da7213_of_dmic_samplephase(struct snd_soc_component * component,const char * str) da7213_of_dmic_samplephase() argument
1930 da7213_of_dmic_clkrate(struct snd_soc_component * component,u32 val) da7213_of_dmic_clkrate() argument
1944 da7213_fw_to_pdata(struct snd_soc_component * component) da7213_fw_to_pdata() argument
1984 da7213_probe(struct snd_soc_component * component) da7213_probe() argument
2151 da7213_suspend(struct snd_soc_component * component) da7213_suspend() argument
2158 da7213_resume(struct snd_soc_component * component) da7213_resume() argument
[all...]
H A Dtwl4030.c80 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read() argument
82 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_read()
145 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write() argument
148 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_write()
180 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable() argument
182 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_codec_enable()
218 twl4030_get_board_params(struct snd_soc_component *component) in twl4030_get_board_params() argument
223 twl4030_codec_node = of_get_child_by_name(component->dev->parent->of_node, in twl4030_get_board_params()
227 board_params = devm_kzalloc(component->dev, in twl4030_get_board_params()
241 static int twl4030_init_chip(struct snd_soc_component *component) in twl4030_init_chip() argument
331 twl4030_apll_enable(struct snd_soc_component * component,int enable) twl4030_apll_enable() argument
578 handsfree_ramp(struct snd_soc_component * component,int reg,int ramp) handsfree_ramp() argument
611 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); handsfreelpga_event() local
627 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); handsfreerpga_event() local
643 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); vibramux_event() local
652 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); apll_event() local
668 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif_event() local
691 headset_ramp(struct snd_soc_component * component,int ramp) headset_ramp() argument
759 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); headsetlpga_event() local
784 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); headsetrpga_event() local
809 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); digimic_event() local
833 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_get_volsw_twl4030() local
862 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_put_volsw_twl4030() local
891 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_get_volsw_r2_twl4030() local
918 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_put_volsw_r2_twl4030() local
959 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); snd_soc_put_twl4030_opmode_enum_double() local
1570 twl4030_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) twl4030_set_bias_level() argument
1619 twl4030_tdm_enable(struct snd_soc_component * component,int direction,int enable) twl4030_tdm_enable() argument
1642 struct snd_soc_component *component = dai->component; twl4030_startup() local
1671 struct snd_soc_component *component = dai->component; twl4030_shutdown() local
1695 struct snd_soc_component *component = dai->component; twl4030_hw_params() local
1812 struct snd_soc_component *component = codec_dai->component; twl4030_set_dai_sysclk() local
1837 struct snd_soc_component *component = codec_dai->component; twl4030_set_dai_fmt() local
1890 struct snd_soc_component *component = dai->component; twl4030_set_tristate() local
1903 twl4030_voice_enable(struct snd_soc_component * component,int direction,int enable) twl4030_voice_enable() argument
1926 struct snd_soc_component *component = dai->component; twl4030_voice_startup() local
1958 struct snd_soc_component *component = dai->component; twl4030_voice_shutdown() local
1968 struct snd_soc_component *component = dai->component; twl4030_voice_hw_params() local
2013 struct snd_soc_component *component = codec_dai->component; twl4030_voice_set_dai_sysclk() local
2034 struct snd_soc_component *component = codec_dai->component; twl4030_voice_set_dai_fmt() local
2084 struct snd_soc_component *component = dai->component; twl4030_voice_set_tristate() local
2153 twl4030_soc_probe(struct snd_soc_component * component) twl4030_soc_probe() argument
[all...]
H A Dda7218.c290 static void da7218_alc_calib(struct snd_soc_component *component) in da7218_alc_calib() argument
301 mic_1_ctrl = snd_soc_component_read(component, DA7218_MIC_1_CTRL); in da7218_alc_calib()
302 mic_2_ctrl = snd_soc_component_read(component, DA7218_MIC_2_CTRL); in da7218_alc_calib()
305 mixin_1_ctrl = snd_soc_component_read(component, DA7218_MIXIN_1_CTRL); in da7218_alc_calib()
306 mixin_2_ctrl = snd_soc_component_read(component, DA7218_MIXIN_2_CTRL); in da7218_alc_calib()
309 in_1l_filt_ctrl = snd_soc_component_read(component, DA7218_IN_1L_FILTER_CTRL); in da7218_alc_calib()
310 in_1r_filt_ctrl = snd_soc_component_read(component, DA7218_IN_1R_FILTER_CTRL); in da7218_alc_calib()
311 in_2l_filt_ctrl = snd_soc_component_read(component, DA7218_IN_2L_FILTER_CTRL); in da7218_alc_calib()
312 in_2r_filt_ctrl = snd_soc_component_read(component, DA7218_IN_2R_FILTER_CTRL); in da7218_alc_calib()
315 in_1_hpf_ctrl = snd_soc_component_read(component, DA7218_IN_1_HPF_FILTER_CTR in da7218_alc_calib()
428 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_mixin_gain_put() local
449 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_alc_sw_put() local
472 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_tonegen_freq_get() local
496 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_tonegen_freq_put() local
516 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_mic_lvl_det_sw_put() local
543 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_mic_lvl_det_sw_get() local
563 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_biquad_coeff_get() local
588 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); da7218_biquad_coeff_put() local
1348 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7218_in_filter_event() local
1397 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7218_dai_event() local
1480 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7218_cp_event() local
1507 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7218_hp_pga_event() local
1812 struct snd_soc_component *component = codec_dai->component; da7218_set_dai_sysclk() local
1858 struct snd_soc_component *component = codec_dai->component; da7218_set_dai_pll() local
1933 struct snd_soc_component *component = codec_dai->component; da7218_set_dai_fmt() local
2022 struct snd_soc_component *component = dai->component; da7218_set_dai_tdm_slot() local
2091 struct snd_soc_component *component = dai->component; da7218_hw_params() local
2207 da7218_hpldet(struct snd_soc_component * component,struct snd_soc_jack * jack) da7218_hpldet() argument
2223 da7218_micldet_irq(struct snd_soc_component * component) da7218_micldet_irq() argument
2233 da7218_hpldet_irq(struct snd_soc_component * component) da7218_hpldet_irq() argument
2255 struct snd_soc_component *component = data; da7218_irq_thread() local
2289 da7218_of_micbias_lvl(struct snd_soc_component * component,u32 val) da7218_of_micbias_lvl() argument
2317 da7218_of_mic_amp_in_sel(struct snd_soc_component * component,const char * str) da7218_of_mic_amp_in_sel() argument
2332 da7218_of_dmic_data_sel(struct snd_soc_component * component,const char * str) da7218_of_dmic_data_sel() argument
2345 da7218_of_dmic_samplephase(struct snd_soc_component * component,const char * str) da7218_of_dmic_samplephase() argument
2358 da7218_of_dmic_clkrate(struct snd_soc_component * component,u32 val) da7218_of_dmic_clkrate() argument
2372 da7218_of_jack_rate(struct snd_soc_component * component,u32 val) da7218_of_jack_rate() argument
2398 da7218_of_jack_debounce(struct snd_soc_component * component,u32 val) da7218_of_jack_debounce() argument
2416 da7218_of_jack_thr(struct snd_soc_component * component,u32 val) da7218_of_jack_thr() argument
2433 da7218_of_to_pdata(struct snd_soc_component * component) da7218_of_to_pdata() argument
2561 da7218_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) da7218_set_bias_level() argument
2623 da7218_handle_supplies(struct snd_soc_component * component) da7218_handle_supplies() argument
2665 da7218_handle_pdata(struct snd_soc_component * component) da7218_handle_pdata() argument
2867 da7218_probe(struct snd_soc_component * component) da7218_probe() argument
2975 da7218_remove(struct snd_soc_component * component) da7218_remove() argument
2983 da7218_suspend(struct snd_soc_component * component) da7218_suspend() argument
2996 da7218_resume(struct snd_soc_component * component) da7218_resume() argument
[all...]
H A Dda7219.c258 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_volsw_locked_get()
259 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_volsw_locked_get()
269 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_volsw_locked_put()
270 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_volsw_locked_put()
280 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_volsw_locked_put()
281 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component);
291 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in da7219_enum_locked_get()
292 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_enum_locked_get()
300 static void da7219_alc_calib(struct snd_soc_component *component) in da7219_enum_locked_put()
305 mic_ctrl = snd_soc_component_read(component, DA7219_MIC_1_CTR in da7219_enum_locked_put()
257 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_volsw_locked_get() local
271 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_volsw_locked_put() local
285 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_enum_locked_get() local
299 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_enum_locked_put() local
311 da7219_alc_calib(struct snd_soc_component * component) da7219_alc_calib() argument
379 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_mixin_gain_put() local
398 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_alc_sw_put() local
417 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_tonegen_freq_get() local
444 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); da7219_tonegen_freq_put() local
776 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7219_mic_pga_event() local
800 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7219_dai_event() local
891 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7219_mixout_event() local
929 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); da7219_gain_ramp_event() local
1166 struct snd_soc_component *component = codec_dai->component; da7219_set_dai_sysclk() local
1220 da7219_set_pll(struct snd_soc_component * component,int source,unsigned int fout) da7219_set_pll() argument
1297 struct snd_soc_component *component = codec_dai->component; da7219_set_dai_pll() local
1310 struct snd_soc_component *component = codec_dai->component; da7219_set_dai_fmt() local
1394 da7219_set_bclks_per_wclk(struct snd_soc_component * component,unsigned long factor) da7219_set_bclks_per_wclk() argument
1427 struct snd_soc_component *component = dai->component; da7219_set_dai_tdm_slot() local
1511 da7219_set_sr(struct snd_soc_component * component,unsigned long rate) da7219_set_sr() argument
1563 struct snd_soc_component *component = dai->component; da7219_hw_params() local
1806 da7219_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) da7219_set_bias_level() argument
1861 da7219_handle_supplies(struct snd_soc_component * component,u8 * io_voltage_lvl) da7219_handle_supplies() argument
1907 struct snd_soc_component *component = da7219->component; da7219_wclk_prepare() local
1924 struct snd_soc_component *component = da7219->component; da7219_wclk_unprepare() local
1938 struct snd_soc_component *component = da7219->component; da7219_wclk_is_prepared() local
1955 struct snd_soc_component *component = da7219->component; da7219_wclk_recalc_rate() local
2028 struct snd_soc_component *component = da7219->component; da7219_wclk_set_rate() local
2042 struct snd_soc_component *component = da7219->component; da7219_bclk_recalc_rate() local
2107 struct snd_soc_component *component = da7219->component; da7219_bclk_set_rate() local
2134 da7219_register_dai_clks(struct snd_soc_component * component) da7219_register_dai_clks() argument
2241 da7219_free_dai_clks(struct snd_soc_component * component) da7219_free_dai_clks() argument
2261 da7219_register_dai_clks(struct snd_soc_component * component) da7219_register_dai_clks() argument
2266 da7219_free_dai_clks(struct snd_soc_component * component) da7219_free_dai_clks() argument
2269 da7219_handle_pdata(struct snd_soc_component * component) da7219_handle_pdata() argument
2454 da7219_probe(struct snd_soc_component * component) da7219_probe() argument
2598 da7219_remove(struct snd_soc_component * component) da7219_remove() argument
2613 da7219_suspend(struct snd_soc_component * component) da7219_suspend() argument
2627 da7219_resume(struct snd_soc_component * component) da7219_resume() argument
2645 da7219_set_jack(struct snd_soc_component * component,struct snd_soc_jack * jack,void * data) da7219_set_jack() argument
[all...]
H A Drt5682.c3 // rt5682.c -- RT5682 ALSA SoC audio component driver
828 * @component: SoC audio component device.
837 * set of filters specified by the mask. And the component driver will turn on
840 int rt5682_sel_asrc_clk_src(struct snd_soc_component *component, in rt5682_sel_asrc_clk_src()
854 snd_soc_component_update_bits(component, RT5682_PLL_TRACK_2, in rt5682_sel_asrc_clk_src()
860 snd_soc_component_update_bits(component, RT5682_PLL_TRACK_3, in rt5682_sel_asrc_clk_src()
869 static int rt5682_button_detect(struct snd_soc_component *component) in rt5682_button_detect()
873 val = snd_soc_component_read(component, RT5682_4BTN_IL_CMD_1); in rt5682_button_detect()
875 snd_soc_component_write(component, RT5682_4BTN_IL_CMD_ in rt5682_button_detect()
839 rt5682_sel_asrc_clk_src(struct snd_soc_component * component,unsigned int filter_mask,unsigned int clk_src) rt5682_sel_asrc_clk_src() argument
868 rt5682_button_detect(struct snd_soc_component * component) rt5682_button_detect() argument
882 rt5682_enable_push_button_irq(struct snd_soc_component * component,bool enable) rt5682_enable_push_button_irq() argument
928 rt5682_headset_detect(struct snd_soc_component * component,int jack_insert) rt5682_headset_detect() argument
1014 rt5682_set_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * hs_jack,void * data) rt5682_set_jack_detect() argument
1262 struct snd_soc_component *component = set_dmic_clk() local
1282 struct snd_soc_component *component = set_filter_clk() local
1327 struct snd_soc_component *component = is_sys_clk_from_pll1() local
1342 struct snd_soc_component *component = is_sys_clk_from_pll2() local
1357 struct snd_soc_component *component = is_using_asrc() local
1542 struct snd_soc_component *component = rt5682_hp_event() local
1581 struct snd_soc_component *component = set_dmic_power() local
1621 struct snd_soc_component *component = rt5682_set_verf() local
2066 struct snd_soc_component *component = dai->component; rt5682_set_tdm_slot() local
2135 struct snd_soc_component *component = dai->component; rt5682_hw_params() local
2223 struct snd_soc_component *component = dai->component; rt5682_set_dai_fmt() local
2305 rt5682_set_component_sysclk(struct snd_soc_component * component,int clk_id,int source,unsigned int freq,int dir) rt5682_set_component_sysclk() argument
2353 rt5682_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5682_set_component_pll() argument
2485 struct snd_soc_component *component = dai->component; rt5682_set_bclk1_ratio() local
2517 struct snd_soc_component *component = dai->component; rt5682_set_bclk2_ratio() local
2541 rt5682_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) rt5682_set_bias_level() argument
2591 struct snd_soc_component *component; rt5682_wclk_prepare() local
2629 struct snd_soc_component *component; rt5682_wclk_unprepare() local
2707 struct snd_soc_component *component; rt5682_wclk_set_rate() local
2829 struct snd_soc_component *component; rt5682_bclk_set_rate() local
2928 rt5682_probe(struct snd_soc_component * component) rt5682_probe() argument
2954 rt5682_remove(struct snd_soc_component * component) rt5682_remove() argument
2962 rt5682_suspend(struct snd_soc_component * component) rt5682_suspend() argument
3015 rt5682_resume(struct snd_soc_component * component) rt5682_resume() argument
[all...]
H A Dwm0010.c91 struct snd_soc_component *component;
149 static void wm0010_halt(struct snd_soc_component *component) in wm0010_halt()
151 struct wm0010_priv *wm0010 = snd_soc_component_get_drvdata(component); in wm0010_halt()
181 struct snd_soc_component *component;
204 struct snd_soc_component *component = xfer->component;
205 struct wm0010_priv *wm0010 = snd_soc_component_get_drvdata(component); in wm0010_boot_xfer_complete()
210 dev_err(component->dev, "SPI transfer failed: %d\n", in wm0010_boot_xfer_complete()
219 dev_dbg(component->dev, "%d: %04x\n", i, out32[i]); in wm0010_boot_xfer_complete()
223 dev_err(component in wm0010_boot_xfer_complete()
90 struct snd_soc_component *component; global() member
148 wm0010_halt(struct snd_soc_component * component) wm0010_halt() argument
183 struct snd_soc_component *component; global() member
208 struct snd_soc_component *component = xfer->component; wm0010_boot_xfer_complete() local
332 wm0010_firmware_load(const char * name,struct snd_soc_component * component) wm0010_firmware_load() argument
485 wm0010_stage2_load(struct snd_soc_component * component) wm0010_stage2_load() argument
557 wm0010_boot(struct snd_soc_component * component) wm0010_boot() argument
722 wm0010_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) wm0010_set_bias_level() argument
749 wm0010_set_sysclk(struct snd_soc_component * component,int source,int clk_id,unsigned int freq,int dir) wm0010_set_sysclk() argument
846 wm0010_probe(struct snd_soc_component * component) wm0010_probe() argument
[all...]
H A Drt5640.c165 static int rt5640_reset(struct snd_soc_component *component) in rt5640_reset() argument
167 return snd_soc_component_write(component, RT5640_RESET, 0); in rt5640_reset()
461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local
462 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in set_dmic_clk()
469 dev_err(component->dev, "Failed to set DMIC clock\n"); in set_dmic_clk()
471 snd_soc_component_update_bits(component, RT5640_DMIC, RT5640_DMIC_CLK_MASK, in set_dmic_clk()
479 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_using_asrc() local
480 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in is_using_asrc()
916 static void hp_amp_power_on(struct snd_soc_component *component) in hp_amp_power_on() argument
918 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in hp_amp_power_on()
942 rt5640_pmu_depop(struct snd_soc_component * component) rt5640_pmu_depop() argument
970 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5640_hp_event() local
994 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5640_lout_event() local
1023 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5640_hp_power_event() local
1039 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); rt5640_hp_post_event() local
1646 get_sdp_info(struct snd_soc_component * component,int dai_id) get_sdp_info() argument
1699 struct snd_soc_component *component = dai->component; rt5640_hw_params() local
1770 struct snd_soc_component *component = dai->component; rt5640_set_dai_fmt() local
1835 struct snd_soc_component *component = dai->component; rt5640_set_dai_sysclk() local
1874 struct snd_soc_component *component = dai->component; rt5640_set_dai_pll() local
1934 rt5640_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) rt5640_set_bias_level() argument
2003 rt5640_dmic_enable(struct snd_soc_component * component,bool dmic1_data_pin,bool dmic2_data_pin) rt5640_dmic_enable() argument
2029 rt5640_sel_asrc_clk_src(struct snd_soc_component * component,unsigned int filter_mask,unsigned int clk_src) rt5640_sel_asrc_clk_src() argument
2099 rt5640_enable_micbias1_for_ovcd(struct snd_soc_component * component) rt5640_enable_micbias1_for_ovcd() argument
2115 rt5640_disable_micbias1_for_ovcd(struct snd_soc_component * component) rt5640_disable_micbias1_for_ovcd() argument
2130 rt5640_enable_micbias1_ovcd_irq(struct snd_soc_component * component) rt5640_enable_micbias1_ovcd_irq() argument
2139 rt5640_disable_micbias1_ovcd_irq(struct snd_soc_component * component) rt5640_disable_micbias1_ovcd_irq() argument
2148 rt5640_clear_micbias1_ovcd(struct snd_soc_component * component) rt5640_clear_micbias1_ovcd() argument
2154 rt5640_micbias1_ovcd(struct snd_soc_component * component) rt5640_micbias1_ovcd() argument
2164 rt5640_jack_inserted(struct snd_soc_component * component) rt5640_jack_inserted() argument
2191 rt5640_start_button_press_work(struct snd_soc_component * component) rt5640_start_button_press_work() argument
2208 struct snd_soc_component *component = rt5640->component; rt5640_button_press_work() local
2257 rt5640_detect_headset(struct snd_soc_component * component,struct gpio_desc * hp_det_gpio) rt5640_detect_headset() argument
2312 struct snd_soc_component *component = rt5640->component; rt5640_jack_work() local
2440 rt5640_set_ovcd_params(struct snd_soc_component * component) rt5640_set_ovcd_params() argument
2465 rt5640_disable_jack_detect(struct snd_soc_component * component) rt5640_disable_jack_detect() argument
2488 rt5640_enable_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * jack,struct rt5640_set_jack_data * jack_data) rt5640_enable_jack_detect() argument
2586 rt5640_enable_hda_jack_detect(struct snd_soc_component * component,struct snd_soc_jack * jack) rt5640_enable_hda_jack_detect() argument
2636 rt5640_set_jack(struct snd_soc_component * component,struct snd_soc_jack * jack,void * data) rt5640_set_jack() argument
2653 rt5640_probe(struct snd_soc_component * component) rt5640_probe() argument
2790 rt5640_remove(struct snd_soc_component * component) rt5640_remove() argument
2796 rt5640_suspend(struct snd_soc_component * component) rt5640_suspend() argument
2817 rt5640_resume(struct snd_soc_component * component) rt5640_resume() argument
[all...]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fw_update.c59 * ixgbe_check_component_response - Report firmware response to a component
61 * @response: indicates whether this component can be updated
65 * Check whether firmware indicates if this component can be updated. Report
66 * a suitable error message over the netlink extended ACK if the component
69 * Return: 0 if the component can be updated, or -ECANCELED if the
70 * firmware indicates the component cannot be updated.
99 "Component comparison stamp is identical to running image"); in ixgbe_check_component_response()
103 "Component comparison stamp is lower than running image"); in ixgbe_check_component_response()
107 "Component comparison stamp is invalid"); in ixgbe_check_component_response()
111 "Component table conflict occurred"); in ixgbe_check_component_response()
[all …]
/linux/sound/soc/meson/
H A Daiu-encoder-i2s.c27 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component,
30 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_divider_enable() argument
35 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable()
48 dev_err(component->dev, "Unsupported i2s divider: %u\n", bs); in aiu_encoder_i2s_setup_desc()
52 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_setup_desc()
57 snd_soc_component_update_bits(component, AIU_CLK_CTRL_MORE, in aiu_encoder_i2s_setup_desc()
91 static int aiu_encoder_i2s_set_more_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div()
104 dev_err(component->dev, in aiu_encoder_i2s_set_legacy_div()
112 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_set_more_div()
116 snd_soc_component_update_bits(component, AIU_CLK_CTRL_MOR in aiu_encoder_i2s_set_more_div()
38 aiu_encoder_i2s_setup_desc(struct snd_soc_component * component,struct snd_pcm_hw_params * params) aiu_encoder_i2s_setup_desc() argument
81 aiu_encoder_i2s_set_legacy_div(struct snd_soc_component * component,struct snd_pcm_hw_params * params,unsigned int bs) aiu_encoder_i2s_set_legacy_div() argument
111 aiu_encoder_i2s_set_more_div(struct snd_soc_component * component,struct snd_pcm_hw_params * params,unsigned int bs) aiu_encoder_i2s_set_more_div() argument
144 aiu_encoder_i2s_set_clocks(struct snd_soc_component * component,struct snd_pcm_hw_params * params) aiu_encoder_i2s_set_clocks() argument
191 struct snd_soc_component *component = dai->component; aiu_encoder_i2s_hw_params() local
217 struct snd_soc_component *component = dai->component; aiu_encoder_i2s_hw_free() local
226 struct snd_soc_component *component = dai->component; aiu_encoder_i2s_set_fmt() local
[all...]
H A Daiu-encoder-spdif.c30 aiu_encoder_spdif_divider_enable(struct snd_soc_component *component, in aiu_encoder_spdif_divider_enable() argument
33 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_spdif_divider_enable()
38 static void aiu_encoder_spdif_hold(struct snd_soc_component *component, in aiu_encoder_spdif_hold() argument
41 snd_soc_component_update_bits(component, AIU_958_CTRL, in aiu_encoder_spdif_hold()
50 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_trigger() local
56 aiu_encoder_spdif_hold(component, false); in aiu_encoder_spdif_trigger()
62 aiu_encoder_spdif_hold(component, true); 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() argument
84 snd_soc_component_write(component, AIU_958_CHSTAT_L0, val); in aiu_encoder_spdif_setup_cs_word()
85 snd_soc_component_write(component, AIU_958_CHSTAT_R0, val); in aiu_encoder_spdif_setup_cs_word()
[all …]

12345678910>>...52