Home
last modified time | relevance | path

Searched refs:audio (Results 1 – 25 of 1693) sorted by relevance

12345678910>>...68

/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Daudio.h31 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/msm/dp/
H A Ddp_audio.c60 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp()
73 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp()
88 drm_dbg_dp(audio->drm_dev, in dp_audio_stream_sdp()
110 drm_dbg_dp(audio->drm_dev, in dp_audio_timestamp_sdp()
450 if (IS_ERR(audio)) { in dp_audio_hw_params()
451 rc = PTR_ERR(audio); in dp_audio_hw_params()
477 if (IS_ERR(audio)) { in dp_audio_shutdown()
553 audio = devm_kzalloc(&pdev->dev, sizeof(*audio), GFP_KERNEL); in dp_audio_get()
554 if (!audio) { in dp_audio_get()
559 audio->pdev = pdev; in dp_audio_get()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_audio.c321 if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs) in radeon_audio_write_sad_regs()
369 if (radeon_encoder->audio && radeon_encoder->audio->get_pin) in radeon_audio_get_pin()
379 if (radeon_encoder->audio && radeon_encoder->audio->select_pin) in radeon_audio_select_pin()
406 radeon_encoder->audio = rdev->audio.dp_funcs; in radeon_audio_detect()
408 radeon_encoder->audio = rdev->audio.hdmi_funcs; in radeon_audio_detect()
410 radeon_encoder->audio = rdev->audio.hdmi_funcs; in radeon_audio_detect()
446 if (radeon_encoder->audio && radeon_encoder->audio->set_dto) in radeon_audio_set_dto()
576 if (radeon_encoder->audio && radeon_encoder->audio->update_acr) in radeon_audio_update_acr()
630 if (radeon_encoder->audio && radeon_encoder->audio->set_mute) in radeon_audio_set_mute()
708 if (radeon_encoder->audio && radeon_encoder->audio->mode_set) in radeon_audio_mode_set()
[all …]
/linux/drivers/mfd/
H A Dtwl4030-audio.c50 audio->resource[id].reg); in twl4030_audio_set_resource()
69 audio->resource[id].reg); in twl4030_audio_get_resource()
89 mutex_lock(&audio->mutex); in twl4030_audio_enable_resource()
97 mutex_unlock(&audio->mutex); in twl4030_audio_enable_resource()
118 mutex_lock(&audio->mutex); in twl4030_audio_disable_resource()
133 mutex_unlock(&audio->mutex); in twl4030_audio_disable_resource()
143 return audio->audio_mclk; in twl4030_audio_get_mclk()
180 struct twl4030_audio *audio; in twl4030_audio_probe() local
194 if (!audio) in twl4030_audio_probe()
197 mutex_init(&audio->mutex); in twl4030_audio_probe()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dsimple-card.yaml103 description: audio format.
164 - simple-audio-card
165 - simple-scu-audio-card
175 simple-audio-card,name:
179 simple-audio-card,widgets:
181 simple-audio-card,routing:
193 simple-audio-card,format:
195 simple-audio-card,mclk-fs:
197 simple-audio-card,aux-devs:
205 simple-audio-card,prefix:
[all …]
H A Dfsl-asoc-card.yaml24 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as
95 audio-asrc:
101 audio-codec:
105 With "fsl,imx-audio-spdif", either SPDIF audio codec spdif_transmitter,
112 audio-cpu:
116 audio-routing:
155 description: audio format.
217 audio-cpu = <&esai>;
218 audio-asrc = <&asrc>;
220 audio-routing =
[all …]
H A Dmediatek,mt7986-afe.yaml31 - 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
71 - description: audio pll clock
89 - description: audio bus clock
[all …]
H A Dfsl,imx-audio-es8328.yaml18 const: fsl,imx-audio-es8328
32 audio-amp-supply:
35 audio-codec:
39 audio-routing:
48 * audio-amp
83 - audio-amp-supply
84 - audio-codec
85 - audio-routing
95 model = "imx-audio-es8328";
97 audio-codec = <&codec>;
[all …]
H A Darmada-370db-audio.txt1 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>;
H A Datmel,sam9x5-wm8731-audio.yaml7 title: Atmel at91sam9x5ek wm8731 audio complex
13 The audio complex configuration for Atmel at91sam9x5ek with WM8731 audio codec.
17 const: atmel,sam9x5-wm8731-audio
27 atmel,audio-codec:
29 description: The phandle of the WM8731 audio codec.
31 atmel,audio-routing:
56 - atmel,audio-codec
57 - atmel,audio-routing
64 compatible = "atmel,sam9x5-wm8731-audio";
68 atmel,audio-routing =
[all …]
H A Dnvidia,tegra-audio-max98090.yaml7 title: NVIDIA Tegra audio complex with MAX98090 CODEC
14 - $ref: nvidia,tegra-audio-common.yaml#
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:
79 "nvidia,tegra-audio-max98090";
82 nvidia,audio-routing =
[all …]
H A Dfsl,audmix.yaml15 audio streams into a single audio stream. Audio Mixer has two input serial
16 audio interfaces. These are driven by two Synchronous Audio interface
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
24 receive path of normal audio SAI module for readback by the CPU.
27 - serial audio input 1
28 - serial audio input 2
29 - mixed audio
31 Mixing operation is independent of audio sample rate but the two audio
59 - description: serial audio input 1
[all …]
H A Dsirf-audio.txt1 * 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>;
H A Dsamsung,tm2.yaml18 const: samsung,tm2-audio
20 audio-amplifier:
24 audio-codec:
34 samsung,audio-routing:
41 Deprecated, use audio-routing.
57 - audio-amplifier
58 - audio-codec
59 - audio-routing
70 compatible = "samsung,tm2-audio";
73 audio-amplifier = <&max98504>;
[all …]
H A Dmvebu-audio.txt1 * 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/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_audio.c76 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update() local
79 bool enabled = audio->enabled; 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()
221 struct hdmi_audio *audio; in msm_hdmi_audio_info_setup() local
226 audio = &hdmi->audio; in msm_hdmi_audio_info_setup()
231 audio->enabled = enabled; in msm_hdmi_audio_info_setup()
235 audio->infoframe.downmix_inhibit = down_mix; in msm_hdmi_audio_info_setup()
242 struct hdmi_audio *audio; in msm_hdmi_audio_set_sample_rate() local
247 audio = &hdmi->audio; in msm_hdmi_audio_set_sample_rate()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Daudio.rst19 and audio source is a tuner. Further audio connectors can combine with
38 audio input and output, respectively.
53 multiple selectable audio inputs, all audio output ioctls when the
60 Example: Information about the current audio input
65 struct v4l2_audio audio;
67 memset(&audio, 0, sizeof(audio));
74 printf("Current input: %s\\n", audio.name);
77 Example: Switching to the first audio input
82 struct v4l2_audio audio;
84 memset(&audio, 0, sizeof(audio)); /* clear audio.mode, audio.reserved */
[all …]
/linux/drivers/usb/gadget/function/
H A Df_uac1_legacy.c374 audio->set_con->set(audio->set_con, audio->set_cmd, in f_audio_complete()
413 audio->set_cmd = cmd; in audio_set_intf_req()
414 req->context = audio; in audio_set_intf_req()
450 req->context = audio; in audio_get_intf_req()
649 audio->as_alt = alt; in f_audio_set_alt()
738 audio->ac_alt = 0; in f_audio_bind()
746 audio->as_alt = 0; in f_audio_bind()
754 audio->out_ep = ep; in f_audio_bind()
971 kfree(audio); in f_audio_free()
988 audio = kzalloc(sizeof(*audio), GFP_KERNEL); in f_audio_alloc()
[all …]
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-i2s-audio.c25 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_write()
27 audio->write(hdmi, val, offset); in hdmi_write()
32 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_read()
34 return audio->read(hdmi, offset); in hdmi_read()
42 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hw_params()
110 hdmi_write(audio, conf0, HDMI_AUD_CONF0); in dw_hdmi_i2s_hw_params()
119 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_audio_startup()
129 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_audio_shutdown()
140 eld = audio->get_eld(audio->hdmi); in dw_hdmi_i2s_get_eld()
175 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hook_plugged_cb()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c55 static void write_indirect_azalia_reg(struct audio *audio, in write_indirect_azalia_reg() argument
553 struct audio *audio, in set_high_bit_rate_capable() argument
570 struct audio *audio, in set_video_latency() argument
590 struct audio *audio, in set_audio_latency() argument
611 void dce_aud_az_enable(struct audio *audio) in dce_aud_az_enable() argument
638 void dce_aud_az_disable(struct audio *audio) in dce_aud_az_disable() argument
664 struct audio *audio, in dce_aud_az_configure() argument
1062 struct audio *audio, in dce_aud_wall_dto_setup() argument
1154 struct audio *audio, in dce60_aud_wall_dto_setup() argument
1261 struct audio *audio) in dce_aud_hw_init() argument
[all …]
H A Ddce_audio.h141 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);
169 void dce_aud_az_disable_hbr_audio(struct audio *audio);
171 void dce_aud_az_configure(struct audio *audio,
177 void dce_aud_wall_dto_setup(struct audio *audio,
/linux/sound/soc/bcm/
H A Dcygnus-ssp.c256 aio->cygaud->audio + aio->regs.bf_sourcech_grp); in audio_ssp_init_portregs()
297 value = readl(aio->cygaud->audio + SPDIF_CTRL_OFFSET); in audio_ssp_init_portregs()
337 value = readl(aio->cygaud->audio + aio->regs.i2s_cfg); in audio_ssp_in_enable()
340 writel(value, aio->cygaud->audio + aio->regs.i2s_cfg); in audio_ssp_in_enable()
674 value = readl(aio->cygaud->audio + in cygnus_ssp_hw_params()
677 writel(value, aio->cygaud->audio + in cygnus_ssp_hw_params()
682 value = readl(aio->cygaud->audio + in cygnus_ssp_hw_params()
685 writel(value, aio->cygaud->audio + in cygnus_ssp_hw_params()
1314 if (IS_ERR(cygaud->audio)) in cygnus_ssp_probe()
1315 return PTR_ERR(cygaud->audio); in cygnus_ssp_probe()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-zii-ultra-rmb3.dts15 compatible = "simple-audio-card";
16 simple-audio-card,name = "front";
17 simple-audio-card,format = "i2s";
20 simple-audio-card,widgets =
22 simple-audio-card,routing =
29 sound1_cpu: simple-audio-card,cpu {
40 compatible = "simple-audio-card";
41 simple-audio-card,name = "periph";
42 simple-audio-card,format = "i2s";
45 simple-audio-card,widgets =
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_lpe_audio.c172 int irq = dev_priv->display.audio.lpe.irq; in lpe_audio_irq_init()
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()
230 if (IS_ERR(dev_priv->display.audio.lpe.platdev)) { in lpe_audio_setup()
246 irq_free_desc(dev_priv->display.audio.lpe.irq); in lpe_audio_setup()
248 dev_priv->display.audio.lpe.irq = -1; in lpe_audio_setup()
249 dev_priv->display.audio.lpe.platdev = NULL; in lpe_audio_setup()
308 irq_free_desc(dev_priv->display.audio.lpe.irq); in intel_lpe_audio_teardown()
310 dev_priv->display.audio.lpe.irq = -1; in intel_lpe_audio_teardown()
[all …]
/linux/sound/drivers/vx/
H A Dvx_mixer.c216 rmh.Cmd[1] = 1 << audio; in vx_adjust_audio_level()
254 rmh.Cmd[1] = 1 << audio;
279 chip->audio_monitor[audio] = level; in vx_set_monitor_level()
280 chip->audio_monitor_active[audio] = active; in vx_set_monitor_level()
295 chip->audio_active[audio] = active; in vx_set_audio_switch()
309 chip->audio_gain[capture][audio] = level; in vx_set_audio_gain()
378 rmh.Cmd[1] |= 1 << (audio + i); in vx_get_audio_vu_meter()
663 vx_set_audio_switch(chip, audio, in vx_audio_sw_put()
665 vx_set_audio_switch(chip, audio+1, in vx_audio_sw_put()
694 vx_set_monitor_level(chip, audio, chip->audio_monitor[audio], in vx_monitor_sw_put()
[all …]

12345678910>>...68