Searched +full:i2s +full:- +full:rx +full:- +full:route (Results 1 – 13 of 13) sorted by relevance
/linux/Documentation/devicetree/bindings/sound/ |
H A D | rockchip,i2s-tdm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip I2S/TDM Controller 10 The Rockchip I2S/TDM Controller is a Time Division Multiplexed 15 - Nicolas Frattaroli <frattaroli.nicolas@gmail.com> 18 - $ref: dai-common.yaml# 23 - rockchip,px30-i2s-tdm 24 - rockchip,rk1808-i2s-tdm [all …]
|
H A D | rockchip,rk3576-sai.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,rk3576-sai.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 controller that implements the I2S, I2S/TDM and the PDM standards. 14 - Nicolas Frattaroli <nicolas.frattaroli@collabora.com> 17 - $ref: dai-common.yaml# 21 const: rockchip,rk3576-sai 33 dma-names: 36 - enum: [tx, rx] [all …]
|
/linux/sound/soc/tegra/ |
H A D | tegra210_i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. 5 // tegra210_i2s.c - Tegra210 I2S driver 33 * is required to select i2s4b for it to be functional for I2S 51 static void tegra210_i2s_set_slot_ctrl(struct tegra210_i2s *i2s, in tegra210_i2s_set_slot_ctrl() argument 56 regmap_write(i2s->regmap, TEGRA210_I2S_SLOT_CTRL + i2s->soc_data->i2s_ctrl_offset, in tegra210_i2s_set_slot_ctrl() 57 total_slots - 1); in tegra210_i2s_set_slot_ctrl() 58 regmap_write(i2s->regmap, TEGRA210_I2S_TX_SLOT_CTRL + i2s->soc_data->tx_offset, in tegra210_i2s_set_slot_ctrl() 60 regmap_write(i2s->regmap, TEGRA210_I2S_RX_SLOT_CTRL, rx_slot_mask); in tegra210_i2s_set_slot_ctrl() 66 struct tegra210_i2s *i2s = dev_get_drvdata(dev); in tegra210_i2s_set_clock_rate() local [all …]
|
/linux/sound/soc/rockchip/ |
H A D | rockchip_i2s_tdm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // ALSA SoC Audio Layer - Rockchip I2S/TDM Controller driver 5 // Author: Sugar Zhang <sugar.zhang@rock-chips.com> 9 #include <linux/clk-provider.h> 23 #define DRV_NAME "rockchip-i2s-tdm" 92 clk_disable_unprepare(i2s_tdm->mclk_tx); in i2s_tdm_disable_unprepare_mclk() 93 clk_disable_unprepare(i2s_tdm->mclk_rx); in i2s_tdm_disable_unprepare_mclk() 97 * i2s_tdm_prepare_enable_mclk - prepare to enable all mclks, disable them on 110 ret = clk_prepare_enable(i2s_tdm->mclk_tx); in i2s_tdm_prepare_enable_mclk() 113 ret = clk_prepare_enable(i2s_tdm->mclk_rx); in i2s_tdm_prepare_enable_mclk() [all …]
|
H A D | rockchip_sai.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ALSA SoC Audio Layer - Rockchip SAI Controller driver 25 #define DRV_NAME "rockchip-sai" 79 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in rockchip_sai_stream_valid() 80 sai->has_playback) in rockchip_sai_stream_valid() 83 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && in rockchip_sai_stream_valid() 84 sai->has_capture) in rockchip_sai_stream_valid() 94 if (sai->is_master_mode || sai->version < SAI_VER_2311) in rockchip_sai_fsync_lost_detect() 97 regmap_read(sai->regmap, SAI_FSCR, &fw); in rockchip_sai_fsync_lost_detect() 100 regmap_update_bits(sai->regmap, SAI_INTCR, in rockchip_sai_fsync_lost_detect() [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | sof_maxim_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <sound/soc-acpi.h> 10 #include <sound/soc-dai.h> 11 #include <sound/soc-dapm.h> 14 #include "../common/soc-intel-quirks.h" 37 for_each_acpi_dev_match(adev, hid, NULL, -1) in get_num_codecs() 77 * According to the definition of 'DAI Sel Mux' mixer in max98373.c, rx mask 78 * should choose two channels from TDM slots, the LSB of rx mask is left channel 82 unsigned int rx; member 84 {.rx = 0x3}, [all …]
|
/linux/sound/soc/codecs/ |
H A D | hdmi-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/ 16 #include <sound/hdmi-codec.h> 22 #define HDMI_CODEC_CHMAP_IDX_UNKNOWN -1 65 /* Channel maps for multi-channel playbacks, up to 8 n_ch */ 297 SND_SOC_DAPM_OUTPUT("RX"), 308 uinfo->type = SNDRV_CTL_ELEM_TYPE_BYTES; in hdmi_eld_ctl_info() 309 uinfo->count = sizeof_field(struct hdmi_codec_priv, eld); in hdmi_eld_ctl_info() 320 memcpy(ucontrol->value.bytes.data, hcp->eld, sizeof(hcp->eld)); in hdmi_eld_ctl_get() 347 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_eld_chmap() [all …]
|
H A D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" 56 /* Nr of FIR/IIR-coeff banks in ANC-block */ 114 /* Private data for AB8500 device-driver */ [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588s-orangepi-5.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 10 #include <dt-bindings/usb/pd.h> 20 stdout-path = "serial2:1500000n8"; 23 adc-keys { [all …]
|
H A D | rk3576.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rockchip,rk3576-cru.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rockchip,rk3576-power.h> 12 #include <dt-bindings/reset/rockchip,rk3576-cru.h> 13 #include <dt-bindings/soc/rockchip,boot-mode.h> 18 interrupt-parent = <&gic>; [all …]
|
/linux/drivers/media/i2c/ |
H A D | tvaudio.c | 14 * Copyright(c) 2005-2008 Mauro Carvalho Chehab 15 * - Some cleanups, code fixes, etc 16 * - Convert it to V4L2 API 21 * debug - set to 1 if you'd like to see debug messages 40 #include <media/v4l2-device.h> 41 #include <media/v4l2-ctrls.h> 43 /* ---------------------------------------------------------------------- */ 53 #define UNSET (-1U) 55 /* ---------------------------------------------------------------------- */ 97 /* functions to convert the values (v4l -> chip) */ [all …]
|
/linux/sound/soc/ |
H A D | soc-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-core.c -- ALSA SoC Audio Layer 11 // with code, comments and ideas from :- 18 // o Support TDM on PCM and I2S 40 #include <sound/soc-dpcm.h> 41 #include <sound/soc-topology.h> 42 #include <sound/soc-link.h> 76 return sysfs_emit(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show() 86 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_store() 110 return attr->mode; /* always visible */ in soc_dev_attr_is_visible() [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|