/linux/Documentation/userspace-api/media/v4l/ |
H A D | audio.rst | 6 Audio Inputs and Outputs 9 Audio inputs and outputs are physical connectors of a device. Video 11 each. Radio devices have no audio inputs or outputs. They have exactly 12 one tuner which in fact *is* an audio source, but this API associates 14 these. [#f1]_ A connector on a TV card to loop back the received audio 15 signal to a sound card is not considered an audio output. 17 Audio and video inputs and outputs are associated. Selecting a video 18 source also selects an audio source. This is most evident when the video 19 and audio source is a tuner. Further audio connectors can combine with 21 and two audio inputs exist, there may be up to four valid combinations. [all …]
|
H A D | vidioc-g-audio.rst | 13 VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and its attributes 38 To query the current audio input applications zero out the ``reserved`` 42 has no audio inputs, or none which combine with the current video input. 44 Audio inputs have one writable property, the audio mode. To select the 45 current audio input *and* change the audio mode, applications initialize 48 ioctl. Drivers may switch to a different audio mode if the request 50 return the actual new audio mode. 63 - Identifies the audio input, set by the driver or application. 66 - Name of the audio input, a NUL-terminated ASCII string, for 71 - Audio capability flags, see :ref:`audio-capability`. [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | simple-card.yaml | 7 title: Simple Audio Card Driver 89 A list of the connections between audio components. 95 description: User specified audio sound widgets. 103 description: audio format. 154 Additional devices used by the simple audio card. 158 $ref: audio-iio-aux.yaml# 164 - simple-audio-card 165 - simple-scu-audio-card 175 simple-audio-card,name: 176 description: User specified audio sound card name. [all …]
|
H A D | fsl-asoc-card.yaml | 24 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as 59 - karo,tx53-audio-sgtl5000 62 - fsl,imx-audio-ac97 63 - fsl,imx-audio-cs42888 64 - fsl,imx-audio-mqs 65 - fsl,imx-audio-sgtl5000 66 - fsl,imx-audio-wm8960 67 - fsl,imx-audio-wm8962 72 - const: fsl,imx-audio-spdif 75 - fsl,imx-audio-ac97 [all …]
|
H A D | fsl,audmix.yaml | 7 title: NXP Audio Mixer (AUDMIX). 14 The Audio Mixer is a on-chip functional module that allows mixing of two 15 audio streams into a single audio stream. Audio Mixer has two input serial 16 audio interfaces. These are driven by two Synchronous Audio interface 17 modules (SAI). Each input serial interface carries 8 audio channels in its 18 frame in TDM manner. Mixer mixes audio samples of corresponding channels 19 from two interfaces into a single sample. Before mixing, audio samples of 21 Audio Mixer is also a serial audio interface. Like input interfaces it has 23 interface of audio codec and also sent to the external pins along with the 24 receive path of normal audio SAI module for readback by the CPU. [all …]
|
H A D | mediatek,mt7986-afe.yaml | 31 - description: audio bus clock 32 - description: audio 26M clock 33 - description: audio intbus clock 34 - description: audio hopping clock 35 - description: audio pll clock 37 - description: audio i2s/pcm mck 67 - description: audio bus clock 68 - description: audio 26M clock 69 - description: audio intbus clock 70 - description: audio hopping clock [all …]
|
H A D | fsl,imx-audio-es8328.yaml | 4 $id: http://devicetree.org/schemas/sound/fsl,imx-audio-es8328.yaml# 7 title: Freescale i.MX audio complex with ES8328 codec 18 const: fsl,imx-audio-es8328 32 audio-amp-supply: 35 audio-codec: 37 description: The phandle to the ES8328 audio codec 39 audio-routing: 42 A list of the connections between audio components. Each entry 48 * audio-amp 68 description: The internal port of the i.MX audio muxer (AUDMUX) [all …]
|
H A D | fsl,rpmsg.yaml | 7 title: NXP Audio RPMSG CPU DAI Controller 13 fsl_rpmsg is a virtual audio device. Mapping to real hardware devices 15 Linux side is a device which provides audio service by rpmsg channel. 26 - fsl,imx7ulp-rpmsg-audio 27 - fsl,imx8mn-rpmsg-audio 28 - fsl,imx8mm-rpmsg-audio 29 - fsl,imx8mp-rpmsg-audio 30 - fsl,imx8ulp-rpmsg-audio 31 - fsl,imx93-rpmsg-audio 32 - fsl,imx95-rpmsg-audio [all …]
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_audio.c | 46 static void dp_audio_stream_sdp(struct dp_audio_private *audio) in dp_audio_stream_sdp() argument 48 struct dp_catalog *catalog = audio->catalog; in dp_audio_stream_sdp() 60 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp() 73 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp() 84 new_value = audio->channels - 1; in dp_audio_stream_sdp() 88 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp() 96 static void dp_audio_timestamp_sdp(struct dp_audio_private *audio) in dp_audio_timestamp_sdp() argument 98 struct dp_catalog *catalog = audio->catalog; in dp_audio_timestamp_sdp() 110 drm_dbg_dp(audio->drm_dev, in dp_audio_timestamp_sdp() 124 drm_dbg_dp(audio->drm_dev, in dp_audio_timestamp_sdp() [all …]
|
/linux/drivers/mfd/ |
H A D | twl4030-audio.c | 3 * MFD driver for twl4030 audio submodule, which contains an audio codec, and 21 #include <linux/mfd/twl4030-audio.h> 46 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_set_resource() local 50 audio->resource[id].reg); in twl4030_audio_set_resource() 53 val |= audio->resource[id].mask; in twl4030_audio_set_resource() 55 val &= ~audio->resource[id].mask; in twl4030_audio_set_resource() 58 val, audio->resource[id].reg); in twl4030_audio_set_resource() 65 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_get_resource() local 69 audio->resource[id].reg); in twl4030_audio_get_resource() 80 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_enable_resource() local [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_audio.c | 212 if (rdev->audio.funcs->enable) in radeon_audio_enable() 213 rdev->audio.funcs->enable(rdev, pin, enable_mask); in radeon_audio_enable() 221 rdev->audio.funcs = &dce6_funcs; in radeon_audio_interface_init() 222 rdev->audio.hdmi_funcs = &dce6_hdmi_funcs; in radeon_audio_interface_init() 223 rdev->audio.dp_funcs = &dce6_dp_funcs; in radeon_audio_interface_init() 225 rdev->audio.funcs = &dce4_funcs; in radeon_audio_interface_init() 226 rdev->audio.hdmi_funcs = &dce4_hdmi_funcs; in radeon_audio_interface_init() 227 rdev->audio.dp_funcs = &dce4_dp_funcs; in radeon_audio_interface_init() 229 rdev->audio.funcs = &dce32_funcs; in radeon_audio_interface_init() 230 rdev->audio.hdmi_funcs = &dce32_hdmi_funcs; in radeon_audio_interface_init() [all …]
|
/linux/sound/soc/fsl/ |
H A D | Kconfig | 2 menu "SoC Audio for Freescale CPUs" 4 comment "Common SoC Audio options for Freescale CPUs:" 18 tristate "Synchronous Audio Interface (SAI) module support" 24 Say Y if you want to add Synchronous Audio Interface (SAI) 40 tristate "Audio Mixer (AUDMIX) module support" 43 Say Y if you want to add Audio Mixer (AUDMIX) 71 tristate "Enhanced Serial Audio Interface (ESAI) module support" 75 Say Y if you want to add Enhanced Synchronous Audio Interface 97 a digital module that converts audio from a source sample rate to a 102 tristate "NXP Audio Transceiver (XCVR) module support" [all …]
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6routing.c | 741 SND_SOC_DAPM_MIXER("DISPLAY_PORT_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 745 SND_SOC_DAPM_MIXER("SLIMBUS_0_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 748 SND_SOC_DAPM_MIXER("SLIMBUS_1_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 751 SND_SOC_DAPM_MIXER("SLIMBUS_2_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 754 SND_SOC_DAPM_MIXER("SLIMBUS_3_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 757 SND_SOC_DAPM_MIXER("SLIMBUS_4_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 760 SND_SOC_DAPM_MIXER("SLIMBUS_5_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 763 SND_SOC_DAPM_MIXER("SLIMBUS_6_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 766 SND_SOC_DAPM_MIXER("PRI_MI2S_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 769 SND_SOC_DAPM_MIXER("SEC_MI2S_RX Audio Mixer", SND_SOC_NOPM, 0, 0, [all …]
|
/linux/sound/soc/samsung/ |
H A D | Kconfig | 9 the Samsung SoCs' Audio interfaces. You will also need to 10 select the audio interfaces to support below. 25 tristate "SoC I2S Audio support for WM8994 on SMDK" 31 Say Y if you want to add support for SoC audio on the SMDKs. 34 tristate "SoC S/PDIF Audio support for SMDK" 37 Say Y if you want to add support for SoC S/PDIF audio on the SMDK. 40 tristate "SoC PCM Audio support for WM8994 on SMDK" 46 Say Y if you want to add support for SoC audio on the SMDK 49 tristate "Audio support for Wolfson Speyside" 59 tristate "Audio support for Wolfson Tobermory" [all …]
|
/linux/sound/pci/hda/ |
H A D | Kconfig | 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 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 48 bool "Build hwdep interface for HD-audio driver" 51 Say Y here to build a hwdep interface for HD-audio driver. 58 Say Y here to enable the HD-audio codec re-configuration feature. [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_lpe_audio.c | 31 * DOC: LPE Audio integration for HDMI or DP playback 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, 52 * platform device: even though hdmi-lpe-audio driver is released, the modules 58 * When forwarding LPE audio irqs, the flow control handler selection depends 80 #define HAS_LPE_AUDIO(dev_priv) ((dev_priv)->display.audio.lpe.platdev != NULL) 101 rsc[0].start = rsc[0].end = dev_priv->display.audio.lpe.irq; in lpe_audio_platdev_create() [all …]
|
/linux/Documentation/sound/designs/ |
H A D | timestamping.rst | 42 of time as measured by different components of audio hardware. In 74 audio time it wants reported by selecting the relevant settings in 83 In case the application requests an audio tstamp that is not supported 92 The audio timestamp accuracy can be returned to user-space, so that 100 - the link time can be used to track long-term drifts between audio 110 - including the delay in the audio timestamp may 117 audio applications... 127 The ALSA API only allows for a single audio timestamp to be reported 128 at a time. This is a conscious design decision, reading the audio 131 are. To avoid any interpretation issues, a single (system, audio) [all …]
|
/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_audio.c | 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 */ 76 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update() local 77 struct hdmi_audio_infoframe *info = &audio->infoframe; in msm_hdmi_audio_update() 79 bool enabled = audio->enabled; in msm_hdmi_audio_update() 83 DBG("audio: enabled=%d, channels=%d, channel_allocation=0x%x, " in msm_hdmi_audio_update() 85 audio->enabled, info->channels, info->channel_allocation, in msm_hdmi_audio_update() 86 info->level_shift_value, info->downmix_inhibit, audio->rate); in msm_hdmi_audio_update() 90 DBG("disabling audio: no video"); in msm_hdmi_audio_update() [all …]
|
/linux/drivers/usb/gadget/function/ |
H A D | f_uac1_legacy.c | 3 * f_audio.c -- USB Audio class function driver 44 * in the Audio Interface Collection 240 * This function is an ALSA sound card following USB Audio Class Spec 1.0. 303 struct f_audio *audio = container_of(data, struct f_audio, in f_audio_playback_work() local 307 spin_lock_irq(&audio->lock); in f_audio_playback_work() 308 if (list_empty(&audio->play_queue)) { in f_audio_playback_work() 309 spin_unlock_irq(&audio->lock); in f_audio_playback_work() 312 play_buf = list_first_entry(&audio->play_queue, in f_audio_playback_work() 315 spin_unlock_irq(&audio->lock); in f_audio_playback_work() 317 u_audio_playback(&audio->card, play_buf->buf, play_buf->actual); in f_audio_playback_work() [all …]
|
/linux/sound/soc/qcom/ |
H A D | Kconfig | 6 Say Y or M if you want to add support to use audio devices 56 Say Y or M if you want add support for SoC audio on the 60 tristate "SoC Audio support for APQ8016 SBC platforms" 64 Support for Qualcomm Technologies LPASS audio block in 66 Say Y if you want to use audio devices on MI2S. 122 tristate "SoC ALSA audio driver for QDSP6" 138 To add support for MSM QDSP6 Soc Audio. 140 audio drivers. This includes q6asm, q6adm, 150 Support for Qualcomm Technologies LPASS audio block in 152 Say Y if you want to use audio device on this SoCs [all …]
|
/linux/sound/soc/ti/ |
H A D | Kconfig | 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" 67 comment "Audio support for boards with Texas Instruments SoCs" 69 tristate "SoC Audio support for Nokia N810" 74 Say Y or M if you want to add support for SoC audio on Nokia N810. 77 tristate "SoC Audio support for Nokia RX-51" 83 Say Y or M if you want to add support for SoC audio on Nokia RX-51 87 tristate "SoC Audio support for OMAP3 Pandora" [all …]
|
/linux/sound/soc/tegra/ |
H A D | Kconfig | 3 tristate "SoC Audio for the Tegra System-on-Chip" 10 Say Y or M here if you want support for SoC audio on Tegra. 63 Config to enable Audio Hub (AHUB) module, which comprises of a 64 switch called Audio Crossbar (AXBAR) used to configure or modify 65 the audio routing path between various HW accelerators present in 114 converts the multi-bit Pulse Code Modulation (PCM) audio input to 126 Audio Hub (AHUB). Each ADMA channel that sends/receives data to/ 154 Config to enable the Audio Multiplexer (AMX) which can multiplex 163 Config to enable the Audio Demultiplexer (ADX) which takes an 175 audio streams. It supports mixing of up to 10 input streams, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | audio.h | 31 struct audio; 35 bool (*endpoint_valid)(struct audio *audio); 37 void (*hw_init)(struct audio *audio); 39 void (*az_enable)(struct audio *audio); 41 void (*az_disable)(struct audio *audio); 43 void (*az_configure)(struct audio *audio, 49 void (*az_disable_hbr_audio)(struct audio *audio); 51 void (*wall_dto_setup)(struct audio *audio, 56 void (*destroy)(struct audio **audio); 59 struct audio { struct
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-i2s-audio.c | 3 * dw-hdmi-i2s-audio.c 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() 27 audio->write(hdmi, val, offset); in hdmi_write() 30 static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset) in hdmi_read() argument 32 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_read() 34 return audio->read(hdmi, offset); in hdmi_read() 41 struct dw_hdmi_i2s_audio_data *audio = data; in dw_hdmi_i2s_hw_params() local [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_audio.c | 31 #define DCE_AUD(audio)\ argument 32 container_of(audio, struct dce_audio, base) 50 read_indirect_azalia_reg(audio, IX_REG(reg_name)) 53 write_indirect_azalia_reg(audio, IX_REG(reg_name), value) 55 static void write_indirect_azalia_reg(struct audio *audio, in write_indirect_azalia_reg() argument 59 struct dce_audio *aud = DCE_AUD(audio); in write_indirect_azalia_reg() 70 static uint32_t read_indirect_azalia_reg(struct audio *audio, uint32_t reg_index) in read_indirect_azalia_reg() argument 72 struct dce_audio *aud = DCE_AUD(audio); in read_indirect_azalia_reg() 162 /* Also do some calculation for the available Audio Bandwidth for the in check_audio_bandwidth_hdmi() 176 /* Number of Audio Packets (multiplied by 10) per Line (for 8 ch number in check_audio_bandwidth_hdmi() [all …]
|