Go to the source code of this file.
|
#define | ARIZONA_CLK_SYSCLK 1 |
|
#define | ARIZONA_CLK_ASYNCCLK 2 |
|
#define | ARIZONA_CLK_OPCLK 3 |
|
#define | ARIZONA_CLK_ASYNC_OPCLK 4 |
|
#define | ARIZONA_CLK_SRC_MCLK1 0x0 |
|
#define | ARIZONA_CLK_SRC_MCLK2 0x1 |
|
#define | ARIZONA_CLK_SRC_FLL1 0x4 |
|
#define | ARIZONA_CLK_SRC_FLL2 0x5 |
|
#define | ARIZONA_CLK_SRC_AIF1BCLK 0x8 |
|
#define | ARIZONA_CLK_SRC_AIF2BCLK 0x9 |
|
#define | ARIZONA_CLK_SRC_AIF3BCLK 0xa |
|
#define | ARIZONA_FLL_SRC_MCLK1 0 |
|
#define | ARIZONA_FLL_SRC_MCLK2 1 |
|
#define | ARIZONA_FLL_SRC_SLIMCLK 2 |
|
#define | ARIZONA_FLL_SRC_FLL1 3 |
|
#define | ARIZONA_FLL_SRC_FLL2 4 |
|
#define | ARIZONA_FLL_SRC_AIF1BCLK 5 |
|
#define | ARIZONA_FLL_SRC_AIF2BCLK 6 |
|
#define | ARIZONA_FLL_SRC_AIF3BCLK 7 |
|
#define | ARIZONA_FLL_SRC_AIF1LRCLK 8 |
|
#define | ARIZONA_FLL_SRC_AIF2LRCLK 9 |
|
#define | ARIZONA_FLL_SRC_AIF3LRCLK 10 |
|
#define | ARIZONA_MIXER_VOL_MASK 0x00FE |
|
#define | ARIZONA_MIXER_VOL_SHIFT 1 |
|
#define | ARIZONA_MIXER_VOL_WIDTH 7 |
|
#define | ARIZONA_MAX_DAI 3 |
|
#define | ARIZONA_NUM_MIXER_INPUTS 75 |
|
#define | ARIZONA_MIXER_CONTROLS(name, base) |
|
#define | ARIZONA_MUX_ENUM_DECL(name, reg) |
|
#define | ARIZONA_MUX_CTL_DECL(name) |
|
#define | ARIZONA_MIXER_ENUMS(name, base_reg) |
|
#define | ARIZONA_MUX(name, ctrl) SND_SOC_DAPM_VALUE_MUX(name, SND_SOC_NOPM, 0, 0, ctrl) |
|
#define | ARIZONA_MIXER_WIDGETS(name, name_str) |
|
#define | ARIZONA_MIXER_ROUTES(widget, name) |
|
#define | ARIZONA_FLL_NAME_LEN 20 |
|
|
int | arizona_in_ev (struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) |
|
int | arizona_out_ev (struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) |
|
int | arizona_set_sysclk (struct snd_soc_codec *codec, int clk_id, int source, unsigned int freq, int dir) |
|
int | arizona_init_fll (struct arizona *arizona, int id, int base, int lock_irq, int ok_irq, struct arizona_fll *fll) |
|
int | arizona_set_fll (struct arizona_fll *fll, int source, unsigned int Fref, unsigned int Fout) |
|
int | arizona_init_dai (struct arizona_priv *priv, int dai) |
|
#define ARIZONA_CLK_ASYNC_OPCLK 4 |
#define ARIZONA_CLK_ASYNCCLK 2 |
#define ARIZONA_CLK_OPCLK 3 |
#define ARIZONA_CLK_SRC_AIF1BCLK 0x8 |
#define ARIZONA_CLK_SRC_AIF2BCLK 0x9 |
#define ARIZONA_CLK_SRC_AIF3BCLK 0xa |
#define ARIZONA_CLK_SRC_FLL1 0x4 |
#define ARIZONA_CLK_SRC_FLL2 0x5 |
#define ARIZONA_CLK_SRC_MCLK1 0x0 |
#define ARIZONA_CLK_SRC_MCLK2 0x1 |
#define ARIZONA_CLK_SYSCLK 1 |
#define ARIZONA_FLL_NAME_LEN 20 |
#define ARIZONA_FLL_SRC_AIF1BCLK 5 |
#define ARIZONA_FLL_SRC_AIF1LRCLK 8 |
#define ARIZONA_FLL_SRC_AIF2BCLK 6 |
#define ARIZONA_FLL_SRC_AIF2LRCLK 9 |
#define ARIZONA_FLL_SRC_AIF3BCLK 7 |
#define ARIZONA_FLL_SRC_AIF3LRCLK 10 |
#define ARIZONA_FLL_SRC_FLL1 3 |
#define ARIZONA_FLL_SRC_FLL2 4 |
#define ARIZONA_FLL_SRC_MCLK1 0 |
#define ARIZONA_FLL_SRC_MCLK2 1 |
#define ARIZONA_FLL_SRC_SLIMCLK 2 |
#define ARIZONA_MAX_DAI 3 |
#define ARIZONA_MIXER_CONTROLS |
( |
|
name, |
|
|
|
base |
|
) |
| |
Value:
arizona_mixer_tlv), \
SOC_SINGLE_RANGE_TLV(
name " Input 2 Volume", base + 3, \
arizona_mixer_tlv), \
SOC_SINGLE_RANGE_TLV(
name " Input 3 Volume", base + 5, \
arizona_mixer_tlv), \
SOC_SINGLE_RANGE_TLV(
name " Input 4 Volume", base + 7, \
arizona_mixer_tlv)
Definition at line 70 of file arizona.h.
#define ARIZONA_MIXER_ROUTES |
( |
|
widget, |
|
|
|
name |
|
) |
| |
Value:
ARIZONA_MIXER_INPUT_ROUTES(
name " Input 1"), \
ARIZONA_MIXER_INPUT_ROUTES(
name " Input 2"), \
ARIZONA_MIXER_INPUT_ROUTES(
name " Input 3"), \
ARIZONA_MIXER_INPUT_ROUTES(
name " Input 4")
Definition at line 112 of file arizona.h.
#define ARIZONA_MIXER_VOL_MASK 0x00FE |
#define ARIZONA_MIXER_VOL_SHIFT 1 |
#define ARIZONA_MIXER_VOL_WIDTH 7 |
#define ARIZONA_MIXER_WIDGETS |
( |
|
name, |
|
|
|
name_str |
|
) |
| |
Value:
ARIZONA_MUX(name_str
" Input 2", &
name##_in2_mux), \
ARIZONA_MUX(name_str
" Input 3", &
name##_in3_mux), \
ARIZONA_MUX(name_str
" Input 4", &
name##_in4_mux), \
Definition at line 105 of file arizona.h.
#define ARIZONA_MUX_CTL_DECL |
( |
|
name | ) |
|
Value:
SOC_DAPM_VALUE_ENUM(
"Route",
name##_enum)
Definition at line 88 of file arizona.h.
#define ARIZONA_MUX_ENUM_DECL |
( |
|
name, |
|
|
|
reg |
|
) |
| |
#define ARIZONA_NUM_MIXER_INPUTS 75 |