| /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 …]
|
| /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 …]
|
| /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";
|
| /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 …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx943-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2024-2025 NXP 6 /dts-v1/; 11 compatible = "fsl,imx943-evk", "fsl,imx94"; 23 bt_sco_codec: bt-sco-codec { 24 compatible = "linux,bt-sco"; 25 #sound-dai-cells = <1>; 29 stdout-path = &lpuart1; 33 compatible = "dmic-codec"; 34 #sound-dai-cells = <0>; [all …]
|
| H A D | imx95-19x19-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/pwm/pwm.h> 9 #include <dt-bindings/usb/pd.h> 15 #define BRD_SM_CTRL_SD3_WAKE 0x8000 /* PCAL6408A-0 */ 16 #define BRD_SM_CTRL_PCIE1_WAKE 0x8001 /* PCAL6408A-4 */ 17 #define BRD_SM_CTRL_BT_WAKE 0x8002 /* PCAL6408A-5 */ 18 #define BRD_SM_CTRL_PCIE2_WAKE 0x8003 /* PCAL6408A-6 */ 19 #define BRD_SM_CTRL_BUTTON 0x8004 /* PCAL6408A-7 */ 23 compatible = "fsl,imx95-19x19-evk", "fsl,imx95"; [all …]
|
| /linux/Documentation/devicetree/bindings/net/bluetooth/ |
| H A D | brcm,bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 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 - items: 19 - enum: 20 - infineon,cyw43439-bt 21 - const: brcm,bcm4329-bt 22 - enum: [all …]
|
| /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 - 67 struct bt_sock bt; global() member [all...] |
| /linux/sound/soc/mediatek/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 210 tristate "ALSA BT SCO CVSD/MSBC Driver" 214 BT encoded data to/from BT firmware.
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| H A D | mci.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 17 #include <linux/dma-mapping.h> 31 if (list_empty(&mci->info)) in ath_mci_find_profile() 34 list_for_each_entry(entry, &mci->info, list) { in ath_mci_find_profile() 35 if (entry->conn_handle == info->conn_handle) in ath_mci_find_profile() 48 if ((mci->num_sco == ATH_MCI_MAX_SCO_PROFILE) && in ath_mci_add_profile() 49 (info->type == MCI_GPM_COEX_PROFILE_VOICE)) in ath_mci_add_profile() 52 if (((NUM_PROF(mci) - mci->num_sco) == ATH_MCI_MAX_ACL_PROFILE) && in ath_mci_add_profile() 53 (info->type != MCI_GPM_COEX_PROFILE_VOICE)) in ath_mci_add_profile() 62 list_add_tail(&entry->list, &mci->info); in ath_mci_add_profile() [all …]
|
| /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 …]
|
| /linux/drivers/staging/rtl8723bs/hal/ |
| H A D | HalBtc8723b2Ant.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 14 pCoexDm->psTdmaDuAdjType = val; \ 29 u8 btRssiState = pCoexSta->preBtRssiState; in halbtc8723b2ant_BtRssiState() 31 btRssi = pCoexSta->btRssi; in halbtc8723b2ant_BtRssiState() 35 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_LOW) || in halbtc8723b2ant_BtRssiState() 36 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_STAY_LOW) in halbtc8723b2ant_BtRssiState() 52 return pCoexSta->preBtRssiState; in halbtc8723b2ant_BtRssiState() 56 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_LOW) || in halbtc8723b2ant_BtRssiState() 57 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_STAY_LOW) in halbtc8723b2ant_BtRssiState() [all …]
|
| H A D | HalBtc8723b1Ant.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 23 u8 btRssiState = pCoexSta->preBtRssiState; in halbtc8723b1ant_BtRssiState() 25 btRssi = pCoexSta->btRssi; in halbtc8723b1ant_BtRssiState() 29 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_LOW) || in halbtc8723b1ant_BtRssiState() 30 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_STAY_LOW) in halbtc8723b1ant_BtRssiState() 45 return pCoexSta->preBtRssiState; in halbtc8723b1ant_BtRssiState() 48 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_LOW) || in halbtc8723b1ant_BtRssiState() 49 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_STAY_LOW) in halbtc8723b1ant_BtRssiState() 56 (pCoexSta->preBtRssiState == BTC_RSSI_STATE_MEDIUM) || in halbtc8723b1ant_BtRssiState() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2014, 2022 Intel Corporation. All rights reserved. 12 #include "iwl-io.h" 13 #include "iwl-agn-hw.h" 14 #include "iwl-trans.h" 15 #include "iwl-modparams.h" 31 if (WARN_ONCE(test_bit(STATUS_SCAN_HW, &priv->status), in iwlagn_send_tx_power() 33 return -EAGAIN; in iwlagn_send_tx_power() 36 tx_power_cmd.global_lmt = (s8)(2 * priv->tx_power_user_lmt); in iwlagn_send_tx_power() 38 if (tx_power_cmd.global_lmt > priv->nvm_data->max_tx_pwr_half_dbm) { in iwlagn_send_tx_power() [all …]
|
| H A D | dev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2003 - 2014, 2020, 2023 Intel Corporation. All rights reserved. 23 #include "iwl-nvm-utils.h" 24 #include "iwl-csr.h" 25 #include "iwl-debug.h" 26 #include "iwl-agn-hw.h" 27 #include "iwl-op-mode.h" 28 #include "fw/notif-wait.h" 29 #include "iwl-trans.h" 36 /* CT-KILL constants */ [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btmtksdio.c | 1 // SPDX-License-Identifier: GPL-2.0 159 hlen = sizeof(*hdr) + wmt_params->dlen; in mtk_hci_wmt_sync() 161 return -EINVAL; in mtk_hci_wmt_sync() 165 return -ENOMEM; in mtk_hci_wmt_sync() 167 hdr = &wc->hdr; in mtk_hci_wmt_sync() 168 hdr->dir = 1; in mtk_hci_wmt_sync() 169 hdr->op = wmt_params->op; in mtk_hci_wmt_sync() 170 hdr->dlen = cpu_to_le16(wmt_params->dlen + 1); in mtk_hci_wmt_sync() 171 hdr->flag = wmt_params->flag; in mtk_hci_wmt_sync() 172 memcpy(wc->data, wmt_params->data, wmt_params->dlen); in mtk_hci_wmt_sync() [all …]
|