/linux-6.12.1/sound/soc/ti/ |
D | omap-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap-hdmi-audio.c -- OMAP4+ DSS HDMI audio support library 5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com 20 #include <sound/omap-hdmi-audio.h> 22 #include "sdma-pcm.h" 24 #define DRV_NAME "omap-hdmi-audio" 33 struct snd_aes_iec958 iec; member 45 return snd_soc_card_get_drvdata(rtd->card); in card_drvdata_substream() 52 mutex_lock(&ad->current_stream_lock); in hdmi_dai_abort() 53 if (ad->current_stream && ad->current_stream->runtime && in hdmi_dai_abort() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | st,stm32-spdifrx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/st,stm32-spdifrx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Olivier Moysan <olivier.moysan@foss.st.com> 14 IEC-60958 and IEC-61937. 17 - $ref: dai-common.yaml# 22 - st,stm32h7-spdifrx 24 "#sound-dai-cells": 33 clock-names: [all …]
|
D | microchip,sama7g5-spdiftx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdiftx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Codrin Ciubotariu <codrin.ciubotariu@microchip.com> 14 compliant with the IEC-60958 standard. 17 - $ref: dai-common.yaml# 20 "#sound-dai-cells": 24 const: microchip,sama7g5-spdiftx 34 - description: Peripheral Bus Clock [all …]
|
D | microchip,sama7g5-spdifrx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdifrx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Codrin Ciubotariu <codrin.ciubotariu@microchip.com> 14 compliant with the IEC-60958 standard. 17 - $ref: dai-common.yaml# 20 "#sound-dai-cells": 24 const: microchip,sama7g5-spdifrx 34 - description: Peripheral Bus Clock [all …]
|
/linux-6.12.1/sound/soc/atmel/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "SoC Audio for the Atmel System-on-Chip" 31 in PDC mode configured using audio-graph-card in device-tree. 40 in DMA mode configured using audio-graph-card in device-tree. 43 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" 49 Say Y if you want to add support for SoC audio on WM8731-based 63 tristate "SoC Audio support for WM8731-based at91sam9x5 board" 91 tristate "ASoC driver for the Axentia TSE-850" 98 Axentia TSE-850 with a PCM5142 codec. 110 tristate "Support for Mikroe-PROTO board" [all …]
|
/linux-6.12.1/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 - https://www.ti.com/ 32 return core->base + HDMI_CORE_AV; in hdmi_av_base() 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() 80 void __iomem *base = core->base; in hdmi4_core_ddc_read() 87 return -ETIMEDOUT; in hdmi4_core_ddc_read() 112 return -EIO; in hdmi4_core_ddc_read() [all …]
|
D | hdmi5_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ 28 void __iomem *base = core->base; in hdmi5_core_ddc_init() 107 void __iomem *base = core->base; in hdmi5_core_ddc_uninit() 118 void __iomem *base = core->base; in hdmi5_core_ddc_read() 152 return -EIO; in hdmi5_core_ddc_read() 164 return -EIO; in hdmi5_core_ddc_read() 177 #define DUMPCORE(r) seq_printf(s, "%-35s %08x\n", #r,\ in hdmi5_core_dump() 178 hdmi_read_reg(core->base, r)) in hdmi5_core_dump() 239 video_cfg->v_fc_config.vm = cfg->vm; in hdmi_core_init() [all …]
|
/linux-6.12.1/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/ 33 return core->base + HDMI_CORE_AV; in hdmi_av_base() 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() 81 void __iomem *base = core->base; in hdmi_core_ddc_edid() 90 return -ETIMEDOUT; in hdmi_core_ddc_edid() 118 return -EIO; in hdmi_core_ddc_edid() [all …]
|
D | hdmi5_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 void __iomem *base = core->base; in hdmi_core_ddc_init() 120 void __iomem *base = core->base; in hdmi_core_ddc_uninit() 130 void __iomem *base = core->base; in hdmi_core_ddc_edid() 164 return -EIO; in hdmi_core_ddc_edid() 176 return -EIO; in hdmi_core_ddc_edid() 189 int max_ext_blocks = (len / 128) - 1; in hdmi5_read_edid() 192 return -EINVAL; in hdmi5_read_edid() 220 #define DUMPCORE(r) seq_printf(s, "%-35s %08x\n", #r,\ in hdmi5_core_dump() 221 hdmi_read_reg(core->base, r)) in hdmi5_core_dump() [all …]
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | r600_hdmi.c | 88 dev_err(rdev->dev, "Unknown bits per sample 0x%x, using 16\n", in r600_audio_status() 103 /* iec 60958 status bits */ in r600_audio_status() 106 /* iec 60958 category code */ in r600_audio_status() 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() 133 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in r600_audio_update_hdmi() [all …]
|
/linux-6.12.1/Documentation/arch/arm/omap/ |
D | dss.rst | 7 TV-out and multiple display support, but there are lots of small improvements 10 The DSS2 driver (omapdss module) is in arch/arm/plat-omap/dss/, and the FB, 15 -------- 19 - MIPI DPI (parallel) output 20 - MIPI DSI output in command mode 21 - MIPI DBI (RFBI) output 22 - SDI output 23 - TV output 24 - All pieces can be compiled as a module or inside kernel 25 - Use DISPC to update any of the outputs [all …]
|
/linux-6.12.1/sound/firewire/oxfw/ |
D | oxfw-stream.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * oxfw_stream.c - a part of driver for OXFW970/971 based devices 29 * See Table 5.7 – Sampling frequency for Multi-bit Audio 45 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate() 50 if (oxfw->has_output) in set_rate() 51 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate() 66 if (s == &oxfw->tx_stream) { in set_stream_format() 67 formats = oxfw->tx_stream_formats; in set_stream_format() 70 formats = oxfw->rx_stream_formats; in set_stream_format() 84 return -EINVAL; in set_stream_format() [all …]
|
/linux-6.12.1/sound/firewire/bebob/ |
D | bebob_stream.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bebob_stream.c - a part of driver for BeBoB based devices 5 * Copyright (c) 2013-2014 Takashi Sakamoto 18 * to start transmitting stream. An example is 'M-Audio Firewire 410'. 59 return -EINVAL; in get_formation_index() 70 err = avc_general_get_sig_fmt(bebob->unit, &tx_rate, in snd_bebob_stream_get_rate() 72 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate() 78 err = avc_general_get_sig_fmt(bebob->unit, &rx_rate, in snd_bebob_stream_get_rate() 80 } while (err == -EAGAIN && ++trials < 3); in snd_bebob_stream_get_rate() 89 err = avc_general_set_sig_fmt(bebob->unit, rx_rate, in snd_bebob_stream_get_rate() [all …]
|
/linux-6.12.1/drivers/gpu/drm/mediatek/ |
D | mtk_dp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2019-2022 MediaTek Inc. 18 #include <linux/arm-smccc.h> 23 #include <linux/media-bus-format.h> 24 #include <linux/nvmem-consumer.h> 33 #include <sound/hdmi-codec.h> 402 .name = "mtk-dp-registers", 415 ret = regmap_read(mtk_dp->regs, offset, &read_val); in mtk_dp_read() 417 dev_err(mtk_dp->dev, "Failed to read register 0x%x: %d\n", in mtk_dp_read() 427 int ret = regmap_write(mtk_dp->regs, offset, val); in mtk_dp_write() [all …]
|
/linux-6.12.1/include/sound/ |
D | asoundef.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Advanced Linux Sound Architecture - ALSA - Driver 7 * Copyright (c) 1994-2000 by Jaroslav Kysela <perex@perex.cz> 18 #define IEC958_AES0_NONAUDIO (1<<1) /* 0 = audio, 1 = non-audio */ 19 #define IEC958_AES0_PRO_EMPHASIS (7<<2) /* mask - emphasis */ 25 #define IEC958_AES0_PRO_FS (3<<6) /* mask - sample frequency */ 31 #define IEC958_AES0_CON_EMPHASIS (7<<3) /* mask - emphasis */ 34 #define IEC958_AES0_CON_MODE (3<<6) /* mask - mode */ 35 #define IEC958_AES1_PRO_MODE (15<<0) /* mask - channel mode */ 37 #define IEC958_AES1_PRO_MODE_STEREOPHONIC (2<<0) /* stereophonic - ch A is left */ [all …]
|