Lines Matching +full:0 +full:x0011
27 * Index 0: "Device Code Read" returns 0x1505.
32 gpio_set_value(GPIO_PTH2, 0); in reset_lcd_module()
44 tmp1 = (data<<1 | 0x00000001) & 0x000001FF; in adjust_reg18()
45 tmp2 = (data<<2 | 0x00000200) & 0x0003FE00; in adjust_reg18()
72 return ((data >> 1) & 0xff) | ((data >> 2) & 0xff00); in read_reg16()
81 for (i = 0; i < no_data; i += 2) in migor_lcd_qvga_seq()
86 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
90 0x0060, 0x2700, 0x0008, 0x0808, 0x0090, 0x001A, 0x0007, 0x0001,
91 0x0017, 0x0001, 0x0019, 0x0000, 0x0010, 0x17B0, 0x0011, 0x0116,
92 0x0012, 0x0198, 0x0013, 0x1400, 0x0029, 0x000C, 0x0012, 0x01B8,
96 0x0030, 0x0307, 0x0031, 0x0303, 0x0032, 0x0603, 0x0033, 0x0202,
97 0x0034, 0x0202, 0x0035, 0x0202, 0x0036, 0x1F1F, 0x0037, 0x0303,
98 0x0038, 0x0303, 0x0039, 0x0603, 0x003A, 0x0202, 0x003B, 0x0102,
99 0x003C, 0x0204, 0x003D, 0x0000, 0x0001, 0x0100, 0x0002, 0x0300,
100 0x0003, 0x5028, 0x0020, 0x00ef, 0x0021, 0x0000, 0x0004, 0x0000,
101 0x0009, 0x0000, 0x000A, 0x0008, 0x000C, 0x0000, 0x000D, 0x0000,
102 0x0015, 0x8000,
106 0x0061, 0x0001, 0x0092, 0x0100, 0x0093, 0x0001, 0x0007, 0x0021,
110 0x0010, 0x16B0, 0x0011, 0x0111, 0x0007, 0x0061,
122 if (read_reg16(sohandle, so, 0) != 0x1505) in migor_lcd_qvga_setup()
128 write_reg16(sohandle, so, 0x00A4, 0x0001); in migor_lcd_qvga_setup()
135 write_reg16(sohandle, so, 0x0050, 0xef - (yres - 1)); in migor_lcd_qvga_setup()
136 write_reg16(sohandle, so, 0x0051, 0x00ef); in migor_lcd_qvga_setup()
137 write_reg16(sohandle, so, 0x0052, 0x0000); in migor_lcd_qvga_setup()
138 write_reg16(sohandle, so, 0x0053, xres - 1); in migor_lcd_qvga_setup()
148 write_reg16(sohandle, so, 0x0020, 0x0000); /* horiz addr */ in migor_lcd_qvga_setup()
149 write_reg16(sohandle, so, 0x0021, 0x0000); /* vert addr */ in migor_lcd_qvga_setup()
151 for (k = 0; k < (xres * 256); k++) /* yes, 256 words per line */ in migor_lcd_qvga_setup()
152 write_reg16(sohandle, so, 0x0022, 0x0000); in migor_lcd_qvga_setup()
154 write_reg16(sohandle, so, 0x0020, 0x0000); /* reset horiz addr */ in migor_lcd_qvga_setup()
155 write_reg16(sohandle, so, 0x0021, 0x0000); /* reset vert addr */ in migor_lcd_qvga_setup()
156 write_reg16(sohandle, so, 0x0007, 0x0173); in migor_lcd_qvga_setup()
160 write_reg(sohandle, so, 0x00, 0x22); in migor_lcd_qvga_setup()
162 return 0; in migor_lcd_qvga_setup()