Lines Matching defs:sohandle
116 int migor_lcd_qvga_setup(void *board_data, void *sohandle,
124 migor_lcd_qvga_seq(sohandle, so, sync_data, ARRAY_SIZE(sync_data));
126 if (read_reg16(sohandle, so, 0) != 0x1505)
131 migor_lcd_qvga_seq(sohandle, so, sync_data, ARRAY_SIZE(sync_data));
132 write_reg16(sohandle, so, 0x00A4, 0x0001);
135 migor_lcd_qvga_seq(sohandle, so, magic0_data, ARRAY_SIZE(magic0_data));
138 migor_lcd_qvga_seq(sohandle, so, magic1_data, ARRAY_SIZE(magic1_data));
139 write_reg16(sohandle, so, 0x0050, 0xef - (yres - 1));
140 write_reg16(sohandle, so, 0x0051, 0x00ef);
141 write_reg16(sohandle, so, 0x0052, 0x0000);
142 write_reg16(sohandle, so, 0x0053, xres - 1);
144 migor_lcd_qvga_seq(sohandle, so, magic2_data, ARRAY_SIZE(magic2_data));
147 migor_lcd_qvga_seq(sohandle, so, magic3_data, ARRAY_SIZE(magic3_data));
152 write_reg16(sohandle, so, 0x0020, 0x0000); /* horiz addr */
153 write_reg16(sohandle, so, 0x0021, 0x0000); /* vert addr */
156 write_reg16(sohandle, so, 0x0022, 0x0000);
158 write_reg16(sohandle, so, 0x0020, 0x0000); /* reset horiz addr */
159 write_reg16(sohandle, so, 0x0021, 0x0000); /* reset vert addr */
160 write_reg16(sohandle, so, 0x0007, 0x0173);
164 write_reg(sohandle, so, 0x00, 0x22);