/linux-6.6.21/drivers/staging/media/av7110/ |
D | audio_function_calls.rst | 12 audio-fopen 13 audio-fclose 14 audio-fwrite 15 audio-stop 16 audio-play 17 audio-pause 18 audio-continue 19 audio-select-source 20 audio-set-mute 21 audio-set-av-sync [all …]
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_audio.c | 211 if (rdev->audio.funcs->enable) in radeon_audio_enable() 212 rdev->audio.funcs->enable(rdev, pin, enable_mask); in radeon_audio_enable() 220 rdev->audio.funcs = &dce6_funcs; in radeon_audio_interface_init() 221 rdev->audio.hdmi_funcs = &dce6_hdmi_funcs; in radeon_audio_interface_init() 222 rdev->audio.dp_funcs = &dce6_dp_funcs; in radeon_audio_interface_init() 224 rdev->audio.funcs = &dce4_funcs; in radeon_audio_interface_init() 225 rdev->audio.hdmi_funcs = &dce4_hdmi_funcs; in radeon_audio_interface_init() 226 rdev->audio.dp_funcs = &dce4_dp_funcs; in radeon_audio_interface_init() 228 rdev->audio.funcs = &dce32_funcs; in radeon_audio_interface_init() 229 rdev->audio.hdmi_funcs = &dce32_hdmi_funcs; in radeon_audio_interface_init() [all …]
|
/linux-6.6.21/drivers/mfd/ |
D | twl4030-audio.c | 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 89 mutex_lock(&audio->mutex); in twl4030_audio_enable_resource() 90 if (!audio->resource[id].request_count) in twl4030_audio_enable_resource() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/ |
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, 48 void (*wall_dto_setup)(struct audio *audio, 53 void (*destroy)(struct audio **audio); 56 struct audio { struct
|
/linux-6.6.21/drivers/gpu/drm/msm/dp/ |
D | dp_audio.c | 126 static void dp_audio_stream_sdp(struct dp_audio_private *audio) in dp_audio_stream_sdp() argument 128 struct dp_catalog *catalog = audio->catalog; in dp_audio_stream_sdp() 140 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp() 153 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp() 164 new_value = audio->channels - 1; in dp_audio_stream_sdp() 168 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp() 176 static void dp_audio_timestamp_sdp(struct dp_audio_private *audio) in dp_audio_timestamp_sdp() argument 178 struct dp_catalog *catalog = audio->catalog; in dp_audio_timestamp_sdp() 190 drm_dbg_dp(audio->drm_dev, in dp_audio_timestamp_sdp() 204 drm_dbg_dp(audio->drm_dev, in dp_audio_timestamp_sdp() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
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() 288 struct audio *audio, in set_high_bit_rate_capable() argument 305 struct audio *audio, in set_video_latency() argument [all …]
|
D | dce_audio.h | 141 struct audio base; 147 struct audio *dce_audio_create( 155 struct audio *dce60_audio_create( 163 void dce_aud_destroy(struct audio **audio); 165 void dce_aud_hw_init(struct audio *audio); 167 void dce_aud_az_enable(struct audio *audio); 168 void dce_aud_az_disable(struct audio *audio); 170 void dce_aud_az_configure(struct audio *audio, 175 void dce_aud_wall_dto_setup(struct audio *audio,
|
/linux-6.6.21/Documentation/devicetree/bindings/sound/ |
D | simple-card.yaml | 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. 179 simple-audio-card,widgets: [all …]
|
D | fsl-asoc-card.txt | 18 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as 23 "fsl,imx-audio-ac97" 25 "fsl,imx-audio-cs42888" 27 "fsl,imx-audio-cs427x" 30 "fsl,imx-audio-wm8962" 32 "fsl,imx-audio-sgtl5000" 33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt) 35 "fsl,imx-audio-wm8960" 37 "fsl,imx-audio-mqs" 39 "fsl,imx-audio-wm8524" [all …]
|
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 …]
|
D | imx-audio-es8328.txt | 1 Freescale i.MX audio complex with ES8328 codec 4 - compatible : "fsl,imx-audio-es8328" 8 - audio-amp-supply : Power regulator for speaker amps 9 - audio-codec : The phandle of the ES8328 audio codec 10 - audio-routing : A list of the connections between audio components. 17 * audio-amp 34 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX) 35 - mux-ext-port : The external port of the i.MX audio muxer (AUDMIX) 43 compatible = "fsl,imx-audio-es8328"; 44 model = "imx-audio-es8328"; [all …]
|
D | armada-370db-audio.txt | 1 Device Tree bindings for the Armada 370 DB audio 4 These Device Tree bindings are used to describe the audio complex 9 * compatible: must be "marvell,a370db-audio" 11 * marvell,audio-controller: a phandle that points to the audio 14 * marvell,audio-codec: a set of three phandles that points to: 16 1/ the analog audio codec connected to the Armada 370 SoC 23 compatible = "marvell,a370db-audio"; 24 marvell,audio-controller = <&audio_controller>; 25 marvell,audio-codec = <&audio_codec &spdif_out &spdif_in>;
|
D | nvidia,tegra-audio-max98090.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-max98090.yaml# 7 title: NVIDIA Tegra audio complex with MAX98090 CODEC 14 - $ref: nvidia,tegra-audio-common.yaml# 20 - pattern: '^[a-z0-9]+,tegra-audio-max98090(-[a-z0-9]+)+$' 21 - const: nvidia,tegra-audio-max98090 24 - nvidia,tegra-audio-max98090-nyan-big 25 - nvidia,tegra-audio-max98090-nyan-blaze 26 - const: nvidia,tegra-audio-max98090-nyan 27 - const: nvidia,tegra-audio-max98090 29 nvidia,audio-routing: [all …]
|
D | atmel-sam9x5-wm8731-audio.txt | 1 * Atmel at91sam9x5ek wm8731 audio complex 4 - compatible: "atmel,sam9x5-wm8731-audio" 7 - atmel,audio-codec: The phandle of the WM8731 audio codec 8 - atmel,audio-routing: A list of the connections between audio components. 12 Available audio endpoints for the audio-routing table: 23 compatible = "atmel,sam9x5-wm8731-audio"; 27 atmel,audio-routing = 34 atmel,audio-codec = <&wm8731>;
|
D | samsung,tm2.yaml | 7 title: Samsung Exynos5433 TM2(E) audio complex with WM5110 codec 18 const: samsung,tm2-audio 20 audio-amplifier: 24 audio-codec: 28 - description: Phandle to the WM5110 audio codec. 31 samsung,audio-routing: 33 List of the connections between audio components; each entry is 38 Deprecated, use audio-routing. 54 - audio-amplifier 55 - audio-codec [all …]
|
D | sirf-audio.txt | 1 * SiRF atlas6 and prima2 internal audio codec and port based audio setups 4 - compatible: "sirf,sirf-audio-card" 5 - sirf,audio-platform: phandle for the platform node 6 - sirf,audio-codec: phandle for the SiRF internal codec node 16 Available audio endpoints for the audio-routing table: 24 SiRF internal audio codec pins: 34 compatible = "sirf,sirf-audio-card"; 35 sirf,audio-codec = <&audiocodec>; 36 sirf,audio-platform = <&audioport>;
|
D | mvebu-audio.txt | 1 * mvebu (Kirkwood, Dove, Armada 370) audio controller 6 "marvell,kirkwood-audio" for Kirkwood platforms 7 "marvell,dove-audio" for Dove platforms 8 "marvell,armada370-audio" for Armada 370 platforms 9 "marvell,armada-380-audio" for Armada 38x platforms 13 With "marvell,armada-380-audio" two other regions are required: 19 with "marvell,kirkwood-audio", the audio interrupt 20 with "marvell,dove-audio", a list of two interrupts, the first for 35 disables standard I2S I/O. Valid only with "marvell,armada-380-audio" 40 i2s1: audio-controller@b4000 { [all …]
|
/linux-6.6.21/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_audio.c | 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() 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() 118 n = arcs->lut[audio->rate].n; in msm_hdmi_audio_update() 119 cts = arcs->lut[audio->rate].cts; in msm_hdmi_audio_update() 121 if ((MSM_HDMI_SAMPLE_RATE_192KHZ == audio->rate) || in msm_hdmi_audio_update() 122 (MSM_HDMI_SAMPLE_RATE_176_4KHZ == audio->rate)) { in msm_hdmi_audio_update() 125 } else if ((MSM_HDMI_SAMPLE_RATE_96KHZ == audio->rate) || in msm_hdmi_audio_update() [all …]
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
D | audio.rst | 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. 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. 22 The relation of video and audio connectors is defined in the 26 number, starting at zero, of one audio input or output. 34 status information applicable when the current audio input is queried. [all …]
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_uac1_legacy.c | 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() 323 struct f_audio *audio = req->context; in f_audio_out_ep_complete() local 324 struct usb_composite_dev *cdev = audio->card.func.config->cdev; in f_audio_out_ep_complete() 325 struct f_audio_buf *copy_buf = audio->copy_buf; in f_audio_out_ep_complete() [all …]
|
/linux-6.6.21/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-i2s-audio.c | 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 42 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hw_params() 54 hdmi_write(audio, HDMI_AUD_CONF0_SW_RESET, HDMI_AUD_CONF0); in dw_hdmi_i2s_hw_params() 55 hdmi_write(audio, (u8)~HDMI_MC_SWRSTZ_I2SSWRST_REQ, HDMI_MC_SWRSTZ); in dw_hdmi_i2s_hw_params() [all …]
|
/linux-6.6.21/sound/soc/bcm/ |
D | cygnus-ssp.c | 251 value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 256 aio->cygaud->audio + aio->regs.bf_sourcech_grp); in audio_ssp_init_portregs() 262 writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 265 value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs() 269 writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs() 282 value = readl(aio->cygaud->audio + aio->regs.bf_destch_cfg); in audio_ssp_init_portregs() 287 writel(value, aio->cygaud->audio + aio->regs.bf_destch_cfg); in audio_ssp_init_portregs() 290 value = readl(aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); in audio_ssp_init_portregs() 292 writel(value, aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); in audio_ssp_init_portregs() 295 writel(aio->portnum, aio->cygaud->audio + BF_SRC_GRP3_OFFSET); in audio_ssp_init_portregs() [all …]
|
/linux-6.6.21/arch/arm64/boot/dts/freescale/ |
D | imx8mq-zii-ultra-rmb3.dts | 15 compatible = "simple-audio-card"; 16 simple-audio-card,name = "front"; 17 simple-audio-card,format = "i2s"; 18 simple-audio-card,bitclock-master = <&sound1_codec>; 19 simple-audio-card,frame-master = <&sound1_codec>; 20 simple-audio-card,widgets = 22 simple-audio-card,routing = 27 simple-audio-card,aux-devs = <&hpa1>; 29 sound1_cpu: simple-audio-card,cpu { 33 sound1_codec: simple-audio-card,codec { [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_lpe_audio.c | 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() 153 platform_device_unregister(dev_priv->display.audio.lpe.platdev); in lpe_audio_platdev_destroy() 172 int irq = dev_priv->display.audio.lpe.irq; in lpe_audio_irq_init() 209 dev_priv->display.audio.lpe.irq = irq_alloc_desc(0); in lpe_audio_setup() 210 if (dev_priv->display.audio.lpe.irq < 0) { in lpe_audio_setup() 212 dev_priv->display.audio.lpe.irq); in lpe_audio_setup() 213 ret = dev_priv->display.audio.lpe.irq; in lpe_audio_setup() 217 drm_dbg(&dev_priv->drm, "irq = %d\n", dev_priv->display.audio.lpe.irq); in lpe_audio_setup() 228 dev_priv->display.audio.lpe.platdev = lpe_audio_platdev_create(dev_priv); in lpe_audio_setup() [all …]
|
/linux-6.6.21/sound/drivers/vx/ |
D | vx_mixer.c | 204 static int vx_adjust_audio_level(struct vx_core *chip, int audio, int capture, in vx_adjust_audio_level() argument 216 rmh.Cmd[1] = 1 << audio; in vx_adjust_audio_level() 243 static int vx_read_audio_level(struct vx_core *chip, int audio, int capture, 254 rmh.Cmd[1] = 1 << audio; 270 int vx_set_monitor_level(struct vx_core *chip, int audio, int level, int active) in vx_set_monitor_level() argument 279 chip->audio_monitor[audio] = level; in vx_set_monitor_level() 280 chip->audio_monitor_active[audio] = active; in vx_set_monitor_level() 281 return vx_adjust_audio_level(chip, audio, 0, &info); /* playback only */ in vx_set_monitor_level() 288 static int vx_set_audio_switch(struct vx_core *chip, int audio, int active) in vx_set_audio_switch() argument 295 chip->audio_active[audio] = active; in vx_set_audio_switch() [all …]
|