Home
last modified time | relevance | path

Searched +full:wcd +full:- +full:capture (Results 1 – 16 of 16) sorted by relevance

/linux/sound/soc/codecs/
H A Dwcd9335.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
3 // Copyright (c) 2017-2018, Linaro Limited
19 #include <sound/soc-dapm.h>
26 #include "wcd-clsh-v2.h"
28 #include <dt-bindings/sound/qcom,wcd9335.h>
99 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25)
357 "vdd-buck", "vdd-buck-sido", "vdd-tx", "vdd-rx", "vdd-io",
409 {24000, -EINVAL},/* 24K */
551 "Class H Invalid", "Class-H Hi-Fi", "Class-H Low Power", "Class-AB",
[all …]
H A Dwcd934x.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
21 #include <sound/soc-dapm.h>
23 #include "wcd-clsh-v2.h"
24 #include "wcd-commo
1252 wcd934x_set_sido_input_src(struct wcd934x_codec * wcd,int sido_src) wcd934x_set_sido_input_src() argument
1268 wcd934x_enable_ana_bias_and_sysclk(struct wcd934x_codec * wcd) wcd934x_enable_ana_bias_and_sysclk() argument
1331 wcd934x_disable_ana_bias_and_syclk(struct wcd934x_codec * wcd) wcd934x_disable_ana_bias_and_syclk() argument
1351 __wcd934x_cdc_mclk_enable(struct wcd934x_codec * wcd,bool enable) __wcd934x_cdc_mclk_enable() argument
1385 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_codec_enable_mclk() local
1397 wcd934x_get_version(struct wcd934x_codec * wcd) wcd934x_get_version() argument
1440 wcd934x_enable_efuse_sensing(struct wcd934x_codec * wcd) wcd934x_enable_efuse_sensing() argument
1470 wcd934x_swrm_clock(struct wcd934x_codec * wcd,bool enable) wcd934x_swrm_clock() argument
1492 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_set_prim_interpolator_rate() local
1549 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_set_mix_interpolator_rate() local
1618 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(comp); wcd934x_set_decimator_rate() local
1695 wcd934x_slim_set_hw_params(struct wcd934x_codec * wcd,struct wcd_slim_codec_dai_data * dai_data,int direction) wcd934x_slim_set_hw_params() argument
1778 struct wcd934x_codec *wcd; wcd934x_hw_params() local
1863 struct wcd934x_codec *wcd; wcd934x_hw_free() local
1878 struct wcd934x_codec *wcd; wcd934x_trigger() local
1912 struct wcd934x_codec *wcd; wcd934x_set_channel_map() local
1947 struct wcd934x_codec *wcd; wcd934x_get_channel_map() local
2111 struct wcd934x_codec *wcd = to_wcd934x_codec(hw); swclk_gate_is_enabled() local
2134 wcd934x_register_mclk_output(struct wcd934x_codec * wcd) wcd934x_register_mclk_output() argument
2199 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_init_dmic() local
2235 wcd934x_hw_init(struct wcd934x_codec * wcd) wcd934x_hw_init() argument
2249 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_comp_init() local
2260 struct wcd934x_codec *wcd = data; wcd934x_slim_irq_handler() local
2490 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_mbhc_request_micbias() local
2955 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(component); wcd934x_get_hph_type() local
2969 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(component); wcd934x_hph_impedance_get() local
2994 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(component); wcd934x_mbhc_init() local
3028 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(component); wcd934x_mbhc_deinit() local
3038 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_comp_probe() local
3067 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_comp_remove() local
3077 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_comp_set_sysclk() local
3209 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_compander_get() local
3220 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_compander_set() local
3261 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_rx_hph_mode_get() local
3272 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_rx_hph_mode_put() local
3294 struct wcd934x_codec *wcd = dev_get_drvdata(dapm->dev); slim_rx_mux_get() local
3330 struct wcd934x_codec *wcd = dev_get_drvdata(w->dapm->dev); slim_rx_mux_put() local
3810 struct wcd934x_codec *wcd = dev_get_drvdata(dapm->dev); slim_tx_mixer_get() local
3824 struct wcd934x_codec *wcd = dev_get_drvdata(widget->dapm->dev); slim_tx_mixer_put() local
4127 struct wcd934x_codec *wcd = dev_get_drvdata(component->dev); wcd934x_codec_enable_int_port() local
4150 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(comp); wcd934x_codec_enable_slim() local
4239 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_config_compander() local
4423 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_codec_ear_dac_event() local
4449 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_codec_hphl_dac_event() local
4501 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_codec_hphr_dac_event() local
4550 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_codec_lineout_dac_event() local
4571 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(comp); wcd934x_codec_enable_hphl_pa() local
4635 struct wcd934x_codec *wcd = snd_soc_component_get_drvdata(comp); wcd934x_codec_enable_hphr_pa() local
4697 wcd934x_get_dmic_sample_rate(struct snd_soc_component * comp,unsigned int dmic,struct wcd934x_codec * wcd) wcd934x_get_dmic_sample_rate() argument
4795 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_codec_enable_dmic() local
5803 struct wcd934x_codec *wcd = dev_get_drvdata(comp->dev); wcd934x_codec_set_jack() local
5834 wcd934x_codec_parse_data(struct wcd934x_codec * wcd) wcd934x_codec_parse_data() argument
5878 struct wcd934x_codec *wcd; wcd934x_codec_probe() local
[all...]
H A Dmsm8916-wcd-analog.c1 // SPDX-License-Identifier: GPL-2.0
109 #define MICB_VOLTAGE_REGVAL(v) (((v - MICB_MIN_VAL)/MICB_STEP_SIZE) << 3)
283 "vdd-cdc-io",
284 "vdd-cdc-tx-rx-cx",
350 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_micbias_enable() local
358 if (wcd->micbias_mv) { in pm8916_wcd_analog_micbias_enable()
361 MICB_VOLTAGE_REGVAL(wcd->micbias_mv)); in pm8916_wcd_analog_micbias_enable()
366 if (wcd->micbias_mv >= 2700) in pm8916_wcd_analog_micbias_enable()
394 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias_int()
411 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias1()
[all …]
H A Dwcd937x.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
19 #include <sound/soc-dapm.h>
23 #include "wcd-clsh-v2.h"
24 #include "wcd
1193 wcd937x_connect_port(struct wcd937x_sdw_priv * wcd,u8 port_idx,u8 ch_id,bool enable) wcd937x_connect_port() argument
1282 struct wcd937x_sdw_priv *wcd = wcd937x->sdw_priv[AIF1_PB]; wcd937x_set_compander() local
1319 struct wcd937x_sdw_priv *wcd; wcd937x_get_swr_port() local
1338 struct wcd937x_sdw_priv *wcd; wcd937x_set_swr_port() local
2480 wcd937x_irq_init(struct wcd937x_priv * wcd,struct device * dev) wcd937x_irq_init() argument
2608 struct wcd937x_priv *wcd = dev_get_drvdata(comp->dev); wcd937x_codec_set_jack() local
2633 wcd937x_dt_parse_micbias_info(struct device * dev,struct wcd937x_priv * wcd) wcd937x_dt_parse_micbias_info() argument
2676 struct wcd937x_sdw_priv *wcd = wcd937x->sdw_priv[dai->id]; wcd937x_codec_hw_params() local
2685 struct wcd937x_sdw_priv *wcd = wcd937x->sdw_priv[dai->id]; wcd937x_codec_free() local
2694 struct wcd937x_sdw_priv *wcd = wcd937x->sdw_priv[dai->id]; wcd937x_codec_set_sdw_stream() local
2706 struct wcd937x_sdw_priv *wcd = wcd937x->sdw_priv[dai->id]; wcd937x_get_channel_map() local
[all...]
H A Dwcd938x.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
20 #include <sound/soc-dapm.h>
24 #include "wcd-clsh-v2.h"
25 #include "wcd
418 wcd938x_connect_port(struct wcd938x_sdw_priv * wcd,u8 port_num,u8 ch_id,u8 enable) wcd938x_connect_port() argument
1579 struct wcd938x_sdw_priv *wcd; wcd938x_set_compander() local
1851 struct wcd938x_sdw_priv *wcd; wcd938x_get_swr_port() local
1870 struct wcd938x_sdw_priv *wcd; wcd938x_set_swr_port() local
3026 wcd938x_irq_init(struct wcd938x_priv * wcd,struct device * dev) wcd938x_irq_init() argument
3180 struct wcd938x_priv *wcd = dev_get_drvdata(comp->dev); wcd938x_codec_set_jack() local
3204 wcd938x_dt_parse_micbias_info(struct device * dev,struct wcd938x_priv * wcd) wcd938x_dt_parse_micbias_info() argument
3332 struct wcd938x_sdw_priv *wcd = wcd938x->sdw_priv[dai->id]; wcd938x_codec_hw_params() local
3341 struct wcd938x_sdw_priv *wcd = wcd938x->sdw_priv[dai->id]; wcd938x_codec_free() local
3350 struct wcd938x_sdw_priv *wcd = wcd938x->sdw_priv[dai->id]; wcd938x_codec_set_sdw_stream() local
[all...]
H A Dwcd939x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
25 #include <sound/soc-dapm.h>
30 #include "wcd-clsh-v
437 wcd939x_connect_port(struct wcd939x_sdw_priv * wcd,u8 port_num,u8 ch_id,u8 enable) wcd939x_connect_port() argument
1542 struct wcd939x_sdw_priv *wcd = wcd939x->sdw_priv[AIF1_PB]; wcd939x_set_compander() local
1796 struct wcd939x_sdw_priv *wcd = wcd939x->sdw_priv[mixer->shift]; wcd939x_get_swr_port() local
1823 struct wcd939x_sdw_priv *wcd = wcd939x->sdw_priv[mixer->shift]; wcd939x_set_swr_port() local
2979 wcd939x_irq_init(struct wcd939x_priv * wcd,struct device * dev) wcd939x_irq_init() argument
3131 struct wcd939x_priv *wcd = dev_get_drvdata(comp->dev); wcd939x_codec_set_jack() local
3189 wcd939x_dt_parse_micbias_info(struct device * dev,struct wcd939x_priv * wcd) wcd939x_dt_parse_micbias_info() argument
3301 struct wcd939x_sdw_priv *wcd = wcd939x->sdw_priv[dai->id]; wcd939x_codec_hw_params() local
3310 struct wcd939x_sdw_priv *wcd = wcd939x->sdw_priv[dai->id]; wcd939x_codec_free() local
3319 struct wcd939x_sdw_priv *wcd = wcd939x->sdw_priv[dai->id]; wcd939x_codec_set_sdw_stream() local
[all...]
H A Dmsm8916-wcd-digital.c1 // SPDX-License-Identifier: GPL-2.0
331 /* Digital Gain control -84 dB to +40 dB in 1 dB steps */
332 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400);
334 /* Cutoff Freq for High Pass Filter at -3dB */
360 snd_soc_dapm_to_component(w->dapm); in msm8x16_wcd_codec_set_iir_gain()
365 if (w->shift == 0) in msm8x16_wcd_codec_set_iir_gain()
367 else if (w->shift == 1) in msm8x16_wcd_codec_set_iir_gain()
429 (struct wcd_iir_filter_ctl *)kcontrol->private_value; in msm8x16_wcd_get_iir_band_audio_mixer()
430 struct soc_bytes_ext *params = &ctl->bytes_ext; in msm8x16_wcd_get_iir_band_audio_mixer()
431 int iir_idx = ctl->iir_idx; in msm8x16_wcd_get_iir_band_audio_mixer()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
498 tristate "Analog Devices AU1761 CODEC - I2C"
504 tristate "Analog Devices AU1761 CODEC - SPI"
541 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
547 tristate "Analog Devices ADAU7118 8 Channel PDM-t
[all...]
/linux/Documentation/devicetree/bindings/sound/
H A Dgoogle,sc7280-herobrine.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/google,sc7280-herobrine.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Google SC7280-Herobrine ASoC sound card driver
10 - Judy Hsiao <judyhsiao@chromium.org>
16 - $ref: sound-card-common.yaml#
21 - google,sc7280-herobrine
23 "#address-cells":
26 "#size-cells":
[all …]
H A Dqcom,apq8016-sbc-sndcard.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,apq8016-sbc-sndcard.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11 - Stephan Gerhold <stephan@gerhold.net>
16 - qcom,apq8016-sbc-sndcard
17 - qcom,msm8916-qdsp6-sndcard
21 - description: Microphone I/O mux register address
22 - description: Speaker I/O mux register address
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dapq8039-t2.dts1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2020-2023, Linaro Ltd.
8 /dts-v1/;
11 #include "msm8939-pm8916.dtsi"
12 #include <dt-bindings/arm/qcom,ids.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 #include <dt-bindings/sound/apq8016-lpass.h>
19 compatible = "square,apq8039-t2", "qcom,msm8939";
21 qcom,board-id = <0x53 0x54>;
[all …]
H A Dsm8750-qrd.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
20 #include "sm8750-pmics.dtsi"
24 compatible = "qcom,sm8750-qrd", "qcom,sm8750";
25 chassis-type = "handset";
31 wcd939x: audio-codec {
32 compatible = "qcom,wcd9395-codec", "qcom,wcd9390-codec";
[all …]
H A Dmsm8916-huawei-g7.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/sound/apq8016-lpass.h>
16 * Note: The original firmware from Huawei can only boot 32-bit kernels.
17 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP
[all …]
H A Dapq8016-schneider-hmibsc.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
9 #include "msm8916-pm8916.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
15 #include <dt-bindings/sound/apq8016-lpass.h>
19 compatible = "schneider,apq8016-hmibsc", "qcom,apq8016";
[all …]
H A Dsdm850-samsung-w737.dts1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 #include <dt-bindings/sound/qcom,q6afe.h>
15 #include <dt-bindings/sound/qcom,q6asm.h>
17 #include "sdm845-wcd9340.dtsi"
24 /delete-node/ &qseecom_mem;
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]