Lines Matching full:dbi

116 	struct mipi_dbi *dbi = &dbidev->dbi;  in st7586_fb_dirty()  local
136 mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, in st7586_fb_dirty()
139 mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, in st7586_fb_dirty()
143 ret = mipi_dbi_command_buf(dbi, MIPI_DCS_WRITE_MEMORY_START, in st7586_fb_dirty()
172 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable() local
191 mipi_dbi_command(dbi, ST7586_AUTO_READ_CTRL, 0x9f); in st7586_pipe_enable()
192 mipi_dbi_command(dbi, ST7586_OTP_RW_CTRL, 0x00); in st7586_pipe_enable()
196 mipi_dbi_command(dbi, ST7586_OTP_READ); in st7586_pipe_enable()
200 mipi_dbi_command(dbi, ST7586_OTP_CTRL_OUT); in st7586_pipe_enable()
201 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in st7586_pipe_enable()
202 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_enable()
206 mipi_dbi_command(dbi, ST7586_SET_VOP_OFFSET, 0x00); in st7586_pipe_enable()
207 mipi_dbi_command(dbi, ST7586_SET_VOP, 0xe3, 0x00); in st7586_pipe_enable()
208 mipi_dbi_command(dbi, ST7586_SET_BIAS_SYSTEM, 0x02); in st7586_pipe_enable()
209 mipi_dbi_command(dbi, ST7586_SET_BOOST_LEVEL, 0x04); in st7586_pipe_enable()
210 mipi_dbi_command(dbi, ST7586_ENABLE_ANALOG, 0x1d); in st7586_pipe_enable()
211 mipi_dbi_command(dbi, ST7586_SET_NLINE_INV, 0x00); in st7586_pipe_enable()
212 mipi_dbi_command(dbi, ST7586_DISP_MODE_GRAY); in st7586_pipe_enable()
213 mipi_dbi_command(dbi, ST7586_ENABLE_DDRAM, 0x02); in st7586_pipe_enable()
229 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in st7586_pipe_enable()
231 mipi_dbi_command(dbi, ST7586_SET_DISP_DUTY, 0x7f); in st7586_pipe_enable()
232 mipi_dbi_command(dbi, ST7586_SET_PART_DISP, 0xa0); in st7586_pipe_enable()
233 mipi_dbi_command(dbi, MIPI_DCS_SET_PARTIAL_ROWS, 0x00, 0x00, 0x00, 0x77); in st7586_pipe_enable()
234 mipi_dbi_command(dbi, MIPI_DCS_EXIT_INVERT_MODE); in st7586_pipe_enable()
240 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in st7586_pipe_enable()
258 mipi_dbi_command(&dbidev->dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_disable()
306 struct mipi_dbi *dbi; in st7586_probe() local
317 dbi = &dbidev->dbi; in st7586_probe()
322 dbi->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in st7586_probe()
323 if (IS_ERR(dbi->reset)) in st7586_probe()
324 return dev_err_probe(dev, PTR_ERR(dbi->reset), "Failed to get GPIO 'reset'\n"); in st7586_probe()
332 ret = mipi_dbi_spi_init(spi, dbi, a0); in st7586_probe()
337 dbi->read_commands = NULL; in st7586_probe()
352 dbi->swap_bytes = true; in st7586_probe()