Lines Matching +full:0 +full:x0541

39 	{ 0x0000, 0x0000 },
40 { 0x0004, 0xa000 },
41 { 0x0006, 0x0003 },
42 { 0x000a, 0x081e },
43 { 0x000c, 0x0006 },
44 { 0x000e, 0x0000 },
45 { 0x0010, 0x0000 },
46 { 0x0012, 0x0000 },
47 { 0x0014, 0x0000 },
48 { 0x0016, 0x0000 },
49 { 0x0018, 0x0000 },
50 { 0x0020, 0x8000 },
51 { 0x0022, 0x8043 },
52 { 0x0076, 0x0000 },
53 { 0x0078, 0x0000 },
54 { 0x007a, 0x0002 },
55 { 0x007c, 0x10ec },
56 { 0x007d, 0x1015 },
57 { 0x00f0, 0x5000 },
58 { 0x00f2, 0x004c },
59 { 0x00f3, 0xecfe },
60 { 0x00f4, 0x0000 },
61 { 0x00f6, 0x0400 },
62 { 0x0100, 0x0028 },
63 { 0x0102, 0xff02 },
64 { 0x0104, 0xa213 },
65 { 0x0106, 0x200c },
66 { 0x010c, 0x0000 },
67 { 0x010e, 0x0058 },
68 { 0x0111, 0x0200 },
69 { 0x0112, 0x0400 },
70 { 0x0114, 0x0022 },
71 { 0x0116, 0x0000 },
72 { 0x0118, 0x0000 },
73 { 0x011a, 0x0123 },
74 { 0x011c, 0x4567 },
75 { 0x0300, 0x203d },
76 { 0x0302, 0x001e },
77 { 0x0311, 0x0000 },
78 { 0x0313, 0x6014 },
79 { 0x0314, 0x00a2 },
80 { 0x031a, 0x00a0 },
81 { 0x031c, 0x001f },
82 { 0x031d, 0xffff },
83 { 0x031e, 0x0000 },
84 { 0x031f, 0x0000 },
85 { 0x0320, 0x0000 },
86 { 0x0321, 0x0000 },
87 { 0x0322, 0xd7df },
88 { 0x0328, 0x10b2 },
89 { 0x0329, 0x0175 },
90 { 0x032a, 0x36ad },
91 { 0x032b, 0x7e55 },
92 { 0x032c, 0x0520 },
93 { 0x032d, 0xaa00 },
94 { 0x032e, 0x570e },
95 { 0x0330, 0xe180 },
96 { 0x0332, 0x0034 },
97 { 0x0334, 0x0001 },
98 { 0x0336, 0x0010 },
99 { 0x0338, 0x0000 },
100 { 0x04fa, 0x0030 },
101 { 0x04fc, 0x35c8 },
102 { 0x04fe, 0x0800 },
103 { 0x0500, 0x0400 },
104 { 0x0502, 0x1000 },
105 { 0x0504, 0x0000 },
106 { 0x0506, 0x04ff },
107 { 0x0508, 0x0010 },
108 { 0x050a, 0x001a },
109 { 0x0519, 0x1c68 },
110 { 0x051a, 0x0ccc },
111 { 0x051b, 0x0666 },
112 { 0x051d, 0x0000 },
113 { 0x051f, 0x0000 },
114 { 0x0536, 0x061c },
115 { 0x0538, 0x0000 },
116 { 0x053a, 0x0000 },
117 { 0x053c, 0x0000 },
118 { 0x053d, 0x0000 },
119 { 0x053e, 0x0000 },
120 { 0x053f, 0x0000 },
121 { 0x0540, 0x0000 },
122 { 0x0541, 0x0000 },
123 { 0x0542, 0x0000 },
124 { 0x0543, 0x0000 },
125 { 0x0544, 0x0000 },
126 { 0x0568, 0x0000 },
127 { 0x056a, 0x0000 },
128 { 0x1000, 0x0040 },
129 { 0x1002, 0x5405 },
130 { 0x1006, 0x5515 },
131 { 0x1007, 0x05f7 },
132 { 0x1009, 0x0b0a },
133 { 0x100a, 0x00ef },
134 { 0x100d, 0x0003 },
135 { 0x1010, 0xa433 },
136 { 0x1020, 0x0000 },
137 { 0x1200, 0x5a01 },
138 { 0x1202, 0x6524 },
139 { 0x1204, 0x1f00 },
140 { 0x1206, 0x0000 },
141 { 0x1208, 0x0000 },
142 { 0x120a, 0x0000 },
143 { 0x120c, 0x0000 },
144 { 0x120e, 0x0000 },
145 { 0x1210, 0x0000 },
146 { 0x1212, 0x0000 },
147 { 0x1300, 0x10a1 },
148 { 0x1302, 0x12ff },
149 { 0x1304, 0x0400 },
150 { 0x1305, 0x0844 },
151 { 0x1306, 0x4611 },
152 { 0x1308, 0x555e },
153 { 0x130a, 0x0000 },
154 { 0x130c, 0x2000 },
155 { 0x130e, 0x0100 },
156 { 0x130f, 0x0001 },
157 { 0x1310, 0x0000 },
158 { 0x1312, 0x0000 },
159 { 0x1314, 0x0000 },
160 { 0x1316, 0x0000 },
161 { 0x1318, 0x0000 },
162 { 0x131a, 0x0000 },
163 { 0x1322, 0x0029 },
164 { 0x1323, 0x4a52 },
165 { 0x1324, 0x002c },
166 { 0x1325, 0x0b02 },
167 { 0x1326, 0x002d },
168 { 0x1327, 0x6b5a },
169 { 0x1328, 0x002e },
170 { 0x1329, 0xcbb2 },
171 { 0x132a, 0x0030 },
172 { 0x132b, 0x2c0b },
173 { 0x1330, 0x0031 },
174 { 0x1331, 0x8c63 },
175 { 0x1332, 0x0032 },
176 { 0x1333, 0xecbb },
177 { 0x1334, 0x0034 },
178 { 0x1335, 0x4d13 },
179 { 0x1336, 0x0037 },
180 { 0x1337, 0x0dc3 },
181 { 0x1338, 0x003d },
182 { 0x1339, 0xef7b },
183 { 0x133a, 0x0044 },
184 { 0x133b, 0xd134 },
185 { 0x133c, 0x0047 },
186 { 0x133d, 0x91e4 },
187 { 0x133e, 0x004d },
188 { 0x133f, 0xc370 },
189 { 0x1340, 0x0053 },
190 { 0x1341, 0xf4fd },
191 { 0x1342, 0x0060 },
192 { 0x1343, 0x5816 },
193 { 0x1344, 0x006c },
194 { 0x1345, 0xbb2e },
195 { 0x1346, 0x0072 },
196 { 0x1347, 0xecbb },
197 { 0x1348, 0x0076 },
198 { 0x1349, 0x5d97 },
409 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -9525, 75, 0);
424 static SOC_ENUM_SINGLE_DECL(rt1015_boost_mode_enum, 0, 0,
435 ucontrol->value.integer.value[0] = rt1015->boost_mode; in rt1015_boost_mode_get()
437 return 0; in rt1015_boost_mode_get()
447 int boost_mode = ucontrol->value.integer.value[0]; in rt1015_boost_mode_put()
478 return 0; in rt1015_boost_mode_put()
489 ucontrol->value.integer.value[0] = rt1015->bypass_boost; in rt1015_bypass_boost_get()
491 return 0; in rt1015_bypass_boost_get()
502 regmap_write(regmap, RT1015_CLK_DET, 0x0000); in rt1015_calibrate()
503 regmap_write(regmap, RT1015_PWR4, 0x00B2); in rt1015_calibrate()
504 regmap_write(regmap, RT1015_PWR_STATE_CTRL, 0x0009); in rt1015_calibrate()
506 regmap_write(regmap, RT1015_PWR_STATE_CTRL, 0x000A); in rt1015_calibrate()
508 regmap_write(regmap, RT1015_PWR_STATE_CTRL, 0x000C); in rt1015_calibrate()
510 regmap_write(regmap, RT1015_CLSD_INTERNAL8, 0x2028); in rt1015_calibrate()
511 regmap_write(regmap, RT1015_CLSD_INTERNAL9, 0x0140); in rt1015_calibrate()
512 regmap_write(regmap, RT1015_PWR_STATE_CTRL, 0x000D); in rt1015_calibrate()
514 regmap_write(regmap, RT1015_PWR_STATE_CTRL, 0x0008); in rt1015_calibrate()
515 regmap_write(regmap, RT1015_SYS_RST1, 0x05F5); in rt1015_calibrate()
516 regmap_write(regmap, RT1015_CLK_DET, 0x8000); in rt1015_calibrate()
537 rt1015->bypass_boost = ucontrol->value.integer.value[0]; in rt1015_bypass_boost_put()
543 regmap_write(rt1015->regmap, RT1015_MONO_DYNA_CTRL, 0x0010); in rt1015_bypass_boost_put()
546 return 0; in rt1015_bypass_boost_put()
561 127, 0, dac_vol_tlv),
567 SOC_SINGLE_EXT("Bypass Boost", SND_SOC_NOPM, 0, 1, 0,
584 return 0; in rt1015_is_sys_clk_from_pll()
599 RT1015_SYS_RST1, 0x05f7); in r1015_dac_event()
601 RT1015_SYS_RST2, 0x0b0a); in r1015_dac_event()
603 RT1015_GAT_BOOST, 0xacfe); in r1015_dac_event()
605 RT1015_PWR9, 0xaa00); in r1015_dac_event()
607 RT1015_GAT_BOOST, 0xecfe); in r1015_dac_event()
610 0x032d, 0xaa60); in r1015_dac_event()
612 RT1015_SYS_RST1, 0x05f7); in r1015_dac_event()
614 RT1015_SYS_RST2, 0x0b0a); in r1015_dac_event()
616 RT1015_PWR_STATE_CTRL, 0x008e); in r1015_dac_event()
623 RT1015_PWR9, 0xa800); in r1015_dac_event()
625 RT1015_SYS_RST1, 0x05f5); in r1015_dac_event()
627 RT1015_SYS_RST2, 0x0b9a); in r1015_dac_event()
630 0x032d, 0xaa60); in r1015_dac_event()
632 RT1015_PWR_STATE_CTRL, 0x0088); in r1015_dac_event()
634 RT1015_SYS_RST1, 0x05f5); in r1015_dac_event()
636 RT1015_SYS_RST2, 0x0b9a); in r1015_dac_event()
638 rt1015->dac_is_used = 0; in r1015_dac_event()
644 return 0; in r1015_dac_event()
659 if (!((ret >> 15) & 0x1)) { in rt1015_amp_drv_event()
664 if (!((ret2 >> 12) & 0x1)) { in rt1015_amp_drv_event()
676 return 0; in rt1015_amp_drv_event()
680 SND_SOC_DAPM_SUPPLY("PLL", RT1015_PWR1, RT1015_PWR_PLL_BIT, 0,
681 NULL, 0),
682 SND_SOC_DAPM_AIF_IN("AIFRX", "AIF Playback", 0, SND_SOC_NOPM, 0, 0),
683 SND_SOC_DAPM_DAC_E("DAC", NULL, SND_SOC_NOPM, 0, 0,
686 SND_SOC_DAPM_OUT_DRV_E("Amp Drv", SND_SOC_NOPM, 0, 0, NULL, 0,
705 unsigned int val_len = 0; in rt1015_hw_params()
709 if (pre_div < 0) { in rt1015_hw_params()
715 if (frame_size < 0) { in rt1015_hw_params()
747 return 0; in rt1015_hw_params()
753 unsigned int reg_val = 0, reg_val2 = 0; in rt1015_set_dai_fmt()
802 return 0; in rt1015_set_dai_fmt()
809 unsigned int reg_val = 0; in rt1015_set_component_sysclk()
812 return 0; in rt1015_set_component_sysclk()
837 return 0; in rt1015_set_component_sysclk()
851 rt1015->pll_in = 0; in rt1015_set_component_pll()
852 rt1015->pll_out = 0; in rt1015_set_component_pll()
854 return 0; in rt1015_set_component_pll()
859 return 0; in rt1015_set_component_pll()
878 if (ret < 0) { in rt1015_set_component_pll()
884 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt1015_set_component_pll()
888 ((pll_code.m_bp ? 0 : pll_code.m_code) << RT1015_PLL_M_SFT) | in rt1015_set_component_pll()
898 return 0; in rt1015_set_component_pll()
905 unsigned int val = 0, rx_slotnum, tx_slotnum; in rt1015_set_tdm_slot()
906 int ret = 0, first_bit; in rt1015_set_tdm_slot()
953 * And the stereo audio is placed in slot 0/2/4/6 as the starting slot. in rt1015_set_tdm_slot()
958 case 0: in rt1015_set_tdm_slot()
1008 return 0; in rt1015_probe()
1015 regmap_write(rt1015->regmap, RT1015_RESET, 0); in rt1015_remove()
1031 .id = 0,
1051 return 0; in rt1015_suspend()
1064 return 0; in rt1015_resume()
1115 {"10EC1015", 0,},
1176 regmap_write(rt1015->regmap, RT1015_RESET, 0); in rt1015_i2c_shutdown()