Home
last modified time | relevance | path

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

12345678910>>...72

/linux/sound/soc/
H A Dsoc-component.c3 // soc-component.c
18 static inline int _soc_component_ret(struct snd_soc_component *component, in _soc_component_ret() argument
32 dev_err(component->dev, in _soc_component_ret()
34 func, component->name, ret); in _soc_component_ret()
36 dev_err(component->dev, in _soc_component_ret()
38 func, component->name, reg, ret); in _soc_component_ret()
44 static inline int soc_component_field_shift(struct snd_soc_component *component, in soc_component_field_shift() argument
48 dev_err(component->dev, "ASoC: error field mask is zero for %s\n", in soc_component_field_shift()
49 component->name); in soc_component_field_shift()
60 #define soc_component_mark_push(component, substream, tgt) ((component)->mark_##tgt = substream) argument
[all …]
H A Dsoc-core.c51 #define for_each_component(component) \ argument
52 list_for_each_entry(component, &component_list, list)
133 static void soc_init_component_debugfs(struct snd_soc_component *component) in soc_init_component_debugfs() argument
135 if (!component->card->debugfs_card_root) in soc_init_component_debugfs()
138 if (component->debugfs_prefix) { in soc_init_component_debugfs()
142 component->debugfs_prefix, component->name); in soc_init_component_debugfs()
144 component->debugfs_root = debugfs_create_dir(name, in soc_init_component_debugfs()
145 component->card->debugfs_card_root); in soc_init_component_debugfs()
149 component in soc_init_component_debugfs()
157 soc_cleanup_component_debugfs(struct snd_soc_component * component) soc_cleanup_component_debugfs() argument
167 struct snd_soc_component *component; dai_list_show() local
184 struct snd_soc_component *component; component_list_show() local
232 soc_init_component_debugfs(struct snd_soc_component * component) soc_init_component_debugfs() argument
233 soc_cleanup_component_debugfs(struct snd_soc_component * component) soc_cleanup_component_debugfs() argument
317 snd_soc_rtd_add_component(struct snd_soc_pcm_runtime * rtd,struct snd_soc_component * component) snd_soc_rtd_add_component() argument
338 struct snd_soc_component *component; snd_soc_rtdcom_lookup() local
370 struct snd_soc_component *component; snd_soc_lookup_component_nolocked() local
391 struct snd_soc_component *component; snd_soc_lookup_component() local
497 struct snd_soc_component *component; soc_new_pcm_runtime() local
648 struct snd_soc_component *component; snd_soc_suspend() local
752 struct snd_soc_component *component; soc_resume_deferred() local
792 struct snd_soc_component *component; snd_soc_resume() local
823 soc_component_to_node(struct snd_soc_component * component) soc_component_to_node() argument
850 snd_soc_is_matching_component(const struct snd_soc_dai_link_component * dlc,struct snd_soc_component * component) snd_soc_is_matching_component() argument
879 struct snd_soc_component *component; soc_find_component() local
912 struct snd_soc_component *component; snd_soc_find_dai() local
1169 struct snd_soc_component *component; snd_soc_add_pcm_runtime() local
1461 struct snd_soc_component *component; soc_init_pcm_runtime() local
1520 soc_set_name_prefix(struct snd_soc_card * card,struct snd_soc_component * component) soc_set_name_prefix() argument
1547 soc_remove_component(struct snd_soc_component * component,int probed) soc_remove_component() argument
1565 soc_probe_component(struct snd_soc_card * card,struct snd_soc_component * component) soc_probe_component() argument
1699 struct snd_soc_component *component; soc_remove_link_components() local
1717 struct snd_soc_component *component; soc_probe_link_components() local
1739 struct snd_soc_component *component, *_component; soc_unbind_aux_dev() local
1750 struct snd_soc_component *component; soc_bind_aux_dev() local
1770 struct snd_soc_component *component; soc_probe_aux_devices() local
1960 struct snd_soc_component *component; soc_check_tplg_fes() local
2157 struct snd_soc_component *component; snd_soc_bind_card() local
2351 struct snd_soc_component *component; snd_soc_poweroff() local
2463 snd_soc_add_component_controls(struct snd_soc_component * component,const struct snd_kcontrol_new * controls,unsigned int num_controls) snd_soc_add_component_controls() argument
2641 snd_soc_register_dai(struct snd_soc_component * component,struct snd_soc_dai_driver * dai_drv,bool legacy_dai_naming) snd_soc_register_dai() argument
2693 snd_soc_unregister_dais(struct snd_soc_component * component) snd_soc_unregister_dais() argument
2708 snd_soc_register_dais(struct snd_soc_component * component,struct snd_soc_dai_driver * dai_drv,size_t count) snd_soc_register_dais() argument
2777 snd_soc_del_component_unlocked(struct snd_soc_component * component) snd_soc_del_component_unlocked() argument
2789 snd_soc_component_initialize(struct snd_soc_component * component,const struct snd_soc_component_driver * driver,struct device * dev) snd_soc_component_initialize() argument
2819 snd_soc_add_component(struct snd_soc_component * component,struct snd_soc_dai_driver * dai_drv,int num_dai) snd_soc_add_component() argument
2871 struct snd_soc_component *component; snd_soc_register_component() local
2896 struct snd_soc_component *component; snd_soc_unregister_component_by_driver() local
2923 struct snd_soc_component *component = snd_soc_lookup_component_nolocked(dev, NULL); snd_soc_unregister_component() local
3469 struct snd_soc_component *component; snd_soc_get_dai_id() local
3609 struct snd_soc_component *component; snd_soc_get_dai_via_args() local
3624 __snd_soc_of_put_component(struct snd_soc_dai_link_component * component) __snd_soc_of_put_component() argument
3637 struct snd_soc_dai_link_component *component; __snd_soc_of_get_dai_link_component_alloc() local
3667 struct snd_soc_dai_link_component *component; snd_soc_of_put_dai_link_codecs() local
3693 struct snd_soc_dai_link_component *component; snd_soc_of_get_dai_link_codecs() local
3724 struct snd_soc_dai_link_component *component; snd_soc_of_put_dai_link_cpus() local
3747 struct snd_soc_dai_link_component *component; snd_soc_of_get_dai_link_cpus() local
[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
14 * Component probe and remove ordering levels for components with runtime
28 /* component interface */
30 int (*open)(struct snd_soc_component *component,
32 int (*free)(struct snd_soc_component *component,
34 int (*set_params)(struct snd_soc_component *component,
37 int (*get_params)(struct snd_soc_component *component,
40 int (*set_metadata)(struct snd_soc_component *component,
43 int (*get_metadata)(struct snd_soc_component *component,
46 int (*trigger)(struct snd_soc_component *component,
[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.c41 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw() argument
44 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw()
57 dev_err(component->dev, "%s: firmware too short (%zd bytes)\n", in wm8958_dsp2_fw()
64 dev_err(component->dev, "%s: firmware has bad file magic %08x\n", in wm8958_dsp2_fw()
73 dev_err(component->dev, "%s: unsupported firmware version %d\n", in wm8958_dsp2_fw()
78 dev_err(component->dev, "%s: unsupported target device %d\n", in wm8958_dsp2_fw()
83 dev_err(component->dev, "%s: unsupported target core %d\n", in wm8958_dsp2_fw()
90 dev_info(component->dev, "%s timestamp %llx\n", name, data64); in wm8958_dsp2_fw()
92 snd_soc_component_write(component, 0x102, 0x2); in wm8958_dsp2_fw()
93 snd_soc_component_write(component, 0x900, 0x2); in wm8958_dsp2_fw()
[all …]
H A Dtlv320dac33.c52 struct snd_soc_component *component);
54 struct snd_soc_component *component);
80 struct snd_soc_component *component; member
160 static inline unsigned int dac33_read_reg_cache(struct snd_soc_component *component, in dac33_read_reg_cache() argument
163 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_read_reg_cache()
171 static inline void dac33_write_reg_cache(struct snd_soc_component *component, in dac33_write_reg_cache() argument
174 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_write_reg_cache()
182 static int dac33_read(struct snd_soc_component *component, unsigned int reg, in dac33_read() argument
185 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_read()
194 dev_err(component->dev, "Read failed (%d)\n", val); in dac33_read()
[all …]
H A Dwcd939x.c16 #include <linux/component.h>
178 struct snd_soc_component *component; member
331 static int wcd939x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd939x_set_swr_clk_rate() argument
355 snd_soc_component_write_field(component, WCD939X_DIGITAL_SWR_TX_CLK_RATE, mask, val); in wcd939x_set_swr_clk_rate()
360 static int wcd939x_io_init(struct snd_soc_component *component) in wcd939x_io_init() argument
362 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
364 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
369 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
372 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_L, in wcd939x_io_init()
374 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_ in wcd939x_io_init()
445 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_rxclk() local
505 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_hphl_dac_event() local
559 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_hphr_dac_event() local
615 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_ear_dac_event() local
647 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_hphr_pa() local
767 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_hphl_pa() local
884 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_ear_pa() local
928 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_dmic() local
1012 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_tx_swr_ctrl() local
1089 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_adc() local
1115 wcd939x_tx_channel_config(struct snd_soc_component * component,int channel,bool init) wcd939x_tx_channel_config() argument
1147 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_adc_enable_req() local
1263 wcd939x_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) wcd939x_micbias_control() argument
1388 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_micbias() local
1411 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd939x_codec_enable_micbias_pullup() local
1435 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_tx_mode_get() local
1448 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_tx_mode_put() local
1466 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_rx_hph_mode_get() local
1477 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_rx_hph_mode_put() local
1522 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_get_compander() local
1537 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_set_compander() local
1559 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_ldoh_get() local
1570 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_ldoh_put() local
1832 wcd939x_mbhc_clk_setup(struct snd_soc_component * component,bool enable) wcd939x_mbhc_clk_setup() argument
1839 wcd939x_mbhc_mbhc_bias_control(struct snd_soc_component * component,bool enable) wcd939x_mbhc_mbhc_bias_control() argument
1846 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
1867 wcd939x_mbhc_micb_en_status(struct snd_soc_component * component,int micb_num) wcd939x_mbhc_micb_en_status() argument
1881 wcd939x_mbhc_hph_l_pull_up_control(struct snd_soc_component * component,int pull_up_cur) wcd939x_mbhc_hph_l_pull_up_control() argument
1897 wcd939x_mbhc_request_micbias(struct snd_soc_component * component,int micb_num,int req) wcd939x_mbhc_request_micbias() argument
1903 wcd939x_mbhc_micb_ramp_control(struct snd_soc_component * component,bool enable) wcd939x_mbhc_micb_ramp_control() argument
1930 wcd939x_mbhc_micb_adjust_voltage(struct snd_soc_component * component,int req_volt,int micb_num) wcd939x_mbhc_micb_adjust_voltage() argument
2008 wcd939x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component * component,int micb_num,bool req_en) wcd939x_mbhc_micb_ctrl_threshold_mic() argument
2048 wcd939x_mbhc_get_result_params(struct snd_soc_component * component,int32_t * zdet) wcd939x_mbhc_get_result_params() argument
2107 wcd939x_mbhc_zdet_ramp(struct snd_soc_component * component,s32 * zl,int32_t * zr) wcd939x_mbhc_zdet_ramp() argument
2158 wcd939x_wcd_mbhc_qfuse_cal(struct snd_soc_component * component,s32 * z_val,int flag_l_r) wcd939x_wcd_mbhc_qfuse_cal() argument
2174 wcd939x_wcd_mbhc_calc_impedance(struct snd_soc_component * component,u32 * zl,uint32_t * zr) wcd939x_wcd_mbhc_calc_impedance() argument
2315 wcd939x_mbhc_gnd_det_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_gnd_det_ctrl() argument
2333 wcd939x_mbhc_hph_pull_down_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_hph_pull_down_ctrl() argument
2342 wcd939x_mbhc_moisture_config(struct snd_soc_component * component) wcd939x_mbhc_moisture_config() argument
2365 wcd939x_mbhc_moisture_detect_en(struct snd_soc_component * component,bool enable) wcd939x_mbhc_moisture_detect_en() argument
2378 wcd939x_mbhc_get_moisture_status(struct snd_soc_component * component) wcd939x_mbhc_get_moisture_status() argument
2415 wcd939x_mbhc_moisture_polling_ctrl(struct snd_soc_component * component,bool enable) wcd939x_mbhc_moisture_polling_ctrl() argument
2445 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_get_hph_type() local
2457 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd939x_hph_impedance_get() local
2481 wcd939x_mbhc_init(struct snd_soc_component * component) wcd939x_mbhc_init() argument
2513 wcd939x_mbhc_deinit(struct snd_soc_component * component) wcd939x_mbhc_deinit() argument
2990 wcd939x_soc_codec_probe(struct snd_soc_component * component) wcd939x_soc_codec_probe() argument
3112 wcd939x_soc_codec_remove(struct snd_soc_component * component) wcd939x_soc_codec_remove() argument
3218 wcd939x_swap_gnd_mic(struct snd_soc_component * component,bool active) wcd939x_swap_gnd_mic() argument
[all...]
H A Dwcd937x.c4 #include <linux/component.h>
301 static int wcd937x_rx_clk_enable(struct snd_soc_component *component) in wcd937x_rx_clk_enable() argument
303 struct wcd937x_priv *wcd937x = snd_soc_component_get_drvdata(component); in wcd937x_rx_clk_enable()
308 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_DIG_CLK_CTL, BIT(3), BIT(3)); in wcd937x_rx_clk_enable()
309 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_ANA_CLK_CTL, BIT(0), BIT(0)); in wcd937x_rx_clk_enable()
310 snd_soc_component_update_bits(component, WCD937X_ANA_RX_SUPPLIES, BIT(0), BIT(0)); in wcd937x_rx_clk_enable()
311 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX0_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
312 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX1_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
313 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_RX2_CTL, BIT(6), 0x00); in wcd937x_rx_clk_enable()
314 snd_soc_component_update_bits(component, WCD937X_DIGITAL_CDC_ANA_CLK_CTL, BIT(1), BIT(1)); in wcd937x_rx_clk_enable()
[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_get_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_A); in da7219_aad_btn_det_work()
83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work()
[all …]
H A Dwm8994.c111 static void wm8958_micd_set_rate(struct snd_soc_component *component) in wm8958_micd_set_rate() argument
113 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_micd_set_rate()
122 sysclk = snd_soc_component_read(component, WM8994_CLOCKING_1); in wm8958_micd_set_rate()
153 dev_dbg(component->dev, "MICD rate %d,%d for %dHz %s\n", in wm8958_micd_set_rate()
157 snd_soc_component_update_bits(component, WM8958_MIC_DETECT_1, in wm8958_micd_set_rate()
162 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() argument
164 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in configure_aif_clock()
202 dev_dbg(component->dev, "Dividing AIF%d clock to %dHz\n", in configure_aif_clock()
208 snd_soc_component_update_bits(component, WM8994_AIF1_CLOCKING_1 + offset, in configure_aif_clock()
215 static int configure_clock(struct snd_soc_component *component) in configure_clock() argument
255 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); check_clk_sys() local
304 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_drc_sw() local
323 wm8994_set_drc(struct snd_soc_component * component,int drc) wm8994_set_drc() argument
361 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_drc_enum() local
384 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_get_drc_enum() local
395 wm8994_set_retune_mobile(struct snd_soc_component * component,int block) wm8994_set_retune_mobile() argument
468 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_put_retune_mobile_enum() local
491 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wm8994_get_retune_mobile_enum() local
742 wm1811_jackdet_set_mode(struct snd_soc_component * component,u16 mode) wm1811_jackdet_set_mode() argument
765 active_reference(struct snd_soc_component * component) active_reference() argument
782 active_dereference(struct snd_soc_component * component) active_dereference() argument
810 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); clk_sys_event() local
841 vmid_reference(struct snd_soc_component * component) vmid_reference() argument
920 vmid_dereference(struct snd_soc_component * component) vmid_dereference() argument
986 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); vmid_event() local
1001 wm8994_check_class_w_digital(struct snd_soc_component * component) wm8994_check_class_w_digital() argument
1039 wm8994_update_vu_bits(struct snd_soc_component * component) wm8994_update_vu_bits() argument
1059 aif_mclk_set(struct snd_soc_component * component,int aif,bool enable) aif_mclk_set() argument
1101 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif1clk_ev() local
1206 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif2clk_ev() local
1298 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif1clk_late_ev() local
1316 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); aif2clk_late_ev() local
1334 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); late_enable_ev() local
1367 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); late_disable_ev() local
1409 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); dac_ev() local
1450 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); post_ev() local
1518 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); wm8994_put_class_w() local
2205 _wm8994_set_fll(struct snd_soc_component * component,int id,int src,unsigned int freq_in,unsigned int freq_out) _wm8994_set_fll() argument
2507 struct snd_soc_component *component = dai->component; wm8994_set_dai_sysclk() local
2614 wm8994_set_bias_level(struct snd_soc_component * component,enum snd_soc_bias_level level) wm8994_set_bias_level() argument
2697 wm8994_vmid_mode(struct snd_soc_component * component,enum wm8994_vmid_mode mode) wm8994_vmid_mode() argument
2757 struct snd_soc_component *component = dai->component; wm8994_set_dai_fmt() local
2913 struct snd_soc_component *component = dai->component; wm8994_hw_params() local
3093 struct snd_soc_component *component = dai->component; wm8994_aif3_hw_params() local
3136 struct snd_soc_component *component = codec_dai->component; wm8994_aif_mute() local
3163 struct snd_soc_component *component = codec_dai->component; wm8994_set_tristate() local
3189 struct snd_soc_component *component = dai->component; wm8994_aif2_probe() local
3299 wm8994_component_suspend(struct snd_soc_component * component) wm8994_component_suspend() argument
3318 wm8994_component_resume(struct snd_soc_component * component) wm8994_component_resume() argument
3345 struct snd_soc_component *component = wm8994->hubs.component; wm8994_handle_retune_mobile_pdata() local
3413 struct snd_soc_component *component = wm8994->hubs.component; wm8994_handle_pdata() local
3503 wm8994_mic_detect(struct snd_soc_component * component,struct snd_soc_jack * jack,int micbias) wm8994_mic_detect() argument
3639 struct snd_soc_component *component = priv->hubs.component; wm8994_mic_irq() local
3654 wm1811_micd_stop(struct snd_soc_component * component) wm1811_micd_stop() argument
3670 wm8958_button_det(struct snd_soc_component * component,u16 status) wm8958_button_det() argument
3725 struct snd_soc_component *component = data; wm8958_mic_id() local
3775 struct snd_soc_component *component = wm8994->hubs.component; wm1811_mic_work() local
3814 struct snd_soc_component *component = wm8994->hubs.component; wm1811_jackdet_irq() local
3927 wm8958_mic_detect(struct snd_soc_component * component,struct snd_soc_jack * jack,wm1811_micdet_cb det_cb,void * det_cb_data,wm1811_mic_id_cb id_cb,void * id_cb_data) wm8958_mic_detect() argument
4025 struct snd_soc_component *component = wm8994->hubs.component; wm8958_mic_work() local
4041 struct snd_soc_component *component = wm8994->hubs.component; wm8958_mic_irq() local
4124 struct snd_soc_component *component = data; wm8994_fifo_error() local
4133 struct snd_soc_component *component = data; wm8994_temp_warn() local
4142 struct snd_soc_component *component = data; wm8994_temp_shut() local
4149 wm8994_component_probe(struct snd_soc_component * component) wm8994_component_probe() argument
4570 wm8994_component_remove(struct snd_soc_component * component) wm8994_component_remove() argument
[all...]
H A Dwcd938x.c12 #include <linux/component.h>
319 static int wcd938x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd938x_get_clk_rate()
342 snd_soc_component_update_bits(component, WCD938X_DIGITAL_SWR_TX_CLK_RATE, in wcd938x_set_swr_clk_rate()
433 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wcd938x_sdw_connect_port()
437 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_ANA_CLK_CTL, in wcd938x_sdw_connect_port()
439 snd_soc_component_write_field(component, WCD938X_ANA_RX_SUPPLIES,
441 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX0_CTL, in wcd938x_connect_port()
443 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX1_CTL, in wcd938x_connect_port()
445 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_RX2_CTL, in wcd938x_connect_port()
447 snd_soc_component_write_field(component, WCD938X_DIGITAL_CDC_ANA_CLK_CT
337 wcd938x_set_swr_clk_rate(struct snd_soc_component * component,int rate,int bank) wcd938x_set_swr_clk_rate() argument
451 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_rxclk() local
490 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_hphl_dac_event() local
544 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_hphr_dac_event() local
598 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_ear_dac_event() local
677 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_aux_dac_event() local
713 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_hphr_pa() local
820 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_hphl_pa() local
925 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_aux_pa() local
969 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_ear_pa() local
1043 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_dmic() local
1114 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_tx_swr_ctrl() local
1198 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_adc() local
1221 wcd938x_tx_channel_config(struct snd_soc_component * component,int channel,int mode) wcd938x_tx_channel_config() argument
1253 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_adc_enable_req() local
1356 wcd938x_micbias_control(struct snd_soc_component * component,int micb_num,int req,bool is_dapm) wcd938x_micbias_control() argument
1460 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_micbias() local
1483 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); wcd938x_codec_enable_micbias_pullup() local
1507 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_tx_mode_get() local
1520 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_tx_mode_put() local
1536 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_rx_hph_mode_get() local
1547 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_rx_hph_mode_put() local
1561 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_ear_pa_put_gain() local
1580 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_get_compander() local
1599 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_set_compander() local
1630 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_ldoh_get() local
1641 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_ldoh_put() local
1917 wcd938x_mbhc_clk_setup(struct snd_soc_component * component,bool enable) wcd938x_mbhc_clk_setup() argument
1924 wcd938x_mbhc_mbhc_bias_control(struct snd_soc_component * component,bool enable) wcd938x_mbhc_mbhc_bias_control() argument
1931 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
1952 wcd938x_mbhc_micb_en_status(struct snd_soc_component * component,int micb_num) wcd938x_mbhc_micb_en_status() argument
1966 wcd938x_mbhc_hph_l_pull_up_control(struct snd_soc_component * component,int pull_up_cur) wcd938x_mbhc_hph_l_pull_up_control() argument
1978 wcd938x_mbhc_request_micbias(struct snd_soc_component * component,int micb_num,int req) wcd938x_mbhc_request_micbias() argument
1984 wcd938x_mbhc_micb_ramp_control(struct snd_soc_component * component,bool enable) wcd938x_mbhc_micb_ramp_control() argument
2009 wcd938x_mbhc_micb_adjust_voltage(struct snd_soc_component * component,int req_volt,int micb_num) wcd938x_mbhc_micb_adjust_voltage() argument
2080 wcd938x_mbhc_micb_ctrl_threshold_mic(struct snd_soc_component * component,int micb_num,bool req_en) wcd938x_mbhc_micb_ctrl_threshold_mic() argument
2101 wcd938x_mbhc_get_result_params(struct snd_soc_component * component,s16 * d1_a,u16 noff,int32_t * zdet) wcd938x_mbhc_get_result_params() argument
2161 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
2209 wcd938x_wcd_mbhc_qfuse_cal(struct snd_soc_component * component,int32_t * z_val,int flag_l_r) wcd938x_wcd_mbhc_qfuse_cal() argument
2229 wcd938x_wcd_mbhc_calc_impedance(struct snd_soc_component * component,uint32_t * zl,uint32_t * zr) wcd938x_wcd_mbhc_calc_impedance() argument
2417 wcd938x_mbhc_gnd_det_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_gnd_det_ctrl() argument
2433 wcd938x_mbhc_hph_pull_down_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_hph_pull_down_ctrl() argument
2442 wcd938x_mbhc_moisture_config(struct snd_soc_component * component) wcd938x_mbhc_moisture_config() argument
2465 wcd938x_mbhc_moisture_detect_en(struct snd_soc_component * component,bool enable) wcd938x_mbhc_moisture_detect_en() argument
2477 wcd938x_mbhc_get_moisture_status(struct snd_soc_component * component) wcd938x_mbhc_get_moisture_status() argument
2514 wcd938x_mbhc_moisture_polling_ctrl(struct snd_soc_component * component,bool enable) wcd938x_mbhc_moisture_polling_ctrl() argument
2543 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); wcd938x_get_hph_type() local
2557 struct snd_soc_component *component = wcd938x_hph_impedance_get() local
2582 wcd938x_mbhc_init(struct snd_soc_component * component) wcd938x_mbhc_init() argument
2614 wcd938x_mbhc_deinit(struct snd_soc_component * component) wcd938x_mbhc_deinit() argument
3063 wcd938x_soc_codec_probe(struct snd_soc_component * component) wcd938x_soc_codec_probe() argument
3185 wcd938x_soc_codec_remove(struct snd_soc_component * component) wcd938x_soc_codec_remove() argument
3256 wcd938x_swap_gnd_mic(struct snd_soc_component * component,bool active) wcd938x_swap_gnd_mic() argument
[all...]
H A Dtwl6040.c65 struct snd_soc_component *component; member
95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent) argument
97 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read() argument
99 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_read()
100 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_read()
122 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip() argument
125 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_can_write_to_chip()
141 static inline void twl6040_update_dl12_cache(struct snd_soc_component *component, in twl6040_update_dl12_cache() argument
144 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_update_dl12_cache()
159 static int twl6040_write(struct snd_soc_component *component, in twl6040_write() argument
[all …]
H A Dtas2552.c64 struct snd_soc_component *component;
82 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas2552_post_event()
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()
65 struct snd_soc_component *component; global() member
83 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); tas2552_post_event() local
158 tas2552_setup_pll(struct snd_soc_component * component,struct snd_pcm_hw_params * params) tas2552_setup_pll() argument
242 struct snd_soc_component *component = dai->component; tas2552_hw_params() local
331 struct snd_soc_component *component = dai->component; tas2552_prepare() local
349 struct snd_soc_component *component = dai->component; tas2552_set_dai_fmt() local
399 struct snd_soc_component *component = dai->component; tas2552_set_dai_sysclk() local
446 struct snd_soc_component *component = dai->component; tas2552_set_dai_tdm_slot() local
474 struct snd_soc_component *component = dai->component; tas2552_mute() local
576 tas2552_component_probe(struct snd_soc_component * component) tas2552_component_probe() argument
624 tas2552_component_remove(struct snd_soc_component * component) tas2552_component_remove() argument
634 tas2552_suspend(struct snd_soc_component * component) tas2552_suspend() argument
648 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_HPH, 0x0C, val); in wcd_clsh_v3_set_hph_mode()
[all …]
H A Dwm8961.c194 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8961_hp_event() local
195 u16 hp_reg = snd_soc_component_read(component, WM8961_ANALOGUE_HP_0); in wm8961_hp_event()
196 u16 cp_reg = snd_soc_component_read(component, WM8961_CHARGE_PUMP_1); in wm8961_hp_event()
197 u16 pwr_reg = snd_soc_component_read(component, WM8961_PWR_MGMT_2); in wm8961_hp_event()
198 u16 dcs_reg = snd_soc_component_read(component, WM8961_DC_SERVO_1); in wm8961_hp_event()
204 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
208 snd_soc_component_write(component, WM8961_CHARGE_PUMP_1, cp_reg); in wm8961_hp_event()
213 snd_soc_component_write(component, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_hp_event()
217 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
221 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
[all …]
H A Dmax98095.c251 static void m98095_eq_band(struct snd_soc_component *component, unsigned int dai, in m98095_eq_band() argument
269 snd_soc_component_write(component, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band()
270 snd_soc_component_write(component, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band()
277 static void m98095_biquad_band(struct snd_soc_component *component, unsigned int dai, in m98095_biquad_band() argument
295 snd_soc_component_write(component, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band()
296 snd_soc_component_write(component, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band()
353 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98095_mic1pre_set() local
354 struct max98095_priv *max98095 = snd_soc_component_get_drvdata(component); in max98095_mic1pre_set()
358 snd_soc_component_update_bits(component, M98095_05F_LVL_MIC1, M98095_MICPRE_MASK, in max98095_mic1pre_set()
367 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98095_mic1pre_get() local
[all …]
H A Dwm_hubs.c59 static void wait_for_dc_servo(struct snd_soc_component *component, unsigned int op) in wait_for_dc_servo() argument
61 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component); in wait_for_dc_servo()
70 snd_soc_component_write(component, WM8993_DC_SERVO_0, val); in wait_for_dc_servo()
72 dev_dbg(component->dev, "Waiting for DC servo...\n"); in wait_for_dc_servo()
88 reg = snd_soc_component_read(component, WM8993_DC_SERVO_0); in wait_for_dc_servo()
89 dev_dbg(component->dev, "DC servo: %x\n", reg); in wait_for_dc_servo()
93 dev_err(component->dev, "Timed out waiting for DC Servo %x\n", in wait_for_dc_servo()
107 static bool wm_hubs_dac_hp_direct(struct snd_soc_component *component) in wm_hubs_dac_hp_direct() argument
112 reg = snd_soc_component_read(component, WM8993_OUTPUT_MIXER1); in wm_hubs_dac_hp_direct()
115 dev_vdbg(component->dev, "Analogue paths connected: %x\n", in wm_hubs_dac_hp_direct()
[all …]
H A Drt5631.c70 static void rt5631_write_index(struct snd_soc_component *component, in rt5631_write_index() argument
73 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_write_index()
74 snd_soc_component_write(component, RT5631_INDEX_DATA, value); in rt5631_write_index()
80 static unsigned int rt5631_read_index(struct snd_soc_component *component, in rt5631_read_index() argument
85 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_read_index()
86 value = snd_soc_component_read(component, RT5631_INDEX_DATA); in rt5631_read_index()
91 static int rt5631_reset(struct snd_soc_component *component) in rt5631_reset() argument
93 return snd_soc_component_write(component, RT5631_RESET, 0); in rt5631_reset()
186 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5631_dmic_get() local
187 struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component); in rt5631_dmic_get()
[all …]
H A Drt5663.c58 struct snd_soc_component *component; member
1398 static void rt5663_enable_push_button_irq(struct snd_soc_component *component, in rt5663_enable_push_button_irq() argument
1401 struct rt5663_priv *rt5663 = snd_soc_component_get_drvdata(component); in rt5663_enable_push_button_irq()
1404 snd_soc_component_update_bits(component, RT5663_IL_CMD_6, in rt5663_enable_push_button_irq()
1407 snd_soc_component_update_bits(component, RT5663_IL_CMD_6, in rt5663_enable_push_button_irq()
1410 snd_soc_component_update_bits(component, RT5663_IL_CMD_6, in rt5663_enable_push_button_irq()
1415 snd_soc_component_update_bits(component, RT5663_IRQ_3, in rt5663_enable_push_button_irq()
1420 snd_soc_component_update_bits(component, RT5663_IRQ_2, in rt5663_enable_push_button_irq()
1425 dev_err(component->dev, "Unknown CODEC Version\n"); in rt5663_enable_push_button_irq()
1430 snd_soc_component_update_bits(component, RT5663_IRQ_3, in rt5663_enable_push_button_irq()
[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_CTRL); in da7218_alc_calib()
[all …]
H A Dda7213.c216 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_volsw_locked_get() local
217 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_get()
230 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_volsw_locked_put() local
231 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_put()
244 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_enum_locked_get() local
245 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_enum_locked_get()
258 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_enum_locked_put() local
259 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_enum_locked_put()
270 static int da7213_get_alc_data(struct snd_soc_component *component, u8 reg_val) in da7213_get_alc_data() argument
279 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, reg_val); in da7213_get_alc_data()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_fw_update.c79 * ice_check_component_response - Report firmware response to a component
81 * @id: component id being checked
82 * @response: indicates whether this component can be updated
86 * Check whether firmware indicates if this component can be updated. Report
87 * a suitable error message over the netlink extended ACK if the component
90 * Returns: zero if the component can be updated, or -ECANCELED of the
91 * firmware indicates the component cannot be updated.
98 const char *component; in ice_check_component_response() local
102 component = "fw.undi"; in ice_check_component_response()
105 component = "fw.mgmt"; in ice_check_component_response()
[all …]
/linux/sound/soc/meson/
H A Daiu-encoder-i2s.c30 static void aiu_encoder_i2s_divider_enable(struct snd_soc_component *component, in aiu_encoder_i2s_divider_enable() argument
33 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_divider_enable()
38 static int aiu_encoder_i2s_setup_desc(struct snd_soc_component *component, in aiu_encoder_i2s_setup_desc() argument
45 snd_soc_component_write(component, AIU_RST_SOFT, AIU_RST_SOFT_I2S_FAST); in aiu_encoder_i2s_setup_desc()
46 snd_soc_component_read(component, AIU_I2S_SYNC); in aiu_encoder_i2s_setup_desc()
71 snd_soc_component_update_bits(component, AIU_I2S_SOURCE_DESC, in aiu_encoder_i2s_setup_desc()
81 static int aiu_encoder_i2s_set_legacy_div(struct snd_soc_component *component, in aiu_encoder_i2s_set_legacy_div() argument
94 dev_err(component->dev, "Unsupported i2s divider: %u\n", bs); in aiu_encoder_i2s_set_legacy_div()
98 snd_soc_component_update_bits(component, AIU_CLK_CTRL, in aiu_encoder_i2s_set_legacy_div()
103 snd_soc_component_update_bits(component, AIU_CLK_CTRL_MORE, in aiu_encoder_i2s_set_legacy_div()
[all …]
/linux/sound/soc/sof/
H A Dpcm.c24 static int create_page_table(struct snd_soc_component *component, in create_page_table() argument
33 spcm = snd_sof_find_spcm_dai(component, rtd); in create_page_table()
37 return snd_sof_create_page_table(component->dev, dmab, in create_page_table()
64 struct snd_soc_component *component = in snd_sof_pcm_period_elapsed() local
68 spcm = snd_sof_find_spcm_dai(component, rtd); in snd_sof_pcm_period_elapsed()
70 dev_err(component->dev, in snd_sof_pcm_period_elapsed()
122 static int sof_pcm_hw_params(struct snd_soc_component *component, in sof_pcm_hw_params() argument
126 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_hw_params()
138 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_hw_params()
147 ret = pcm_ops->hw_free(component, substrea in sof_pcm_hw_params()
194 sof_pcm_hw_free(struct snd_soc_component * component,struct snd_pcm_substream * substream) sof_pcm_hw_free() argument
220 sof_pcm_prepare(struct snd_soc_component * component,struct snd_pcm_substream * substream) sof_pcm_prepare() argument
268 sof_pcm_trigger(struct snd_soc_component * component,struct snd_pcm_substream * substream,int cmd) sof_pcm_trigger() argument
381 sof_pcm_pointer(struct snd_soc_component * component,struct snd_pcm_substream * substream) sof_pcm_pointer() argument
420 sof_pcm_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) sof_pcm_open() argument
485 sof_pcm_close(struct snd_soc_component * component,struct snd_pcm_substream * substream) sof_pcm_close() argument
522 sof_pcm_new(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd) sof_pcm_new() argument
594 struct snd_soc_component *component = sof_pcm_dai_link_fixup() local
627 sof_pcm_probe(struct snd_soc_component * component) sof_pcm_probe() argument
666 sof_pcm_remove(struct snd_soc_component * component) sof_pcm_remove() argument
672 sof_pcm_ack(struct snd_soc_component * component,struct snd_pcm_substream * substream) sof_pcm_ack() argument
680 sof_pcm_delay(struct snd_soc_component * component,struct snd_pcm_substream * substream) sof_pcm_delay() argument
[all...]

12345678910>>...72