Lines Matching defs:base
375 #define WM5100_MIXER_CONTROLS(name, base) \
376 SOC_SINGLE_TLV(name " Input 1 Volume", base + 1 , \
378 SOC_SINGLE_TLV(name " Input 2 Volume", base + 3 , \
380 SOC_SINGLE_TLV(name " Input 3 Volume", base + 5 , \
382 SOC_SINGLE_TLV(name " Input 4 Volume", base + 7 , \
1282 int lrclk, bclk, mask, base;
1284 base = dai->driver->base;
1338 snd_soc_component_update_bits(component, base + 1, WM5100_AIF1_BCLK_MSTR |
1340 snd_soc_component_update_bits(component, base + 2, WM5100_AIF1TX_LRCLK_MSTR |
1342 snd_soc_component_update_bits(component, base + 3, WM5100_AIF1TX_LRCLK_MSTR |
1344 snd_soc_component_update_bits(component, base + 5, WM5100_AIF1_FMT_MASK, mask);
1402 int i, base, bclk, aif_rate, lrclk, wl, fl, sr;
1405 base = dai->driver->base;
1474 snd_soc_component_update_bits(component, base + 1, WM5100_AIF1_BCLK_FREQ_MASK, bclk);
1480 snd_soc_component_update_bits(component, base + 7,
1483 snd_soc_component_update_bits(component, base + 6,
1488 snd_soc_component_update_bits(component, base + 9,
1492 snd_soc_component_update_bits(component, base + 8,
1496 snd_soc_component_update_bits(component, base + 4, WM5100_AIF1_RATE_MASK, sr);
1761 int ret, base, lock, i, timeout;
1767 base = WM5100_FLL1_CONTROL_1 - 1;
1772 base = WM5100_FLL2_CONTROL_2 - 1;
1785 snd_soc_component_update_bits(component, base + 1, WM5100_FLL1_ENA, 0);
1808 snd_soc_component_update_bits(component, base + 1, WM5100_FLL1_ENA, 0);
1810 snd_soc_component_update_bits(component, base + 2,
1814 snd_soc_component_update_bits(component, base + 3, WM5100_FLL1_THETA_MASK,
1816 snd_soc_component_update_bits(component, base + 5, WM5100_FLL1_N_MASK, factors.n);
1817 snd_soc_component_update_bits(component, base + 6,
1822 snd_soc_component_update_bits(component, base + 7, WM5100_FLL1_LAMBDA_MASK,
1830 snd_soc_component_update_bits(component, base + 1, WM5100_FLL1_ENA, WM5100_FLL1_ENA);
1887 .base = WM5100_AUDIO_IF_1_1 - 1,
1907 .base = WM5100_AUDIO_IF_2_1 - 1,
1927 .base = WM5100_AUDIO_IF_3_1 - 1,
2304 wm5100->gpio_chip.base = wm5100->pdata.gpio_base;
2306 wm5100->gpio_chip.base = -1;