soc-dai.h (27eb2c4b3d3e13f376a359e293c212a2e9407af5) | soc-dai.h (e54cf76ba2c9ec071a68e98f2830226c0cac8086) |
---|---|
1/* 2 * linux/sound/soc-dai.h -- ALSA SoC Layer 3 * 4 * Copyright: 2005-2008 Wolfson Microelectronics. PLC. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 91 unchanged lines hidden (view full) --- 100 unsigned int freq, int dir); 101 102int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, 103 int div_id, int div); 104 105int snd_soc_dai_set_pll(struct snd_soc_dai *dai, 106 int pll_id, int source, unsigned int freq_in, unsigned int freq_out); 107 | 1/* 2 * linux/sound/soc-dai.h -- ALSA SoC Layer 3 * 4 * Copyright: 2005-2008 Wolfson Microelectronics. PLC. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 91 unchanged lines hidden (view full) --- 100 unsigned int freq, int dir); 101 102int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, 103 int div_id, int div); 104 105int snd_soc_dai_set_pll(struct snd_soc_dai *dai, 106 int pll_id, int source, unsigned int freq_in, unsigned int freq_out); 107 |
108int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio); 109 |
|
108/* Digital Audio interface formatting */ 109int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt); 110 111int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai, 112 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width); 113 114int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, 115 unsigned int tx_num, unsigned int *tx_slot, --- 10 unchanged lines hidden (view full) --- 126 * DAI clocking configuration, all optional. 127 * Called by soc_card drivers, normally in their hw_params. 128 */ 129 int (*set_sysclk)(struct snd_soc_dai *dai, 130 int clk_id, unsigned int freq, int dir); 131 int (*set_pll)(struct snd_soc_dai *dai, int pll_id, int source, 132 unsigned int freq_in, unsigned int freq_out); 133 int (*set_clkdiv)(struct snd_soc_dai *dai, int div_id, int div); | 110/* Digital Audio interface formatting */ 111int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt); 112 113int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai, 114 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width); 115 116int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, 117 unsigned int tx_num, unsigned int *tx_slot, --- 10 unchanged lines hidden (view full) --- 128 * DAI clocking configuration, all optional. 129 * Called by soc_card drivers, normally in their hw_params. 130 */ 131 int (*set_sysclk)(struct snd_soc_dai *dai, 132 int clk_id, unsigned int freq, int dir); 133 int (*set_pll)(struct snd_soc_dai *dai, int pll_id, int source, 134 unsigned int freq_in, unsigned int freq_out); 135 int (*set_clkdiv)(struct snd_soc_dai *dai, int div_id, int div); |
136 int (*set_bclk_ratio)(struct snd_soc_dai *dai, unsigned int ratio); |
|
134 135 /* 136 * DAI format configuration 137 * Called by soc_card drivers, normally in their hw_params. 138 */ 139 int (*set_fmt)(struct snd_soc_dai *dai, unsigned int fmt); 140 int (*set_tdm_slot)(struct snd_soc_dai *dai, 141 unsigned int tx_mask, unsigned int rx_mask, --- 149 unchanged lines hidden --- | 137 138 /* 139 * DAI format configuration 140 * Called by soc_card drivers, normally in their hw_params. 141 */ 142 int (*set_fmt)(struct snd_soc_dai *dai, unsigned int fmt); 143 int (*set_tdm_slot)(struct snd_soc_dai *dai, 144 unsigned int tx_mask, unsigned int rx_mask, --- 149 unchanged lines hidden --- |