/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_audio.c | 31 static inline u32 msm_dp_read_link(struct msm_dp_audio_private *audio, u32 offset) in msm_dp_read_link() argument 33 return readl_relaxed(audio->link_base + offset); in msm_dp_read_link() 36 static inline void msm_dp_write_link(struct msm_dp_audio_private *audio, in msm_dp_write_link() argument 43 writel(data, audio->link_base + offset); in msm_dp_write_link() 46 static void msm_dp_audio_stream_sdp(struct msm_dp_audio_private *audio) in msm_dp_audio_stream_sdp() argument 52 .HB3 = audio->channels - 1, in msm_dp_audio_stream_sdp() 58 msm_dp_write_link(audio, MMSS_DP_AUDIO_STREAM_0, header[0]); in msm_dp_audio_stream_sdp() 59 msm_dp_write_link(audio, MMSS_DP_AUDIO_STREAM_1, header[1]); in msm_dp_audio_stream_sdp() 62 static void msm_dp_audio_timestamp_sdp(struct msm_dp_audio_private *audio) in msm_dp_audio_timestamp_sdp() argument 74 msm_dp_write_link(audio, MMSS_DP_AUDIO_TIMESTAMP_0, header[0]); in msm_dp_audio_timestamp_sdp() [all …]
|
/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-tuner.rst | 46 Tuners have two writable properties, the audio mode and the radio 47 frequency. To change the audio mode, applications initialize the 51 different audio mode if the requested mode is invalid or unsupported. 53 selected audio mode. 89 Tuner capability flags, see :ref:`tuner-capability`. Audio flags 90 indicate the ability to decode audio subprograms. They will *not* 120 Some tuners or audio decoders can determine the received audio 121 subprograms by analyzing audio carriers, pilot tones or other 127 - receiving mono audio 131 - receiving stereo audio and a secondary audio program [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
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 | 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/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/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/sound/soc/qcom/qdsp6/ |
H A D | q6routing.c | 745 SND_SOC_DAPM_MIXER("DISPLAY_PORT_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 749 SND_SOC_DAPM_MIXER("SLIMBUS_0_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 752 SND_SOC_DAPM_MIXER("SLIMBUS_1_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 755 SND_SOC_DAPM_MIXER("SLIMBUS_2_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 758 SND_SOC_DAPM_MIXER("SLIMBUS_3_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 761 SND_SOC_DAPM_MIXER("SLIMBUS_4_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 764 SND_SOC_DAPM_MIXER("SLIMBUS_5_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 767 SND_SOC_DAPM_MIXER("SLIMBUS_6_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 770 SND_SOC_DAPM_MIXER("PRI_MI2S_RX Audio Mixer", SND_SOC_NOPM, 0, 0, 773 SND_SOC_DAPM_MIXER("SEC_MI2S_RX Audio Mixer", SND_SOC_NOPM, 0, 0, [all …]
|
/linux/sound/soc/fsl/ |
H A D | Kconfig | 4 comment "Common SoC Audio options for Freescale CPUs:" 21 tristate "Synchronous Audio Interface (SAI) module support" 27 Say Y if you want to add Synchronous Audio Interface (SAI) 44 tristate "Audio Mixer (AUDMIX) module support" 47 Say Y if you want to add Audio Mixer (AUDMIX) 75 tristate "Enhanced Serial Audio Interface (ESAI) module support" 79 Say Y if you want to add Enhanced Synchronous Audio Interface 101 a digital module that converts audio from a source sample rate to a 106 tristate "NXP Audio Transceiver (XCVR) module support" 112 Say Y if you want to add Audio Transceiver (XCVR) support for NXP [all …]
|
/linux/sound/hda/codecs/realtek/ |
H A D | Kconfig | 4 tristate "Realtek HD-audio codec support" 6 Say Y or M here to include Realtek HD-audio codec support. 8 This will enable all Realtek HD-audio codec drivers as default, 21 tristate "Build Realtek ALC260 HD-audio codec support" if EXPERT 26 Say Y or M here to include Realtek ALC260 HD-audio codec support 29 tristate "Build Realtek ALC262 HD-audio codec support" if EXPERT 34 Say Y or M here to include Realtek ALC262 HD-audio codec support 37 tristate "Build Realtek ALC268 HD-audio codec support" if EXPERT 42 Say Y or M here to include Realtek ALC268 and compatible HD-audio 46 tristate "Build Realtek ALC269 HD-audio codecs support" if EXPERT [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/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/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/tegra/ |
H A D | Kconfig | 5 tristate "SoC Audio for the Tegra System-on-Chip" 12 Say Y or M here if you want support for SoC audio on Tegra. 65 Config to enable Audio Hub (AHUB) module, which comprises of a 66 switch called Audio Crossbar (AXBAR) used to configure or modify 67 the audio routing path between various HW accelerators present in 116 converts the multi-bit Pulse Code Modulation (PCM) audio input to 128 Audio Hub (AHUB). Each ADMA channel that sends/receives data to/ 156 Config to enable the Audio Multiplexer (AMX) which can multiplex 165 Config to enable the Audio Demultiplexer (ADX) which takes an 177 audio streams. It supports mixing of up to 10 input streams, [all …]
|
/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_audio.c | 18 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update() local 19 bool enabled = audio->enabled; in msm_hdmi_audio_update() 26 DBG("audio: enabled=%d, channels=%d, rate=%d", in msm_hdmi_audio_update() 27 audio->enabled, audio->channels, audio->rate); in msm_hdmi_audio_update() 32 DBG("disabling audio: no video"); in msm_hdmi_audio_update() 49 drm_hdmi_acr_get_n_cts(hdmi->pixclock, audio->rate, &n, &cts); in msm_hdmi_audio_update() 51 if (audio->rate == 192000 || audio->rate == 176400) { in msm_hdmi_audio_update() 54 } else if (audio->rate == 96000 || audio->rate == 88200) { in msm_hdmi_audio_update() 67 if (audio->rate == 48000 || audio->rate == 96000 || in msm_hdmi_audio_update() 68 audio->rate == 192000) in msm_hdmi_audio_update() [all …]
|
/linux/sound/soc/ti/ |
H A D | Kconfig | 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" 93 Say Y or M if you want to add support for SoC audio on the OMAP3 Pandora. [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. 138 tristate "SoC ALSA audio driver for QDSP6" 154 To add support for MSM QDSP6 Soc Audio. 156 audio drivers. This includes q6asm, q6adm, 166 Support for Qualcomm Technologies LPASS audio block in 168 Say Y if you want to use audio device on this SoCs [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 …]
|
/linux/sound/hda/codecs/hdmi/ |
H A D | Kconfig | 4 tristate "HD-audio HDMI codec support" 6 Say Y or M here to include HD-audio HDMI/DislayPort codec support. 15 tristate "Generic HDMI/DisplayPort HD-audio codec support" if EXPERT 20 Say Y or M here to include Generic HDMI and DisplayPort HD-audio 27 tristate "Simple HDMI/DisplayPort HD-audio codec support" if EXPERT 30 Say Y or M here to include Simple HDMI and DisplayPort HD-audio 34 tristate "Intel HDMI/DisplayPort HD-audio codec support" if EXPERT 39 HD-audio codec support. 45 Say Y to enable HD-Audio Keep Alive (KAE) aka Silent Stream 52 to start playing audio after the clock has been stopped. [all …]
|
/linux/sound/usb/ |
H A D | Kconfig | 14 tristate "USB Audio/MIDI driver" 22 Say Y here to include support for USB audio and USB MIDI 26 will be called snd-usb-audio. 29 bool "MIDI 2.0 support by USB Audio driver" 32 Say Y here to include the support for MIDI 2.0 by USB Audio driver. 47 audio/MIDI interfaces. 59 Say Y here to include support for Tascam USB Audio/MIDI 66 tristate "Native Instruments USB audio devices" 71 Say Y here to include support for caiaq USB audio interfaces, 78 * Native Instruments Audio Kontrol 1 [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_audio.c | 43 * DOC: High Definition Audio over HDMI and Display Port 45 * The graphics and audio drivers together support High Definition Audio over 46 * HDMI and Display Port. The audio programming sequences are divided into audio 48 * handles the audio codec sequences, while the audio driver handles the audio 53 * transcoder and port, and after completed link training. Therefore the audio 57 * but generally the ELDV/PD change in the codec sequence indicates to the audio 59 * co-operation between the graphics and audio drivers is handled via audio 64 * and audio drivers. The struct &i915_audio_component_ops @ops in it is 65 * defined in graphics driver and called in audio driver. The 188 * WA_14020863754: Implement Audio Workaround [all …]
|