Lines Matching full:dbi
118 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty() local
138 mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, in st7586_fb_dirty()
141 mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, in st7586_fb_dirty()
145 ret = mipi_dbi_command_buf(dbi, MIPI_DCS_WRITE_MEMORY_START, in st7586_fb_dirty()
174 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable() local
193 mipi_dbi_command(dbi, ST7586_AUTO_READ_CTRL, 0x9f); in st7586_pipe_enable()
194 mipi_dbi_command(dbi, ST7586_OTP_RW_CTRL, 0x00); in st7586_pipe_enable()
198 mipi_dbi_command(dbi, ST7586_OTP_READ); in st7586_pipe_enable()
202 mipi_dbi_command(dbi, ST7586_OTP_CTRL_OUT); in st7586_pipe_enable()
203 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in st7586_pipe_enable()
204 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_enable()
208 mipi_dbi_command(dbi, ST7586_SET_VOP_OFFSET, 0x00); in st7586_pipe_enable()
209 mipi_dbi_command(dbi, ST7586_SET_VOP, 0xe3, 0x00); in st7586_pipe_enable()
210 mipi_dbi_command(dbi, ST7586_SET_BIAS_SYSTEM, 0x02); in st7586_pipe_enable()
211 mipi_dbi_command(dbi, ST7586_SET_BOOST_LEVEL, 0x04); in st7586_pipe_enable()
212 mipi_dbi_command(dbi, ST7586_ENABLE_ANALOG, 0x1d); in st7586_pipe_enable()
213 mipi_dbi_command(dbi, ST7586_SET_NLINE_INV, 0x00); in st7586_pipe_enable()
214 mipi_dbi_command(dbi, ST7586_DISP_MODE_GRAY); in st7586_pipe_enable()
215 mipi_dbi_command(dbi, ST7586_ENABLE_DDRAM, 0x02); in st7586_pipe_enable()
231 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in st7586_pipe_enable()
233 mipi_dbi_command(dbi, ST7586_SET_DISP_DUTY, 0x7f); in st7586_pipe_enable()
234 mipi_dbi_command(dbi, ST7586_SET_PART_DISP, 0xa0); in st7586_pipe_enable()
235 mipi_dbi_command(dbi, MIPI_DCS_SET_PARTIAL_ROWS, 0x00, 0x00, 0x00, 0x77); in st7586_pipe_enable()
236 mipi_dbi_command(dbi, MIPI_DCS_EXIT_INVERT_MODE); in st7586_pipe_enable()
242 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in st7586_pipe_enable()
260 mipi_dbi_command(&dbidev->dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_disable()
309 struct mipi_dbi *dbi; in st7586_probe() local
320 dbi = &dbidev->dbi; in st7586_probe()
325 dbi->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in st7586_probe()
326 if (IS_ERR(dbi->reset)) { in st7586_probe()
328 return PTR_ERR(dbi->reset); in st7586_probe()
339 ret = mipi_dbi_spi_init(spi, dbi, a0); in st7586_probe()
344 dbi->read_commands = NULL; in st7586_probe()
359 dbi->swap_bytes = true; in st7586_probe()