Home
last modified time | relevance | path

Searched +full:loongson +full:- +full:audio (Results 1 – 14 of 14) sorted by relevance

/linux/Documentation/devicetree/bindings/sound/
H A Dloongson,ls-audio-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/loongson,ls-audio-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson 7axxx/2kxxx ASoC audio sound card driver
10 - Yingkun Meng <mengyingkun@loongson.cn>
13 The binding describes the sound card present in loongson
15 which uses Loongson I2S controller to transfer the audio data.
19 const: loongson,ls-audio-card
23 description: User specified audio sound card name
[all …]
/linux/Documentation/devicetree/bindings/dma/
H A Dloongson,ls1b-apbdma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dma/loongson,ls1b-apbdma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-1 APB DMA Controller
10 - Keguang Zhang <keguang.zhang@gmail.com>
13 Loongson-1 APB DMA controller provides 3 independent channels for
14 peripherals such as NAND, audio playback and capture.
19 - const: loongson,ls1b-apbdma
20 - items:
[all …]
/linux/sound/soc/loongson/
H A Dloongson_card.c1 // SPDX-License-Identifier: GPL-2.0
3 // Loongson ASoC Audio Machine driver
5 // Copyright (C) 2023 Loongson Technology Corporation Limited
6 // Author: Yingkun Meng <mengyingkun@loongson.cn>
11 #include <sound/soc-acpi.h>
27 struct loongson_card_data *ls_card = snd_soc_card_get_drvdata(rtd->card); in loongson_card_hw_params()
32 if (!ls_card->mclk_fs) in loongson_card_hw_params()
35 mclk = ls_card->mclk_fs * params_rate(params); in loongson_card_hw_params()
38 dev_err(codec_dai->dev, "cpu_dai clock not set\n"); in loongson_card_hw_params()
44 dev_err(codec_dai->dev, "codec_dai clock not set\n"); in loongson_card_hw_params()
[all …]
/linux/drivers/clk/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
59 Low-Noise JESD204B Compliant Clock Jitter Cleaner With Dual Loop PLLs
68 generators of audio clocks.
81 This driver supports Maxim 9485 Programmable Audio Clock Generator
88 These multi-function devices have two fixed-rate oscillators, clocked at 32KHz each.
98 multi-function device has one fixed-rate oscillator, clocked
129 be pre-programmed to support other configurations and features not yet
178 This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
196 For example, the CDCE925 contains two PLLs with spread-spectrum
206 tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
[all …]
/linux/sound/soc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # SoC audio configuration
7 tristate "ALSA for SoC audio support"
21 This ASoC audio support can also be built as a module. If so, the module
22 will be called snd-soc-core.
61 test cases against soc-topology.c API. This should be primarily used
101 source "sound/soc/loongson/Kconfig"
132 # generic frame-work
/linux/arch/mips/pci/
H A Dfixup-lemote2f.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <loongson.h>
37 {0, PCIA, 0, 0, 0}, /* 17: RTL8110-0 */
38 {0, PCIB, 0, 0, 0}, /* 18: RTL8110-1 */
40 {0, PCID, 0, 0, 0}, /* 20: 3-ports nec usb */
41 {0, PCIA, PCIB, PCIC, PCID}, /* 21: PCI-SLOT */
54 if ((PCI_SLOT(dev->devfn) != PCI_IDSEL_CS5536) in pcibios_map_irq()
55 && (PCI_SLOT(dev->devfn) < 32)) { in pcibios_map_irq()
63 } else if (PCI_SLOT(dev->devfn) == PCI_IDSEL_CS5536) { /* cs5536 */ in pcibios_map_irq()
64 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq()
[all …]
H A Dfixup-fuloong2e.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <loongson.h>
23 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq()
55 /* System clock is 48-MHz Oscillator. */ in loongson2e_nec_fixup()
63 sb_slot = PCI_SLOT(pdev->devfn); in loongson2e_686b_func0_fixup()
84 * enable time-out timer in loongson2e_686b_func0_fixup()
120 /* route PIRQA-D irq */ in loongson2e_686b_func0_fixup()
121 pci_write_config_byte(pdev, 0x55, 0x90); /* bit 7-4, PIRQA */ in loongson2e_686b_func0_fixup()
122 pci_write_config_byte(pdev, 0x56, 0xba); /* bit 7-4, PIRQC; */ in loongson2e_686b_func0_fixup()
123 /* 3-0, PIRQB */ in loongson2e_686b_func0_fixup()
[all …]
/linux/drivers/spi/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 dynamic device discovery; some are even write-only or read-only.
17 chips, analog to digital (and d-to-a) converters, and more.
44 If your system has an master-capable SPI controller (which
56 by providing a high-level interface to send memory-like commands.
66 This enables support for SPI-NAND mode on the Airoha NAND
68 is implemented as a SPI-MEM controller.
107 to a single device like spi-nor (nvram), input device controller
166 supports spi-mem interface.
245 this code to manage the per-word or per-transfer accesses to the
[all …]
/linux/sound/pci/hda/
H A Dhda_intel.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * hda_intel.c - Implementation of primary alsa driver code base
5 * for Intel HD Audio.
27 #include <linux/dma-mapping.h>
50 #include <sound/intel-dsp-config.h>
53 #include <linux/apple-gmux.h>
73 /* Defines for ATI HD Audio support in SB450 south bridge */
108 static int position_fix[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
109 static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
110 static int probe_mask[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
[all …]
H A Dpatch_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * patch_hdmi.c - routines for HDMI/DisplayPort codecs
6 * Copyright(c) 2008-2010 Intel Corporation
43 MODULE_PARM_DESC(enable_acomp, "Enable audio component binding (default=yes)");
82 struct hdmi_pcm *pcm; /* pointer to spec->pcm_rec[n] dynamically*/
83 int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */
90 bool chmap_set; /* channel-map override by ALSA API? */
91 unsigned char chmap[8]; /* ALSA API channel-map */
127 SILENT_STREAM_KAE, /* use standard HDA Keep-Alive */
157 struct mutex bind_lock; /* for audio component binding */
[all …]
/linux/drivers/gpio/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 this symbol, but new drivers should use the generic gpio-regmap
57 non-sleeping contexts. They can make bitbanged serial protocols
126 Enables support for the idio-16 library functions. The idio-16 library
128 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.
130 If built as a module its name will be gpio-idio-16.
136 tristate "GPIO driver for 74xx-ICs with MMIO access"
140 Say yes here to support GPIO functionality for 74xx-compatible ICs
155 If driver is built as a module it will be called gpio-altera.
316 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
[all …]
/linux/sound/hda/
H A Dhdac_device.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HD-audio codec core device
28 * snd_hdac_device_init - initialize the HD-audio codec base device
48 dev = &codec->dev; in snd_hdac_device_init()
50 dev->parent = bus->dev; in snd_hdac_device_init()
51 dev->bus = &snd_hda_bus_type; in snd_hdac_device_init()
52 dev->release = default_release; in snd_hdac_device_init()
53 dev->groups = hdac_dev_attr_groups; in snd_hdac_device_init()
57 codec->bus = bus; in snd_hdac_device_init()
58 codec->addr = addr; in snd_hdac_device_init()
[all …]
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_regs.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2023 Loongson Technology Corporation Limited
164 * In gross, LSDC_CRTC1_XXX_REG - LSDC_CRTC0_XXX_REG = 0x10, but not all of
228 * FBRF0: CRTC-0 reading from its framebuffer finished.
229 * FBRF1: CRTC-1 reading from its framebuffer finished.
231 * +-------+--------------------------+-------+--------+--------+-------+
233 * +-------+--------------------------+-------+--------+--------+-------+
235 * +-------+--------------------------+-------+--------+--------+-------+
237 * +-------+-------+-------+------+--------+--------+--------+--------+
239 * +-------+-------+-------+------+--------+--------+--------+--------+
[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 …]