Home
last modified time | relevance | path

Searched +full:audio +full:- +full:hdmi (Results 1 – 25 of 675) sorted by relevance

12345678910>>...27

/linux-6.12.1/drivers/gpu/drm/msm/hdmi/
Dhdmi_audio.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/hdmi.h>
8 #include "hdmi.h"
10 /* maps MSM_HDMI_AUDIO_CHANNEL_n consts used by audio driver to # of channels: */
13 /* Supported HDMI Audio sample rates */
36 /* Audio constants lookup table for hdmi_msm_audio_acr_setup */
37 /* Valid Pixel-Clock rates: 25.2MHz, 27MHz, 27.03MHz, 74.25MHz, 148.5MHz */
67 if (arcs->pixclock == pixclock) in get_arcs()
74 int msm_hdmi_audio_update(struct hdmi *hdmi) in msm_hdmi_audio_update() argument
76 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update() local
[all …]
Dhdmi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #include <linux/hdmi.h>
20 #include "hdmi.xml.h"
33 struct hdmi { struct
40 /* audio state: */
41 struct hdmi_audio audio; member
67 /* the encoder we are hooked to (outside of hdmi block) */ argument
70 bool hdmi_mode; /* are we in hdmi mode? */ argument
109 struct hdmi *hdmi; member
114 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on);
[all …]
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-i2s-audio.c1 // SPDX-License-Identifier: GPL-2.0
3 * dw-hdmi-i2s-audio.c
9 #include <linux/dma-mapping.h>
15 #include <sound/hdmi-codec.h>
17 #include "dw-hdmi.h"
18 #include "dw-hdmi-audio.h"
20 #define DRIVER_NAME "dw-hdmi-i2s-audio"
22 static inline void hdmi_write(struct dw_hdmi_i2s_audio_data *audio, in hdmi_write() argument
25 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_write() local
27 audio->write(hdmi, val, offset); in hdmi_write()
[all …]
Ddw-hdmi-gp-audio.c1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * dw-hdmi-gp-audio.c
5 * Copyright 2020-2022 NXP
12 #include <linux/dma-mapping.h>
17 #include <sound/hdmi-codec.h>
26 #include "dw-hdmi-audio.h"
28 #define DRIVER_NAME "dw-hdmi-gp-audio"
29 #define DRV_NAME "hdmi-gp-audio"
43 * The default mapping of ALSA channels to HDMI channels and speaker
44 * allocation bits. Note that we can't do channel remapping here -
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 tristate "Synopsys Designware AHB Audio interface"
17 Support the AHB Audio interface which is part of the Synopsys
18 Designware HDMI block. This is used in conjunction with
19 the i.MX6 HDMI driver.
22 tristate "Synopsys Designware I2S Audio interface"
27 Support the I2S Audio interface which is part of the Synopsys
28 Designware HDMI block.
31 tristate "Synopsys Designware GP Audio interface"
37 Support the GP Audio interface which is part of the Synopsys
[all …]
Ddw-hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DesignWare High-Definition Multimedia Interface (HDMI) driver
5 * Copyright (C) 2013-2015 Mentor Graphics Inc.
6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
12 #include <linux/hdmi.h>
20 #include <linux/dma-mapping.h>
23 #include <media/cec-notifier.h>
25 #include <uapi/linux/media-bus-format.h>
39 #include "dw-hdmi-audio.h"
40 #include "dw-hdmi-cec.h"
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
2 obj-$(CONFIG_DRM_DW_HDMI) += dw-hdmi.o
3 obj-$(CONFIG_DRM_DW_HDMI_AHB_AUDIO) += dw-hdmi-ahb-audio.o
4 obj-$(CONFIG_DRM_DW_HDMI_GP_AUDIO) += dw-hdmi-gp-audio.o
5 obj-$(CONFIG_DRM_DW_HDMI_I2S_AUDIO) += dw-hdmi-i2s-audio.o
6 obj-$(CONFIG_DRM_DW_HDMI_CEC) += dw-hdmi-cec.o
8 obj-$(CONFIG_DRM_DW_MIPI_DSI) += dw-mipi-dsi.o
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dimx-audio-hdmi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX audio complex with HDMI
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
15 - fsl,imx-audio-hdmi
16 - fsl,imx-audio-sii902x
20 description: User specified audio sound card name
22 audio-cpu:
[all …]
Drockchip-max98090.txt4 - compatible: "rockchip,rockchip-audio-max98090"
5 - rockchip,model: The user-visible name of this sound complex
6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec.
11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is
12 required if there is rockchip,audio-codec.
13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec.
17 /* For max98090-only board. */
19 compatible = "rockchip,rockchip-audio-max98090";
20 rockchip,model = "ROCKCHIP-I2S";
[all …]
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_hdmi.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/hdmi.h>
26 #include <sound/hdmi-codec.h>
96 #define HDMI_IFRAME_CFG_DI_N(x, n) ((x) << ((n-1)*4)) /* n from 1 to 6 */
164 struct sti_hdmi *hdmi; member
177 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument
179 return readl(hdmi->regs + offset); in hdmi_read()
182 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument
184 writel(val, hdmi->regs + offset); in hdmi_write()
188 * HDMI interrupt handler threaded
[all …]
Dsti_hdmi.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include <linux/hdmi.h>
13 #include <media/cec-notifier.h>
25 bool (*start)(struct sti_hdmi *hdmi);
26 void (*stop)(struct sti_hdmi *hdmi);
39 * STI hdmi structure
44 * @regs: hdmi register
46 * @clk_pix: hdmi pixel clock
47 * @clk_tmds: hdmi tmds clock
48 * @clk_phy: hdmi phy clock
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/display/bridge/
Dsil,sii9022.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Silicon Image sii902x HDMI bridge
10 - Boris Brezillon <bbrezillon@kernel.org>
15 - items:
16 - enum:
17 - sil,sii9022-cpi # CEC Programming Interface
18 - sil,sii9022-tpi # Transmitter Programming Interface
19 - const: sil,sii9022
[all …]
/linux-6.12.1/sound/soc/ti/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Audio support for Texas Instruments SoCs"
19 tristate "daVinci Audio Serial Port (ASP) or McBSP support"
23 Say Y or M here if you want audio support via daVinci ASP or McBSP.
28 tristate "Multichannel Audio Serial Port (McASP) support"
36 - daVinci devices
37 - Sitara line of SoCs (AM335x, AM438x, etc)
38 - OMAP4
39 - DRA7x devices
40 - Keystone devices
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_lpe_audio.c24 * Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
31 * DOC: LPE Audio integration for HDMI or DP playback
34 * Atom platforms (e.g. valleyview and cherryTrail) integrates a DMA-based
36 * mode is unrelated to the LPE aka SST audio engine, the documentation refers
41 * subsystems, a bridge is setup between the hdmi-lpe-audio and i915:
44 * 3. Create IRQ chip to forward the LPE audio irqs.
45 * the hdmi-lpe-audio driver probes the lpe audio device and creates a new
50 * uninstall the hdmi-lpe-audio driver before uninstalling i915 module,
51 * otherwise we might run into use-after-free issues after i915 removes the
52 * platform device: even though hdmi-lpe-audio driver is released, the modules
[all …]
/linux-6.12.1/include/sound/
Dhdmi-codec.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * hdmi-codec.h - HDMI Codec driver API
5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com
14 #include <linux/hdmi.h>
20 * Protocol between ASoC cpu-dai and HDMI-encoder
44 * HDMI audio parameters
60 * Called when ASoC starts an audio stream setup.
66 * Configures HDMI-encoder for audio stream.
74 * Configures HDMI-encoder for audio stream. Can be called
84 * Shuts down the audio stream.
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/display/
Dbrcm,bcm2711-hdmi.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM2711 HDMI Controller
10 - Eric Anholt <eric@anholt.net>
15 - brcm,bcm2711-hdmi0
16 - brcm,bcm2711-hdmi1
20 - description: HDMI controller register range
21 - description: DVP register range
[all …]
Dallwinner,sun4i-a10-hdmi.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-hdmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 HDMI Controller
10 The HDMI Encoder supports the HDMI video and audio outputs, and does
14 - Chen-Yu Tsai <wens@csie.org>
15 - Maxime Ripard <mripard@kernel.org>
20 - const: allwinner,sun4i-a10-hdmi
21 - const: allwinner,sun5i-a10s-hdmi
[all …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dr600_hdmi.c26 #include <linux/hdmi.h>
38 * HDMI color format
88 dev_err(rdev->dev, "Unknown bits per sample 0x%x, using 16\n", in r600_audio_status()
113 * update all hdmi interfaces with current audio parameters
124 if (rdev->audio.pin[0].channels != audio_status.channels || in r600_audio_update_hdmi()
125 rdev->audio.pin[0].rate != audio_status.rate || in r600_audio_update_hdmi()
126 rdev->audio.pin[0].bits_per_sample != audio_status.bits_per_sample || in r600_audio_update_hdmi()
127 rdev->audio.pin[0].status_bits != audio_status.status_bits || in r600_audio_update_hdmi()
128 rdev->audio.pin[0].category_code != audio_status.category_code) { in r600_audio_update_hdmi()
129 rdev->audio.pin[0] = audio_status; in r600_audio_update_hdmi()
[all …]
/linux-6.12.1/sound/soc/fsl/
Dimx-hdmi.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright 2017-2020 NXP
8 #include <sound/hdmi-codec.h>
12 * struct cpu_priv - CPU private data
36 struct imx_hdmi_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_hdmi_hw_params()
37 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in imx_hdmi_hw_params()
39 struct snd_soc_card *card = rtd->card; in imx_hdmi_hw_params()
40 struct device *dev = card->dev; in imx_hdmi_hw_params()
41 u32 slot_width = data->cpu_priv.slot_width; in imx_hdmi_hw_params()
45 ret = snd_soc_dai_set_sysclk(cpu_dai, data->cpu_priv.sysclk_id[tx], in imx_hdmi_hw_params()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "SoC Audio for Freescale CPUs"
4 comment "Common SoC Audio options for Freescale CPUs:"
14 This option is only useful for out-of-tree drivers since
15 in-tree drivers select it automatically.
18 tristate "Synchronous Audio Interface (SAI) module support"
24 Say Y if you want to add Synchronous Audio Interface (SAI)
26 This option is only useful for out-of-tree drivers since
27 in-tree drivers select it automatically.
36 This option is only useful for out-of-tree drivers since
[all …]
/linux-6.12.1/drivers/gpu/drm/display/
Ddrm_hdmi_state_helper.c1 // SPDX-License-Identifier: MIT
12 * __drm_atomic_helper_connector_hdmi_reset() - Initializes all HDMI @drm_connector_state resources
16 * Initializes all HDMI resources from a @drm_connector_state without
17 * actually allocating it. This is useful for HDMI drivers, in
24 unsigned int max_bpc = connector->max_bpc; in __drm_atomic_helper_connector_hdmi_reset()
26 new_conn_state->max_bpc = max_bpc; in __drm_atomic_helper_connector_hdmi_reset()
27 new_conn_state->max_requested_bpc = max_bpc; in __drm_atomic_helper_connector_hdmi_reset()
28 new_conn_state->hdmi.broadcast_rgb = DRM_HDMI_BROADCAST_RGB_AUTO; in __drm_atomic_helper_connector_hdmi_reset()
39 state = conn_state->state; in connector_state_get_mode()
43 crtc = conn_state->crtc; in connector_state_get_mode()
[all …]
/linux-6.12.1/drivers/video/
Dhdmi.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
29 #include <linux/hdmi.h>
44 return 256 - csum; in hdmi_infoframe_checksum()
55 * hdmi_avi_infoframe_init() - initialize an HDMI AVI infoframe
56 * @frame: HDMI AVI infoframe
62 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init()
63 frame->version = 2; in hdmi_avi_infoframe_init()
64 frame->length = HDMI_AVI_INFOFRAME_SIZE; in hdmi_avi_infoframe_init()
70 if (frame->type != HDMI_INFOFRAME_TYPE_AVI || in hdmi_avi_infoframe_check_only()
71 frame->version != 2 || in hdmi_avi_infoframe_check_only()
[all …]
/linux-6.12.1/sound/pci/hda/
DKconfig1 # 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
40 to the HDMI output.
[all …]
/linux-6.12.1/drivers/gpu/drm/bridge/analogix/
Danalogix-anx78xx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 #include "analogix-i2c-dptx.h"
10 #include "analogix-i2c-txcommon.h"
32 /* HDMI Status Register */
39 /* HDMI Mute Control Register */
49 * Audio and Video Auto Control
52 /* Auto Audio and Video Control register */
59 /* Audio Exception Enable Registers */
60 #define SP_AUD_EXCEPTION_ENABLE_BASE (0x24 - 1)
61 /* Bits for Audio Exception Enable Register 3 */
[all …]
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Dhdmi5.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HDMI driver for OMAP5
5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
14 #define DSS_SUBSYS_NAME "HDMI"
31 #include <sound/omap-hdmi-audio.h>
41 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
47 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
49 pm_runtime_put_noidle(&hdmi->pdev->dev); in hdmi_runtime_get()
55 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
61 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
[all …]

12345678910>>...27