Lines Matching refs:st7796s_send_cmd

54 static int st7796s_send_cmd(const struct device *dev,  in st7796s_send_cmd()  function
74 ret = st7796s_send_cmd(dev, ST7796S_CMD_CASET, in st7796s_set_cursor()
83 ret = st7796s_send_cmd(dev, ST7796S_CMD_RASET, in st7796s_set_cursor()
90 return st7796s_send_cmd(dev, ST7796S_CMD_DISPOFF, NULL, 0); in st7796s_blanking_on()
95 return st7796s_send_cmd(dev, ST7796S_CMD_DISPON, NULL, 0); in st7796s_blanking_off()
207 ret = st7796s_send_cmd(dev, ST7796S_CMD_CSCON, &param, sizeof(param)); in st7796s_lcd_config()
213 ret = st7796s_send_cmd(dev, ST7796S_CMD_CSCON, &param, sizeof(param)); in st7796s_lcd_config()
218 ret = st7796s_send_cmd(dev, ST7796S_CMD_DIC, &config->dic, sizeof(config->dic)); in st7796s_lcd_config()
223 ret = st7796s_send_cmd(dev, ST7796S_CMD_FRMCTR1, config->frmctl1, in st7796s_lcd_config()
229 ret = st7796s_send_cmd(dev, ST7796S_CMD_FRMCTR2, config->frmctl2, in st7796s_lcd_config()
235 ret = st7796s_send_cmd(dev, ST7796S_CMD_FRMCTR3, config->frmctl3, in st7796s_lcd_config()
241 ret = st7796s_send_cmd(dev, ST7796S_CMD_BPC, config->bpc, sizeof(config->bpc)); in st7796s_lcd_config()
246 ret = st7796s_send_cmd(dev, ST7796S_CMD_DFC, config->dfc, sizeof(config->dfc)); in st7796s_lcd_config()
251 ret = st7796s_send_cmd(dev, ST7796S_CMD_PWR1, config->pwr1, sizeof(config->pwr1)); in st7796s_lcd_config()
256 ret = st7796s_send_cmd(dev, ST7796S_CMD_PWR2, &config->pwr2, sizeof(config->pwr2)); in st7796s_lcd_config()
261 ret = st7796s_send_cmd(dev, ST7796S_CMD_PWR3, &config->pwr3, sizeof(config->pwr3)); in st7796s_lcd_config()
266 ret = st7796s_send_cmd(dev, ST7796S_CMD_VCMPCTL, &config->vcmpctl, in st7796s_lcd_config()
272 ret = st7796s_send_cmd(dev, ST7796S_CMD_DOCA, config->doca, in st7796s_lcd_config()
278 ret = st7796s_send_cmd(dev, ST7796S_CMD_PGC, config->pgc, sizeof(config->pgc)); in st7796s_lcd_config()
283 ret = st7796s_send_cmd(dev, ST7796S_CMD_NGC, config->ngc, sizeof(config->ngc)); in st7796s_lcd_config()
294 ret = st7796s_send_cmd(dev, ST7796S_CMD_TEON, &param, sizeof(param)); in st7796s_lcd_config()
302 ret = st7796s_send_cmd(dev, ST7796S_CMD_CSCON, &param, sizeof(param)); in st7796s_lcd_config()
308 return st7796s_send_cmd(dev, ST7796S_CMD_CSCON, &param, sizeof(param)); in st7796s_lcd_config()
335 ret = st7796s_send_cmd(dev, ST7796S_CMD_INVON, NULL, 0); in st7796s_init()
337 ret = st7796s_send_cmd(dev, ST7796S_CMD_INVOFF, NULL, 0); in st7796s_init()
344 ret = st7796s_send_cmd(dev, ST7796S_CMD_COLMOD, &param, sizeof(param)); in st7796s_init()
350 ret = st7796s_send_cmd(dev, ST7796S_CMD_MADCTL, &param, sizeof(param)); in st7796s_init()
356 st7796s_send_cmd(dev, ST7796S_CMD_SLPOUT, NULL, 0); in st7796s_init()
360 st7796s_send_cmd(dev, ST7796S_CMD_DISPON, NULL, 0); in st7796s_init()