Home
last modified time | relevance | path

Searched refs:stype (Results 1 – 6 of 6) sorted by relevance

/sound/soc/au1x/
Dpsc-i2s.c44 #define I2SSTAT_BUSY(stype) \ argument
45 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB)
46 #define I2SPCR_START(stype) \ argument
47 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS)
48 #define I2SPCR_STOP(stype) \ argument
49 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP)
50 #define I2SPCR_CLRFIFO(stype) \ argument
51 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TC : PSC_I2SPCR_RC)
182 static int au1xpsc_i2s_start(struct au1xpsc_audio_data *pscdata, int stype) in au1xpsc_i2s_start() argument
197 au_writel(I2SPCR_CLRFIFO(stype), I2S_PCR(pscdata)); in au1xpsc_i2s_start()
[all …]
Dpsc-ac97.c43 #define AC97PCR_START(stype) \ argument
44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS)
45 #define AC97PCR_STOP(stype) \ argument
46 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP)
47 #define AC97PCR_CLRFIFO(stype) \ argument
48 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC)
50 #define AC97STAT_BUSY(stype) \ argument
51 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB)
218 int chans, t, stype = substream->stream; in au1xpsc_ac97_hw_params() local
238 if (stype == SNDRV_PCM_STREAM_PLAYBACK) { in au1xpsc_ac97_hw_params()
[all …]
Ddbdma2.c160 int stype, int msbits) in au1x_pcm_dbdma_realloc() argument
172 if (stype == SNDRV_PCM_STREAM_CAPTURE) in au1x_pcm_dbdma_realloc()
209 int stype, ret; in au1xpsc_pcm_hw_params() local
215 stype = substream->stream; in au1xpsc_pcm_hw_params()
225 params_periods(params), params_period_bytes(params), stype); in au1xpsc_pcm_hw_params()
227 ret = au1x_pcm_dbdma_realloc(pcd, stype, params->msbits); in au1xpsc_pcm_hw_params()
298 int stype = substream->stream, *dmaids; in au1xpsc_pcm_open() local
304 pcd->ddma_id = dmaids[stype]; in au1xpsc_pcm_open()
Di2sc.c139 int stype = SUBSTREAM_TYPE(substream); in au1xi2s_trigger() local
147 ctx->cfg |= (stype == PCM_TX) ? CFG_TN : CFG_RN; in au1xi2s_trigger()
152 ctx->cfg &= ~((stype == PCM_TX) ? CFG_TN : CFG_RN); in au1xi2s_trigger()
Ddma.c229 int stype = substream->stream; in alchemy_pcm_close() local
231 ctx->stream[stype].substream = NULL; in alchemy_pcm_close()
232 free_au1000_dma(ctx->stream[stype].dma); in alchemy_pcm_close()
/sound/pci/
Dcmipci.c2465 #define DEFINE_SWITCH(sname, stype, sarg) \ argument
2467 .iface = stype, \