Searched refs:rtpriv (Results 1 - 3 of 3) sorted by relevance
/netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/sound/soc/ath79/ |
H A D | ath79-pcm.c | 76 struct ath79_pcm_rt_priv *rtpriv; local 83 rtpriv = prdata->playback->runtime->private_data; 85 rtpriv->last_played = ath79_pcm_get_last_played(rtpriv); 89 played_size = ath79_pcm_set_own_bits(rtpriv); 92 rtpriv->elapsed_size += played_size; 94 if(rtpriv->elapsed_size >= period_bytes) 96 rtpriv->elapsed_size %= period_bytes; 100 if (rtpriv->last_played == NULL) { 107 rtpriv 129 struct ath79_pcm_rt_priv *rtpriv; local 179 struct ath79_pcm_rt_priv *rtpriv; local 205 struct ath79_pcm_rt_priv *rtpriv; local 241 struct ath79_pcm_rt_priv *rtpriv; local 254 struct ath79_pcm_rt_priv *rtpriv; local 272 struct ath79_pcm_rt_priv *rtpriv = ss->runtime->private_data; local 291 struct ath79_pcm_rt_priv *rtpriv; local [all...] |
H A D | ath79-mbox.c | 80 void ath79_mbox_dma_start(struct ath79_pcm_rt_priv *rtpriv) argument 82 if (rtpriv->direction == SNDRV_PCM_STREAM_PLAYBACK) { 93 void ath79_mbox_dma_stop(struct ath79_pcm_rt_priv *rtpriv) argument 95 if (rtpriv->direction == SNDRV_PCM_STREAM_PLAYBACK) { 109 mdelay(rtpriv->delay_time); 120 void ath79_mbox_dma_prepare(struct ath79_pcm_rt_priv *rtpriv) argument 125 if (rtpriv->direction == SNDRV_PCM_STREAM_PLAYBACK) { 135 desc = list_first_entry(&rtpriv->dma_head, struct ath79_pcm_desc, list); 146 desc = list_first_entry(&rtpriv->dma_head, struct ath79_pcm_desc, list); 154 int ath79_mbox_dma_map(struct ath79_pcm_rt_priv *rtpriv, dma_addr_ argument 214 ath79_mbox_dma_unmap(struct ath79_pcm_rt_priv *rtpriv) argument [all...] |
H A D | ath79-pcm.h | 79 static inline unsigned int ath79_pcm_set_own_bits(struct ath79_pcm_rt_priv *rtpriv) argument 85 list_for_each_entry(desc, &rtpriv->dma_head, list) { 95 static inline void ath79_pcm_clear_own_bits(struct ath79_pcm_rt_priv *rtpriv) argument 100 list_for_each_entry(desc, &rtpriv->dma_head, list) { 108 static inline struct ath79_pcm_desc *ath79_pcm_get_last_played(struct ath79_pcm_rt_priv *rtpriv) argument 113 prev = list_entry(rtpriv->dma_head.prev, struct ath79_pcm_desc, list); 114 list_for_each_entry(desc, &rtpriv->dma_head, list) {
|
Completed in 26 milliseconds