Home
last modified time | relevance | path

Searched +full:i2s +full:- +full:tx +full:- +full:route (Results 1 – 16 of 16) sorted by relevance

/linux/Documentation/devicetree/bindings/sound/
H A Drockchip,i2s-tdm.yaml1 # 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 Drockchip,rk3576-sai.yaml1 # 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 Dtegra210_i2s.c1 // 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 Drockchip_i2s_tdm.c1 // 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 Drockchip_sai.c1 // 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/codecs/
H A Dhdmi-codec.c1 // 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 */
296 SND_SOC_DAPM_OUTPUT("TX"),
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 Dab8500-codec.c1 // 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 …]
H A Daw88261.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // aw88261.c -- AW88261 ALSA SoC Audio driver
29 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw88261_dev_set_volume()
33 volume = min((value + vol_desc->init_volume), (unsigned int)AW88261_MUTE_VOL); in aw88261_dev_set_volume()
36 regmap_read(aw_dev->regmap, AW88261_SYSCTRL2_REG, &reg_value); in aw88261_dev_set_volume()
40 dev_dbg(aw_dev->dev, "value 0x%x , real_value:0x%x", value, real_value); in aw88261_dev_set_volume()
42 regmap_write(aw_dev->regmap, AW88261_SYSCTRL2_REG, real_value); in aw88261_dev_set_volume()
47 struct aw_volume_desc *desc = &aw_dev->volume_desc; in aw88261_dev_fade_in()
48 int fade_in_vol = desc->ctl_volume; in aw88261_dev_fade_in()
49 int fade_step = aw_dev->fade_step; in aw88261_dev_fade_in()
[all …]
/linux/sound/soc/intel/boards/
H A Dsof_maxim_common.c1 // 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()
89 * The tx mask indicates which channel(s) contains output IV-sense data and
90 * others should set to Hi-Z. Here we get the channel number from codec's ACPI
91 * device property "maxim,vmon-slot-no" and "maxim,imon-slot-no" to generate the
99 if (device_property_read_u32(dev, "maxim,vmon-slot-no", &vmon_slot)) in max_98373_get_tx_mask()
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588s-orangepi-5.dtsi1 // 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 Drk3576.dtsi1 // 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/sound/pci/ice1712/
H A Dice1724.c1 // SPDX-License-Identifier: GPL-2.0-or-later
48 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
86 /* check whether the clock mode is spdif-in */
97 return (!ice->is_spdif_master(ice)) && PRO_RATE_LOCKED; in is_pro_rate_locked()
116 dev_dbg(ice->card->dev, "snd_vt1724_ac97_ready: timeout\n"); in snd_vt1724_ac97_ready()
126 dev_dbg(ice->card->dev, "snd_vt1724_ac97_wait_bit: timeout\n"); in snd_vt1724_ac97_wait_bit()
127 return -EIO; in snd_vt1724_ac97_wait_bit()
134 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_write()
139 old_cmd |= ac97->num; in snd_vt1724_ac97_write()
148 struct snd_ice1712 *ice = ac97->private_data; in snd_vt1724_ac97_read()
[all …]
/linux/drivers/media/i2c/
H A Dtvaudio.c14 * 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 Dsoc-core.c1 // 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 DMAINTAINERS5 ---------------------------------------------------
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 …]
/linux/sound/pci/hda/
H A Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
39 /* extra amp-initialization sequence types */
148 struct alc_spec *spec = codec->spec; in coef_mutex_lock()
151 mutex_lock(&spec->coef_mutex); in coef_mutex_lock()
156 struct alc_spec *spec = codec->spec; in coef_mutex_unlock()
158 mutex_unlock(&spec->coef_mutex); in coef_mutex_unlock()
210 if (val != -1) in __alc_update_coefex_idx()
230 struct alc_spec *spec = codec->spec; in alc_get_coef0()
232 if (!spec->coef0) in alc_get_coef0()
233 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0()
[all …]