Lines Matching +full:0 +full:xfff7
50 module_param(caps_charge, int, 0);
64 { 0x00, 0x0000 },
65 { 0x01, 0x0008 },
66 { 0x02, 0x0000 },
67 { 0x03, 0x000a },
68 { 0x04, 0x000a },
69 { 0x05, 0x0033 },
70 { 0x06, 0x0000 },
71 { 0x07, 0x0007 },
72 { 0x08, 0x00ff },
73 { 0x09, 0x00ff },
74 { 0x0a, 0x000f },
75 { 0x0b, 0x000f },
76 { 0x0c, 0x007b },
77 { 0x0d, 0x0000 },
78 { 0x0e, 0x0032 },
79 { 0x0f, 0x0000 },
80 { 0x10, 0x00c3 },
81 { 0x11, 0x00c3 },
82 { 0x12, 0x00c0 },
83 { 0x13, 0x0000 },
84 { 0x14, 0x0000 },
85 { 0x15, 0x0000 },
86 { 0x16, 0x0000 },
87 { 0x17, 0x0000 },
88 { 0x18, 0x0000 },
89 { 0x19, 0x0000 },
90 { 0x1a, 0x0000 },
91 { 0x1b, 0x0000 },
92 { 0x1c, 0x0000 },
93 { 0x1d, 0x0000 },
94 { 0x1e, 0x0000 },
95 { 0x1f, 0x0000 },
96 { 0x20, 0x0055 },
97 { 0x21, 0x0005 },
98 { 0x22, 0x0050 },
99 { 0x23, 0x0055 },
100 { 0x24, 0x0050 },
101 { 0x25, 0x0055 },
102 { 0x26, 0x0050 },
103 { 0x27, 0x0055 },
104 { 0x28, 0x0079 },
105 { 0x29, 0x0079 },
106 { 0x2a, 0x0079 },
107 { 0x2b, 0x0079 },
108 { 0x2c, 0x0079 },
109 { 0x2d, 0x0000 },
110 { 0x2e, 0x0000 },
111 { 0x2f, 0x0000 },
112 { 0x30, 0x0000 },
113 { 0x31, 0x0097 },
114 { 0x32, 0x0097 },
115 { 0x33, 0x0000 },
116 { 0x34, 0x0004 },
117 { 0x35, 0x0000 },
118 { 0x36, 0x0083 },
119 { 0x37, 0x0024 },
120 { 0x38, 0x01ba },
121 { 0x39, 0x0000 },
122 { 0x3a, 0x0083 },
123 { 0x3b, 0x0024 },
124 { 0x3c, 0x01ba },
125 { 0x3d, 0x0000 },
126 { 0x3e, 0x0000 },
127 { 0x3f, 0x0000 },
148 #define wm8753_reset(c) snd_soc_component_write(c, WM8753_RESET, 0)
186 static const char *wm8753_dai_mode[] = {"DAI 0", "DAI 1", "DAI 2", "DAI 3"};
206 SOC_ENUM_SINGLE(WM8753_INCTL1, 0, 2, wm8753_left_mux),
210 SOC_ENUM_SINGLE(WM8753_OUTCTL, 0, 3, wm8753_out3),
213 SOC_ENUM_SINGLE(WM8753_ADCIN, 0, 3, wm8753_ladcsel),
230 ucontrol->value.enumerated.item[0] = wm8753->dai_func; in wm8753_get_dai()
231 return 0; in wm8753_get_dai()
241 if (wm8753->dai_func == ucontrol->value.enumerated.item[0]) in wm8753_set_dai()
242 return 0; in wm8753_set_dai()
249 wm8753->dai_func = ucontrol->value.enumerated.item[0]; in wm8753_set_dai()
251 if (((ioctl >> 2) & 0x3) == wm8753->dai_func) in wm8753_set_dai()
254 ioctl = (ioctl & 0x1f3) | (wm8753->dai_func << 2); in wm8753_set_dai()
264 static const DECLARE_TLV_DB_SCALE(rec_mix_tlv, -1500, 300, 0);
265 static const DECLARE_TLV_DB_SCALE(mic_preamp_tlv, 1200, 600, 0);
270 0, 48, TLV_DB_SCALE_ITEM(-25500, 0, 0),
271 48, 127, TLV_DB_SCALE_ITEM(-7300, 100, 0)
273 static const DECLARE_TLV_DB_SCALE(mix_tlv, -1500, 300, 0);
274 static const DECLARE_TLV_DB_SCALE(voice_mix_tlv, -1200, 300, 0);
275 static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0);
278 SOC_SINGLE("Hi-Fi DAC Left/Right channel Swap", WM8753_HIFI, 5, 1, 0),
279 SOC_DOUBLE_R_TLV("PCM Volume", WM8753_LDAC, WM8753_RDAC, 0, 255, 0, dac_tlv),
281 SOC_DOUBLE_R_TLV("ADC Capture Volume", WM8753_LADC, WM8753_RADC, 0, 255, 0,
285 0, 127, 0, out_tlv),
286 SOC_DOUBLE_R_TLV("Speaker Playback Volume", WM8753_LOUT2V, WM8753_ROUT2V, 0,
287 127, 0, out_tlv),
289 SOC_SINGLE_TLV("Mono Playback Volume", WM8753_MOUTV, 0, 127, 0, out_tlv),
295 SOC_DOUBLE_R_TLV("Voice Playback Volume", WM8753_LOUTM2, WM8753_ROUTM2, 0, 7,
299 1, 0),
301 1, 0),
306 SOC_SINGLE_TLV("Mono Voice Playback Volume", WM8753_MOUTM2, 0, 7, 1,
308 SOC_SINGLE("Mono Playback ZC Switch", WM8753_MOUTV, 7, 1, 0),
310 SOC_ENUM("Bass Boost", wm8753_enum[0]),
312 SOC_SINGLE("Bass Volume", WM8753_BASS, 0, 15, 1),
314 SOC_SINGLE("Treble Volume", WM8753_TREBLE, 0, 15, 1),
317 SOC_DOUBLE_TLV("Sidetone Capture Volume", WM8753_RECMIX1, 0, 4, 7, 1,
319 SOC_SINGLE_TLV("Voice Sidetone Capture Volume", WM8753_RECMIX2, 0, 7, 1,
322 SOC_DOUBLE_R_TLV("Capture Volume", WM8753_LINVOL, WM8753_RINVOL, 0, 63, 0,
324 SOC_DOUBLE_R("Capture ZC Switch", WM8753_LINVOL, WM8753_RINVOL, 6, 1, 0),
329 SOC_SINGLE("Capture Filter Switch", WM8753_ADC, 0, 1, 1),
331 SOC_SINGLE("ALC Capture Target Volume", WM8753_ALC1, 0, 7, 0),
332 SOC_SINGLE("ALC Capture Max Volume", WM8753_ALC1, 4, 7, 0),
334 SOC_SINGLE("ALC Capture ZC Switch", WM8753_ALC2, 8, 1, 0),
335 SOC_SINGLE("ALC Capture Hold Time", WM8753_ALC2, 0, 15, 1),
337 SOC_SINGLE("ALC Capture Attack Time", WM8753_ALC3, 0, 15, 0),
338 SOC_SINGLE("ALC Capture NG Threshold", WM8753_NGATE, 3, 31, 0),
340 SOC_SINGLE("ALC Capture NG Switch", WM8753_NGATE, 0, 1, 0),
345 SOC_SINGLE("3D Volume", WM8753_3D, 1, 15, 0),
346 SOC_SINGLE("3D Switch", WM8753_3D, 0, 1, 0),
348 SOC_SINGLE("Capture 6dB Attenuate", WM8753_ADCTL1, 2, 1, 0),
349 SOC_SINGLE("Playback 6dB Attenuate", WM8753_ADCTL1, 1, 1, 0),
355 SOC_SINGLE_TLV("Mic2 Capture Volume", WM8753_INCTL1, 7, 3, 0, mic_preamp_tlv),
356 SOC_SINGLE_TLV("Mic1 Capture Volume", WM8753_INCTL1, 5, 3, 0, mic_preamp_tlv),
370 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_LOUTM2, 8, 1, 0),
371 SOC_DAPM_SINGLE("Sidetone Playback Switch", WM8753_LOUTM2, 7, 1, 0),
372 SOC_DAPM_SINGLE("Left Playback Switch", WM8753_LOUTM1, 8, 1, 0),
373 SOC_DAPM_SINGLE("Bypass Playback Switch", WM8753_LOUTM1, 7, 1, 0),
378 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_ROUTM2, 8, 1, 0),
379 SOC_DAPM_SINGLE("Sidetone Playback Switch", WM8753_ROUTM2, 7, 1, 0),
380 SOC_DAPM_SINGLE("Right Playback Switch", WM8753_ROUTM1, 8, 1, 0),
381 SOC_DAPM_SINGLE("Bypass Playback Switch", WM8753_ROUTM1, 7, 1, 0),
386 SOC_DAPM_SINGLE("Left Playback Switch", WM8753_MOUTM1, 8, 1, 0),
387 SOC_DAPM_SINGLE("Right Playback Switch", WM8753_MOUTM2, 8, 1, 0),
388 SOC_DAPM_SINGLE("Voice Playback Switch", WM8753_MOUTM2, 3, 1, 0),
389 SOC_DAPM_SINGLE("Sidetone Playback Switch", WM8753_MOUTM2, 7, 1, 0),
390 SOC_DAPM_SINGLE("Bypass Playback Switch", WM8753_MOUTM1, 7, 1, 0),
411 SOC_DAPM_SINGLE("Voice Capture Switch", WM8753_RECMIX2, 3, 1, 0),
412 SOC_DAPM_SINGLE("Left Capture Switch", WM8753_RECMIX1, 3, 1, 0),
413 SOC_DAPM_SINGLE("Right Capture Switch", WM8753_RECMIX1, 7, 1, 0),
430 SOC_DAPM_SINGLE("Line Capture Switch", WM8753_INCTL2, 3, 1, 0),
431 SOC_DAPM_SINGLE("Mic2 Capture Switch", WM8753_INCTL2, 2, 1, 0),
432 SOC_DAPM_SINGLE("Mic1 Capture Switch", WM8753_INCTL2, 1, 1, 0),
433 SOC_DAPM_SINGLE("Rx Capture Switch", WM8753_INCTL2, 0, 1, 0),
461 SND_SOC_DAPM_MICBIAS("Mic Bias", WM8753_PWR1, 5, 0),
462 SND_SOC_DAPM_MIXER("Left Mixer", WM8753_PWR4, 0, 0,
463 &wm8753_left_mixer_controls[0], ARRAY_SIZE(wm8753_left_mixer_controls)),
464 SND_SOC_DAPM_PGA("Left Out 1", WM8753_PWR3, 8, 0, NULL, 0),
465 SND_SOC_DAPM_PGA("Left Out 2", WM8753_PWR3, 6, 0, NULL, 0),
466 SND_SOC_DAPM_DAC("Left DAC", "Left HiFi Playback", WM8753_PWR1, 3, 0),
469 SND_SOC_DAPM_MIXER("Right Mixer", WM8753_PWR4, 1, 0,
470 &wm8753_right_mixer_controls[0], ARRAY_SIZE(wm8753_right_mixer_controls)),
471 SND_SOC_DAPM_PGA("Right Out 1", WM8753_PWR3, 7, 0, NULL, 0),
472 SND_SOC_DAPM_PGA("Right Out 2", WM8753_PWR3, 5, 0, NULL, 0),
473 SND_SOC_DAPM_DAC("Right DAC", "Right HiFi Playback", WM8753_PWR1, 2, 0),
476 SND_SOC_DAPM_MIXER("Mono Mixer", WM8753_PWR4, 2, 0,
477 &wm8753_mono_mixer_controls[0], ARRAY_SIZE(wm8753_mono_mixer_controls)),
478 SND_SOC_DAPM_PGA("Mono Out 1", WM8753_PWR3, 2, 0, NULL, 0),
479 SND_SOC_DAPM_PGA("Mono Out 2", WM8753_PWR3, 1, 0, NULL, 0),
480 SND_SOC_DAPM_DAC("Voice DAC", "Voice Playback", WM8753_PWR1, 4, 0),
482 SND_SOC_DAPM_MUX("Mono 2 Mux", SND_SOC_NOPM, 0, 0, &wm8753_mono2_controls),
484 SND_SOC_DAPM_MIXER("Out3 Left + Right", SND_SOC_NOPM, 0, 0, NULL, 0),
485 SND_SOC_DAPM_MUX("Out3 Mux", SND_SOC_NOPM, 0, 0, &wm8753_out3_controls),
486 SND_SOC_DAPM_PGA("Out 3", WM8753_PWR3, 4, 0, NULL, 0),
488 SND_SOC_DAPM_MUX("Out4 Mux", SND_SOC_NOPM, 0, 0, &wm8753_out4_controls),
489 SND_SOC_DAPM_PGA("Out 4", WM8753_PWR3, 3, 0, NULL, 0),
491 SND_SOC_DAPM_MIXER("Playback Mixer", WM8753_PWR4, 3, 0,
492 &wm8753_record_mixer_controls[0],
494 SND_SOC_DAPM_ADC("Left ADC", "Left Capture", WM8753_PWR2, 3, 0),
495 SND_SOC_DAPM_ADC("Right ADC", "Right Capture", WM8753_PWR2, 2, 0),
496 SND_SOC_DAPM_MUX("Capture Left Mixer", SND_SOC_NOPM, 0, 0,
498 SND_SOC_DAPM_MUX("Capture Right Mixer", SND_SOC_NOPM, 0, 0,
500 SND_SOC_DAPM_MUX("Capture Left Mux", SND_SOC_NOPM, 0, 0,
502 SND_SOC_DAPM_MUX("Capture Right Mux", SND_SOC_NOPM, 0, 0,
504 SND_SOC_DAPM_MUX("Mic Sidetone Mux", SND_SOC_NOPM, 0, 0,
506 SND_SOC_DAPM_PGA("Left Capture Volume", WM8753_PWR2, 5, 0, NULL, 0),
507 SND_SOC_DAPM_PGA("Right Capture Volume", WM8753_PWR2, 4, 0, NULL, 0),
508 SND_SOC_DAPM_MIXER("ALC Mixer", WM8753_PWR2, 6, 0,
509 &wm8753_alc_mixer_controls[0], ARRAY_SIZE(wm8753_alc_mixer_controls)),
510 SND_SOC_DAPM_MUX("Line Left Mux", SND_SOC_NOPM, 0, 0,
512 SND_SOC_DAPM_MUX("Line Right Mux", SND_SOC_NOPM, 0, 0,
514 SND_SOC_DAPM_MUX("Line Mono Mux", SND_SOC_NOPM, 0, 0,
516 SND_SOC_DAPM_MUX("Line Mixer", WM8753_PWR2, 0, 0,
518 SND_SOC_DAPM_MUX("Rx Mixer", WM8753_PWR2, 1, 0,
520 SND_SOC_DAPM_PGA("Mic 1 Volume", WM8753_PWR2, 8, 0, NULL, 0),
521 SND_SOC_DAPM_PGA("Mic 2 Volume", WM8753_PWR2, 7, 0, NULL, 0),
522 SND_SOC_DAPM_MUX("Mic Selection Mux", SND_SOC_NOPM, 0, 0,
714 pll_div->div2 = 0; in pll_factors()
726 K = Kpart & 0xFFFFFFFF; in pll_factors()
749 offset = 0; in wm8753_set_dai_pll()
750 enable = 0x10; in wm8753_set_dai_pll()
751 reg = snd_soc_component_read(component, WM8753_CLOCK) & 0xffef; in wm8753_set_dai_pll()
754 enable = 0x8; in wm8753_set_dai_pll()
755 reg = snd_soc_component_read(component, WM8753_CLOCK) & 0xfff7; in wm8753_set_dai_pll()
760 snd_soc_component_write(component, WM8753_PLL1CTL1 + offset, 0x0026); in wm8753_set_dai_pll()
762 return 0; in wm8753_set_dai_pll()
764 u16 value = 0; in wm8753_set_dai_pll()
770 /* bits 8:5 = PLL_N, bits 3:0 = PLL_K[21:18] */ in wm8753_set_dai_pll()
771 value = (pll_div.n << 5) + ((pll_div.k & 0x3c0000) >> 18); in wm8753_set_dai_pll()
774 /* bits 8:0 = PLL_K[17:9] */ in wm8753_set_dai_pll()
775 value = (pll_div.k & 0x03fe00) >> 9; in wm8753_set_dai_pll()
778 /* bits 8:0 = PLL_K[8:0] */ in wm8753_set_dai_pll()
779 value = pll_div.k & 0x0001ff; in wm8753_set_dai_pll()
783 snd_soc_component_write(component, WM8753_PLL1CTL1 + offset, 0x0027 | in wm8753_set_dai_pll()
787 return 0; in wm8753_set_dai_pll()
800 {12288000, 8000, 0x6, 0x0},
801 {11289600, 8000, 0x16, 0x0},
802 {18432000, 8000, 0x7, 0x0},
803 {16934400, 8000, 0x17, 0x0},
804 {12000000, 8000, 0x6, 0x1},
807 {11289600, 11025, 0x18, 0x0},
808 {16934400, 11025, 0x19, 0x0},
809 {12000000, 11025, 0x19, 0x1},
812 {12288000, 16000, 0xa, 0x0},
813 {18432000, 16000, 0xb, 0x0},
814 {12000000, 16000, 0xa, 0x1},
817 {11289600, 22050, 0x1a, 0x0},
818 {16934400, 22050, 0x1b, 0x0},
819 {12000000, 22050, 0x1b, 0x1},
822 {12288000, 32000, 0xc, 0x0},
823 {18432000, 32000, 0xd, 0x0},
824 {12000000, 32000, 0xa, 0x1},
827 {11289600, 44100, 0x10, 0x0},
828 {16934400, 44100, 0x11, 0x0},
829 {12000000, 44100, 0x11, 0x1},
832 {12288000, 48000, 0x0, 0x0},
833 {18432000, 48000, 0x1, 0x0},
834 {12000000, 48000, 0x0, 0x1},
837 {11289600, 88200, 0x1e, 0x0},
838 {16934400, 88200, 0x1f, 0x0},
839 {12000000, 88200, 0x1f, 0x1},
842 {12288000, 96000, 0xe, 0x0},
843 {18432000, 96000, 0xf, 0x0},
844 {12000000, 96000, 0xe, 0x1},
851 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff()
875 return 0; in wm8753_set_dai_sysclk()
878 return 0; in wm8753_set_dai_sysclk()
891 u16 voice = snd_soc_component_read(component, WM8753_PCM) & 0x01ec; in wm8753_vdac_adc_set_dai_fmt()
896 voice |= 0x0002; in wm8753_vdac_adc_set_dai_fmt()
901 voice |= 0x0001; in wm8753_vdac_adc_set_dai_fmt()
904 voice |= 0x0003; in wm8753_vdac_adc_set_dai_fmt()
907 voice |= 0x0013; in wm8753_vdac_adc_set_dai_fmt()
914 return 0; in wm8753_vdac_adc_set_dai_fmt()
926 u16 voice = snd_soc_component_read(component, WM8753_PCM) & 0x01f3; in wm8753_pcm_hw_params()
927 u16 srate = snd_soc_component_read(component, WM8753_SRATE1) & 0x017f; in wm8753_pcm_hw_params()
934 voice |= 0x0004; in wm8753_pcm_hw_params()
937 voice |= 0x0008; in wm8753_pcm_hw_params()
940 voice |= 0x000c; in wm8753_pcm_hw_params()
946 srate |= 0x80; in wm8753_pcm_hw_params()
950 return 0; in wm8753_pcm_hw_params()
961 voice = snd_soc_component_read(component, WM8753_PCM) & 0x011f; in wm8753_pcm_set_dai_fmt()
962 ioctl = snd_soc_component_read(component, WM8753_IOCTL) & 0x015d; in wm8753_pcm_set_dai_fmt()
969 ioctl |= 0x2; in wm8753_pcm_set_dai_fmt()
972 voice |= 0x0040; in wm8753_pcm_set_dai_fmt()
987 voice |= 0x0080; in wm8753_pcm_set_dai_fmt()
996 voice &= ~0x0010; in wm8753_pcm_set_dai_fmt()
1001 voice |= 0x0090; in wm8753_pcm_set_dai_fmt()
1004 voice |= 0x0080; in wm8753_pcm_set_dai_fmt()
1007 voice |= 0x0010; in wm8753_pcm_set_dai_fmt()
1019 return 0; in wm8753_pcm_set_dai_fmt()
1030 reg = snd_soc_component_read(component, WM8753_CLOCK) & 0x003f; in wm8753_set_dai_clkdiv()
1034 reg = snd_soc_component_read(component, WM8753_SRATE2) & 0x01c7; in wm8753_set_dai_clkdiv()
1038 reg = snd_soc_component_read(component, WM8753_SRATE2) & 0x003f; in wm8753_set_dai_clkdiv()
1044 return 0; in wm8753_set_dai_clkdiv()
1053 u16 hifi = snd_soc_component_read(component, WM8753_HIFI) & 0x01e0; in wm8753_hdac_set_dai_fmt()
1058 hifi |= 0x0002; in wm8753_hdac_set_dai_fmt()
1063 hifi |= 0x0001; in wm8753_hdac_set_dai_fmt()
1066 hifi |= 0x0003; in wm8753_hdac_set_dai_fmt()
1069 hifi |= 0x0013; in wm8753_hdac_set_dai_fmt()
1076 return 0; in wm8753_hdac_set_dai_fmt()
1087 hifi = snd_soc_component_read(component, WM8753_HIFI) & 0x013f; in wm8753_i2s_set_dai_fmt()
1088 ioctl = snd_soc_component_read(component, WM8753_IOCTL) & 0x00ae; in wm8753_i2s_set_dai_fmt()
1095 ioctl |= 0x1; in wm8753_i2s_set_dai_fmt()
1098 hifi |= 0x0040; in wm8753_i2s_set_dai_fmt()
1113 hifi |= 0x0080; in wm8753_i2s_set_dai_fmt()
1122 hifi &= ~0x0010; in wm8753_i2s_set_dai_fmt()
1127 hifi |= 0x0090; in wm8753_i2s_set_dai_fmt()
1130 hifi |= 0x0080; in wm8753_i2s_set_dai_fmt()
1133 hifi |= 0x0010; in wm8753_i2s_set_dai_fmt()
1145 return 0; in wm8753_i2s_set_dai_fmt()
1157 u16 srate = snd_soc_component_read(component, WM8753_SRATE1) & 0x01c0; in wm8753_i2s_hw_params()
1158 u16 hifi = snd_soc_component_read(component, WM8753_HIFI) & 0x01f3; in wm8753_i2s_hw_params()
1163 if (coeff < 0) { in wm8753_i2s_hw_params()
1175 hifi |= 0x0004; in wm8753_i2s_hw_params()
1178 hifi |= 0x0008; in wm8753_i2s_hw_params()
1181 hifi |= 0x000c; in wm8753_i2s_hw_params()
1186 return 0; in wm8753_i2s_hw_params()
1195 clock = snd_soc_component_read(component, WM8753_CLOCK) & 0xfffb; in wm8753_mode1v_set_dai_fmt()
1213 clock = snd_soc_component_read(component, WM8753_CLOCK) & 0xfffb; in wm8753_mode2_set_dai_fmt()
1225 clock = snd_soc_component_read(component, WM8753_CLOCK) & 0xfffb; in wm8753_mode3_4_set_dai_fmt()
1226 snd_soc_component_write(component, WM8753_CLOCK, clock | 0x4); in wm8753_mode3_4_set_dai_fmt()
1228 if (wm8753_hdac_set_dai_fmt(component, fmt) < 0) in wm8753_mode3_4_set_dai_fmt()
1237 int ret = 0; in wm8753_hifi_write_dai_fmt()
1240 case 0: in wm8753_hifi_write_dai_fmt()
1274 int ret = 0; in wm8753_voice_write_dai_fmt()
1276 if (wm8753->dai_func != 0) in wm8753_voice_write_dai_fmt()
1277 return 0; in wm8753_voice_write_dai_fmt()
1286 return 0; in wm8753_voice_write_dai_fmt()
1303 u16 mute_reg = snd_soc_component_read(component, WM8753_DAC) & 0xfff7; in wm8753_mute()
1310 snd_soc_component_write(component, WM8753_DAC, mute_reg | 0x8); in wm8753_mute()
1313 snd_soc_component_write(component, WM8753_DAC, mute_reg | 0x8); in wm8753_mute()
1318 return 0; in wm8753_mute()
1327 regmap_update_bits(wm8753->regmap, WM8753_PWR1, 0x0180, 0x0100); in wm8753_charge_work()
1334 u16 pwr_reg = snd_soc_component_read(component, WM8753_PWR1) & 0xfe3e; in wm8753_set_bias_level()
1339 snd_soc_component_write(component, WM8753_PWR1, pwr_reg | 0x00c0); in wm8753_set_bias_level()
1348 snd_soc_component_write(component, WM8753_PWR1, pwr_reg | 0x01c1); in wm8753_set_bias_level()
1353 snd_soc_component_write(component, WM8753_PWR1, pwr_reg | 0x0141); in wm8753_set_bias_level()
1358 snd_soc_component_write(component, WM8753_PWR1, 0x0001); in wm8753_set_bias_level()
1361 return 0; in wm8753_set_bias_level()
1448 return 0; in wm8753_resume()
1459 if (ret < 0) { in wm8753_probe()
1464 wm8753->dai_func = 0; in wm8753_probe()
1467 snd_soc_component_update_bits(component, WM8753_LDAC, 0x0100, 0x0100); in wm8753_probe()
1468 snd_soc_component_update_bits(component, WM8753_RDAC, 0x0100, 0x0100); in wm8753_probe()
1469 snd_soc_component_update_bits(component, WM8753_LADC, 0x0100, 0x0100); in wm8753_probe()
1470 snd_soc_component_update_bits(component, WM8753_RADC, 0x0100, 0x0100); in wm8753_probe()
1471 snd_soc_component_update_bits(component, WM8753_LOUT1V, 0x0100, 0x0100); in wm8753_probe()
1472 snd_soc_component_update_bits(component, WM8753_ROUT1V, 0x0100, 0x0100); in wm8753_probe()
1473 snd_soc_component_update_bits(component, WM8753_LOUT2V, 0x0100, 0x0100); in wm8753_probe()
1474 snd_soc_component_update_bits(component, WM8753_ROUT2V, 0x0100, 0x0100); in wm8753_probe()
1475 snd_soc_component_update_bits(component, WM8753_LINVOL, 0x0100, 0x0100); in wm8753_probe()
1476 snd_soc_component_update_bits(component, WM8753_RINVOL, 0x0100, 0x0100); in wm8753_probe()
1478 return 0; in wm8753_probe()
1538 if (ret != 0) in wm8753_spi_probe()
1576 if (ret != 0) in wm8753_i2c_probe()
1600 int ret = 0; in wm8753_modinit()
1603 if (ret != 0) { in wm8753_modinit()
1610 if (ret != 0) { in wm8753_modinit()