.. | .. |
---|
31 | 31 | |
---|
32 | 32 | int mtk_dynamic_irq_acquire(struct mtk_base_afe *afe); |
---|
33 | 33 | int mtk_dynamic_irq_release(struct mtk_base_afe *afe, int irq_id); |
---|
34 | | -int mtk_afe_dai_suspend(struct snd_soc_dai *dai); |
---|
35 | | -int mtk_afe_dai_resume(struct snd_soc_dai *dai); |
---|
| 34 | +int mtk_afe_suspend(struct snd_soc_component *component); |
---|
| 35 | +int mtk_afe_resume(struct snd_soc_component *component); |
---|
36 | 36 | |
---|
| 37 | +int mtk_memif_set_enable(struct mtk_base_afe *afe, int id); |
---|
| 38 | +int mtk_memif_set_disable(struct mtk_base_afe *afe, int id); |
---|
| 39 | +int mtk_memif_set_addr(struct mtk_base_afe *afe, int id, |
---|
| 40 | + unsigned char *dma_area, |
---|
| 41 | + dma_addr_t dma_addr, |
---|
| 42 | + size_t dma_bytes); |
---|
| 43 | +int mtk_memif_set_channel(struct mtk_base_afe *afe, |
---|
| 44 | + int id, unsigned int channel); |
---|
| 45 | +int mtk_memif_set_rate(struct mtk_base_afe *afe, |
---|
| 46 | + int id, unsigned int rate); |
---|
| 47 | +int mtk_memif_set_rate_substream(struct snd_pcm_substream *substream, |
---|
| 48 | + int id, unsigned int rate); |
---|
| 49 | +int mtk_memif_set_format(struct mtk_base_afe *afe, |
---|
| 50 | + int id, snd_pcm_format_t format); |
---|
| 51 | +int mtk_memif_set_pbuf_size(struct mtk_base_afe *afe, |
---|
| 52 | + int id, int pbuf_size); |
---|
37 | 53 | #endif |
---|