/linux/drivers/gpu/drm/radeon/ |
A D | radeon_audio.c | 314 if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs) in radeon_audio_write_sad_regs() 362 if (radeon_encoder->audio && radeon_encoder->audio->get_pin) in radeon_audio_get_pin() 372 if (radeon_encoder->audio && radeon_encoder->audio->select_pin) in radeon_audio_select_pin() 399 radeon_encoder->audio = rdev->audio.dp_funcs; in radeon_audio_detect() 401 radeon_encoder->audio = rdev->audio.hdmi_funcs; in radeon_audio_detect() 403 radeon_encoder->audio = rdev->audio.hdmi_funcs; in radeon_audio_detect() 439 if (radeon_encoder->audio && radeon_encoder->audio->set_dto) in radeon_audio_set_dto() 569 if (radeon_encoder->audio && radeon_encoder->audio->update_acr) in radeon_audio_update_acr() 623 if (radeon_encoder->audio && radeon_encoder->audio->set_mute) in radeon_audio_set_mute() 701 if (radeon_encoder->audio && radeon_encoder->audio->mode_set) in radeon_audio_mode_set() [all …]
|
/linux/drivers/mfd/ |
A D | twl4030-audio.c | 50 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/drivers/staging/media/av7110/ |
A 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 20 audio-set-mute 25 audio-get-status 28 audio-set-id [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_audio.c | 57 static void write_indirect_azalia_reg(struct audio *audio, in write_indirect_azalia_reg() argument 296 struct audio *audio, in set_high_bit_rate_capable() argument 313 struct audio *audio, in set_video_latency() argument 333 struct audio *audio, in set_audio_latency() argument 354 void dce_aud_az_enable(struct audio *audio) in dce_aud_az_enable() argument 376 void dce_aud_az_disable(struct audio *audio) in dce_aud_az_disable() argument 402 struct audio *audio, in dce_aud_az_configure() argument 782 struct audio *audio, in dce_aud_wall_dto_setup() argument 874 struct audio *audio, in dce60_aud_wall_dto_setup() argument 981 struct audio *audio) in dce_aud_hw_init() argument [all …]
|
A 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,
|
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
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, 48 void (*wall_dto_setup)(struct audio *audio, 53 void (*destroy)(struct audio **audio); 56 struct audio { struct
|
/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_audio.c | 351 dp_audio_isrc_sdp(audio); in dp_audio_setup_sdp() 415 audio->engine_on = enable; in dp_audio_enable() 519 if (IS_ERR(audio)) { in dp_audio_hw_params() 520 rc = PTR_ERR(audio); in dp_audio_hw_params() 546 if (IS_ERR(audio)) { in dp_audio_shutdown() 610 audio = devm_kzalloc(&pdev->dev, sizeof(*audio), GFP_KERNEL); in dp_audio_get() 611 if (!audio) { in dp_audio_get() 616 audio->pdev = pdev; in dp_audio_get() 617 audio->panel = panel; in dp_audio_get() 618 audio->catalog = catalog; in dp_audio_get() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
A D | simple-card.yaml | 94 description: audio format. 144 - simple-audio-card 145 - simple-scu-audio-card 155 simple-audio-card,name: 161 "^simple-audio-card,widgets$": 163 "^simple-audio-card,routing$": 179 "^simple-audio-card,format$": 181 "^simple-audio-card,mclk-fs$": 189 "^simple-audio-card,prefix$": 267 simple-audio-card,cpu { [all …]
|
A 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" 27 "fsl,imx-audio-cs427x" 30 "fsl,imx-audio-wm8962" 35 "fsl,imx-audio-wm8960" 37 "fsl,imx-audio-mqs" 39 "fsl,imx-audio-wm8524" 55 - audio-codec : The phandle of an audio codec 62 - audio-routing : A list of the connections between audio components. 96 audio-cpu = <&esai>; [all …]
|
A D | imx-audio-es8328.txt | 1 Freescale i.MX audio complex with ES8328 codec 4 - compatible : "fsl,imx-audio-es8328" 9 - audio-codec : The phandle of the ES8328 audio codec 10 - audio-routing : A list of the connections between audio components. 17 * audio-amp 43 compatible = "fsl,imx-audio-es8328"; 44 model = "imx-audio-es8328"; 46 audio-codec = <&codec>; 48 audio-amp-supply = <®_audio_amp>; 49 audio-routing = [all …]
|
A 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>;
|
A 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>;
|
A 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>;
|
A 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 13 receive path of normal audio SAI module for readback by the CPU. 16 - serial audio input 1 17 - serial audio input 2 18 - mixed audio [all …]
|
/linux/drivers/gpu/drm/msm/hdmi/ |
A D | hdmi_audio.c | 76 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/drivers/usb/gadget/function/ |
A D | f_uac1_legacy.c | 374 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 …]
|
A D | f_uac1.c | 379 req->context = audio; in audio_notify() 442 dev_err(&audio->gadget->dev, in in_rq_cur() 661 req->context = audio; in out_rq_cur() 1255 audio->gadget = gadget; in f_audio_bind() 1277 audio->out_ep = ep; in f_audio_bind() 1285 audio->in_ep = ep; in f_audio_bind() 1514 struct g_audio *audio; in f_audio_free() local 1517 audio = func_to_g_audio(f); in f_audio_free() 1519 kfree(audio); in f_audio_free() 1529 g_audio_cleanup(audio); in f_audio_unbind() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | audio.rst | 19 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/gpu/drm/bridge/synopsys/ |
A D | dw-hdmi-i2s-audio.c | 25 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() 111 hdmi_write(audio, conf1, HDMI_AUD_CONF1); 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() 168 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hook_plugged_cb() [all …]
|
/linux/sound/soc/bcm/ |
A D | cygnus-ssp.c | 266 aio->cygaud->audio + aio->regs.bf_sourcech_grp); in audio_ssp_init_portregs() 307 value = readl(aio->cygaud->audio + SPDIF_CTRL_OFFSET); in audio_ssp_init_portregs() 347 value = readl(aio->cygaud->audio + aio->regs.i2s_cfg); in audio_ssp_in_enable() 350 writel(value, aio->cygaud->audio + aio->regs.i2s_cfg); in audio_ssp_in_enable() 684 value = readl(aio->cygaud->audio + in cygnus_ssp_hw_params() 687 writel(value, aio->cygaud->audio + in cygnus_ssp_hw_params() 692 value = readl(aio->cygaud->audio + in cygnus_ssp_hw_params() 695 writel(value, aio->cygaud->audio + in cygnus_ssp_hw_params() 1323 if (IS_ERR(cygaud->audio)) in cygnus_ssp_probe() 1324 return PTR_ERR(cygaud->audio); in cygnus_ssp_probe() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
A D | imx8mq-zii-ultra-rmb3.dts | 15 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/sound/drivers/vx/ |
A D | vx_mixer.c | 216 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 …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
A D | marvell,armada-370-pinctrl.txt | 30 audio(spdifi) 32 audio(rmclk) 64 mpp43 43 gpo, dev(ad4), audio(bclk) 65 mpp44 44 gpo, dev(ad5), audio(mclk) 66 mpp45 45 gpo, dev(ad6), audio(lrclk) 67 mpp46 46 gpo, dev(ad7), audio(sdo) 72 audio(spdifi) 74 audio(rmclk) 85 audio(sdo) 90 audio(sdi) [all …]
|
/linux/drivers/ps3/ |
A D | ps3av_cmd.c | 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() 687 audio->audio_num_of_ch = ch; in ps3av_cmd_set_audio_mode() 688 audio->audio_fs = fs; 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() 695 audio->audio_enable[3] = 1; in ps3av_cmd_set_audio_mode() 698 audio->audio_enable[2] = 1; in ps3av_cmd_set_audio_mode() 699 audio->audio_enable[1] = 1; in ps3av_cmd_set_audio_mode() [all …]
|
/linux/Documentation/sound/designs/ |
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 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) 137 latched by a low-level audio subsystem, and the information provided [all …]
|