Lines Matching refs:ssd130x_write_cmd

178 static int ssd130x_write_cmd(struct ssd130x_device *ssd130x, int count,  in ssd130x_write_cmd()  function
210 ret = ssd130x_write_cmd(ssd130x, 3, SSD130X_SET_COL_RANGE, col_start, col_end); in ssd130x_set_col_range()
228 ret = ssd130x_write_cmd(ssd130x, 3, SSD130X_SET_PAGE_RANGE, page_start, page_end); in ssd130x_set_page_range()
250 ret = ssd130x_write_cmd(ssd130x, 3, page, col_low, col_high); in ssd130x_set_page_pos()
333 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_CONTRAST, ssd130x->contrast); in ssd130x_init()
340 ret = ssd130x_write_cmd(ssd130x, 1, seg_remap); in ssd130x_init()
347 ret = ssd130x_write_cmd(ssd130x, 1, com_invdir); in ssd130x_init()
352 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_MULTIPLEX_RATIO, ssd130x->height - 1); in ssd130x_init()
357 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_DISPLAY_OFFSET, ssd130x->com_offset); in ssd130x_init()
364 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_CLOCK_FREQ, dclk); in ssd130x_init()
378 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_AREA_COLOR_MODE, mode); in ssd130x_init()
386 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_PRECHARGE_PERIOD, precharge); in ssd130x_init()
400 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_COM_PINS_CONFIG, compins); in ssd130x_init()
405 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_VCOMH, ssd130x->vcomh); in ssd130x_init()
415 ret = ssd130x_write_cmd(ssd130x, 2, SSD130X_CHARGE_PUMP, chargepump); in ssd130x_init()
423 ret = ssd130x_write_cmd(ssd130x, 1, SSD130X_SET_LOOKUP_TABLE); in ssd130x_init()
434 ret = ssd130x_write_cmd(ssd130x, 1, val); in ssd130x_init()
442 return ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_ADDRESS_MODE, in ssd130x_init()
446 return ssd130x_write_cmd(ssd130x, 2, SSD130X_SET_ADDRESS_MODE, in ssd130x_init()
830 ssd130x_write_cmd(ssd130x, 1, SSD130X_DISPLAY_ON); in ssd130x_encoder_helper_atomic_enable()
849 ssd130x_write_cmd(ssd130x, 1, SSD130X_DISPLAY_OFF); in ssd130x_encoder_helper_atomic_disable()
925 ret = ssd130x_write_cmd(ssd130x, 1, SSD130X_CONTRAST); in ssd130x_update_bl()
929 ret = ssd130x_write_cmd(ssd130x, 1, ssd130x->contrast); in ssd130x_update_bl()