Lines Matching +full:0 +full:x5400
32 {RT1016_VOL_CTRL_3, 0x8900},
33 {RT1016_ANA_CTRL_1, 0xa002},
34 {RT1016_ANA_CTRL_2, 0x0002},
35 {RT1016_CLOCK_4, 0x6700},
36 {RT1016_CLASSD_3, 0xdc55},
37 {RT1016_CLASSD_4, 0x376a},
38 {RT1016_CLASSD_5, 0x009f},
42 {0x00, 0x0000},
43 {0x01, 0x5400},
44 {0x02, 0x5506},
45 {0x03, 0xf800},
46 {0x04, 0x0000},
47 {0x05, 0xbfbf},
48 {0x06, 0x8900},
49 {0x07, 0xa002},
50 {0x08, 0x0000},
51 {0x09, 0x0000},
52 {0x0a, 0x0000},
53 {0x0c, 0x0000},
54 {0x0d, 0x0000},
55 {0x0e, 0x10ec},
56 {0x0f, 0x6595},
57 {0x11, 0x0002},
58 {0x1c, 0x0000},
59 {0x1d, 0x0000},
60 {0x1e, 0x0000},
61 {0x1f, 0xf000},
62 {0x20, 0x0000},
63 {0x21, 0x6000},
64 {0x22, 0x0000},
65 {0x23, 0x6700},
66 {0x24, 0x0000},
67 {0x25, 0x0000},
68 {0x26, 0x0000},
69 {0x40, 0x0018},
70 {0x60, 0x00a5},
71 {0x80, 0x0010},
72 {0x81, 0x0009},
73 {0x82, 0x0000},
74 {0x83, 0x0000},
75 {0xa0, 0x0700},
76 {0xc0, 0x0080},
77 {0xc1, 0x02a0},
78 {0xc2, 0x1400},
79 {0xc3, 0x0a4a},
80 {0xc4, 0x552a},
81 {0xc5, 0x087e},
82 {0xc6, 0x0020},
83 {0xc7, 0xa833},
84 {0xc8, 0x0433},
85 {0xc9, 0x8040},
86 {0xca, 0xdc55},
87 {0xcb, 0x376a},
88 {0xcc, 0x009f},
89 {0xcf, 0x0020},
167 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -9550, 50, 0);
171 RT1016_L_VOL_SFT, RT1016_R_VOL_SFT, 191, 0, dac_vol_tlv),
186 return 0; in rt1016_is_sys_clk_from_pll()
201 SND_SOC_DAPM_MUX("Data Swap Mux", SND_SOC_NOPM, 0, 0,
205 RT1016_PWR_DAC_FILTER_BIT, 0, NULL, 0),
206 SND_SOC_DAPM_SUPPLY("DAMOD", RT1016_CLOCK_3, RT1016_PWR_DACMOD_BIT, 0,
207 NULL, 0),
208 SND_SOC_DAPM_SUPPLY("FIFO", RT1016_CLOCK_3, RT1016_PWR_CLK_FIFO_BIT, 0,
209 NULL, 0),
211 RT1016_PWR_CLK_PUREDC_BIT, 0, NULL, 0),
213 RT1016_PWR_SIL_DET_BIT, 0, NULL, 0),
214 SND_SOC_DAPM_SUPPLY("RC 25M", RT1016_CLOCK_3, RT1016_PWR_RC_25M_BIT, 0,
215 NULL, 0),
216 SND_SOC_DAPM_SUPPLY("PLL1", RT1016_CLOCK_3, RT1016_PWR_PLL1_BIT, 0,
217 NULL, 0),
219 0, NULL, 0),
221 0, NULL, 0),
224 0, NULL, 0),
226 0, NULL, 0),
229 RT1016_CKGEN_DAC_BIT, 0, NULL, 0),
230 SND_SOC_DAPM_SUPPLY("VCM SLOW", RT1016_CLASSD_1, RT1016_VCM_SLOW_BIT, 0,
231 NULL, 0),
233 RT1016_SIL_DET_EN_BIT, 0, NULL, 0),
234 SND_SOC_DAPM_SUPPLY("PLL2", RT1016_PLL2, RT1016_PLL2_EN_BIT, 0, NULL,
235 0),
238 RT1016_PWR_BG_1_2_BIT, 0, NULL, 0),
240 RT1016_PWR_MBIAS_BG_BIT, 0, NULL, 0),
241 SND_SOC_DAPM_SUPPLY_S("PLL", 1, RT1016_PWR_CTRL, RT1016_PWR_PLL_BIT, 0,
242 NULL, 0),
244 0, NULL, 0),
246 RT1016_PWR_CLSD_BIT, 0, NULL, 0),
247 SND_SOC_DAPM_SUPPLY_S("25M", 1, RT1016_PWR_CTRL, RT1016_PWR_25M_BIT, 0,
248 NULL, 0),
250 0, NULL, 0),
252 0, NULL, 0),
254 0, NULL, 0),
256 0, NULL, 0),
258 0, NULL, 0),
260 SND_SOC_DAPM_AIF_IN("AIFRX", "AIF Playback", 0, SND_SOC_NOPM, 0, 0),
261 SND_SOC_DAPM_DAC("DAC", NULL, SND_SOC_NOPM, 0, 0),
311 unsigned int val_len = 0; in rt1016_hw_params()
315 if (pre_div < 0) { in rt1016_hw_params()
321 if (frame_size < 0) { in rt1016_hw_params()
361 return 0; in rt1016_hw_params()
368 unsigned int reg_val = 0; in rt1016_set_dai_fmt()
416 return 0; in rt1016_set_dai_fmt()
423 unsigned int reg_val = 0; in rt1016_set_component_sysclk()
426 return 0; in rt1016_set_component_sysclk()
451 return 0; in rt1016_set_component_sysclk()
465 rt1016->pll_in = 0; in rt1016_set_component_pll()
466 rt1016->pll_out = 0; in rt1016_set_component_pll()
468 return 0; in rt1016_set_component_pll()
473 return 0; in rt1016_set_component_pll()
492 if (ret < 0) { in rt1016_set_component_pll()
498 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt1016_set_component_pll()
500 (pll_code.k_bp ? 0 : pll_code.k_code)); in rt1016_set_component_pll()
503 (pll_code.m_bp ? 0 : pll_code.m_code) << RT1016_PLL_M_SFT | in rt1016_set_component_pll()
507 (pll_code.k_bp ? 0 : pll_code.k_code)); in rt1016_set_component_pll()
513 return 0; in rt1016_set_component_pll()
523 return 0; in rt1016_probe()
530 regmap_write(rt1016->regmap, RT1016_RESET, 0); in rt1016_remove()
545 .id = 0,
565 return 0; in rt1016_suspend()
575 return 0; in rt1016_resume()
612 { "rt1016", 0 },
627 {"10EC1016", 0,},
662 regmap_write(rt1016->regmap, RT1016_RESET, 0); in rt1016_i2c_probe()
666 if (ret != 0) in rt1016_i2c_probe()
678 regmap_write(rt1016->regmap, RT1016_RESET, 0); in rt1016_i2c_shutdown()