| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | loongson,ls-audio-card.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/sound/soc/loongson/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 2 menu "SoC Audio for Loongson CPUs" 6 tristate "Loongson I2S-PCI Device Driver" 11 Loongson I2S controller. 13 The controller is found in loongson bridge chips or SoCs, 17 tristate "Loongson Sound Card Driver" 21 Say Y or M if you want to add support for SoC audio using 22 loongson I2S controller. 24 The driver add support for ALSA SoC Audio support using 25 loongson I2S controller.
|
| D | loongson_card.c | 1 // 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> 26 struct snd_soc_pcm_runtime *rtd = substream->private_data; in loongson_card_hw_params() 29 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() 33 mclk = ls_card->mclk_fs * params_rate(params); in loongson_card_hw_params() 37 dev_err(codec_dai->dev, "cpu_dai clock not set\n"); in loongson_card_hw_params() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "HD-Audio" 15 tristate "HD Audio PCI" 21 Audio" (Azalia) and its compatible devices. 23 This option enables the HD-audio controller. Don't forget 27 will be called snd-hda-intel. 30 tristate "NVIDIA Tegra HD Audio" 38 This options enables support for the HD Audio controller 39 present in some NVIDIA Tegra SoCs, used to communicate audio 43 will be called snd-hda-tegra. [all …]
|
| D | hda_loongson.c | 3 * hda_loongson.c - Implementation of primary alsa driver code base 4 * for Intel HD Audio. 25 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. 43 #include <linux/dma-mapping.h> 60 #include <loongson.h> 70 static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 72 static int jackpoll_ms[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1200}; 74 static int enable_msi = -1; 76 static bool beep_mode[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 81 MODULE_PARM_DESC(index, "Index value for Intel HD audio interface."); [all …]
|
| D | hda_controller.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Common functionality for the alsa driver code base for HD Audio. 21 /* bits 0-7 are used for indicating driver type */ 32 #define AZX_DCAPS_CTX_WORKAROUND (1 << 15) /* X-Fi workaround */ 34 #define AZX_DCAPS_AMD_WORKAROUND (1 << 17) /* AMD-specific workaround */ 46 #define AZX_DCAPS_NO_MSI64 (1 << 29) /* Stick to 32-bit MSIs */ 48 #define AZX_DCAPS_LS2X_WORKAROUND (1 << 31) /* Loongson-2H workaround */ 68 /* For Loongson */ 72 #define azx_stream(dev) (&(dev)->core) 146 unsigned int uc_buffer:1; /* non-cached pages for stream buffers */ [all …]
|
| D | patch_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * patch_hdmi.c - routines for HDMI/DisplayPort codecs 6 * Copyright(c) 2008-2010 Intel Corporation. All rights reserved. 43 MODULE_PARM_DESC(enable_acomp, "Enable audio component binding (default=yes)"); 77 struct hdmi_pcm *pcm; /* pointer to spec->pcm_rec[n] dynamically*/ 78 int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */ 84 bool chmap_set; /* channel-map override by ALSA API? */ 85 unsigned char chmap[8]; /* ALSA API channel-map */ 145 struct mutex bind_lock; /* for audio component binding */ 161 bool nv_dp_workaround; /* workaround DP audio infoframe for Nvidia */ [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/ |
| D | Kconfig | 1 # 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 …]
|
| /kernel/linux/linux-6.6/sound/soc/ |
| D | Kconfig | 1 # 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 93 source "sound/soc/loongson/Kconfig" 121 # generic frame-work
|
| /kernel/linux/linux-5.10/arch/mips/pci/ |
| D | fixup-lemote2f.c | 1 // 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 …]
|
| D | fixup-fuloong2e.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/mips/pci/ |
| D | fixup-lemote2f.c | 1 // 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 …]
|
| D | fixup-fuloong2e.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | Kconfig | 1 # 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. 145 supports spi-mem interface. 224 this code to manage the per-word or per-transfer accesses to the 254 Flash over 1/2/4-bit wide bus. Enable this option if you have a 266 Flash over up to 8-bit wide bus. Enable this option if you have a 274 This enables dedicated general purpose SPI/Microwire1-compatible [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | Kconfig | 1 # 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 118 Enables support for the idio-16 library functions. The idio-16 library 120 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16. 122 If built as a module its name will be gpio-idio-16. 128 tristate "GPIO driver for 74xx-ICs with MMIO access" 132 Say yes here to support GPIO functionality for 74xx-compatible ICs 149 If driver is built as a module it will be called gpio-altera. 310 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)" [all …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | hda_intel.c | 1 // 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> 51 #include <sound/intel-dsp-config.h> 54 #include <linux/apple-gmux.h> 74 /* Defines for ATI HD Audio support in SB450 south bridge */ 109 static int position_fix[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 110 static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 111 static int probe_mask[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; [all …]
|
| D | patch_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * patch_hdmi.c - routines for HDMI/DisplayPort codecs 6 * Copyright(c) 2008-2010 Intel Corporation. All rights reserved. 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 …]
|
| /kernel/linux/linux-6.6/sound/hda/ |
| D | hdac_device.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio codec core device 27 * snd_hdac_device_init - initialize the HD-audio codec base device 47 dev = &codec->dev; in snd_hdac_device_init() 49 dev->parent = bus->dev; in snd_hdac_device_init() 50 dev->bus = &snd_hda_bus_type; in snd_hdac_device_init() 51 dev->release = default_release; in snd_hdac_device_init() 52 dev->groups = hdac_dev_attr_groups; in snd_hdac_device_init() 56 codec->bus = bus; in snd_hdac_device_init() 57 codec->addr = addr; in snd_hdac_device_init() [all …]
|
| /kernel/linux/linux-5.10/sound/hda/ |
| D | hdac_device.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio codec core device 27 * snd_hdac_device_init - initialize the HD-audio codec base device 47 dev = &codec->dev; in snd_hdac_device_init() 49 dev->parent = bus->dev; in snd_hdac_device_init() 50 dev->bus = &snd_hda_bus_type; in snd_hdac_device_init() 51 dev->release = default_release; in snd_hdac_device_init() 52 dev->groups = hdac_dev_attr_groups; in snd_hdac_device_init() 56 codec->bus = bus; in snd_hdac_device_init() 57 codec->addr = addr; in snd_hdac_device_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | radeon_drv.c | 57 * - 2.0.0 - initial interface 58 * - 2.1.0 - add square tiling interface 59 * - 2.2.0 - add r6xx/r7xx const buffer support 60 * - 2.3.0 - add MSPOS + 3D texture + r500 VAP regs 61 * - 2.4.0 - add crtc id query 62 * - 2.5.0 - add get accel 2 to work around ddx breakage for evergreen 63 * - 2.6.0 - add tiling config query (r6xx+), add initial HiZ support (r300->r500) 64 * 2.7.0 - fixups for r600 2D tiling support. (no external ABI change), add eg dyn gpr regs 65 …* 2.8.0 - pageflip support, r500 US_FORMAT regs. r500 ARGB2101010 colorbuf, r300->r500 CMASK, cl… 66 * 2.9.0 - r600 tiling (s3tc,rgtc) working, SET_PREDICATION packet 3 on r600 + eg, backend query [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | radeon_drv.c | 59 * - 2.0.0 - initial interface 60 * - 2.1.0 - add square tiling interface 61 * - 2.2.0 - add r6xx/r7xx const buffer support 62 * - 2.3.0 - add MSPOS + 3D texture + r500 VAP regs 63 * - 2.4.0 - add crtc id query 64 * - 2.5.0 - add get accel 2 to work around ddx breakage for evergreen 65 * - 2.6.0 - add tiling config query (r6xx+), add initial HiZ support (r300->r500) 66 * 2.7.0 - fixups for r600 2D tiling support. (no external ABI change), add eg dyn gpr regs 67 …* 2.8.0 - pageflip support, r500 US_FORMAT regs. r500 ARGB2101010 colorbuf, r300->r500 CMASK, cl… 68 * 2.9.0 - r600 tiling (s3tc,rgtc) working, SET_PREDICATION packet 3 on r600 + eg, backend query [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 57 non-sleeping contexts. They can make bitbanged serial protocols 115 tristate "GPIO driver for 74xx-ICs with MMIO access" 119 Say yes here to support GPIO functionality for 74xx-compatible ICs 135 If driver is built as a module it will be called gpio-altera. 285 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)" 288 Say yes here to support basic platform_device memory-mapped GPIO controllers. 316 ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8 334 depends on ARM # For <asm/mach-types.h> 352 bool "Loongson-2/3 GPIO support" [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
| D | lsdc_regs.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/ |
| D | vendor-prefixes.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 19 "^(at25|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio|gpmc|hdmi|i2c-gpio),.*": true 21 "^(pinctrl-single|#pinctrl-single|PowerPC),.*": true 22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true 23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true 38 "^active-semi,.*": [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/ |
| D | vendor-prefixes.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 19 "^(at25|bm|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio-key|gpio|gpmc|hdmi|i2c-gpio),.*": true 21 "^(pinctrl-single|#pinctrl-single|PowerPC),.*": true 22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true 23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true 48 "^active-semi,.*": [all …]
|