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

TOMOYO Linux Cross Reference
Linux/sound/soc/fsl/fsl_rpmsg.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*
  3  * Copyright 2017-2021 NXP
  4  */
  5 
  6 #ifndef __FSL_RPMSG_H
  7 #define __FSL_RPMSG_H
  8 
  9 /*
 10  * struct fsl_rpmsg_soc_data
 11  * @rates: supported rates
 12  * @formats: supported formats
 13  */
 14 struct fsl_rpmsg_soc_data {
 15         int rates;
 16         u64 formats;
 17 };
 18 
 19 /*
 20  * struct fsl_rpmsg - rpmsg private data
 21  *
 22  * @ipg: ipg clock for cpu dai (SAI)
 23  * @mclk: master clock for cpu dai (SAI)
 24  * @dma: clock for dma device
 25  * @pll8k: parent clock for multiple of 8kHz frequency
 26  * @pll11k: parent clock for multiple of 11kHz frequency
 27  * @card_pdev: Platform_device pointer to register a sound card
 28  * @soc_data: soc specific data
 29  * @mclk_streams: Active streams that are using baudclk
 30  * @force_lpa: force enable low power audio routine if condition satisfy
 31  * @enable_lpa: enable low power audio routine according to dts setting
 32  * @buffer_size: pre allocated dma buffer size
 33  */
 34 struct fsl_rpmsg {
 35         struct clk *ipg;
 36         struct clk *mclk;
 37         struct clk *dma;
 38         struct clk *pll8k;
 39         struct clk *pll11k;
 40         struct platform_device *card_pdev;
 41         const struct fsl_rpmsg_soc_data *soc_data;
 42         unsigned int mclk_streams;
 43         int force_lpa;
 44         int enable_lpa;
 45         int buffer_size;
 46 };
 47 #endif /* __FSL_RPMSG_H */
 48 

~ [ 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