Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/olpc_dcon/
H A Dolpc_dcon.c47 static s32 dcon_write(struct dcon_priv *dcon, u8 reg, u16 val) in dcon_write() function
88 dcon_write(dcon, 0x3a, 0xc040); in dcon_hw_init()
89 dcon_write(dcon, DCON_REG_MEM_OPT_A, 0x0000); /* clear option bits */ in dcon_hw_init()
90 dcon_write(dcon, DCON_REG_MEM_OPT_A, in dcon_hw_init()
92 dcon_write(dcon, DCON_REG_MEM_OPT_B, MEM_SOFT_RESET); in dcon_hw_init()
99 dcon_write(dcon, DCON_REG_MODE, dcon->disp_mode); in dcon_hw_init()
102 dcon_write(dcon, DCON_REG_SCAN_INT, resumeline); in dcon_hw_init()
158 dcon_write(dcon, DCON_REG_BRIGHT, dcon->bl_val); in dcon_set_backlight()
163 dcon_write(dcon, DCON_REG_MODE, dcon->disp_mode); in dcon_set_backlight()
166 dcon_write(dcon, DCON_REG_MODE, dcon->disp_mode); in dcon_set_backlight()
[all …]