/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ ! |
D | hdmi4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 31 static inline void __iomem *hdmi_av_base(struct hdmi_core_data *core) in hdmi_av_base() argument 33 return core->base + HDMI_CORE_AV; in hdmi_av_base() 36 static int hdmi_core_ddc_init(struct hdmi_core_data *core) in hdmi_core_ddc_init() argument 38 void __iomem *base = core->base; in hdmi_core_ddc_init() 51 return -ETIMEDOUT; in hdmi_core_ddc_init() 62 return -ETIMEDOUT; in hdmi_core_ddc_init() 72 return -ETIMEDOUT; in hdmi_core_ddc_init() 78 static int hdmi_core_ddc_edid(struct hdmi_core_data *core, in hdmi_core_ddc_edid() argument [all …]
|
D | hdmi5_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP5 HDMI CORE IP driver library 39 static void hdmi_core_ddc_init(struct hdmi_core_data *core) in hdmi_core_ddc_init() argument 41 void __iomem *base = core->base; in hdmi_core_ddc_init() 118 static void hdmi_core_ddc_uninit(struct hdmi_core_data *core) in hdmi_core_ddc_uninit() argument 120 void __iomem *base = core->base; in hdmi_core_ddc_uninit() 128 static int hdmi_core_ddc_edid(struct hdmi_core_data *core, u8 *pedid, u8 ext) in hdmi_core_ddc_edid() argument 130 void __iomem *base = core->base; in hdmi_core_ddc_edid() 165 return -EIO; in hdmi_core_ddc_edid() 177 return -EIO; in hdmi_core_ddc_edid() [all …]
|
/linux-5.10/drivers/gpu/drm/omapdrm/dss/ ! |
D | hdmi4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ 30 static inline void __iomem *hdmi_av_base(struct hdmi_core_data *core) in hdmi_av_base() argument 32 return core->base + HDMI_CORE_AV; in hdmi_av_base() 35 int hdmi4_core_ddc_init(struct hdmi_core_data *core) in hdmi4_core_ddc_init() argument 37 void __iomem *base = core->base; in hdmi4_core_ddc_init() 50 return -ETIMEDOUT; in hdmi4_core_ddc_init() 61 return -ETIMEDOUT; in hdmi4_core_ddc_init() 71 return -ETIMEDOUT; in hdmi4_core_ddc_init() 79 struct hdmi_core_data *core = data; in hdmi4_core_ddc_read() local [all …]
|
D | hdmi5_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP5 HDMI CORE IP driver library 5 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 26 void hdmi5_core_ddc_init(struct hdmi_core_data *core) in hdmi5_core_ddc_init() argument 28 void __iomem *base = core->base; in hdmi5_core_ddc_init() 105 void hdmi5_core_ddc_uninit(struct hdmi_core_data *core) in hdmi5_core_ddc_uninit() argument 107 void __iomem *base = core->base; in hdmi5_core_ddc_uninit() 117 struct hdmi_core_data *core = data; in hdmi5_core_ddc_read() local 118 void __iomem *base = core->base; in hdmi5_core_ddc_read() 152 return -EIO; in hdmi5_core_ddc_read() [all …]
|
/linux-5.10/sound/hda/ext/ ! |
D | hdac_ext_stream.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hdac-ext-stream.c - HD-audio extended stream operations. 19 * snd_hdac_ext_stream_init - initialize each stream (aka device) 20 * @bus: HD-audio core bus 21 * @stream: HD-audio ext core stream object to initialize 33 if (bus->ppcap) { in snd_hdac_ext_stream_init() 34 stream->pphc_addr = bus->ppcap + AZX_PPHC_BASE + in snd_hdac_ext_stream_init() 37 stream->pplc_addr = bus->ppcap + AZX_PPLC_BASE + in snd_hdac_ext_stream_init() 38 AZX_PPLC_MULTI * bus->num_streams + in snd_hdac_ext_stream_init() 42 if (bus->spbcap) { in snd_hdac_ext_stream_init() [all …]
|
/linux-5.10/drivers/media/usb/tm6000/ ! |
D | tm6000-alsa.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Support for audio capture for tm5600/6000/6010 3 // Copyright (c) 2007-2008 Mauro Carvalho Chehab <mchehab@kernel.org> 5 // Based on cx88-alsa.c 15 #include <sound/core.h> 23 #include "tm6000-regs.h" 29 printk(KERN_INFO "%s/1: " fmt, chip->core->name , ## arg); \ 36 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 64 * BOARD Specific: Sets audio DMA 69 struct tm6000_core *core = chip->core; in _tm6000_start_audio_dma() local [all …]
|
/linux-5.10/sound/hda/ ! |
D | hdac_stream.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio stream operations 10 #include <sound/core.h> 17 * snd_hdac_get_stream_stripe_ctl - get stripe control value 18 * @bus: HD-audio core bus 24 struct snd_pcm_runtime *runtime = substream->runtime; in snd_hdac_get_stream_stripe_ctl() 25 unsigned int channels = runtime->channels, in snd_hdac_get_stream_stripe_ctl() 26 rate = runtime->rate, in snd_hdac_get_stream_stripe_ctl() 27 bits_per_sample = runtime->sample_bits, in snd_hdac_get_stream_stripe_ctl() 33 /* following is from HD audio spec */ in snd_hdac_get_stream_stripe_ctl() [all …]
|
D | hdac_component.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // hdac_component.c - routines for sync between HD-A core and DRM driver 8 #include <sound/core.h> 23 * snd_hdac_set_codec_wakeup - Enable / disable HDMI/DP codec wakeup 24 * @bus: HDA core bus 27 * This function is supposed to be used only by a HD-audio controller 37 struct drm_audio_component *acomp = bus->audio_component; in snd_hdac_set_codec_wakeup() 39 if (!acomp || !acomp->ops) in snd_hdac_set_codec_wakeup() 40 return -ENODEV; in snd_hdac_set_codec_wakeup() 42 if (!acomp->ops->codec_wake_override) in snd_hdac_set_codec_wakeup() [all …]
|
D | hdac_i915.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * hdac_i915.c - routines for sync between HD-A core and i915 display driver 9 #include <sound/core.h> 14 #define IS_HSW_CONTROLLER(pci) (((pci)->device == 0x0a0c) || \ 15 ((pci)->device == 0x0c0c) || \ 16 ((pci)->device == 0x0d0c) || \ 17 ((pci)->device == 0x160c)) 20 * snd_hdac_i915_set_bclk - Reprogram BCLK for HSW/BDW 21 * @bus: HDA core bus 25 * are used to convert CDClk (Core Display Clock) to 24MHz BCLK: [all …]
|
D | hdac_controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio controller helpers 9 #include <sound/core.h> 19 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 25 dev_err(bus->dev, "CORB reset timeout#1, CORBRP = %d\n", in azx_clear_corbrp() 29 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 35 dev_err(bus->dev, "CORB reset timeout#2, CORBRP = %d\n", in azx_clear_corbrp() 40 * snd_hdac_bus_init_cmd_io - set up CORB/RIRB buffers 41 * @bus: HD-audio core bus 45 WARN_ON_ONCE(!bus->rb.area); in snd_hdac_bus_init_cmd_io() [all …]
|
D | hdac_bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio core bus driver 23 * snd_hdac_bus_init - initialize a HD-audio bas bus 34 bus->dev = dev; in snd_hdac_bus_init() 36 bus->ops = ops; in snd_hdac_bus_init() 38 bus->ops = &default_ops; in snd_hdac_bus_init() 39 bus->dma_type = SNDRV_DMA_TYPE_DEV; in snd_hdac_bus_init() 40 INIT_LIST_HEAD(&bus->stream_list); in snd_hdac_bus_init() 41 INIT_LIST_HEAD(&bus->codec_list); in snd_hdac_bus_init() 42 INIT_WORK(&bus->unsol_work, snd_hdac_bus_process_unsol_events); in snd_hdac_bus_init() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/sound/ ! |
D | zte,zx-i2s.txt | 4 - compatible : Must be one of: 5 "zte,zx296718-i2s", "zte,zx296702-i2s" 6 "zte,zx296702-i2s" 7 - reg : Must contain I2S core's registers location and length 8 - clocks : Pairs of phandle and specifier referencing the controller's clocks. 9 - clock-names: "wclk" for the wclk, "pclk" for the pclk to the I2S interface. 10 - dmas: Pairs of phandle and specifier for the DMA channel that is used by 11 the core. The core expects two dma channels for transmit. 12 - dma-names : Must be "tx" and "rx" 14 For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties [all …]
|
D | qcom,lpass-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,lpass-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Rohit kumar <rohitkr@codeaurora.org> 14 Qualcomm Technologies Inc. SOC Low-Power Audio SubSystem (LPASS) that consist 15 of MI2S interface for audio data transfer on external codecs. LPASS cpu driver 16 is a module to configure Low-Power Audio Interface(LPAIF) core registers 22 - qcom,lpass-cpu [all …]
|
D | xlnx,audio-formatter.txt | 1 Device-Tree bindings for Xilinx PL audio formatter 3 The IP core supports DMA, data formatting(AES<->PCM conversion) 4 of audio samples. 7 - compatible: "xlnx,audio-formatter-1.0" 8 - interrupt-names: Names specified to list of interrupts in same 13 - interrupts-parent: Phandle for interrupt controller. 14 - interrupts: List of Interrupt numbers. 15 - reg: Base address and size of the IP core instance. 16 - clock-names: List of input clocks. 18 - clocks: Input clock specifier. Refer to common clock bindings. [all …]
|
/linux-5.10/Documentation/sound/soc/ ! |
D | dapm.rst | 2 Dynamic Audio Power Management for Portable Devices 8 Dynamic Audio Power Management (DAPM) is designed to allow portable 9 Linux devices to use the minimum amount of power within the audio 11 such, can easily co-exist with the other PM systems. 14 all power switching is done within the ASoC core. No code changes or 16 switching decisions based upon any audio stream (capture/playback) 17 activity and audio mixer settings within the device. 20 audio subsystem, this includes internal codec power blocks and machine 26 VREF, VMID (core codec and audio power) 39 audio subsystem signal paths [all …]
|
D | codec.rst | 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:- 14 2. Codec control IO - using RegMap API 15 3. Mixers and audio controls 16 4. Codec audio operations 20 Optionally, codec drivers can also provide:- 31 ------------------------------- 34 registered with the core by your machine driver. 49 .name = "wm8731-hifi", 68 ---------------- [all …]
|
/linux-5.10/arch/parisc/kernel/ ! |
D | hardware.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Based on the document "PA-RISC 1.1 I/O Firmware Architecture 76 {HPHW_NPROC,0x312,0x4,0x81,"Strider-50 (715S/50)"}, 77 {HPHW_NPROC,0x313,0x4,0x81,"Strider-33 (715S/33)"}, 78 {HPHW_NPROC,0x314,0x4,0x81,"Trailways-50 (715T/50)"}, 79 {HPHW_NPROC,0x315,0x4,0x81,"Trailways-33 (715T/33)"}, 90 {HPHW_NPROC,0x482,0x4,0x81,"WB-80 (E35)"}, 91 {HPHW_NPROC,0x483,0x4,0x81,"WB-96 (E45)"}, 92 {HPHW_NPROC,0x484,0x4,0x81,"UL Proc L-100 (811/D210,D310)"}, 93 {HPHW_NPROC,0x485,0x4,0x81,"UL Proc L-75 (801/D200)"}, [all …]
|
/linux-5.10/drivers/mfd/ ! |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 tristate "AMD CS5535 and CS5536 southbridge core functions" 19 This is the core driver for CS5535/CS5536 MFD functions. This is 44 tristate "Active-semi ACT8945A" 49 Support for the ACT8945A PMIC from Active-semi. This device 50 features three step-down DC/DC converters and four low-dropout 66 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 69 called sun4i-gpadc. 88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 93 bool "Analog Devices ADP5520/01 MFD PMIC Core Support" [all …]
|
D | wl1273-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MFD driver for wl1273 FM radio and audio codec submodules. 9 #include <linux/mfd/wl1273-core.h> 13 #define DRIVER_DESC "WL1273 FM Radio Core" 21 static int wl1273_fm_read_reg(struct wl1273_core *core, u8 reg, u16 *value) in wl1273_fm_read_reg() argument 23 struct i2c_client *client = core->client; in wl1273_fm_read_reg() 29 dev_err(&client->dev, "%s: Read: %d fails.\n", __func__, reg); in wl1273_fm_read_reg() 30 return -EREMOTEIO; in wl1273_fm_read_reg() 38 static int wl1273_fm_write_cmd(struct wl1273_core *core, u8 cmd, u16 param) in wl1273_fm_write_cmd() argument 40 struct i2c_client *client = core->client; in wl1273_fm_write_cmd() [all …]
|
/linux-5.10/drivers/media/pci/cx88/ ! |
D | cx88-alsa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for audio capture 14 #include "cx88-reg.h" 22 #include <linux/dma-mapping.h> 26 #include <sound/core.h> 37 chip->core->name, ##arg); \ 41 * Data type declarations - Can be moded to a header file later 54 struct cx88_core *core; member 60 /* audio controls */ 81 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ [all …]
|
D | cx88-dsp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include "cx88-reg.h" 27 * based on the the sampling rate of the audio rds fifo. 38 * for the input of the audio rds fifo, and measure it's sampling rate to 62 MODULE_PARM_DESC(dsp_debug, "enable audio dsp debug messages"); 77 return -int_cos(x - INT_PI); in int_cos() 80 return -int_cos(INT_PI / 2 - (x % (INT_PI / 2))); in int_cos() 89 ret = 32768 - t2 + t4 - t6 + t8; in int_cos() 108 s32 s = x[i] + ((s64)coeff * s_prev / 32768) - s_prev2; in int_goertzel() 114 tmp = (s64)s_prev2 * s_prev2 + (s64)s_prev * s_prev - in int_goertzel() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/soc/qcom/ ! |
D | qcom,apr.txt | 5 used for audio/voice services on the QDSP. 7 - compatible: 10 Definition: must be "qcom,apr-v<VERSION-NUMBER>", example "qcom,apr-v2" 12 - qcom,apr-domain 17 1 - APR simulator 18 2 - PC 19 3 - MODEM 20 4 - ADSP 21 5 - APPS 22 6 - MODEM2 [all …]
|
/linux-5.10/Documentation/devicetree/bindings/arm/tegra/ ! |
D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra20-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra20-pmc 17 - nvidia,tegra20-pmc 18 - nvidia,tegra30-pmc 19 - nvidia,tegra114-pmc [all …]
|
/linux-5.10/Documentation/devicetree/bindings/clock/ ! |
D | mvebu-gated-clock.txt | 12 ----------------------------------- 13 0 Audio AC97 Cntrl 29 ----------------------------------- 35 8 audio Audio Cntrl 38 15 sata0_core SATA 0 Core 44 21 sata1_core SATA 1 Core 50 29 crypto0_core Cryptographic Unit Port 0 Core 52 31 crypto1_core Cryptographic Unit Port 1 Core 56 ----------------------------------- 57 0 audio Audio [all …]
|
/linux-5.10/drivers/ps3/ ! |
D | ps3av.c | 1 // SPDX-License-Identifier: GPL-2.0-only 155 if (hdr->cid & PS3AV_EVENT_CMD_MASK) { in ps3av_parse_event_packet() 156 table = ps3av_search_cmd_table(hdr->cid, PS3AV_EVENT_CMD_MASK); in ps3av_parse_event_packet() 158 dev_dbg(&ps3av->dev->core, in ps3av_parse_event_packet() 160 hdr->cid, ps3av_event_get_port_id(hdr->cid), in ps3av_parse_event_packet() 161 hdr->size); in ps3av_parse_event_packet() 165 __func__, hdr->cid, hdr->size); in ps3av_parse_event_packet() 178 dev_dbg(&dev->core, " -> %s:%d\n", __func__, __LINE__); in ps3av_vuart_write() 180 dev_dbg(&dev->core, " <- %s:%d\n", __func__, __LINE__); in ps3av_vuart_write() 190 dev_dbg(&dev->core, " -> %s:%d\n", __func__, __LINE__); in ps3av_vuart_read() [all …]
|