/linux-6.14.4/Documentation/devicetree/bindings/net/bluetooth/ |
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 <[email protected]> 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-6.14.4/Documentation/sound/soc/ |
D | dpcm.rst | 2 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 …]
|
/linux-6.14.4/sound/soc/mediatek/mt2701/ |
D | mt2701-cs42448.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt2701-cs42448.c -- MT2701 CS42448 ALSA SoC machine driver 16 #include "mt2701-afe-common.h" 19 int i2s1_in_mux; 34 static int mt2701_cs42448_i2sin1_mux_get(struct snd_kcontrol *kcontrol, in mt2701_cs42448_i2sin1_mux_get() 40 ucontrol->value.integer.value[0] = priv->i2s1_in_mux; in mt2701_cs42448_i2sin1_mux_get() 44 static int mt2701_cs42448_i2sin1_mux_set(struct snd_kcontrol *kcontrol, in mt2701_cs42448_i2sin1_mux_set() 50 if (ucontrol->value.integer.value[0] == priv->i2s1_in_mux) in mt2701_cs42448_i2sin1_mux_set() 53 switch (ucontrol->value.integer.value[0]) { in mt2701_cs42448_i2sin1_mux_set() 55 gpiod_set_value(priv->i2s1_in_mux_sel_1, 0); in mt2701_cs42448_i2sin1_mux_set() [all …]
|
D | mt2701-afe-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include "mt2701-afe-common.h" 18 #include "mt2701-afe-clock-ctrl.h" 19 #include "../common/mtk-afe-platform-driver.h" 20 #include "../common/mtk-afe-fe-dai.h" 36 unsigned int rate; 37 unsigned int regvalue; 61 static const unsigned int mt2701_afe_backup_list[] = { 82 static int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num) in mt2701_dai_num_to_i2s() 84 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_dai_num_to_i2s() [all …]
|
/linux-6.14.4/sound/soc/mediatek/mt8183/ |
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 …]
|
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" 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 …]
|
/linux-6.14.4/arch/arm/boot/dts/rockchip/ |
D | rk3288-veyron-broadcom-bluetooth.dtsi | 1 // 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];
|
/linux-6.14.4/sound/soc/hisilicon/ |
D | hi6210-i2s.c | 1 // 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) 19 #include <sound/pcm.h> 29 #include <linux/reset-controller.h> 31 #include "hi6210-i2s.h" 37 int clocks; 43 int clk_rate; 45 int rate; 46 int format; [all …]
|
/linux-6.14.4/sound/soc/mediatek/mt8186/ |
D | mt8186-mt6366.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt8186-mt6366.c 4 // -- MT8186-MT6366 ALSA SoC machine driver 25 #include "../common/mtk-afe-platform-driver.h" 26 #include "../common/mtk-dsp-sof-common.h" 27 #include "../common/mtk-soc-card.h" 28 #include "../common/mtk-soundcard-driver.h" 29 #include "mt8186-afe-common.h" 30 #include "mt8186-afe-clk.h" 31 #include "mt8186-afe-gpio.h" [all …]
|
/linux-6.14.4/drivers/bluetooth/ |
D | hci_bcm.c | 1 // 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 …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | wl1273.c | 1 // 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 …]
|
D | wm8753.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8753.c -- WM8753 ALSA Soc Audio driver 5 * Copyright 2003-11 Wolfson Microelectronics PLC. 9 * The WM8753 is a low power, high quality stereo codec with integrated PCM 12 * Dual DAI:- 14 * This driver support 2 DAI PCM's. This makes the default PCM available for 15 * HiFi audio (e.g. MP3, ogg) playback/capture and the other PCM available for 18 * Please note that the voice PCM can be connected directly to a Bluetooth 23 * Fast DAI switching:- 26 * an alsa kcontrol. This allows the PCM to remain open. [all …]
|
D | ak4641.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ak4641.c -- AK4641 ALSA Soc Audio driver 20 #include <sound/pcm.h> 52 unsigned int sysclk; 53 int deemph; 54 int playback_fs; 68 static const int deemph_settings[] = {44100, 0, 48000, 32000}; 70 static int ak4641_set_deemph(struct snd_soc_component *component) in ak4641_set_deemph() 73 int i, best = 0; in ak4641_set_deemph() 77 if (ak4641->deemph && deemph_settings[i] != 0 && in ak4641_set_deemph() [all …]
|
/linux-6.14.4/sound/soc/samsung/ |
D | aries_wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <linux/input-event-codes.h> 20 unsigned int modem_dai_fmt; 45 static int aries_extcon_notifier(struct notifier_block *this, in aries_extcon_notifier() 90 static irqreturn_t headset_det_irq_thread(int irq, void *data) in headset_det_irq_thread() 93 int ret = 0; in headset_det_irq_thread() 94 int time_left_ms = 300; in headset_det_irq_thread() 95 int adc; in headset_det_irq_thread() 98 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread() 101 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread() [all …]
|
/linux-6.14.4/sound/soc/intel/catpt/ |
D | pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 81 type = cpu_dai->driver->id; in catpt_get_stream_template() 86 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in catpt_get_stream_template() 90 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in catpt_get_stream_template() 105 spin_lock(&cdev->list_lock); in catpt_stream_find() 106 list_for_each_entry(pos, &cdev->stream_list, node) { in catpt_stream_find() 107 if (pos->info.stream_hw_id == stream_hw_id) { in catpt_stream_find() 113 spin_unlock(&cdev->list_lock); in catpt_stream_find() 122 memcpy_fromio(&pos, cdev->lpe_ba + stream->info.read_pos_regaddr, in catpt_stream_read_position() 135 offset = stream->info.volume_regaddr[channel]; in catpt_stream_volume() [all …]
|
/linux-6.14.4/drivers/media/i2c/ |
D | tda1997x.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/v4l2-dv-timings.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-dv-timings.h> 22 #include <media/v4l2-event.h> 23 #include <media/v4l2-fwnode.h> 27 #include <sound/pcm.h> 31 #include <dt-bindings/media/tda1997x.h> 38 static int debug; [all …]
|
/linux-6.14.4/sound/soc/amd/ |
D | acp-pcm-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * AMD ALSA SoC PCM Driver for ACP 2.x 5 * Copyright 2014-2015 Advanced Micro Devices, Inc. 129 * Configure a given dma channel parameters - enable/disable, 170 acp_reg_write(descr_info->src, acp_mmio, mmACP_SRBM_Targ_Idx_Data); in config_dma_descriptor_in_sram() 173 acp_reg_write(descr_info->dest, acp_mmio, mmACP_SRBM_Targ_Idx_Data); in config_dma_descriptor_in_sram() 177 acp_reg_write(descr_info->xfer_val, acp_mmio, mmACP_SRBM_Targ_Idx_Data); in config_dma_descriptor_in_sram() 183 int ret; in pre_config_reset() 200 * system memory <-> ACP SRAM 203 u32 size, int direction, in set_acp_sysmem_dma_descriptors() [all …]
|
/linux-6.14.4/drivers/media/pci/cx18/ |
D | cx18-streams.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-streams.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-fileops.h" 14 #include "cx18-mailbox.h" 15 #include "cx18-i2c.h" 16 #include "cx18-queue.h" 17 #include "cx18-ioctl.h" 18 #include "cx18-streams.h" [all …]
|
/linux-6.14.4/drivers/net/wireless/broadcom/b43/ |
D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 Copyright (c) 2005 Martin Langer <martin-[email protected]> 8 Copyright (c) 2005-2009 Michael Buesch <[email protected]> 11 Copyright (c) 2010-2011 Rafał Miłecki <[email protected]> 17 driver Copyright(c) 2003 - 2004 Intel Corporation. 31 #include <linux/dma-mapping.h> 75 static int modparam_bad_frames_preempt; 76 module_param_named(bad_frames_preempt, modparam_bad_frames_preempt, int, 0444); 84 static int modparam_hwpctl; 85 module_param_named(hwpctl, modparam_hwpctl, int, 0444); [all …]
|
/linux-6.14.4/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * and transfers them over an internal MAI (multi-channel audio 53 #include <sound/hdmi-codec.h> 117 struct drm_display_info *display = &vc4_hdmi->connector.display_info; in vc4_hdmi_supports_scrambling() 119 lockdep_assert_held(&vc4_hdmi->mutex); in vc4_hdmi_supports_scrambling() 121 if (!display->is_hdmi) in vc4_hdmi_supports_scrambling() 124 if (!display->hdmi.scdc.supported || in vc4_hdmi_supports_scrambling() 125 !display->hdmi.scdc.scrambling.supported) in vc4_hdmi_supports_scrambling() 132 unsigned int bpc, in vc4_hdmi_mode_needs_scrambling() 140 static int vc4_hdmi_debugfs_regs(struct seq_file *m, void *unused) in vc4_hdmi_debugfs_regs() [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/nvidia/ |
D | tegra210-smaug.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 12 compatible = "google,smaug-rev8", "google,smaug-rev7", 13 "google,smaug-rev6", "google,smaug-rev5", 14 "google,smaug-rev4", "google,smaug-rev3", 15 "google,smaug-rev2", "google,smaug-rev1", 25 stdout-path = "serial0:115200n8"; [all …]
|