/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | sof_sdw_common.h | 68 const bool direction[2]; /* playback & capture support */ 76 bool playback); 125 bool playback); 133 bool playback); 141 bool playback); 147 bool playback); 152 bool playback); 159 bool playback); 169 bool playback); 179 bool playback); [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/boards/ |
H A D | sof_sdw_common.h | 53 const bool direction[2]; // playback & capture support 61 bool playback); 95 bool playback); 102 bool playback); 109 bool playback); 117 bool playback); 123 bool playback); 129 bool playback); 135 bool playback); 141 bool playback); [all...] |
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | mpc5200_dma.c | 39 if (psc_dma->playback.active && (isr & MPC52xx_PSC_IMR_TXEMP)) in psc_dma_status_irq() 186 if (psc_dma->playback.active) in psc_dma_trigger() 232 s = &psc_dma->playback; in psc_dma_open() 259 s = &psc_dma->playback; in psc_dma_close() 261 if (!psc_dma->playback.active && in psc_dma_close() 284 s = &psc_dma->playback; in psc_dma_pointer() 415 psc_dma->playback.psc_dma = psc_dma; in mpc5200_audio_dma_create() 424 psc_dma->playback.bcom_task = in mpc5200_audio_dma_create() 427 !psc_dma->playback.bcom_task) { in mpc5200_audio_dma_create() 458 psc_dma->playback in mpc5200_audio_dma_create() [all...] |
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | mpc5200_dma.c | 39 if (psc_dma->playback.active && (isr & MPC52xx_PSC_IMR_TXEMP)) in psc_dma_status_irq() 179 if (psc_dma->playback.active) in psc_dma_trigger() 225 s = &psc_dma->playback; in psc_dma_open() 252 s = &psc_dma->playback; in psc_dma_close() 254 if (!psc_dma->playback.active && in psc_dma_close() 277 s = &psc_dma->playback; in psc_dma_pointer() 356 psc_dma->playback.psc_dma = psc_dma; in mpc5200_audio_dma_create() 365 psc_dma->playback.bcom_task = in mpc5200_audio_dma_create() 368 !psc_dma->playback.bcom_task) { in mpc5200_audio_dma_create() 399 psc_dma->playback in mpc5200_audio_dma_create() [all...] |
/kernel/linux/linux-5.10/sound/i2c/ |
H A D | cs8427.c | 41 struct cs8427_stream playback; member 105 chip->playback.hw_udata : chip->playback.hw_status; in snd_cs8427_send_corudata() 233 memcpy(chip->playback.def_status, buf, 24); in snd_cs8427_init() 234 memcpy(chip->playback.pcm_status, buf, 24); in snd_cs8427_init() 418 memcpy(ucontrol->value.iec958.status, chip->playback.def_status, 24); in snd_cs8427_spdif_get() 429 chip->playback.pcm_status : chip->playback.def_status; in snd_cs8427_spdif_put() 430 struct snd_pcm_runtime *runtime = chip->playback.substream ? in snd_cs8427_spdif_put() 431 chip->playback in snd_cs8427_spdif_put() [all...] |
/kernel/linux/linux-6.6/sound/i2c/ |
H A D | cs8427.c | 41 struct cs8427_stream playback; member 108 chip->playback.hw_udata : chip->playback.hw_status; in snd_cs8427_send_corudata() 240 memcpy(chip->playback.def_status, buf, 24); in snd_cs8427_init() 241 memcpy(chip->playback.pcm_status, buf, 24); in snd_cs8427_init() 426 memcpy(ucontrol->value.iec958.status, chip->playback.def_status, 24); in snd_cs8427_spdif_get() 437 chip->playback.pcm_status : chip->playback.def_status; in snd_cs8427_spdif_put() 438 struct snd_pcm_runtime *runtime = chip->playback.substream ? in snd_cs8427_spdif_put() 439 chip->playback in snd_cs8427_spdif_put() [all...] |
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | q6dsp-lpass-ports.c | 11 .playback = { \ 47 .playback = { \ 83 .playback = { \ 101 .playback = { 118 .playback = { 146 .playback = { 176 .playback = { 207 .playback = { 238 .playback = { 269 .playback [all...] |
/kernel/linux/linux-5.10/sound/usb/misc/ |
H A D | ua101.c | 93 /* FIFO to synchronize playback rate to capture rate */ 122 } capture, playback; member 192 ua->playback.substream->runtime->delay -= in playback_urb_complete() 194 ua->playback.frame_bytes; in playback_urb_complete() 246 if (*value >= ua->playback.queue_length) in add_with_wraparound() 247 *value -= ua->playback.queue_length; in add_with_wraparound() 263 * Synchronizing the playback rate to the capture rate is done by using in playback_work() 265 * Submitting a playback URB therefore requires both a ready URB and in playback_work() 266 * the size of the corresponding capture packet, i.e., both playback in playback_work() 268 * not guarantee that playback an in playback_work() [all...] |
/kernel/linux/linux-6.6/sound/usb/misc/ |
H A D | ua101.c | 92 /* FIFO to synchronize playback rate to capture rate */ 121 } capture, playback; member 191 ua->playback.substream->runtime->delay -= in playback_urb_complete() 193 ua->playback.frame_bytes; in playback_urb_complete() 245 if (*value >= ua->playback.queue_length) in add_with_wraparound() 246 *value -= ua->playback.queue_length; in add_with_wraparound() 262 * Synchronizing the playback rate to the capture rate is done by using in playback_work() 264 * Submitting a playback URB therefore requires both a ready URB and in playback_work() 265 * the size of the corresponding capture packet, i.e., both playback in playback_work() 267 * not guarantee that playback an in playback_work() [all...] |
/kernel/linux/linux-6.6/sound/soc/sh/ |
H A D | rz-ssi.c | 123 struct rz_ssi_stream playback; member 175 struct rz_ssi_stream *stream = &ssi->playback; in rz_ssi_stream_get() 185 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_is_dma_enabled() 520 if (ssi->playback.substream) in rz_ssi_interrupt() 521 strm = &ssi->playback; in rz_ssi_interrupt() 561 strm->transfer(ssi, &ssi->playback); in rz_ssi_interrupt() 573 strm->transfer(ssi, &ssi->playback); in rz_ssi_interrupt() 673 if (ssi->playback.dma_ch) { in rz_ssi_release_dma_channels() 674 dma_release_channel(ssi->playback.dma_ch); in rz_ssi_release_dma_channels() 675 ssi->playback in rz_ssi_release_dma_channels() [all...] |
H A D | siu_dai.c | 57 struct format_flag playback; member 65 .playback = { 79 .playback = { 133 siu_write32(base + SIU_SBDVCA, port_info->playback.volume); in siu_dai_start() 364 vol = port_info->playback.volume; in siu_dai_get_volume() 408 cur_vol = port_info->playback.volume; in siu_dai_put_volume() 410 port_info->playback.volume = new_vol; in siu_dai_put_volume() 462 (*port_info)->playback.volume = DFLT_VOLUME_LEVEL; in siu_init_port() 475 "failed to add playback controls %p port=%d err=%d\n", in siu_init_port() 532 if (WARN_ON(port_info->playback in siu_dai_shutdown() [all...] |
/kernel/linux/linux-6.6/sound/soc/uniphier/ |
H A D | aio-pxs2.c | 147 .playback = { 158 .playback = { 176 .playback = { 194 .playback = { 205 .playback = { 216 .playback = { 225 .playback = {
|
H A D | aio-ld11.c | 194 .playback = { 225 .playback = { 243 .playback = { 254 .playback = { 265 .playback = { 276 .playback = { 289 .playback = { 302 .playback = {
|
/kernel/linux/linux-5.10/sound/soc/ti/ |
H A D | davinci-i2s.c | 177 static void toggle_clock(struct davinci_mcbsp_dev *dev, int playback) in toggle_clock() argument 179 u32 m = playback ? DAVINCI_MCBSP_PCR_CLKXP : DAVINCI_MCBSP_PCR_CLKRP; in toggle_clock() 190 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_mcbsp_start() local 192 u32 mask = playback ? DAVINCI_MCBSP_SPCR_XRST : DAVINCI_MCBSP_SPCR_RRST; in davinci_mcbsp_start() 205 static void davinci_mcbsp_stop(struct davinci_mcbsp_dev *dev, int playback) in davinci_mcbsp_stop() argument 212 spcr &= playback ? ~DAVINCI_MCBSP_SPCR_XRST : ~DAVINCI_MCBSP_SPCR_RRST; in davinci_mcbsp_stop() 214 toggle_clock(dev, playback); in davinci_mcbsp_stop() 529 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_prepare() local 531 u32 mask = playback ? DAVINCI_MCBSP_SPCR_XRST : DAVINCI_MCBSP_SPCR_RRST; in davinci_i2s_prepare() 533 davinci_mcbsp_stop(dev, playback); in davinci_i2s_prepare() 573 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); davinci_i2s_trigger() local 596 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); davinci_i2s_shutdown() local [all...] |
/kernel/linux/linux-6.6/sound/soc/ti/ |
H A D | davinci-i2s.c | 177 static void toggle_clock(struct davinci_mcbsp_dev *dev, int playback) in toggle_clock() argument 179 u32 m = playback ? DAVINCI_MCBSP_PCR_CLKXP : DAVINCI_MCBSP_PCR_CLKRP; in toggle_clock() 190 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_mcbsp_start() local 192 u32 mask = playback ? DAVINCI_MCBSP_SPCR_XRST : DAVINCI_MCBSP_SPCR_RRST; in davinci_mcbsp_start() 205 static void davinci_mcbsp_stop(struct davinci_mcbsp_dev *dev, int playback) in davinci_mcbsp_stop() argument 212 spcr &= playback ? ~DAVINCI_MCBSP_SPCR_XRST : ~DAVINCI_MCBSP_SPCR_RRST; in davinci_mcbsp_stop() 214 toggle_clock(dev, playback); in davinci_mcbsp_stop() 529 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_prepare() local 531 u32 mask = playback ? DAVINCI_MCBSP_SPCR_XRST : DAVINCI_MCBSP_SPCR_RRST; in davinci_i2s_prepare() 533 davinci_mcbsp_stop(dev, playback); in davinci_i2s_prepare() 573 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); davinci_i2s_trigger() local 596 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); davinci_i2s_shutdown() local [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
H A D | hda-dai.c | 251 p_params.link_bps = codec_dai->driver->playback.sig_bits; in hda_link_hw_params() 423 .playback = { 434 .playback = { 445 .playback = { 456 .playback = { 467 .playback = { 478 .playback = { 505 .playback = { 513 .playback = { 521 .playback [all...] |
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A D | emufx.c | 1215 const int playback = 10; in _snd_emu10k1_audigy_init_efx() local 1216 const int capture = playback + (SND_EMU10K1_PLAYBACK_CHANNELS * 2); /* we reserve 10 voices */ in _snd_emu10k1_audigy_init_efx() 1266 * playback = 0 + ( gpr * FXBUS_PCM_LEFT_FRONT >> 31) in _snd_emu10k1_audigy_init_efx() 1270 A_OP(icode, &ptr, iMAC0, A_GPR(playback), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_FRONT)); in _snd_emu10k1_audigy_init_efx() 1271 A_OP(icode, &ptr, iMAC0, A_GPR(playback+1), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_FRONT)); in _snd_emu10k1_audigy_init_efx() 1276 A_OP(icode, &ptr, iMAC0, A_GPR(playback+2), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_REAR)); in _snd_emu10k1_audigy_init_efx() 1277 A_OP(icode, &ptr, iMAC0, A_GPR(playback+3), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_REAR)); in _snd_emu10k1_audigy_init_efx() 1283 A_OP(icode, &ptr, iMAC0, A_GPR(playback+6), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_SIDE)); in _snd_emu10k1_audigy_init_efx() 1284 A_OP(icode, &ptr, iMAC0, A_GPR(playback+7), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_SIDE)); in _snd_emu10k1_audigy_init_efx() 1290 A_OP(icode, &ptr, iMAC0, A_GPR(playback in _snd_emu10k1_audigy_init_efx() 1758 int err, i, z, gpr, tmp, playback, capture; _snd_emu10k1_init_efx() local [all...] |
/kernel/linux/linux-5.10/sound/soc/uniphier/ |
H A D | aio-pxs2.c | 174 .playback = { 187 .playback = { 207 .playback = { 227 .playback = { 240 .playback = { 254 .playback = { 266 .playback = {
|
H A D | aio-ld11.c | 221 .playback = { 256 .playback = { 276 .playback = { 289 .playback = { 302 .playback = { 315 .playback = { 330 .playback = { 346 .playback = {
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | u_audio.h | 42 /* playback */ 128 int u_audio_get_volume(struct g_audio *g_audio, int playback, s16 *val); 129 int u_audio_set_volume(struct g_audio *g_audio, int playback, s16 val); 130 int u_audio_get_mute(struct g_audio *g_audio, int playback, int *val); 131 int u_audio_set_mute(struct g_audio *g_audio, int playback, int val);
|
/kernel/linux/linux-6.6/sound/soc/sof/amd/ |
H A D | rembrandt.c | 32 .playback = { 56 .playback = { 80 .playback = { 117 .playback = {
|
/kernel/linux/linux-5.10/sound/soc/sh/ |
H A D | siu_dai.c | 57 struct format_flag playback; member 65 .playback = { 79 .playback = { 133 siu_write32(base + SIU_SBDVCA, port_info->playback.volume); in siu_dai_start() 364 vol = port_info->playback.volume; in siu_dai_get_volume() 408 cur_vol = port_info->playback.volume; in siu_dai_put_volume() 410 port_info->playback.volume = new_vol; in siu_dai_put_volume() 462 (*port_info)->playback.volume = DFLT_VOLUME_LEVEL; in siu_init_port() 475 "failed to add playback controls %p port=%d err=%d\n", in siu_init_port() 532 if (WARN_ON(port_info->playback in siu_dai_shutdown() [all...] |
/kernel/linux/linux-5.10/sound/soc/xilinx/ |
H A D | xlnx_i2s.c | 138 dai_drv->playback.stream_name = "Playback"; in xlnx_i2s_probe() 139 dai_drv->playback.formats = format; in xlnx_i2s_probe() 140 dai_drv->playback.channels_min = ch; in xlnx_i2s_probe() 141 dai_drv->playback.channels_max = ch; in xlnx_i2s_probe() 142 dai_drv->playback.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe()
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/ |
H A D | mt8186-dai-hostless.c | 114 .playback = { 133 .playback = { 152 .playback = { 171 .playback = { 263 .playback = {
|
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | hda-dai.c | 636 .playback = { 647 .playback = { 658 .playback = { 669 .playback = { 680 .playback = { 691 .playback = { 717 .playback = { 724 .playback = { 731 .playback = { 738 .playback [all...] |