Lines Matching +full:0 +full:x27

25 #define WS2401_RESCTL			0xb8 /* Resolution select control */
26 #define WS2401_PSMPS 0xbd /* SMPS positive control */
27 #define WS2401_NSMPS 0xbe /* SMPS negative control */
28 #define WS2401_SMPS 0xbf
29 #define WS2401_BCMODE 0xc1 /* Backlight control mode */
30 #define WS2401_WRBLCTL 0xc3 /* Backlight control */
31 #define WS2401_WRDISBV 0xc4 /* Write manual brightness */
32 #define WS2401_WRCTRLD 0xc6 /* Write BL control */
33 #define WS2401_WRMIE 0xc7 /* Write MIE mode */
34 #define WS2401_READ_ID1 0xda /* Read panel ID 1 */
35 #define WS2401_READ_ID2 0xdb /* Read panel ID 2 */
36 #define WS2401_READ_ID3 0xdc /* Read panel ID 3 */
37 #define WS2401_GAMMA_R1 0xe7 /* Gamma red 1 */
38 #define WS2401_GAMMA_G1 0xe8 /* Gamma green 1 */
39 #define WS2401_GAMMA_B1 0xe9 /* Gamma blue 1 */
40 #define WS2401_GAMMA_R2 0xea /* Gamma red 2 */
41 #define WS2401_GAMMA_G2 0xeb /* Gamma green 2 */
42 #define WS2401_GAMMA_B2 0xec /* Gamma blue 2 */
43 #define WS2401_PASSWD1 0xf0 /* Password command for level 2 */
44 #define WS2401_DISCTL 0xf2 /* Display control */
45 #define WS2401_PWRCTL 0xf3 /* Power control */
46 #define WS2401_VCOMCTL 0xf4 /* VCOM control */
47 #define WS2401_SRCCTL 0xf5 /* Source control */
48 #define WS2401_PANELCTL 0xf6 /* Panel control */
54 0, /* sentinel */
146 gpiod_set_value_cansleep(ws->reset, 0); in ws2401_power_on()
160 mipi_dbi_command(dbi, WS2401_PASSWD1, 0x5a, 0x5a); in ws2401_power_on()
162 mipi_dbi_command(dbi, WS2401_RESCTL, 0x12); in ws2401_power_on()
164 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, 0x01); in ws2401_power_on()
166 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, 0x70); in ws2401_power_on()
167 mipi_dbi_command(dbi, WS2401_SMPS, 0x00, 0x0f); in ws2401_power_on()
168 mipi_dbi_command(dbi, WS2401_PSMPS, 0x06, 0x03, /* DDVDH: 4.6v */ in ws2401_power_on()
169 0x7e, 0x03, 0x12, 0x37); in ws2401_power_on()
170 mipi_dbi_command(dbi, WS2401_NSMPS, 0x06, 0x03, /* DDVDH: -4.6v */ in ws2401_power_on()
171 0x7e, 0x02, 0x15, 0x37); in ws2401_power_on()
172 mipi_dbi_command(dbi, WS2401_SMPS, 0x02, 0x0f); in ws2401_power_on()
173 mipi_dbi_command(dbi, WS2401_PWRCTL, 0x10, 0xA9, 0x00, 0x01, 0x44, in ws2401_power_on()
174 0xb4, /* VGH:16.1v, VGL:-13.8v */ in ws2401_power_on()
175 0x50, /* GREFP:4.2v (default) */ in ws2401_power_on()
176 0x50, /* GREFN:-4.2v (default) */ in ws2401_power_on()
177 0x00, in ws2401_power_on()
178 0x44); /* VOUTL:-10v (default) */ in ws2401_power_on()
179 mipi_dbi_command(dbi, WS2401_DISCTL, 0x01, 0x00, 0x00, 0x00, 0x14, in ws2401_power_on()
180 0x16); in ws2401_power_on()
181 mipi_dbi_command(dbi, WS2401_VCOMCTL, 0x30, 0x53, 0x53); in ws2401_power_on()
182 mipi_dbi_command(dbi, WS2401_SRCCTL, 0x03, 0x0C, 0x00, 0x00, 0x00, in ws2401_power_on()
183 0x01, /* 2 dot inversion */ in ws2401_power_on()
184 0x01, 0x06, 0x03); in ws2401_power_on()
185 mipi_dbi_command(dbi, WS2401_PANELCTL, 0x14, 0x00, 0x80, 0x00); in ws2401_power_on()
186 mipi_dbi_command(dbi, WS2401_WRMIE, 0x01); in ws2401_power_on()
189 mipi_dbi_command(dbi, WS2401_GAMMA_R1, 0x00, in ws2401_power_on()
190 0x5b, 0x42, 0x41, 0x3f, 0x42, 0x3d, 0x38, 0x2e, in ws2401_power_on()
191 0x2b, 0x2a, 0x27, 0x22, 0x27, 0x0f, 0x00, 0x00); in ws2401_power_on()
192 mipi_dbi_command(dbi, WS2401_GAMMA_R2, 0x00, in ws2401_power_on()
193 0x5b, 0x42, 0x41, 0x3f, 0x42, 0x3d, 0x38, 0x2e, in ws2401_power_on()
194 0x2b, 0x2a, 0x27, 0x22, 0x27, 0x0f, 0x00, 0x00); in ws2401_power_on()
195 mipi_dbi_command(dbi, WS2401_GAMMA_G1, 0x00, in ws2401_power_on()
196 0x59, 0x40, 0x3f, 0x3e, 0x41, 0x3d, 0x39, 0x2f, in ws2401_power_on()
197 0x2c, 0x2b, 0x29, 0x25, 0x29, 0x19, 0x08, 0x00); in ws2401_power_on()
198 mipi_dbi_command(dbi, WS2401_GAMMA_G2, 0x00, in ws2401_power_on()
199 0x59, 0x40, 0x3f, 0x3e, 0x41, 0x3d, 0x39, 0x2f, in ws2401_power_on()
200 0x2c, 0x2b, 0x29, 0x25, 0x29, 0x19, 0x08, 0x00); in ws2401_power_on()
201 mipi_dbi_command(dbi, WS2401_GAMMA_B1, 0x00, in ws2401_power_on()
202 0x57, 0x3b, 0x3a, 0x3b, 0x3f, 0x3b, 0x38, 0x27, in ws2401_power_on()
203 0x38, 0x2a, 0x26, 0x22, 0x34, 0x0c, 0x09, 0x00); in ws2401_power_on()
204 mipi_dbi_command(dbi, WS2401_GAMMA_B2, 0x00, in ws2401_power_on()
205 0x57, 0x3b, 0x3a, 0x3b, 0x3f, 0x3b, 0x38, 0x27, in ws2401_power_on()
206 0x38, 0x2a, 0x26, 0x22, 0x34, 0x0c, 0x09, 0x00); in ws2401_power_on()
209 mipi_dbi_command(dbi, WS2401_WRCTRLD, 0x2c); in ws2401_power_on()
211 mipi_dbi_command(dbi, WS2401_WRCTRLD, 0x00); in ws2401_power_on()
217 mipi_dbi_command(dbi, WS2401_PASSWD1, 0xa5, 0xa5); in ws2401_power_on()
220 return 0; in ws2401_power_on()
238 mipi_dbi_command(dbi, WS2401_WRCTRLD, 0x00); in ws2401_unprepare()
252 return 0; in ws2401_disable()
267 return 0; in ws2401_enable()
325 mipi_dbi_command(dbi, WS2401_WRCTRLD, 0x00); in ws2401_set_brightness()
327 mipi_dbi_command(dbi, WS2401_WRCTRLD, 0x2c); in ws2401_set_brightness()
331 return 0; in ws2401_set_brightness()
359 ws->regulators[0].supply = "vci"; in ws2401_probe()
407 return 0; in ws2401_probe()