Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Side by Side Diff: sound/soc/tegra/tegra_asoc_utils.h

Issue 6577007: CHROMIUM: ASoC: Import entire upstream ASoC tree (Closed)
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sound/soc/tegra/harmony.c ('k') | sound/soc/tegra/tegra_asoc_utils.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * tegra_asoc_utils.h - Definitions for Tegra DAS driver 2 * tegra_asoc_utils.h - Definitions for Tegra DAS driver
3 * 3 *
4 * Author: Stephen Warren <swarren@nvidia.com> 4 * Author: Stephen Warren <swarren@nvidia.com>
5 * Copyright (C) 2010 - NVIDIA, Inc. 5 * Copyright (C) 2010 - NVIDIA, Inc.
6 * 6 *
7 * This program is free software; you can redistribute it and/or 7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License 8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation. 9 * version 2 as published by the Free Software Foundation.
10 * 10 *
11 * This program is distributed in the hope that it will be useful, but 11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of 12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details. 14 * General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU General Public License 16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software 17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 * 02110-1301 USA 19 * 02110-1301 USA
20 * 20 *
21 */ 21 */
22 22
23 #ifndef __TEGRA_ASOC_UTILS_H__ 23 #ifndef __TEGRA_ASOC_UTILS_H__
24 #define __TEGRA_ASOC_UTILS_H_ 24 #define __TEGRA_ASOC_UTILS_H_
25 25
26 int tegra_asoc_utils_set_rate(int srate, int mclk_rate, int *mclk_change); 26 struct clk;
27 int tegra_asoc_utils_init(void); 27 struct device;
28 void tegra_asoc_utils_fini(void); 28
29 struct tegra_asoc_utils_data {
30 » struct device *dev;
31 » struct clk *clk_pll_a;
32 » struct clk *clk_pll_a_out0;
33 » struct clk *clk_cdev1;
34 » int set_baseclock;
35 » int set_mclk;
36 };
37
38 int tegra_asoc_utils_set_rate(struct tegra_asoc_utils_data *data, int srate,
39 » » » int mclk, int *mclk_change);
40 int tegra_asoc_utils_init(struct tegra_asoc_utils_data *data,
41 » » » struct device *dev);
42 void tegra_asoc_utils_fini(struct tegra_asoc_utils_data *data);
29 43
30 #endif 44 #endif
31 45
OLDNEW
« no previous file with comments | « sound/soc/tegra/harmony.c ('k') | sound/soc/tegra/tegra_asoc_utils.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698