Lines Matching +full:0 +full:x100

37 	{  0, 0x7f },
38 { 1, 0x7f },
39 { 2, 0x7f },
40 { 3, 0x7f },
41 { 4, 0x7f },
42 { 5, 0x7f },
43 { 6, 0x7f },
44 { 7, 0x7f },
45 { 8, 0x7f },
46 { 9, 0xff },
47 { 10, 0xff },
48 { 11, 0xff },
49 { 12, 0xff },
50 { 13, 0xff },
51 { 14, 0xff },
52 { 15, 0xff },
53 { 16, 0xff },
54 { 17, 0xff },
55 { 18, 0 },
56 { 19, 0x90 },
57 { 20, 0 },
58 { 21, 0 },
59 { 22, 0x22 },
60 { 23, 0x22 },
61 { 24, 0x3e },
62 { 25, 0xc },
63 { 26, 0xc },
64 { 27, 0x100 },
65 { 28, 0x189 },
66 { 29, 0x189 },
67 { 30, 0x8770 },
107 return 0; \
110 WM8770_REGULATOR_EVENT(0)
114 static const DECLARE_TLV_DB_SCALE(adc_tlv, -1200, 100, 0);
126 SOC_ENUM_DOUBLE(WM8770_DACPHASE, 0, 1, 2, dac_phase_text[0]),
134 SOC_SINGLE_TLV("DAC Playback Volume", WM8770_MSDIGVOL, 0, 255, 0,
137 SOC_SINGLE("DAC Playback ZC Switch", WM8770_DACCTRL1, 0, 1, 0),
140 SOC_SINGLE_TLV("VOUT Playback Volume", WM8770_MSALGVOL, 0, 127, 0,
142 SOC_SINGLE("VOUT Playback ZC Switch", WM8770_MSALGVOL, 7, 1, 0),
146 WM8770_VOUT1RVOL, 0, 127, 0, dac_alg_tlv),
148 WM8770_VOUT1RVOL, 7, 1, 0),
150 WM8770_VOUT2RVOL, 0, 127, 0, dac_alg_tlv),
152 WM8770_VOUT2RVOL, 7, 1, 0),
154 WM8770_VOUT3RVOL, 0, 127, 0, dac_alg_tlv),
156 WM8770_VOUT3RVOL, 7, 1, 0),
158 WM8770_VOUT4RVOL, 0, 127, 0, dac_alg_tlv),
160 WM8770_VOUT4RVOL, 7, 1, 0),
164 WM8770_DAC1RVOL, 0, 255, 0, dac_dig_tlv),
165 SOC_SINGLE("DAC1 Deemphasis Switch", WM8770_DACCTRL2, 0, 1, 0),
166 SOC_ENUM("DAC1 Phase", dac_phase[0]),
168 WM8770_DAC2RVOL, 0, 255, 0, dac_dig_tlv),
169 SOC_SINGLE("DAC2 Deemphasis Switch", WM8770_DACCTRL2, 1, 1, 0),
172 WM8770_DAC3RVOL, 0, 255, 0, dac_dig_tlv),
173 SOC_SINGLE("DAC3 Deemphasis Switch", WM8770_DACCTRL2, 2, 1, 0),
176 WM8770_DAC4RVOL, 0, 255, 0, dac_dig_tlv),
177 SOC_SINGLE("DAC4 Deemphasis Switch", WM8770_DACCTRL2, 3, 1, 0),
182 0, 31, 0, adc_tlv),
187 SOC_SINGLE("ADC 128x Oversampling Switch", WM8770_MSTRCTRL, 3, 1, 0),
197 WM8770_ADCMUX, 0, 4, ain_text);
203 SOC_DAPM_SINGLE("DAC1 Switch", WM8770_OUTMUX1, 0, 1, 0),
204 SOC_DAPM_SINGLE("AUX1 Switch", WM8770_OUTMUX1, 1, 1, 0),
205 SOC_DAPM_SINGLE("Bypass Switch", WM8770_OUTMUX1, 2, 1, 0)
209 SOC_DAPM_SINGLE("DAC2 Switch", WM8770_OUTMUX1, 3, 1, 0),
210 SOC_DAPM_SINGLE("AUX2 Switch", WM8770_OUTMUX1, 4, 1, 0),
211 SOC_DAPM_SINGLE("Bypass Switch", WM8770_OUTMUX1, 5, 1, 0)
215 SOC_DAPM_SINGLE("DAC3 Switch", WM8770_OUTMUX2, 0, 1, 0),
216 SOC_DAPM_SINGLE("AUX3 Switch", WM8770_OUTMUX2, 1, 1, 0),
217 SOC_DAPM_SINGLE("Bypass Switch", WM8770_OUTMUX2, 2, 1, 0)
221 SOC_DAPM_SINGLE("DAC4 Switch", WM8770_OUTMUX2, 3, 1, 0),
222 SOC_DAPM_SINGLE("Bypass Switch", WM8770_OUTMUX2, 4, 1, 0)
248 SND_SOC_DAPM_SUPPLY("VOUT12 Supply", SND_SOC_NOPM, 0, 0,
250 SND_SOC_DAPM_SUPPLY("VOUT34 Supply", SND_SOC_NOPM, 0, 0,
253 SND_SOC_DAPM_MIXER("VOUT1 Mixer", SND_SOC_NOPM, 0, 0,
255 SND_SOC_DAPM_MIXER("VOUT2 Mixer", SND_SOC_NOPM, 0, 0,
257 SND_SOC_DAPM_MIXER("VOUT3 Mixer", SND_SOC_NOPM, 0, 0,
259 SND_SOC_DAPM_MIXER("VOUT4 Mixer", SND_SOC_NOPM, 0, 0,
312 snd_soc_component_update_bits(component, WM8770_OUTMUX1, 0x180, 0); in vout12supply_event()
315 snd_soc_component_update_bits(component, WM8770_OUTMUX1, 0x180, 0x180); in vout12supply_event()
319 return 0; in vout12supply_event()
329 snd_soc_component_update_bits(component, WM8770_OUTMUX2, 0x180, 0); in vout34supply_event()
332 snd_soc_component_update_bits(component, WM8770_OUTMUX2, 0x180, 0x180); in vout34supply_event()
336 return 0; in vout34supply_event()
341 return snd_soc_component_write(component, WM8770_RESET, 0); in wm8770_reset()
353 master = 0x100; in wm8770_set_fmt()
356 master = 0; in wm8770_set_fmt()
362 iface = 0; in wm8770_set_fmt()
365 iface |= 0x2; in wm8770_set_fmt()
370 iface |= 0x1; in wm8770_set_fmt()
380 iface |= 0xc; in wm8770_set_fmt()
383 iface |= 0x8; in wm8770_set_fmt()
386 iface |= 0x4; in wm8770_set_fmt()
392 snd_soc_component_update_bits(component, WM8770_IFACECTRL, 0xf, iface); in wm8770_set_fmt()
393 snd_soc_component_update_bits(component, WM8770_MSTRCTRL, 0x100, master); in wm8770_set_fmt()
395 return 0; in wm8770_set_fmt()
421 iface = 0; in wm8770_hw_params()
426 iface |= 0x10; in wm8770_hw_params()
429 iface |= 0x20; in wm8770_hw_params()
432 iface |= 0x30; in wm8770_hw_params()
438 i = 0; in wm8770_hw_params()
443 shift = 0; in wm8770_hw_params()
450 if (snd_soc_component_read(component, WM8770_MSTRCTRL) & 0x100) { in wm8770_hw_params()
466 snd_soc_component_update_bits(component, WM8770_MSTRCTRL, 0x7 << shift, in wm8770_hw_params()
470 snd_soc_component_update_bits(component, WM8770_IFACECTRL, 0x30, iface); in wm8770_hw_params()
472 return 0; in wm8770_hw_params()
480 return snd_soc_component_update_bits(component, WM8770_DACMUTE, 0x10, in wm8770_mute()
493 return 0; in wm8770_set_sysclk()
523 snd_soc_component_write(component, WM8770_PWDNCTRL, 0); in wm8770_set_bias_level()
534 return 0; in wm8770_set_bias_level()
584 if (ret < 0) { in wm8770_probe()
590 snd_soc_component_update_bits(component, WM8770_MSDIGVOL, 0x100, 0x100); in wm8770_probe()
591 snd_soc_component_update_bits(component, WM8770_MSALGVOL, 0x100, 0x100); in wm8770_probe()
592 snd_soc_component_update_bits(component, WM8770_VOUT1RVOL, 0x100, 0x100); in wm8770_probe()
593 snd_soc_component_update_bits(component, WM8770_VOUT2RVOL, 0x100, 0x100); in wm8770_probe()
594 snd_soc_component_update_bits(component, WM8770_VOUT3RVOL, 0x100, 0x100); in wm8770_probe()
595 snd_soc_component_update_bits(component, WM8770_VOUT4RVOL, 0x100, 0x100); in wm8770_probe()
596 snd_soc_component_update_bits(component, WM8770_DAC1RVOL, 0x100, 0x100); in wm8770_probe()
597 snd_soc_component_update_bits(component, WM8770_DAC2RVOL, 0x100, 0x100); in wm8770_probe()
598 snd_soc_component_update_bits(component, WM8770_DAC3RVOL, 0x100, 0x100); in wm8770_probe()
599 snd_soc_component_update_bits(component, WM8770_DAC4RVOL, 0x100, 0x100); in wm8770_probe()
602 snd_soc_component_update_bits(component, WM8770_DACMUTE, 0x10, 0x10); in wm8770_probe()
650 for (i = 0; i < ARRAY_SIZE(wm8770->supplies); i++) in wm8770_spi_probe()
660 wm8770->disable_nb[0].notifier_call = wm8770_regulator_event_0; in wm8770_spi_probe()
665 for (i = 0; i < ARRAY_SIZE(wm8770->supplies); i++) { in wm8770_spi_probe()