/Linux-v5.4/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-v5.4/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-v5.4/Documentation/media/uapi/dvb/ |
D | audio_function_calls.rst | 19 audio-fopen 20 audio-fclose 21 audio-fwrite 22 audio-stop 23 audio-play 24 audio-pause 25 audio-continue 26 audio-select-source 27 audio-set-mute 28 audio-set-av-sync [all …]
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_audio.c | 270 if (rdev->audio.funcs->enable) in radeon_audio_enable() 271 rdev->audio.funcs->enable(rdev, pin, enable_mask); in radeon_audio_enable() 277 rdev->audio.funcs = &dce6_funcs; in radeon_audio_interface_init() 278 rdev->audio.hdmi_funcs = &dce6_hdmi_funcs; in radeon_audio_interface_init() 279 rdev->audio.dp_funcs = &dce6_dp_funcs; in radeon_audio_interface_init() 281 rdev->audio.funcs = &dce4_funcs; in radeon_audio_interface_init() 282 rdev->audio.hdmi_funcs = &dce4_hdmi_funcs; in radeon_audio_interface_init() 283 rdev->audio.dp_funcs = &dce4_dp_funcs; in radeon_audio_interface_init() 285 rdev->audio.funcs = &dce32_funcs; in radeon_audio_interface_init() 286 rdev->audio.hdmi_funcs = &dce32_hdmi_funcs; in radeon_audio_interface_init() [all …]
|
/Linux-v5.4/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-v5.4/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-v5.4/Documentation/devicetree/bindings/sound/ |
D | simple-card.txt | 3 Simple-Card specifies audio DAI connections of SoC <-> codec. 7 - compatible : "simple-audio-card" 11 - simple-audio-card,name : User specified audio sound card name, one string 13 - simple-audio-card,widgets : Please refer to widgets.txt. 14 - simple-audio-card,routing : A list of the connections between audio components. 18 - simple-audio-card,mclk-fs : Multiplication factor between stream rate and codec 21 - simple-audio-card,hp-det-gpio : Reference to GPIO that signals when 23 - simple-audio-card,mic-det-gpio : Reference to GPIO that signals when 25 - simple-audio-card,aux-devs : List of phandles pointing to auxiliary devices, such 27 - simple-audio-card,pin-switches : List of strings containing the widget names for [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 | 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" 43 - audio-cpu : The phandle of an CPU DAI controller 45 - audio-codec : The phandle of an audio codec [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 | 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 | 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 | atmel-at91sam9g20ek-wm8731-audio.txt | 1 * Atmel at91sam9g20ek wm8731 audio complex 4 - compatible: "atmel,at91sam9g20ek-wm8731-audio" 6 - atmel,audio-routing: A list of the connections between audio components. 8 - atmel,audio-codec: The phandle of the WM8731 audio codec 14 compatible = "atmel,at91sam9g20ek-wm8731-audio"; 20 atmel,audio-routing = 25 atmel,audio-codec = <&wm8731>;
|
D | fsl,audmix.txt | 4 audio streams into a single audio stream. Audio Mixer has two input serial 5 audio interfaces. These are driven by two Synchronous Audio interface 6 modules (SAI). Each input serial interface carries 8 audio channels in its 7 frame in TDM manner. Mixer mixes audio samples of corresponding channels 8 from two interfaces into a single sample. Before mixing, audio samples of 10 Audio Mixer is also a serial audio interface. Like input interfaces it has 12 interface of audio codec and also sent to the external pins along with the 13 receive path of normal audio SAI module for readback by the CPU. 16 - serial audio input 1 17 - serial audio input 2 [all …]
|
D | imx-audio-sgtl5000.txt | 1 Freescale i.MX audio complex with SGTL5000 codec 5 - compatible : "fsl,imx-audio-sgtl5000" 11 - audio-codec : The phandle of the SGTL5000 audio codec 13 - audio-routing : A list of the connections between audio components. 35 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX) 37 - mux-ext-port : The external port of the i.MX audio muxer 46 "fsl,imx-audio-sgtl5000"; 49 audio-codec = <&sgtl5000>; 50 audio-routing =
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_audio.c | 33 #define DCE_AUD(audio)\ argument 34 container_of(audio, struct dce_audio, base) 52 read_indirect_azalia_reg(audio, IX_REG(reg_name)) 55 write_indirect_azalia_reg(audio, IX_REG(reg_name), value) 57 static void write_indirect_azalia_reg(struct audio *audio, in write_indirect_azalia_reg() argument 61 struct dce_audio *aud = DCE_AUD(audio); in write_indirect_azalia_reg() 75 static uint32_t read_indirect_azalia_reg(struct audio *audio, uint32_t reg_index) in read_indirect_azalia_reg() argument 77 struct dce_audio *aud = DCE_AUD(audio); in read_indirect_azalia_reg() 294 struct audio *audio, in set_high_bit_rate_capable() argument 311 struct audio *audio, in set_video_latency() argument [all …]
|
D | dce_audio.h | 125 struct audio base; 131 struct audio *dce_audio_create( 138 void dce_aud_destroy(struct audio **audio); 140 void dce_aud_hw_init(struct audio *audio); 142 void dce_aud_az_enable(struct audio *audio); 143 void dce_aud_az_disable(struct audio *audio); 145 void dce_aud_az_configure(struct audio *audio, 150 void dce_aud_wall_dto_setup(struct audio *audio,
|
/Linux-v5.4/Documentation/media/uapi/v4l/ |
D | audio.rst | 18 each. Radio devices have no audio inputs or outputs. They have exactly 19 one tuner which in fact *is* an audio source, but this API associates 21 these. [#f1]_ A connector on a TV card to loop back the received audio 22 signal to a sound card is not considered an audio output. 25 source also selects an audio source. This is most evident when the video 26 and audio source is a tuner. Further audio connectors can combine with 28 and two audio inputs exist, there may be up to four valid combinations. 29 The relation of video and audio connectors is defined in the 33 number, starting at zero, of one audio input or output. 41 status information applicable when the current audio input is queried. [all …]
|
/Linux-v5.4/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-v5.4/sound/soc/bcm/ |
D | cygnus-ssp.c | 261 value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 266 aio->cygaud->audio + aio->regs.bf_sourcech_grp); in audio_ssp_init_portregs() 272 writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 275 value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs() 279 writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs() 292 value = readl(aio->cygaud->audio + aio->regs.bf_destch_cfg); in audio_ssp_init_portregs() 297 writel(value, aio->cygaud->audio + aio->regs.bf_destch_cfg); in audio_ssp_init_portregs() 300 value = readl(aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); in audio_ssp_init_portregs() 302 writel(value, aio->cygaud->audio + AUD_MISC_SEROUT_OE_REG_BASE); in audio_ssp_init_portregs() 305 writel(aio->portnum, aio->cygaud->audio + BF_SRC_GRP3_OFFSET); in audio_ssp_init_portregs() [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,armada-370-pinctrl.txt | 21 mpp5 5 gpo, ge0(txclkout), uart1(txd), spi1(sck), audio(mclk) 22 mpp6 6 gpio, ge0(txd0), sata0(prsnt), tdm(rst), audio(sdo) 23 mpp7 7 gpo, ge0(txd1), tdm(dtx), audio(lrclk) 24 mpp8 8 gpio, ge0(txd2), uart0(rts), tdm(drx), audio(bclk) 25 mpp9 9 gpo, ge0(txd3), uart1(txd), sd0(clk), audio(spdifo) 26 mpp10 10 gpio, ge0(txctl), uart0(cts), tdm(fsync), audio(sdi) 30 audio(spdifi) 32 audio(rmclk) 37 mpp16 16 gpio, ge0(rxclk), uart1(rxd), tdm(int), audio(extclk) 60 mpp39 39 gpo, dev(ad0), audio(spdifo) [all …]
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | am3517-evm-ui.dtsi | 10 compatible = "simple-audio-card"; 11 simple-audio-card,name = "tlv320aic23-hifi"; 13 simple-audio-card,widgets = 18 simple-audio-card,routing = 25 simple-audio-card,format = "i2s"; 26 simple-audio-card,bitclock-master = <&sound_master>; 27 simple-audio-card,frame-master = <&sound_master>; 29 simple-audio-card,cpu { 33 sound_master: simple-audio-card,codec { 40 compatible = "simple-audio-card"; [all …]
|
/Linux-v5.4/drivers/ps3/ |
D | ps3av_cmd.c | 666 void ps3av_cmd_set_audio_mode(struct ps3av_pkt_audio_mode *audio, u32 avport, in ps3av_cmd_set_audio_mode() argument 682 memset(audio, 0, sizeof(*audio)); in ps3av_cmd_set_audio_mode() 683 ps3av_set_hdr(PS3AV_CID_AUDIO_MODE, sizeof(*audio), &audio->send_hdr); in ps3av_cmd_set_audio_mode() 685 audio->avport = (u8) avport; in ps3av_cmd_set_audio_mode() 686 audio->mask = 0x0FFF; /* XXX set all */ in ps3av_cmd_set_audio_mode() 687 audio->audio_num_of_ch = ch; in ps3av_cmd_set_audio_mode() 688 audio->audio_fs = fs; in ps3av_cmd_set_audio_mode() 689 audio->audio_word_bits = word_bits; in ps3av_cmd_set_audio_mode() 690 audio->audio_format = format; in ps3av_cmd_set_audio_mode() 691 audio->audio_source = source; in ps3av_cmd_set_audio_mode() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/display/bridge/ |
D | sii902x.txt | 12 HDMI audio properties: 14 is wired, <1> if the both are wired. HDMI audio is 18 audio fifo. The first integer selects i2s audio pin for the 19 first audio fifo#0 (HDMI channels 1&2), second for fifo#1 24 value is <0>, describing SD0 pin beiging routed to hdmi audio 30 HDMI audio CTS values. This property follows 34 If HDMI audio is configured the sii902x device becomes an I2S 35 and/or spdif audio codec component (e.g a digital audio sink), 36 that can be used in configuring a full audio devices with 37 simple-card or audio-graph-card binding. See their binding [all …]
|