~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/soc/mediatek/common/mtk-afe-fe-dai.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/soc/mediatek/common/mtk-afe-fe-dai.h (Architecture alpha) and /sound/soc/mediatek/common/mtk-afe-fe-dai.h (Architecture m68k)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*                                                  2 /*
  3  * mtk-afe-fe-dais.h  --  Mediatek afe fe dai       3  * mtk-afe-fe-dais.h  --  Mediatek afe fe dai operator definition
  4  *                                                  4  *
  5  * Copyright (c) 2016 MediaTek Inc.                 5  * Copyright (c) 2016 MediaTek Inc.
  6  * Author: Garlic Tseng <garlic.tseng@mediatek      6  * Author: Garlic Tseng <garlic.tseng@mediatek.com>
  7  */                                                 7  */
  8                                                     8 
  9 #ifndef _MTK_AFE_FE_DAI_H_                          9 #ifndef _MTK_AFE_FE_DAI_H_
 10 #define _MTK_AFE_FE_DAI_H_                         10 #define _MTK_AFE_FE_DAI_H_
 11                                                    11 
 12 struct snd_soc_dai_ops;                            12 struct snd_soc_dai_ops;
 13 struct mtk_base_afe;                               13 struct mtk_base_afe;
 14 struct mtk_base_afe_memif;                         14 struct mtk_base_afe_memif;
 15                                                    15 
 16 int mtk_afe_fe_startup(struct snd_pcm_substrea     16 int mtk_afe_fe_startup(struct snd_pcm_substream *substream,
 17                        struct snd_soc_dai *dai     17                        struct snd_soc_dai *dai);
 18 void mtk_afe_fe_shutdown(struct snd_pcm_substr     18 void mtk_afe_fe_shutdown(struct snd_pcm_substream *substream,
 19                          struct snd_soc_dai *d     19                          struct snd_soc_dai *dai);
 20 int mtk_afe_fe_hw_params(struct snd_pcm_substr     20 int mtk_afe_fe_hw_params(struct snd_pcm_substream *substream,
 21                          struct snd_pcm_hw_par     21                          struct snd_pcm_hw_params *params,
 22                          struct snd_soc_dai *d     22                          struct snd_soc_dai *dai);
 23 int mtk_afe_fe_hw_free(struct snd_pcm_substrea     23 int mtk_afe_fe_hw_free(struct snd_pcm_substream *substream,
 24                        struct snd_soc_dai *dai     24                        struct snd_soc_dai *dai);
 25 int mtk_afe_fe_prepare(struct snd_pcm_substrea     25 int mtk_afe_fe_prepare(struct snd_pcm_substream *substream,
 26                        struct snd_soc_dai *dai     26                        struct snd_soc_dai *dai);
 27 int mtk_afe_fe_trigger(struct snd_pcm_substrea     27 int mtk_afe_fe_trigger(struct snd_pcm_substream *substream, int cmd,
 28                        struct snd_soc_dai *dai     28                        struct snd_soc_dai *dai);
 29                                                    29 
 30 extern const struct snd_soc_dai_ops mtk_afe_fe     30 extern const struct snd_soc_dai_ops mtk_afe_fe_ops;
 31                                                    31 
 32 int mtk_dynamic_irq_acquire(struct mtk_base_af     32 int mtk_dynamic_irq_acquire(struct mtk_base_afe *afe);
 33 int mtk_dynamic_irq_release(struct mtk_base_af     33 int mtk_dynamic_irq_release(struct mtk_base_afe *afe, int irq_id);
 34 int mtk_afe_suspend(struct snd_soc_component *     34 int mtk_afe_suspend(struct snd_soc_component *component);
 35 int mtk_afe_resume(struct snd_soc_component *c     35 int mtk_afe_resume(struct snd_soc_component *component);
 36                                                    36 
 37 int mtk_memif_set_enable(struct mtk_base_afe *     37 int mtk_memif_set_enable(struct mtk_base_afe *afe, int id);
 38 int mtk_memif_set_disable(struct mtk_base_afe      38 int mtk_memif_set_disable(struct mtk_base_afe *afe, int id);
 39 int mtk_memif_set_addr(struct mtk_base_afe *af     39 int mtk_memif_set_addr(struct mtk_base_afe *afe, int id,
 40                        unsigned char *dma_area     40                        unsigned char *dma_area,
 41                        dma_addr_t dma_addr,        41                        dma_addr_t dma_addr,
 42                        size_t dma_bytes);          42                        size_t dma_bytes);
 43 int mtk_memif_set_channel(struct mtk_base_afe      43 int mtk_memif_set_channel(struct mtk_base_afe *afe,
 44                           int id, unsigned int     44                           int id, unsigned int channel);
 45 int mtk_memif_set_rate(struct mtk_base_afe *af     45 int mtk_memif_set_rate(struct mtk_base_afe *afe,
 46                        int id, unsigned int ra     46                        int id, unsigned int rate);
 47 int mtk_memif_set_rate_substream(struct snd_pc     47 int mtk_memif_set_rate_substream(struct snd_pcm_substream *substream,
 48                                  int id, unsig     48                                  int id, unsigned int rate);
 49 int mtk_memif_set_format(struct mtk_base_afe *     49 int mtk_memif_set_format(struct mtk_base_afe *afe,
 50                          int id, snd_pcm_forma     50                          int id, snd_pcm_format_t format);
 51 int mtk_memif_set_pbuf_size(struct mtk_base_af     51 int mtk_memif_set_pbuf_size(struct mtk_base_afe *afe,
 52                             int id, int pbuf_s     52                             int id, int pbuf_size);
 53 #endif                                             53 #endif
 54                                                    54 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php