| /linux/drivers/gpu/drm/msm/dp/ |
| H A D | dp_audio.c | 31 static inline u32 msm_dp_read_link(struct msm_dp_audio_private *audio, u32 offset) in msm_dp_read_link() argument 33 return readl_relaxed(audio->link_base + offset); in msm_dp_read_link() 36 static inline void msm_dp_write_link(struct msm_dp_audio_private *audio, in msm_dp_write_link() argument 43 writel(data, audio->link_base + offset); in msm_dp_write_link() 46 static void msm_dp_audio_stream_sdp(struct msm_dp_audio_private *audio) in msm_dp_audio_stream_sdp() argument 52 .HB3 = audio->channels - 1, in msm_dp_audio_stream_sdp() 58 msm_dp_write_link(audio, MMSS_DP_AUDIO_STREAM_0, header[0]); in msm_dp_audio_stream_sdp() 59 msm_dp_write_link(audio, MMSS_DP_AUDIO_STREAM_1, header[1]); in msm_dp_audio_stream_sdp() 62 static void msm_dp_audio_timestamp_sdp(struct msm_dp_audio_private *audio) in msm_dp_audio_timestamp_sdp() argument 74 msm_dp_write_link(audio, MMSS_DP_AUDIO_TIMESTAMP_0, header[0]); in msm_dp_audio_timestamp_sdp() [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_audio.c | 212 if (rdev->audio.funcs->enable) in radeon_audio_enable() 213 rdev->audio.funcs->enable(rdev, pin, enable_mask); in radeon_audio_enable() 221 rdev->audio.funcs = &dce6_funcs; in radeon_audio_interface_init() 222 rdev->audio.hdmi_funcs = &dce6_hdmi_funcs; in radeon_audio_interface_init() 223 rdev->audio.dp_funcs = &dce6_dp_funcs; in radeon_audio_interface_init() 225 rdev->audio.funcs = &dce4_funcs; in radeon_audio_interface_init() 226 rdev->audio.hdmi_funcs = &dce4_hdmi_funcs; in radeon_audio_interface_init() 227 rdev->audio.dp_funcs = &dce4_dp_funcs; in radeon_audio_interface_init() 229 rdev->audio.funcs = &dce32_funcs; in radeon_audio_interface_init() 230 rdev->audio.hdmi_funcs = &dce32_hdmi_funcs; in radeon_audio_interface_init() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H 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, 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/mfd/ |
| H A 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/drivers/usb/gadget/function/ |
| H A 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/Documentation/userspace-api/media/v4l/ |
| H A D | audio.rst | 12 each. Radio devices have no audio inputs or outputs. They have exactly 13 one tuner which in fact *is* an audio source, but this API associates 15 these. [#f1]_ A connector on a TV card to loop back the received audio 16 signal to a sound card is not considered an audio output. 19 source also selects an audio source. This is most evident when the video 20 and audio source is a tuner. Further audio connectors can combine with 22 and two audio inputs exist, there may be up to four valid combinations. 23 The relation of video and audio connectors is defined in the 27 number, starting at zero, of one audio input or output. 35 status information applicable when the current audio input is queried. [all …]
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| H A D | hdmi_audio.c | 18 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update() local 19 bool enabled = audio->enabled; in msm_hdmi_audio_update() 27 audio->enabled, audio->channels, audio->rate); in msm_hdmi_audio_update() 49 drm_hdmi_acr_get_n_cts(hdmi->pixclock, audio->rate, &n, &cts); in msm_hdmi_audio_update() 51 if (audio->rate == 192000 || audio->rate == 176400) { in msm_hdmi_audio_update() 54 } else if (audio->rate == 96000 || audio->rate == 88200) { in msm_hdmi_audio_update() 67 if (audio->rate == 48000 || audio->rate == 96000 || in msm_hdmi_audio_update() 68 audio->rate == 192000) in msm_hdmi_audio_update() 70 else if (audio->rate == 44100 || audio->rate == 88200 || in msm_hdmi_audio_update() 71 audio->rate == 176400) in msm_hdmi_audio_update() [all …]
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A 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/drivers/gpu/drm/amd/display/dc/dce/ |
| H A 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() 553 struct audio *audio, in set_high_bit_rate_capable() argument 570 struct audio *audio, in set_video_latency() argument [all …]
|
| H A 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); 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/hda/codecs/realtek/ |
| H A D | Kconfig | 4 tristate "Realtek HD-audio codec support" 6 Say Y or M here to include Realtek HD-audio codec support. 8 This will enable all Realtek HD-audio codec drivers as default, 21 tristate "Build Realtek ALC260 HD-audio codec support" if EXPERT 26 Say Y or M here to include Realtek ALC260 HD-audio codec support 29 tristate "Build Realtek ALC262 HD-audio codec support" if EXPERT 34 Say Y or M here to include Realtek ALC262 HD-audio codec support 37 tristate "Build Realtek ALC268 HD-audio codec support" if EXPERT 42 Say Y or M here to include Realtek ALC268 and compatible HD-audio 46 tristate "Build Realtek ALC269 HD-audio codecs support" if EXPERT [all …]
|
| /linux/sound/soc/bcm/ |
| H A 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/arch/arm64/boot/dts/freescale/ |
| H A 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 …]
|
| H A D | imx8mq-zii-ultra-zest.dts | 15 compatible = "simple-audio-card"; 16 simple-audio-card,name = "front"; 17 simple-audio-card,format = "i2s"; 18 simple-audio-card,bitclock-master = <&sound_codec>; 19 simple-audio-card,frame-master = <&sound_codec>; 20 simple-audio-card,widgets = 23 simple-audio-card,routing = 32 simple-audio-card,aux-devs = <&hpa1>, <&hpa2>; 34 sound_cpu: simple-audio-card,cpu { 38 sound_codec: simple-audio-card,codec {
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H 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>;
|
| H 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>;
|
| H A 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/Documentation/devicetree/bindings/pinctrl/ |
| H A 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 …]
|
| H A D | marvell,kirkwood-pinctrl.txt | 48 mpp36 36 gpio, audio(spdifi) 49 mpp37 37 gpio, audio(spdifo) 50 mpp38 38 gpio, audio(rmclk) 51 mpp39 39 gpio, audio(bclk) 52 mpp40 40 gpio, audio(sdo) 53 mpp41 41 gpio, audio(lrclk) 54 mpp42 42 gpio, audio(mclk) 55 mpp43 43 gpio, audio(sdi) 56 mpp44 44 gpio, audio(extclk) 130 mpp20 20 gpio, ge1(txd0), ts(mp0), tdm(tx0ql), audio(spdifi), [all …]
|
| /linux/drivers/ps3/ |
| H A 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/arch/arm/boot/dts/ti/omap/ |
| H A 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/Documentation/sound/designs/ |
| H 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 83 In case the application requests an audio tstamp that is not supported 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) [all …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | Kconfig | 4 tristate "HD-audio HDMI codec support" 6 Say Y or M here to include HD-audio HDMI/DislayPort codec support. 15 tristate "Generic HDMI/DisplayPort HD-audio codec support" if EXPERT 20 Say Y or M here to include Generic HDMI and DisplayPort HD-audio 27 tristate "Simple HDMI/DisplayPort HD-audio codec support" if EXPERT 30 Say Y or M here to include Simple HDMI and DisplayPort HD-audio 34 tristate "Intel HDMI/DisplayPort HD-audio codec support" if EXPERT 39 HD-audio codec support. 52 to start playing audio after the clock has been stopped. 57 tristate "AMD/ATI HDMI/DisplayPort HD-audio codec support" if EXPERT [all …]
|
| /linux/sound/soc/generic/ |
| H A D | Makefile | 4 snd-soc-audio-graph-card-y := audio-graph-card.o 5 snd-soc-audio-graph-card2-y := audio-graph-card2.o 6 snd-soc-audio-graph-card2-custom-sample-y := audio-graph-card2-custom-sample.o 11 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD) += snd-soc-audio-graph-card.o 12 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD2) += snd-soc-audio-graph-card2.o 13 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD2_CUSTOM_SAMPLE) += snd-soc-audio-graph-card2-custom-sample.o
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-g12.dtsi | 8 #include <dt-bindings/clock/axg-audio-clkc.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 14 tdmif_a: audio-controller-0 { 25 tdmif_b: audio-controller-1 { 36 tdmif_c: audio-controller-2 { 49 pdm: audio-controller@40000 { 63 audio: bus@42000 { label 72 compatible = "amlogic,g12a-audio-clkc"; 99 toddr_a: audio-controller@100 { [all …]
|