/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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() 296 struct audio *audio, in set_high_bit_rate_capable() argument 313 struct audio *audio, in set_video_latency() argument [all …]
|
D | dce_audio.h | 139 struct audio base; 145 struct audio *dce_audio_create( 153 struct audio *dce60_audio_create( 161 void dce_aud_destroy(struct audio **audio); 163 void dce_aud_hw_init(struct audio *audio); 165 void dce_aud_az_enable(struct audio *audio); 166 void dce_aud_az_disable(struct audio *audio); 168 void dce_aud_az_configure(struct audio *audio, 173 void dce_aud_wall_dto_setup(struct audio *audio,
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
D | dp_audio.c | 125 static void dp_audio_stream_sdp(struct dp_audio_private *audio) in dp_audio_stream_sdp() argument 127 struct dp_catalog *catalog = audio->catalog; in dp_audio_stream_sdp() 161 new_value = audio->channels - 1; in dp_audio_stream_sdp() 172 static void dp_audio_timestamp_sdp(struct dp_audio_private *audio) in dp_audio_timestamp_sdp() argument 174 struct dp_catalog *catalog = audio->catalog; in dp_audio_timestamp_sdp() 218 static void dp_audio_infoframe_sdp(struct dp_audio_private *audio) in dp_audio_infoframe_sdp() argument 220 struct dp_catalog *catalog = audio->catalog; in dp_audio_infoframe_sdp() 264 static void dp_audio_copy_management_sdp(struct dp_audio_private *audio) in dp_audio_copy_management_sdp() argument 266 struct dp_catalog *catalog = audio->catalog; in dp_audio_copy_management_sdp() 310 static void dp_audio_isrc_sdp(struct dp_audio_private *audio) in dp_audio_isrc_sdp() argument [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
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" 37 "fsl,imx-audio-mqs" 39 "fsl,imx-audio-wm8524" [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 =
|
D | samsung,tm2-audio.txt | 1 Samsung Exynos5433 TM2(E) audio complex with WM5110 codec 5 - compatible : "samsung,tm2-audio" 7 - audio-codec : the first entry should be phandle of the wm5110 audio 14 - audio-amplifier : the phandle of the MAX98504 amplifier 15 - samsung,audio-routing : a list of the connections between audio components; 28 compatible = "samsung,tm2-audio"; 29 audio-codec = <&wm5110>, <&hdmi>; 31 audio-amplifier = <&max98504>; 34 samsung,audio-routing =
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|