| /OK3568_Linux_fs/kernel/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 …]
|
| H A D | patch_ca0132.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin" 75 #define R3DI_EFX_FILE "ctefx-r3di.bin" 115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID) 126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID) 134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID) 154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID) 163 * X-bass. 182 int params; /* number of default non-on/off params */ 183 /*effect default values, 1st is on/off. */ [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "HD-Audio" 23 This option enables the HD-audio controller. Don't forget 24 to choose the appropriate codec options below. 27 will be called snd-hda-intel. 43 will be called snd-hda-tegra. 48 bool "Build hwdep interface for HD-audio driver" 51 Say Y here to build a hwdep interface for HD-audio driver. 52 This interface can be used for out-of-band communication 56 bool "Allow dynamic codec reconfiguration" [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/sound/ |
| H A D | rk817_codec.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 * 0db~-95db,0.375db/step,for example: 27 * 0x0a: -3.75dB 28 * 0x7d: -46dB 29 * 0xff: -95dB 64 struct udevice *codec = priv->dev->parent; in rk817_reset() local 66 snd_soc_write(codec, RK817_CODEC_DTOP_LPT_SRST, 0x40); in rk817_reset() 67 snd_soc_write(codec, RK817_CODEC_DDAC_POPD_DACST, 0x02); in rk817_reset() 115 struct udevice *codec = rk817->dev->parent; in rk817_codec_power_up() local 124 snd_soc_update_bits(codec, RK817_CODEC_DTOP_DIGEN_CLKE, in rk817_codec_power_up() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rk3308-dot-rk816-v10-aarch32.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 12 model = "Rockchip RK3308 Dot Rk816-3 V10 (AArch32)"; 13 compatible = "rockchip,rk3308-dot-rk816-v10-aarch32", "rockchip,rk3308"; 16 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs… 19 acodec_sound: acodec-sound { 20 compatible = "rockchip,multicodecs-card"; 21 rockchip,card-name = "rockchip,rk3308-acodec"; 22 rockchip,codec-hp-det; [all …]
|
| H A D | rv1126-ipc2-ddr3-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rv1126-ipc.dtsi" 9 #include <dt-bindings/input/input.h> 13 compatible = "rockchip,rv1126-ipc2-ddr3-v10", "rockchip,rv1126"; 15 adc-keys { 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 poll-interval = <100>; [all …]
|
| H A D | rv1126-sphericalipc-ddr3-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rv1126-ipc.dtsi" 9 #include <dt-bindings/input/input.h> 13 compatible = "rockchip,rv1126-sphericalipc-ddr3-v10", "rockchip,rv1126"; 15 adc-keys { 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 poll-interval = <100>; [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-pxa/include/mach/ |
| H A D | regs-ac97.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 34 #define GCR_ACLINK_OFF (1 << 3) /* AC-link Shut Off */ 37 #define GCR_GIE (1 << 0) /* Codec GPI Interrupt Enable */ 45 #define PISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */ 50 #define MCSR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */ 62 #define GSR_SCR (1 << 9) /* Secondary Codec Ready */ 63 #define GSR_PCR (1 << 8) /* Primary Codec Ready */ 67 #define GSR_ACOFFD (1 << 3) /* AC-link Shut Off Done */ 70 #define GSR_GSCI (1 << 0) /* Codec GPI Status Change Interrupt */ 72 #define CAR __REG(0x40500020) /* CODEC Access Register */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3308-evb-v11.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/input/input.h> 11 compatible = "rockchip,rk3308-evb-v11", "rockchip,rk3308"; 14 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs… 17 adc-keys { 18 compatible = "adc-keys"; 19 io-channels = <&saradc 1>; 20 io-channel-names = "buttons"; 21 poll-interval = <100>; 22 keyup-threshold-microvolt = <1800000>; [all …]
|
| H A D | rk3308-evb-v10.dtsi | 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 12 compatible = "rockchip,rk3308-evb", "rockchip,rk3308"; 15 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs… 18 adc-keys0 { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; 22 poll-interval = <100>; 23 keyup-threshold-microvolt = <1800000>; [all …]
|
| H A D | rk3308b-evb-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/input/input.h> 11 compatible = "rockchip,rk3308b-evb-v10", "rockchip,rk3308"; 14 …bootargs = "earlycon=uart8250,mmio32,0xff0e0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs… 17 acodec_sound: acodec-sound { 18 compatible = "rockchip,multicodecs-card"; 19 rockchip,card-name = "rockchip,rk3308-acodec"; 20 rockchip,codec-hp-det; 21 rockchip,mclk-fs = <256>; 23 rockchip,codec = <&acodec>; [all …]
|
| H A D | rk3528-demo.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/rk-input.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include "rk-stb-ir-keymap.dtsi" 14 acodec_sound: acodec-sound { 16 compatible = "simple-audio-card"; 17 simple-audio-card,name = "rk3528-acodec"; 18 simple-audio-card,format = "i2s"; 19 simple-audio-card,mclk-fs = <256>; [all …]
|
| H A D | rk3562-rk809.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 16 interrupt-parent = <&gpio0>; 19 pinctrl-names = "default", "pmic-sleep", 20 "pmic-power-off", "pmic-reset"; 21 pinctrl-0 = <&pmic_int>; 22 pinctrl-1 = <&soc_slppin_slp>, <&rk817_slppin_slp>; 23 pinctrl-2 = <&soc_slppin_gpio>, <&rk817_slppin_pwrdn>; 24 pinctrl-3 = <&soc_slppin_gpio>, <&rk817_slppin_rst>; [all …]
|
| /OK3568_Linux_fs/kernel/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 | 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> 16 - const: hardkernel,odroid-xu3-audio 18 - const: hardkernel,odroid-xu4-audio 21 - const: samsung,odroid-xu3-audio 24 - const: samsung,odroid-xu4-audio [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/boards/ |
| H A D | cht_bsw_rt5672.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cht_bsw_rt5672.c - ASoc Machine driver for Intel Cherryview-based platforms 4 * Cherrytrail and Braswell, with RT5672 codec. 21 #include <sound/soc-acpi.h> 23 #include "../atom/sst-atom-controls.h" 26 /* The platform clock #3 outputs 19.2Mhz clock to codec as I2S MCLK */ 28 #define CHT_CODEC_DAI "rt5670-aif1" 51 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 52 struct snd_soc_card *card = dapm->card; in platform_clock_control() 59 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control() [all …]
|
| /OK3568_Linux_fs/yocto/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 Makefile.am | 2 +- 19 mimetic/codec/other_codecs.h | 4 ++++ 21 3 files changed, 9 insertions(+), 1 deletion(-) [all …]
|
| /OK3568_Linux_fs/buildroot/package/vlc/ |
| H A D | 0003-build-use-pkg-config-to-get-tremor-libs.patch | 4 Subject: [PATCH] build: use pkg-config to get tremor libs 9 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 10 --- 11 configure.ac | 9 +-------- 12 modules/codec/Makefile.am | 2 +- 13 2 files changed, 2 insertions(+), 9 deletions(-) 15 diff --git a/configure.ac b/configure.ac 17 --- a/configure.ac 19 @@ -2710,14 +2710,7 @@ PKG_ENABLE_MODULES_VLC([VORBIS], [], [ogg vorbis >= 1.1 vorbisenc >= 1.1], [… 23 -AC_ARG_ENABLE(tremor, [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | wm97xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */ 64 #define WM97XX_PRP_DETW 0x4000 /* detect on, digitise off, wake */ 65 #define WM97XX_PRP_DET 0x8000 /* detect on, digitise off, no wake */ 71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */ 124 /* Codec GPIO's */ 146 /*---------------- Return codes from sample reading functions ---------------*/ 160 * The wm97xx driver provides a private API for writing platform-specific 172 * Codec GPIO status 180 * Codec GPIO direction [all …]
|