/Linux-v6.1/sound/soc/codecs/ |
D | wcd938x-sdw.c | 102 int wcd938x_sdw_hw_params(struct wcd938x_sdw_priv *wcd, in wcd938x_sdw_hw_params() argument 111 wcd->sconfig.ch_count = 1; in wcd938x_sdw_hw_params() 112 wcd->active_ports = 0; in wcd938x_sdw_hw_params() 114 ch_mask = wcd->port_config[i].ch_mask; in wcd938x_sdw_hw_params() 120 wcd->sconfig.ch_count++; in wcd938x_sdw_hw_params() 122 port_config[wcd->active_ports] = wcd->port_config[i]; in wcd938x_sdw_hw_params() 123 wcd->active_ports++; in wcd938x_sdw_hw_params() 126 wcd->sconfig.bps = 1; in wcd938x_sdw_hw_params() 127 wcd->sconfig.frame_rate = params_rate(params); in wcd938x_sdw_hw_params() 128 if (wcd->is_tx) in wcd938x_sdw_hw_params() [all …]
|
D | wcd9335.c | 25 #include "wcd-clsh-v2.h" 1264 struct wcd9335_codec *wcd = dev_get_drvdata(w->dapm->dev); in slim_rx_mux_get() local 1267 ucontrol->value.enumerated.item[0] = wcd->rx_port_value[port_id]; in slim_rx_mux_get() 1276 struct wcd9335_codec *wcd = dev_get_drvdata(w->dapm->dev); in slim_rx_mux_put() local 1281 if (wcd->rx_port_value[port_id] == ucontrol->value.enumerated.item[0]) in slim_rx_mux_put() 1284 wcd->rx_port_value[port_id] = ucontrol->value.enumerated.item[0]; in slim_rx_mux_put() 1287 list_del_init(&wcd->rx_chs[port_id].list); in slim_rx_mux_put() 1289 switch (wcd->rx_port_value[port_id]) { in slim_rx_mux_put() 1294 list_add_tail(&wcd->rx_chs[port_id].list, in slim_rx_mux_put() 1295 &wcd->dai[AIF1_PB].slim_ch_list); in slim_rx_mux_put() [all …]
|
D | wcd934x.c | 23 #include "wcd-clsh-v2.h" 24 #include "wcd-mbhc-v2.h" 97 /* As fine version info cannot be retrieved before wcd probe. 98 * Define three coarse versions for possible future use before wcd probe. 1272 static int wcd934x_set_sido_input_src(struct wcd934x_codec *wcd, int sido_src) in wcd934x_set_sido_input_src() argument 1274 if (sido_src == wcd->sido_input_src) in wcd934x_set_sido_input_src() 1278 regmap_update_bits(wcd->regmap, WCD934X_ANA_RCO, in wcd934x_set_sido_input_src() 1283 wcd->sido_input_src = sido_src; in wcd934x_set_sido_input_src() 1288 static int wcd934x_enable_ana_bias_and_sysclk(struct wcd934x_codec *wcd) in wcd934x_enable_ana_bias_and_sysclk() argument 1290 mutex_lock(&wcd->sysclk_mutex); in wcd934x_enable_ana_bias_and_sysclk() [all …]
|
D | msm8916-wcd-analog.c | 351 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_micbias_enable() local 359 if (wcd->micbias_mv) { in pm8916_wcd_analog_micbias_enable() 362 MICB_VOLTAGE_REGVAL(wcd->micbias_mv)); in pm8916_wcd_analog_micbias_enable() 367 if (wcd->micbias_mv >= 2700) in pm8916_wcd_analog_micbias_enable() 413 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_enable_micbias1() local 416 wcd->micbias1_cap_mode); in pm8916_wcd_analog_enable_micbias1() 424 struct pm8916_wcd_analog_priv *wcd = snd_soc_component_get_drvdata(component); in pm8916_wcd_analog_enable_micbias2() local 427 wcd->micbias2_cap_mode); in pm8916_wcd_analog_enable_micbias2() 478 static void pm8916_wcd_setup_mbhc(struct pm8916_wcd_analog_priv *wcd) in pm8916_wcd_setup_mbhc() argument 480 struct snd_soc_component *component = wcd->component; in pm8916_wcd_setup_mbhc() [all …]
|
D | wcd938x.c | 24 #include "wcd-clsh-v2.h" 25 #include "wcd-mbhc-v2.h" 1436 static int wcd938x_connect_port(struct wcd938x_sdw_priv *wcd, u8 port_num, u8 ch_id, u8 enable) in wcd938x_connect_port() argument 1438 return wcd938x_sdw_connect_port(&wcd->ch_info[ch_id], in wcd938x_connect_port() 1439 &wcd->port_config[port_num - 1], in wcd938x_connect_port() 2597 struct wcd938x_sdw_priv *wcd; in wcd938x_set_compander() local 2606 wcd = wcd938x->sdw_priv[AIF1_PB]; in wcd938x_set_compander() 2613 portidx = wcd->ch_info[mc->reg].port_num; in wcd938x_set_compander() 2616 wcd938x_connect_port(wcd, portidx, mc->reg, true); in wcd938x_set_compander() 2618 wcd938x_connect_port(wcd, portidx, mc->reg, false); in wcd938x_set_compander() [all …]
|
D | wcd938x.h | 669 int wcd938x_sdw_free(struct wcd938x_sdw_priv *wcd, 672 int wcd938x_sdw_set_sdw_stream(struct wcd938x_sdw_priv *wcd, 675 int wcd938x_sdw_hw_params(struct wcd938x_sdw_priv *wcd, 685 static inline int wcd938x_sdw_free(struct wcd938x_sdw_priv *wcd, in wcd938x_sdw_free() argument 692 static inline int wcd938x_sdw_set_sdw_stream(struct wcd938x_sdw_priv *wcd, in wcd938x_sdw_set_sdw_stream() argument 699 static inline int wcd938x_sdw_hw_params(struct wcd938x_sdw_priv *wcd, in wcd938x_sdw_hw_params() argument
|
D | Makefile | 151 snd-soc-msm8916-analog-objs := msm8916-wcd-analog.o 152 snd-soc-msm8916-digital-objs := msm8916-wcd-digital.o 281 snd-soc-wcd-mbhc-objs := wcd-mbhc-v2.o 282 snd-soc-wcd9335-objs := wcd-clsh-v2.o wcd9335.o 283 snd-soc-wcd934x-objs := wcd-clsh-v2.o wcd934x.o 284 snd-soc-wcd938x-objs := wcd938x.o wcd-clsh-v2.o 638 obj-$(CONFIG_SND_SOC_WCD_MBHC) += snd-soc-wcd-mbhc.o
|
D | msm8916-wcd-digital.c | 1234 { .compatible = "qcom,msm8916-wcd-digital-codec" }, 1242 .name = "msm8916-wcd-digital-codec", 1252 MODULE_DESCRIPTION("MSM8916 WCD Digital Codec driver");
|
D | Kconfig | 1100 tristate "Qualcomm MSM8916 WCD Analog Codec" 1104 tristate "Qualcomm MSM8916 WCD DIGITAL Codec"
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | qcom,msm8916-wcd-digital.txt | 6 - compatible = "qcom,msm8916-wcd-digital-codec"; 14 compatible = "qcom,msm8916-wcd-digital-codec";
|
D | qcom,wcd9335.txt | 29 Definition: Interrupts via WCD INTR1 and INTR2 pins 34 Definition: Interrupt names of WCD INTR1 and INTR2
|
D | google,sc7280-herobrine.yaml | 123 link-name = "WCD Playback"; 134 link-name = "WCD Capture";
|
D | qcom,msm8916-wcd-analog.txt | 8 - compatible = "qcom,pm8916-wcd-analog-codec"; 60 compatible = "qcom,pm8916-wcd-analog-codec";
|
D | qcom,sm8250.yaml | 248 link-name = "WCD"; 258 link-name = "WCD-Capture";
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sm8250-mtp.dts | 702 wcd-playback-dai-link { 703 link-name = "WCD Playback"; 715 wcd-capture-dai-link { 716 link-name = "WCD Capture";
|
D | msm8916-huawei-g7.dts | 277 link-name = "WCD"; 287 link-name = "WCD-Capture";
|
D | pm8916.dtsi | 142 compatible = "qcom,pm8916-wcd-analog-codec";
|
D | sdm850-samsung-w737.dts | 531 slim-wcd-dai-link { 532 link-name = "SLIM WCD Playback";
|
D | sc7280-qcard.dtsi | 674 wcd_reset_n: wcd-reset-n { 680 wcd_reset_n_sleep: wcd-reset-n-sleep {
|
D | sdm850-lenovo-yoga-c630.dts | 603 slim-wcd-dai-link { 604 link-name = "SLIM WCD Playback";
|
D | sc7280-idp.dtsi | 842 wcd_reset_n: wcd-reset-n { 848 wcd_reset_n_sleep: wcd-reset-n-sleep {
|
D | apq8016-sbc.dts | 378 link-name = "WCD"; 388 link-name = "WCD-Capture";
|
/Linux-v6.1/drivers/gpio/ |
D | gpio-wcd934x.c | 123 MODULE_DESCRIPTION("Qualcomm Technologies, Inc WCD GPIO control driver");
|
/Linux-v6.1/sound/soc/qcom/ |
D | lpass-sc7280.c | 74 .stream_name = "WCD Playback", 87 .stream_name = "WCD Capture",
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | qcom,spmi-pmic.yaml | 112 additionalProperties: true # FIXME qcom,pm8916-wcd-analog-codec binding not converted yet
|