Searched refs:sohandle (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/arch/sh/boards/mach-kfr2r09/ |
D | lcd_wqvga.c | 59 static unsigned long read_reg(void *sohandle, in read_reg() argument 62 return so->read_data(sohandle); in read_reg() 65 static void write_reg(void *sohandle, in write_reg() argument 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() 75 static void write_data(void *sohandle, in write_data() argument 82 write_reg(sohandle, so, 1, data[i]); in write_data() 85 static unsigned long read_device_code(void *sohandle, in read_device_code() argument 91 write_reg(sohandle, so, 0, 0xb0); in read_device_code() 92 write_reg(sohandle, so, 1, 0x00); in read_device_code() [all …]
|
/linux-6.1.9/arch/sh/boards/mach-migor/ |
D | lcd_qvga.c | 113 int migor_lcd_qvga_setup(void *sohandle, struct sh_mobile_lcdc_sys_bus_ops *so) in migor_lcd_qvga_setup() argument 120 migor_lcd_qvga_seq(sohandle, so, sync_data, ARRAY_SIZE(sync_data)); in migor_lcd_qvga_setup() 122 if (read_reg16(sohandle, so, 0) != 0x1505) in migor_lcd_qvga_setup() 127 migor_lcd_qvga_seq(sohandle, so, sync_data, ARRAY_SIZE(sync_data)); in migor_lcd_qvga_setup() 128 write_reg16(sohandle, so, 0x00A4, 0x0001); in migor_lcd_qvga_setup() 131 migor_lcd_qvga_seq(sohandle, so, magic0_data, ARRAY_SIZE(magic0_data)); in migor_lcd_qvga_setup() 134 migor_lcd_qvga_seq(sohandle, so, magic1_data, ARRAY_SIZE(magic1_data)); 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() [all …]
|