Home
last modified time | relevance | path

Searched refs:sohandle (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/sh/boards/mach-kfr2r09/
H A Dlcd_wqvga.c62 return so->read_data(sohandle); in read_reg()
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()
103 read_reg(sohandle, so); in read_device_code()
117 write_reg(sohandle, so, 0, 0x2c); in write_memory_start()
126 write_memory_start(sohandle, so); in clear_memory()
242 clear_memory(sohandle, so); in display_on()
[all …]
/openbmc/linux/arch/sh/boards/mach-migor/
H A Dlcd_qvga.c122 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()
152 write_reg16(sohandle, so, 0x0022, 0x0000); in migor_lcd_qvga_setup()
156 write_reg16(sohandle, so, 0x0007, 0x0173); in migor_lcd_qvga_setup()
[all …]