Lines Matching refs:dbi
41 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() local
57 mipi_dbi_command(dbi, MIPI_DCS_SET_GAMMA_CURVE, 0x04); in yx240qv29_enable()
58 mipi_dbi_command(dbi, ILI9163_EN3GAM, 0x00); in yx240qv29_enable()
61 mipi_dbi_command(dbi, ILI9163_FRMCTR1, 0x0a, 0x14); in yx240qv29_enable()
64 mipi_dbi_command(dbi, ILI9163_PWCTRL1, 0x0a, 0x00); in yx240qv29_enable()
65 mipi_dbi_command(dbi, ILI9163_PWCTRL2, 0x02); in yx240qv29_enable()
68 mipi_dbi_command(dbi, ILI9163_VMCTRL1, 0x2f, 0x3e); in yx240qv29_enable()
69 mipi_dbi_command(dbi, ILI9163_VMCTRL2, 0x40); in yx240qv29_enable()
72 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, MIPI_DCS_PIXEL_FMT_16BIT); in yx240qv29_enable()
74 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in yx240qv29_enable()
77 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in yx240qv29_enable()
96 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in yx240qv29_enable()
145 struct mipi_dbi *dbi; in ili9163_probe() local
155 dbi = &dbidev->dbi; in ili9163_probe()
160 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in ili9163_probe()
161 if (IS_ERR(dbi->reset)) { in ili9163_probe()
163 return PTR_ERR(dbi->reset); in ili9163_probe()
178 ret = mipi_dbi_spi_init(spi, dbi, dc); in ili9163_probe()