/openbmc/linux/sound/soc/codecs/ |
H A D | bt-sco.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for generic Bluetooth SCO link 4 * Copyright 2011 Lars-Peter Clausen <lars@metafoo.de> 29 .name = "bt-sco-pcm", 46 .name = "bt-sco-pcm-wb", 76 return devm_snd_soc_register_component(&pdev->dev, in bt_sco_probe() 86 .name = "bt-sco", 95 { .compatible = "linux,bt-sco", }, 103 .name = "bt-sco", 112 MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | btcoex.c | 1 // SPDX-License-Identifier: ISC 20 /* T1 start SCO/eSCO priority suppression */ 23 /* BT registers values during DHCP */ 33 /* number of samples for SCO detection */ 37 * enum brcmf_btcoex_state - BT coex DHCP state machine states 54 * struct brcmf_btcoex_info - BT coex related information 98 * brcmf_btcoex_params_write() - write btc_params firmware variable 117 * brcmf_btcoex_params_read() - read btc_params firmware variable 130 * brcmf_btcoex_boost_wifi() - control BT SCO/eSCO parameters 131 * @btci: BT coex info [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | linux,bt-sco.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/linux,bt-sco.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Bluetooth SCO Audio Codec 10 - Mark Brown <broonie@kernel.org> 13 - $ref: dai-common.yaml# 16 '#sound-dai-cells': 18 - 0 21 - 1 [all …]
|
H A D | mt2701-cs42448.txt | 4 - compatible: "mediatek,mt2701-cs42448-machine" 5 - mediatek,platform: the phandle of MT2701 ASoC platform 6 - audio-routing: a list of the connections between audio 7 - mediatek,audio-codec: the phandles of cs42448 codec 8 - mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec 9 - pinctrl-names: Should contain only one value - "default" 10 - pinctrl-0: Should specify pin control groups used for this controller. 11 - i2s1-in-sel-gpio1, i2s1-in-sel-gpio2: Should specify two gpio pins to 12 control I2S1-in mux. 17 compatible = "mediatek,mt2701-cs42448-machine"; [all …]
|
H A D | mtk-btcvsd-snd.txt | 1 Mediatek ALSA BT SCO CVSD/MSBC Driver 4 - compatible = "mediatek,mtk-btcvsd-snd"; 5 - reg: register location and size of PKV and SRAM_BANK2 6 - interrupts: should contain BTSCO interrupt 7 - mediatek,infracfg: the phandles of INFRASYS 8 - mediatek,offset: Array contains of register offset and mask 17 mtk-btcvsd-snd@18000000 { 18 compatible = "mediatek,mtk-btcvsd-snd";
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtc8821a1ant.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This file is for RTL8821A Co-exist mechanism 29 "BT Info[wifi fw]", 30 "BT Info[bt rsp]", 31 "BT Info[bt auto report]", 46 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a1ant_bt_rssi_state() 48 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8821a1ant_bt_rssi_state() 50 bt_rssi = coex_sta->bt_rssi; in btc8821a1ant_bt_rssi_state() 53 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a1ant_bt_rssi_state() 54 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a1ant_bt_rssi_state() [all …]
|
H A D | halbtc8192e2ant.c | 1 // SPDX-License-Identifier: GPL-2.0 17 "BT Info[wifi fw]", 18 "BT Info[bt rsp]", 19 "BT Info[bt auto report]", 35 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_bt_rssi_state() 37 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8192e2ant_bt_rssi_state() 39 bt_rssi = coex_sta->bt_rssi; in btc8192e2ant_bt_rssi_state() 42 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_bt_rssi_state() 43 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_bt_rssi_state() 58 "[BTCoex], BT Rssi thresh error!!\n"); in btc8192e2ant_bt_rssi_state() [all …]
|
H A D | halbtc8821a2ant.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This file is for RTL8821A Co-exist mechanism 28 "BT Info[wifi fw]", 29 "BT Info[bt rsp]", 30 "BT Info[bt auto report]", 45 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_bt_rssi_state() 47 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8821a2ant_bt_rssi_state() 49 bt_rssi = coex_sta->bt_rssi; in btc8821a2ant_bt_rssi_state() 52 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a2ant_bt_rssi_state() 53 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a2ant_bt_rssi_state() [all …]
|
H A D | halbtc8723b2ant.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This file is for RTL8723B Co-exist mechanism 26 "BT Info[wifi fw]", 27 "BT Info[bt rsp]", 28 "BT Info[bt auto report]", 44 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8723b2ant_bt_rssi_state() 46 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8723b2ant_bt_rssi_state() 48 bt_rssi = coex_sta->bt_rssi; in btc8723b2ant_bt_rssi_state() 51 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8723b2ant_bt_rssi_state() 52 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8723b2ant_bt_rssi_state() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | broadcom-bluetooth.yaml | 1 # 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 …]
|
/openbmc/linux/net/bluetooth/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 menuconfig BT config 20 Bluetooth is low-cost, low-power, short-range wireless technology. 21 It was designed as a replacement for cables and other short-range 29 SCO audio links 42 To use Linux Bluetooth subsystem, you will need several user-space 49 depends on BT 67 depends on BT 70 Bluetooth Low Energy includes support low-energy physical 92 depends on BT [all …]
|
H A D | sco.c | 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 25 /* Bluetooth SCO sockets. */ 34 #include <net/bluetooth/sco.h> 44 /* ---- SCO connections ---- */ 56 #define sco_conn_lock(c) spin_lock(&c->lock) 57 #define sco_conn_unlock(c) spin_unlock(&c->lock) 62 /* ----- SCO socket info ----- */ 66 struct bt_sock bt; member 75 /* ---- SCO timers ---- */ [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/usb/pd.h> 11 stdout-path = &uart2; 14 gpio-leds { 15 compatible = "gpio-leds"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_led>; 22 default-state = "on"; 26 hdmi-connector { 27 compatible = "hdmi-connector"; [all …]
|
H A D | imx8mq-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de> 7 /dts-v1/; 13 compatible = "fsl,imx8mq-evk", "fsl,imx8mq"; 16 stdout-path = &uart1; 24 pcie0_refclk: pcie0-refclk { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <100000000>; 30 reg_pcie1: regulator-pcie { [all …]
|
H A D | imx8mm-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 9 #include <dt-bindings/usb/pd.h> 14 stdout-path = &uart2; 22 hdmi-connector { 23 compatible = "hdmi-connector"; 29 remote-endpoint = <&adv7535_out>; 35 compatible = "gpio-leds"; 36 pinctrl-names = "default"; [all …]
|
/openbmc/linux/sound/soc/mediatek/mt8183/ |
H A D | mt8183-da7219-max98357.c | 1 // 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 …]
|
H A D | mt8183-mt6358-ts3a227-max98357.c | 1 // 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" 67 struct snd_soc_card *card = rtd->card; in mt8183_mt6358_rt1015_i2s_hw_params() 75 dev_err(card->dev, "failed to set pll\n"); in mt8183_mt6358_rt1015_i2s_hw_params() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-a64-pinephone.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "sun50i-a64.dtsi" 7 #include "sun50i-a64-cpu-opp.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pwm/pwm.h> 15 chassis-type = "handset"; 23 compatible = "pwm-backlight"; 25 enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ [all …]
|
/openbmc/linux/sound/soc/mediatek/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 223 tristate "ALSA BT SCO CVSD/MSBC Driver" 227 BT encoded data to/from BT firmware.
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt2701-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 14 compatible = "mediatek,mt2701-evb", "mediatek,mt2701"; 22 compatible = "mediatek,mt2701-cs42448-machine"; 25 audio-routing = 42 mediatek,audio-codec = <&cs42448>; 43 mediatek,audio-codec-bt-mrg = <&bt_sco_codec>; 44 pinctrl-names = "default"; 45 pinctrl-0 = <&aud_pins_default>; [all …]
|
/openbmc/linux/sound/soc/mediatek/mt2701/ |
H A D | mt2701-cs42448.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt2701-cs42448.c -- MT2701 CS42448 ALSA SoC machine driver 17 #include "mt2701-afe-common.h" 41 ucontrol->value.integer.value[0] = priv->i2s1_in_mux; in mt2701_cs42448_i2sin1_mux_get() 51 if (ucontrol->value.integer.value[0] == priv->i2s1_in_mux) in mt2701_cs42448_i2sin1_mux_set() 54 switch (ucontrol->value.integer.value[0]) { in mt2701_cs42448_i2sin1_mux_set() 56 gpio_set_value(priv->i2s1_in_mux_gpio_sel_1, 0); in mt2701_cs42448_i2sin1_mux_set() 57 gpio_set_value(priv->i2s1_in_mux_gpio_sel_2, 0); in mt2701_cs42448_i2sin1_mux_set() 60 gpio_set_value(priv->i2s1_in_mux_gpio_sel_1, 1); in mt2701_cs42448_i2sin1_mux_set() 61 gpio_set_value(priv->i2s1_in_mux_gpio_sel_2, 0); in mt2701_cs42448_i2sin1_mux_set() [all …]
|
/openbmc/linux/sound/soc/mediatek/common/ |
H A D | mtk-btcvsd.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Mediatek ALSA BT SCO CVSD/MSBC Driver 15 #define BTCVSD_SND_NAME "mtk-btcvsd-snd" 130 spinlock_t tx_lock; /* spinlock for bt tx stream control */ 131 spinlock_t rx_lock; /* spinlock for bt rx stream control */ 193 static void mtk_btcvsd_snd_irq_enable(struct mtk_btcvsd_snd *bt) in mtk_btcvsd_snd_irq_enable() argument 195 regmap_update_bits(bt->infra, bt->infra_misc_offset, in mtk_btcvsd_snd_irq_enable() 196 bt->conn_bt_cvsd_mask, 0); in mtk_btcvsd_snd_irq_enable() 199 static void mtk_btcvsd_snd_irq_disable(struct mtk_btcvsd_snd *bt) in mtk_btcvsd_snd_irq_disable() argument 201 regmap_update_bits(bt->infra, bt->infra_misc_offset, in mtk_btcvsd_snd_irq_disable() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | gpio.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 27 struct ath_hw *ah = sc->sc_ah; in ath_fill_led_pin() 30 if (ah->led_pin < 0) { in ath_fill_led_pin() 32 ah->led_pin = ATH_LED_PIN_9287; in ath_fill_led_pin() 34 ah->led_pin = ATH_LED_PIN_9485; in ath_fill_led_pin() 36 ah->led_pin = ATH_LED_PIN_9300; in ath_fill_led_pin() 38 ah->led_pin = ATH_LED_PIN_9462; in ath_fill_led_pin() 40 ah->led_pin = ATH_LED_PIN_DEF; in ath_fill_led_pin() 44 ath9k_hw_gpio_request_out(ah, ah->led_pin, "ath9k-led", in ath_fill_led_pin() 48 ath9k_hw_set_gpio(ah, ah->led_pin, ah->config.led_active_high ? 0 : 1); in ath_fill_led_pin() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-kukui.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 21 stdout-path = "serial0:115200n8"; 25 compatible = "pwm-backlight"; 27 power-supply = <&bl_pp5000>; 28 enable-gpios = <&pio 176 0>; 29 brightness-levels = <0 1023>; 30 num-interpolated-steps = <1023>; 31 default-brightness-level = <576>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|