Lines Matching +full:0 +full:x63
26 * The device code for this LCD module is 0x01221517.
30 0x02, /* WEMODE: 1=cont, 0=one-shot */
31 0x00, 0x00,
32 0x00, /* EPF, DFM */
33 0x02, /* RIM[1] : 1 (18bpp) */
37 0x0b,
38 0x63, /* 400 lines */
39 0x04, 0x00, 0x00, 0x04, 0x11, 0x00, 0x00,
43 0x00, 0x00, 0x13, 0x08, 0x08,
47 0x11, 0x01, 0x00, 0x01,
51 0x01, 0x02, 0x08, 0x23, 0x03, 0x0c, 0x00, 0x06, 0x00, 0x00,
52 0x01, 0x00, 0x0c, 0x23, 0x03, 0x08, 0x02, 0x06, 0x00, 0x00,
56 0x07, 0xc5, 0xdc, 0x02, 0x33, 0x0a,
70 so->write_data(sohandle, v); /* PTH4/LCDRS High [param, 17:0] */ in write_reg()
72 so->write_index(sohandle, v); /* PTH4/LCDRS Low [cmd, 7:0] */ in write_reg()
81 for (i = 0; i < no_data; i++) in write_data()
91 write_reg(sohandle, so, 0, 0xb0); in read_device_code()
92 write_reg(sohandle, so, 1, 0x00); in read_device_code()
95 write_reg(sohandle, so, 0, 0xb1); in read_device_code()
96 write_reg(sohandle, so, 1, 0x00); in read_device_code()
99 write_reg(sohandle, so, 0, 0xbf); in read_device_code()
106 device_code = ((read_reg(sohandle, so) & 0xff) << 24); in read_device_code()
107 device_code |= ((read_reg(sohandle, so) & 0xff) << 16); in read_device_code()
108 device_code |= ((read_reg(sohandle, so) & 0xff) << 8); in read_device_code()
109 device_code |= (read_reg(sohandle, so) & 0xff); in read_device_code()
117 write_reg(sohandle, so, 0, 0x2c); in write_memory_start()
129 for (i = 0; i < (240 * 400); i++) in clear_memory()
130 write_reg(sohandle, so, 1, 0x00); in clear_memory()
137 write_reg(sohandle, so, 0, 0xb0); in display_on()
138 write_reg(sohandle, so, 1, 0x00); in display_on()
141 write_reg(sohandle, so, 0, 0xb1); in display_on()
142 write_reg(sohandle, so, 1, 0x00); in display_on()
145 write_reg(sohandle, so, 0, 0xb3); in display_on()
149 write_reg(sohandle, so, 0, 0xb4); in display_on()
150 write_reg(sohandle, so, 1, 0x00); /* DBI, internal clock */ in display_on()
153 write_reg(sohandle, so, 0, 0xc0); in display_on()
157 write_reg(sohandle, so, 0, 0xc1); in display_on()
161 write_reg(sohandle, so, 0, 0xc2); in display_on()
165 write_reg(sohandle, so, 0, 0xc3); in display_on()
169 write_reg(sohandle, so, 0, 0xc4); in display_on()
173 write_reg(sohandle, so, 0, 0xc8); in display_on()
177 write_reg(sohandle, so, 0, 0xc9); in display_on()
181 write_reg(sohandle, so, 0, 0xca); in display_on()
185 write_reg(sohandle, so, 0, 0xd0); in display_on()
189 write_reg(sohandle, so, 0, 0xd1); in display_on()
190 write_reg(sohandle, so, 1, 0x00); in display_on()
191 write_reg(sohandle, so, 1, 0x0f); in display_on()
192 write_reg(sohandle, so, 1, 0x02); in display_on()
195 write_reg(sohandle, so, 0, 0xd2); in display_on()
196 write_reg(sohandle, so, 1, 0x63); in display_on()
197 write_reg(sohandle, so, 1, 0x24); in display_on()
200 write_reg(sohandle, so, 0, 0xd3); in display_on()
201 write_reg(sohandle, so, 1, 0x63); in display_on()
202 write_reg(sohandle, so, 1, 0x24); in display_on()
205 write_reg(sohandle, so, 0, 0xd4); in display_on()
206 write_reg(sohandle, so, 1, 0x63); in display_on()
207 write_reg(sohandle, so, 1, 0x24); in display_on()
209 write_reg(sohandle, so, 0, 0xd8); in display_on()
210 write_reg(sohandle, so, 1, 0x77); in display_on()
211 write_reg(sohandle, so, 1, 0x77); in display_on()
214 write_reg(sohandle, so, 0, 0x35); in display_on()
215 write_reg(sohandle, so, 1, 0x00); in display_on()
218 write_reg(sohandle, so, 0, 0x44); in display_on()
219 write_reg(sohandle, so, 1, 0x00); in display_on()
220 write_reg(sohandle, so, 1, 0x00); in display_on()
223 write_reg(sohandle, so, 0, 0x2a); in display_on()
224 write_reg(sohandle, so, 1, 0x00); in display_on()
225 write_reg(sohandle, so, 1, 0x00); in display_on()
226 write_reg(sohandle, so, 1, 0x00); in display_on()
227 write_reg(sohandle, so, 1, 0xef); in display_on()
230 write_reg(sohandle, so, 0, 0x2b); in display_on()
231 write_reg(sohandle, so, 1, 0x00); in display_on()
232 write_reg(sohandle, so, 1, 0x00); in display_on()
233 write_reg(sohandle, so, 1, 0x01); in display_on()
234 write_reg(sohandle, so, 1, 0x8f); in display_on()
237 write_reg(sohandle, so, 0, 0x11); in display_on()
245 write_reg(sohandle, so, 0, 0x29); in display_on()
254 gpio_set_value(GPIO_PTF4, 0); /* PROTECT/ -> L */ in kfr2r09_lcd_setup()
255 gpio_set_value(GPIO_PTE4, 0); /* LCD_RST/ -> L */ in kfr2r09_lcd_setup()
260 gpio_set_value(GPIO_PTF4, 0); /* PROTECT/ -> L */ in kfr2r09_lcd_setup()
263 if (read_device_code(sohandle, so) != 0x01221517) in kfr2r09_lcd_setup()
269 return 0; in kfr2r09_lcd_setup()