/openbmc/linux/sound/pci/hda/ |
H A D | hda_beep.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Digital Beep Input Interface for HD-audio codec 26 struct hda_codec *codec = beep->codec; in generate_tone() local 28 if (tone && !beep->playing) { in generate_tone() 29 snd_hda_power_up(codec); in generate_tone() 30 if (beep->power_hook) in generate_tone() 31 beep->power_hook(beep, true); in generate_tone() 32 beep->playing = 1; in generate_tone() 34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone() 36 if (!tone && beep->playing) { in generate_tone() [all …]
|
H A D | patch_conexant.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HD audio interface patch for Conexant HDA audio codec 7 * Tobin Davis <tdavis@dsl-only.net> 63 spec->gen.beep_nid = nid; in set_beep_amp() 65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp() 68 return -ENOMEM; in set_beep_amp() 69 knew->private_value = beep_amp; in set_beep_amp() 74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() argument 76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() 79 for_each_hda_codec_node(nid, codec) in cx_auto_parse_beep() [all …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | codec.rst | 2 ASoC Codec Class Driver 5 The codec class driver is generic and hardware independent code that configures 6 the codec, FM, MODEM, BT or external DSP to provide audio capture and playback. 11 Each codec class driver *must* provide the following features:- 13 1. Codec DAI and PCM configuration 14 2. Codec control IO - using RegMap API 16 4. Codec audio operations 20 Optionally, codec drivers can also provide:- 24 Its probably best to use this guide in conjunction with the existing codec 27 ASoC Codec driver breakdown [all …]
|
H A D | dapm.rst | 11 such, can easily co-exist with the other PM systems. 20 audio subsystem, this includes internal codec power blocks and machine 25 Codec bias domain 26 VREF, VMID (core codec and audio power) 28 Usually controlled at codec probe/remove and suspend/resume, although 53 internal codec components). All audio components that effect power are called 60 Audio DAPM widgets fall into a number of types:- 75 A codec input pin 77 A codec output pin 116 Sample Rate Converter within DSP or CODEC [all …]
|
/openbmc/linux/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hdac-ext-controller.c - HD-audio extended controller functions. 5 * Copyright (C) 2014-2015 Intel Corp 18 * processing pipe helpers - these helpers are useful for dealing with HDA 23 * snd_hdac_ext_bus_ppcap_enable - enable/disable processing pipe capability 25 * @enable: flag to turn on/off the capability 30 if (!bus->ppcap) { in snd_hdac_ext_bus_ppcap_enable() 31 dev_err(bus->dev, "Address of PP capability is NULL"); in snd_hdac_ext_bus_ppcap_enable() 36 snd_hdac_updatel(bus->ppcap, AZX_REG_PP_PPCTL, in snd_hdac_ext_bus_ppcap_enable() 39 snd_hdac_updatel(bus->ppcap, AZX_REG_PP_PPCTL, in snd_hdac_ext_bus_ppcap_enable() [all …]
|
/openbmc/linux/include/sound/ac97/ |
H A D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 4 * Universal interface for Audio Codec '97 10 * AC'97 codec registers 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 44 /* range 0x3c-0x58 - MODEM */ 59 /* range 0x5a-0x7b - Vendor Specific */ 62 /* range 0x60-0x6f (page 1) - extended codec registers */ 63 #define AC97_CODEC_CLASS_REV 0x60 /* Codec Class/Revision */ 103 #define AC97_BC_RESERVED1 0x0002 /* Reserved (was Modem Line Codec support) */ 108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | rt5677.txt | 1 RT5677 audio CODEC 7 - compatible : "realtek,rt5677". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 13 - gpio-controller : Indicates this device is a GPIO controller. 15 - #gpio-cells : Should be two. The first cell is the pin number and the 20 - realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin. 21 - realtek,reset-gpio : The GPIO that controls the CODEC's RESET pin. Active low. 23 - realtek,in1-differential 24 - realtek,in2-differential [all …]
|
H A D | rt5660.txt | 1 RT5660 audio CODEC 7 - compatible : "realtek,rt5660". 9 - reg : The I2C address of the device. 13 - clocks: The phandle of the master clock to the CODEC 14 - clock-names: Should be "mclk" 16 - realtek,in1-differential 17 - realtek,in3-differential 18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended. 20 - realtek,poweroff-in-suspend 21 Boolean. If the codec will be powered off in suspend, the resume should be [all …]
|
H A D | amlogic,gx-sound-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,gx-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 18 - const: amlogic,gx-sound-card 20 audio-aux-devs: 21 $ref: /schemas/types.yaml#/definitions/phandle-array 24 audio-widgets: [all …]
|
H A D | samsung,odroid.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 - $ref: sound-card-common.yaml# 19 - const: hardkernel,odroid-xu3-audio 21 - const: hardkernel,odroid-xu4-audio 24 - const: samsung,odroid-xu3-audio [all …]
|
/openbmc/linux/sound/arm/ |
H A D | pxa2xx-ac97-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 #define GCR_ACLINK_OFF (1 << 3) /* AC-link Shut Off */ 35 #define GCR_GIE (1 << 0) /* Codec GPI Interrupt Enable */ 43 #define PISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */ 48 #define MCSR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */ 60 #define GSR_SCR (1 << 9) /* Secondary Codec Ready */ 61 #define GSR_PCR (1 << 8) /* Primary Codec Ready */ 65 #define GSR_ACOFFD (1 << 3) /* AC-link Shut Off Done */ 68 #define GSR_GSCI (1 << 0) /* Codec GPI Status Change Interrupt */ 70 #define CAR (0x0020) /* CODEC Access Register */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 15 that includes regulators, an RTC, a power button, an audio codec, and a 21 - rockchip,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: [all …]
|
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/ |
H A D | 2002-use-vorbisidec.patch | 3 Date: Sun, 4 Dec 2022 16:09:51 -0600 6 Upstream-Status: Inappropriate 8 RPI-Distro repo forks original vlc and applies patches to enable 13 Signed-off-by: Tim Orling <TicoTimo@gmail.com> 14 --- 15 modules/codec/Makefile.am | 2 +- 16 1 file changed, 1 insertion(+), 1 deletion(-) 18 diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am 20 --- a/modules/codec/Makefile.am 21 +++ b/modules/codec/Makefile.am [all …]
|
H A D | 3006-codec-omxil_core.h-fix-multiple-definition-of.patch | 3 Date: Fri, 9 Dec 2022 19:58:11 -0600 4 Subject: [PATCH] codec: omxil_core.h fix multiple definition of 6 Upstream-Status: Inappropriate 8 RPI-Distro repo forks original vlc and applies patches 19 Signed-off-by: Vincent Davis Jr <vince@underview.tech> 20 --- 21 modules/codec/omxil/omxil_core.h | 6 +++--- 22 1 file changed, 3 insertions(+), 3 deletions(-) 24 diff --git a/modules/codec/omxil/omxil_core.h b/modules/codec/omxil/omxil_core.h 26 --- a/modules/codec/omxil/omxil_core.h [all …]
|
H A D | 3003-codec-omxil_core-replace-opt-vc-path-with-usr-lib.patch | 3 Date: Thu, 8 Dec 2022 23:38:36 -0600 4 Subject: [PATCH] codec: omxil_core replace /opt/vc path with /usr/lib 6 Upstream-Status: Inappropriate 8 RPI-Distro repo clones original VLC and applies patches to enable 14 Signed-off-by: Vincent Davis Jr <vince@underview.tech> 15 --- 16 modules/codec/omxil/omxil_core.c | 4 ++-- 17 1 file changed, 2 insertions(+), 2 deletions(-) 19 diff --git a/modules/codec/omxil/omxil_core.c b/modules/codec/omxil/omxil_core.c 21 --- a/modules/codec/omxil/omxil_core.c [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxbb-wetek-play2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxbb-wetek.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 14 compatible = "wetek,play2", "amlogic,meson-gxbb"; 17 spdif_dit: audio-codec-0 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 21 sound-name-prefix = "DIT"; [all …]
|
/openbmc/u-boot/drivers/sound/ |
H A D | Kconfig | 6 Support making sounds through an audio codec. This is normally a 12 audio codecs are called from the sound-i2s code. This could be 20 SoC to the audio codec. This option enables sound support using 29 audio codec. This option enables support for this, using one of the 30 available audio codec drivers. This driver does not make use of 38 data to an audio codec. This option enables support for this, 39 using one of the available audio codec drivers. Enabling this 50 of time, then turning it off. 56 bool "Intel HDA audio codec" 59 Most Intel chips have an HDA (High-definition audio) codec which can [all …]
|
/openbmc/linux/sound/aoa/codecs/ |
H A D | toonie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Apple Onboard Audio driver for Toonie codec 7 * This is a driver for the toonie codec chip. This chip is present 15 MODULE_DESCRIPTION("toonie codec driver for snd-aoa"); 21 #define PFX "snd-aoa-codec-toonie: " 24 struct aoa_codec codec; member 26 #define codec_to_toonie(c) container_of(c, struct toonie, codec) 63 /* can we turn it off somehow? */ in toonie_suspend() 85 static int toonie_init_codec(struct aoa_codec *codec) in toonie_init_codec() argument 87 struct toonie *toonie = codec_to_toonie(codec); in toonie_init_codec() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | pcm3008.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ALSA Soc PCM3008 codec support 8 * Based on AC97 Soc codec, original copyright follow: 31 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pcm3008_dac_ev() 32 struct pcm3008_setup_data *setup = component->dev->platform_data; in pcm3008_dac_ev() 34 gpio_set_value_cansleep(setup->pdda_pin, in pcm3008_dac_ev() 44 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pcm3008_adc_ev() 45 struct pcm3008_setup_data *setup = component->dev->platform_data; in pcm3008_adc_ev() 47 gpio_set_value_cansleep(setup->pdad_pin, in pcm3008_adc_ev() 80 .name = "pcm3008-hifi", [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/minidlna/minidlna/ |
H A D | 0001-Add-compatibility-with-FFMPEG-7.0.patch | 3 Date: Thu, 29 Aug 2024 13:22:33 -0700 8 Upstream-Status: Submitted [https://sourceforge.net/p/minidlna/git/merge-requests/59/] 9 Signed-off-by: Khem Raj <raj.khem@gmail.com> 10 --- 14 diff --git a/libav.h b/libav.h 16 --- a/libav.h 18 @@ -58,6 +58,7 @@ 26 @@ -174,7 +175,11 @@ lav_get_interlaced(AVStream *s) 27 #define lav_codec_tag(s) s->codecpar->codec_tag 28 #define lav_sample_rate(s) s->codecpar->sample_rate [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libmimetic/libmimetic/ |
H A D | 0001-libmimetic-Removing-test-directory-from-the-Makefile.patch | 2 From: asmitk01-in <asmitk01@in.ibm.com> 3 Date: Wed, 5 Feb 2020 00:14:42 -0600 11 The files 'mimetic/codec/other_codecs.h' and 'mimetic/contenttype.cxx' 13 aarch64-yoe-linux-musl. 15 Signed-off-by: asmitk01-in <asmitk01@in.ibm.com> 16 Change-Id: I1822b36ad4a1fa5e7b165d8cac3a6e96aca11c35 17 --- 18 Upstream-Status: Pending 20 Makefile.am | 2 +- 21 mimetic/codec/other_codecs.h | 4 ++++ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc/ |
H A D | 0002-use-vorbisidec.patch | 3 Upstream-Status: Pending 5 Signed-off-by: Tim Orling <TicoTimo@gmail.com> 7 --- a/modules/codec/Makefile.am 8 +++ b/modules/codec/Makefile.am 9 @@ -324,7 +324,7 @@ codec_LTLIBRARIES += $(LTLIBdaala) 10 libtremor_plugin_la_SOURCES = codec/vorbis.c 11 libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor 12 libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' 13 -libtremor_plugin_la_LIBADD = -lvorbisdec -logg 14 +libtremor_plugin_la_LIBADD = -lvorbisidec -logg
|
/openbmc/linux/Documentation/sound/designs/ |
H A D | powersave.rst | 2 Notes on Power-Saving Mode 5 AC97 and HD-audio drivers have the automatic power-saving mode. 9 With the automatic power-saving, the driver turns off the codec power 15 The time-out for automatic power-off can be specified via ``power_save`` 16 module option of snd-ac97-codec and snd-hda-intel modules. Specify 17 the time-out value in seconds. 0 means to disable the automatic 18 power-saving. The default value of timeout is given via 27 automatic power-save mode with 10 seconds, write to 36 power-down to the active state. These are often hardly to fix, so 37 don't report extra bug reports unless you have a fix patch ;-) [all …]
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-analog-audio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * codec and analog headphone jack. 11 compatible = "rockchip,rockchip-audio-max98090"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&mic_det>, <&hp_det>; 14 rockchip,model = "VEYRON-I2S"; 15 rockchip,i2s-controller = <&i2s>; 16 rockchip,audio-codec = <&max98090>; 17 rockchip,hp-det-gpios = <&gpio6 RK_PA5 GPIO_ACTIVE_HIGH>; 18 rockchip,mic-det-gpios = <&gpio6 RK_PB3 GPIO_ACTIVE_LOW>; [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/freerdp/freerdp/ |
H A D | 0001-Fix-const-qualifier-error.patch | 7 …W_FN' (aka 'void *(*)(void *)') from 'void *(const void *)' [-Wincompatible-function-pointer-types] 8 | obj->fnObjectNew = uwac_event_clone; 12 Upstream-Status: Backport 14 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 15 --- 16 libfreerdp/codec/rfx.c | 4 ++-- 17 winpr/include/winpr/collections.h | 2 +- 18 2 files changed, 3 insertions(+), 3 deletions(-) 20 diff --git a/libfreerdp/codec/rfx.c b/libfreerdp/codec/rfx.c 22 --- a/libfreerdp/codec/rfx.c [all …]
|