Home
last modified time | relevance | path

Searched +full:bt +full:- +full:pcm +full:- +full:int +full:- +full:params (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dbroadcom-bluetooth.txt2 ---------------------
12 - compatible: should contain one of the following:
14 * "brcm,bcm4329-bt"
15 * "brcm,bcm4330-bt"
16 * "brcm,bcm43438-bt"
18 * "brcm,bcm43540-bt"
23 - max-speed: see Documentation/devicetree/bindings/serial/serial.yaml
24 - shutdown-gpios: GPIO specifier, used to enable the BT module
25 - device-wakeup-gpios: GPIO specifier, used to wakeup the controller
26 - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dbroadcom-bluetooth.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/broadcom-bluetooth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 This binding describes Broadcom UART-attached bluetooth chips.
18 - brcm,bcm20702a1
19 - brcm,bcm4329-bt
20 - brcm,bcm4330-bt
21 - brcm,bcm4334-bt
[all …]
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddpcm.rst2 Dynamic PCM
8 Dynamic PCM allows an ALSA PCM device to digitally route its PCM audio to
9 various digital endpoints during the PCM stream runtime. e.g. PCM0 can route
16 determine the path used by each ALSA PCM.
18 DPCM re-uses all the existing component codec, platform and DAI drivers without
23 -------------------------------------
26 document for all examples :-
32 PCM0 <------------> * * <----DAI0-----> Codec Headset
34 PCM1 <------------> * * <----DAI1-----> Codec Speakers
36 PCM2 <------------> * * <----DAI2-----> MODEM
[all …]
/kernel/linux/linux-6.6/Documentation/sound/soc/
Ddpcm.rst2 Dynamic PCM
8 Dynamic PCM allows an ALSA PCM device to digitally route its PCM audio to
9 various digital endpoints during the PCM stream runtime. e.g. PCM0 can route
16 determine the path used by each ALSA PCM.
18 DPCM re-uses all the existing component codec, platform and DAI drivers without
23 -------------------------------------
26 document for all examples :-
32 PCM0 <------------> * * <----DAI0-----> Codec Headset
34 PCM1 <------------> * * <----DAI1-----> Codec Speakers
36 PCM2 <------------> * * <----DAI2-----> MODEM
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/mt2701/
Dmt2701-cs42448.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt2701-cs42448.c -- MT2701 CS42448 ALSA SoC machine driver
17 #include "mt2701-afe-common.h"
20 int i2s1_in_mux;
21 int i2s1_in_mux_gpio_sel_1;
22 int i2s1_in_mux_gpio_sel_2;
35 static int mt2701_cs42448_i2sin1_mux_get(struct snd_kcontrol *kcontrol, in mt2701_cs42448_i2sin1_mux_get()
41 ucontrol->value.integer.value[0] = priv->i2s1_in_mux; in mt2701_cs42448_i2sin1_mux_get()
45 static int mt2701_cs42448_i2sin1_mux_set(struct snd_kcontrol *kcontrol, in mt2701_cs42448_i2sin1_mux_set()
51 if (ucontrol->value.integer.value[0] == priv->i2s1_in_mux) in mt2701_cs42448_i2sin1_mux_set()
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt2701/
Dmt2701-cs42448.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt2701-cs42448.c -- MT2701 CS42448 ALSA SoC machine driver
17 #include "mt2701-afe-common.h"
20 int i2s1_in_mux;
21 int i2s1_in_mux_gpio_sel_1;
22 int i2s1_in_mux_gpio_sel_2;
35 static int mt2701_cs42448_i2sin1_mux_get(struct snd_kcontrol *kcontrol, in mt2701_cs42448_i2sin1_mux_get()
41 ucontrol->value.integer.value[0] = priv->i2s1_in_mux; in mt2701_cs42448_i2sin1_mux_get()
45 static int mt2701_cs42448_i2sin1_mux_set(struct snd_kcontrol *kcontrol, in mt2701_cs42448_i2sin1_mux_set()
51 if (ucontrol->value.integer.value[0] == priv->i2s1_in_mux) in mt2701_cs42448_i2sin1_mux_set()
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/
Dmt8183-da7219-max98357.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt8183-da7219-max98357.c
4 // -- MT8183-DA7219-MAX98357 ALSA SoC machine driver
19 #include "../common/mtk-afe-platform-driver.h"
20 #include "mt8183-afe-common.h"
22 #define DA7219_CODEC_DAI "da7219-hifi"
23 #define DA7219_DEV_NAME "da7219.5-001a"
24 #define RT1015_CODEC_DAI "rt1015-aif"
25 #define RT1015_DEV0_NAME "rt1015.6-0028"
26 #define RT1015_DEV1_NAME "rt1015.6-0029"
[all …]
Dmt8183-mt6358-ts3a227-max98357.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt8183-mt6358.c --
4 // MT8183-MT6358-TS3A227-MAX98357 ALSA SoC machine driver
18 #include "../common/mtk-afe-platform-driver.h"
19 #include "mt8183-afe-common.h"
21 #define RT1015_CODEC_DAI "rt1015-aif"
22 #define RT1015_DEV0_NAME "rt1015.6-0028"
23 #define RT1015_DEV1_NAME "rt1015.6-0029"
43 static int mt8183_mt6358_i2s_hw_params(struct snd_pcm_substream *substream, in mt8183_mt6358_i2s_hw_params()
44 struct snd_pcm_hw_params *params) in mt8183_mt6358_i2s_hw_params() argument
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/
Dmt8183-mt6358-ts3a227-max98357.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt8183-mt6358.c --
4 // MT8183-MT6358-TS3A227-MAX98357 ALSA SoC machine driver
18 #include "mt8183-afe-common.h"
20 #define RT1015_CODEC_DAI "rt1015-aif"
21 #define RT1015_DEV0_NAME "rt1015.6-0028"
22 #define RT1015_DEV1_NAME "rt1015.6-0029"
42 static int mt8183_mt6358_i2s_hw_params(struct snd_pcm_substream *substream, in mt8183_mt6358_i2s_hw_params()
43 struct snd_pcm_hw_params *params) in mt8183_mt6358_i2s_hw_params() argument
46 unsigned int rate = params_rate(params); in mt8183_mt6358_i2s_hw_params()
[all …]
Dmt8183-da7219-max98357.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt8183-da7219-max98357.c
4 // -- MT8183-DA7219-MAX98357 ALSA SoC machine driver
17 #include "../../codecs/da7219-aad.h"
20 #include "mt8183-afe-common.h"
22 #define DA7219_CODEC_DAI "da7219-hifi"
23 #define DA7219_DEV_NAME "da7219.5-001a"
24 #define RT1015_CODEC_DAI "rt1015-aif"
25 #define RT1015_DEV0_NAME "rt1015.6-0028"
26 #define RT1015_DEV1_NAME "rt1015.6-0029"
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288-veyron-broadcom-bluetooth.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 pinctrl-names = "default";
12 pinctrl-0 = <&bt_host_wake_l>, <&bt_enable_l>,
15 compatible = "brcm,bcm43540-bt";
16 host-wakeup-gpios = <&gpio4 RK_PD7 GPIO_ACTIVE_HIGH>;
17 shutdown-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>;
18 device-wakeup-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
19 max-speed = <3000000>;
20 brcm,bt-pcm-int-params = [01 02 00 01 01];
/kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/
Drk3288-veyron-broadcom-bluetooth.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 pinctrl-names = "default";
12 pinctrl-0 = <&bt_host_wake_l>, <&bt_enable_l>,
15 compatible = "brcm,bcm43540-bt";
16 host-wakeup-gpios = <&gpio4 RK_PD7 GPIO_ACTIVE_HIGH>;
17 shutdown-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>;
18 device-wakeup-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
19 max-speed = <3000000>;
20 brcm,bt-pcm-int-params = [01 02 00 01 01];
/kernel/linux/linux-5.10/sound/soc/samsung/
Dneo1973_wm8753.c1 // SPDX-License-Identifier: GPL-2.0+
3 // neo1973_wm8753.c - SoC audio for Openmoko Neo1973 and Freerunner devices
18 #include "regs-iis.h"
20 #include "s3c24xx-i2s.h"
22 static int neo1973_hifi_hw_params(struct snd_pcm_substream *substream, in neo1973_hifi_hw_params()
23 struct snd_pcm_hw_params *params) in neo1973_hifi_hw_params() argument
28 unsigned int pll_out = 0, bclk = 0; in neo1973_hifi_hw_params()
29 int ret = 0; in neo1973_hifi_hw_params()
34 switch (params_rate(params)) { in neo1973_hifi_hw_params()
97 static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream) in neo1973_hifi_hw_free()
[all …]
Daries_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
5 #include <linux/input-event-codes.h>
22 unsigned int modem_dai_fmt;
47 static int aries_extcon_notifier(struct notifier_block *this, in aries_extcon_notifier()
92 static irqreturn_t headset_det_irq_thread(int irq, void *data) in headset_det_irq_thread()
95 int ret = 0; in headset_det_irq_thread()
96 int time_left_ms = 300; in headset_det_irq_thread()
97 int adc; in headset_det_irq_thread()
100 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread()
103 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/boards/
Dsof_nau8825.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <sound/pcm.h>
20 #include <sound/soc-acpi.h>
22 #include "../common/soc-intel-quirks.h"
41 /* BT audio offload: reserve 3 bits for future */
58 int device;
67 static int sof_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sof_hdmi_init()
69 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_hdmi_init()
71 struct sof_hdmi_pcm *pcm; in sof_hdmi_init() local
73 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_hdmi_init()
[all …]
Dsof_rt5682.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2019-2020 Intel Corporation.
16 #include <sound/pcm.h>
22 #include <sound/soc-acpi.h>
27 #include "../common/soc-intel-quirks.h"
54 /* BT audio offload: reserve 3 bits for future */
75 static int is_legacy_cpu;
81 int device;
92 static int sof_rt5682_quirk_cb(const struct dmi_system_id *id) in sof_rt5682_quirk_cb()
94 sof_rt5682_quirk = (unsigned long)id->driver_data; in sof_rt5682_quirk_cb()
[all …]
Dsof_cs42l42.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <sound/pcm.h>
20 #include <sound/soc-acpi.h>
21 #include <dt-bindings/sound/cs42l42.h>
23 #include "../common/soc-intel-quirks.h"
79 int device;
88 static int sof_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sof_hdmi_init()
90 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_hdmi_init()
92 struct sof_hdmi_pcm *pcm; in sof_hdmi_init() local
94 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_hdmi_init()
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/
Dmt8186-mt6366-da7219-max98357.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt8186-mt6366-da7219-max98357.c
4 // -- MT8186-MT6366-DA7219-MAX98357 ALSA SoC machine driver
19 #include "../common/mtk-afe-platform-driver.h"
20 #include "../common/mtk-dsp-sof-common.h"
21 #include "../common/mtk-soc-card.h"
22 #include "mt8186-afe-common.h"
23 #include "mt8186-afe-clk.h"
24 #include "mt8186-afe-gpio.h"
25 #include "mt8186-mt6366-common.h"
[all …]
Dmt8186-mt6366-rt1019-rt5682s.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt8186-mt6366-rt1019-rt5682s.c
4 // -- MT8186-MT6366-RT1019-RT5682S ALSA SoC machine driver
22 #include "../common/mtk-afe-platform-driver.h"
23 #include "../common/mtk-dsp-sof-common.h"
24 #include "../common/mtk-soc-card.h"
25 #include "mt8186-afe-common.h"
26 #include "mt8186-afe-clk.h"
27 #include "mt8186-afe-gpio.h"
28 #include "mt8186-mt6366-common.h"
[all …]
/kernel/linux/linux-6.6/sound/soc/hisilicon/
Dhi6210-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/sound/soc/m8m/hi6210_i2s.c - I2S IP driver
8 * This driver only deals with S2 interface (BT)
20 #include <sound/pcm.h>
30 #include <linux/reset-controller.h>
32 #include "hi6210-i2s.h"
38 int clocks;
44 int clk_rate;
46 int rate;
47 int format;
[all …]
/kernel/linux/linux-5.10/sound/soc/hisilicon/
Dhi6210-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/sound/soc/m8m/hi6210_i2s.c - I2S IP driver
8 * This driver only deals with S2 interface (BT)
20 #include <sound/pcm.h>
30 #include <linux/reset-controller.h>
32 #include "hi6210-i2s.h"
38 int clocks;
44 int clk_rate;
46 int rate;
47 int format;
[all …]
/kernel/linux/linux-6.6/drivers/bluetooth/
Dhci_bcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
53 * struct bcm_device_data - device specific data
55 * @drive_rts_on_open: drive RTS signal on ->open() when platform requires it
69 * struct bcm_device - device driver resources
106 * @drive_rts_on_open: drive RTS signal on ->open() when platform requires it
108 * @pcm_int_params: keep the initial PCM configuration
123 int (*set_device_wakeup)(struct bcm_device *, bool);
124 int (*set_shutdown)(struct bcm_device *, bool);
127 int gpio_count;
128 int gpio_int_idx;
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dwl1273.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/mfd/wl1273-core.h>
13 #include <sound/pcm.h>
26 unsigned int channels;
29 static int snd_wl1273_fm_set_i2s_mode(struct wl1273_core *core, in snd_wl1273_fm_set_i2s_mode()
30 int rate, int width) in snd_wl1273_fm_set_i2s_mode()
32 struct device *dev = &core->client->dev; in snd_wl1273_fm_set_i2s_mode()
33 int r = 0; in snd_wl1273_fm_set_i2s_mode()
39 mutex_lock(&core->lock); in snd_wl1273_fm_set_i2s_mode()
41 mode = core->i2s_mode & ~WL1273_IS2_WIDTH & ~WL1273_IS2_RATE; in snd_wl1273_fm_set_i2s_mode()
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dsound.patch1 diff --git a/sound/Makefile b/sound/Makefile
3 --- a/sound/Makefile
5 @@ -5,7 +5,8 @@
6 obj-$(CONFIG_SOUND) += soundcore.o
7 obj-$(CONFIG_DMASOUND) += oss/dmasound/
8 obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
9 - firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/
12 obj-$(CONFIG_SND_AOA) += aoa/
15 diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
17 --- a/sound/drivers/aloop.c
[all …]
/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_bcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
52 * struct bcm_device_data - device specific data
61 * struct bcm_device - device driver resources
104 int (*set_device_wakeup)(struct bcm_device *, bool);
105 int (*set_shutdown)(struct bcm_device *, bool);
108 int gpio_count;
109 int gpio_int_idx;
119 int irq;
140 /* List of BCM BT UART devices */
144 static int irq_polarity = -1;
[all …]

12