Lines Matching refs:ssd1307fb_write_cmd

143 static inline int ssd1307fb_write_cmd(struct i2c_client *client, u8 cmd)  in ssd1307fb_write_cmd()  function
169 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COL_RANGE); in ssd1307fb_set_col_range()
173 ret = ssd1307fb_write_cmd(par->client, col_start); in ssd1307fb_set_col_range()
177 ret = ssd1307fb_write_cmd(par->client, col_end); in ssd1307fb_set_col_range()
195 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_PAGE_RANGE); in ssd1307fb_set_page_range()
199 ret = ssd1307fb_write_cmd(par->client, page_start); in ssd1307fb_set_page_range()
203 ret = ssd1307fb_write_cmd(par->client, page_end); in ssd1307fb_set_page_range()
300 return ssd1307fb_write_cmd(par->client, SSD1307FB_DISPLAY_OFF); in ssd1307fb_blank()
302 return ssd1307fb_write_cmd(par->client, SSD1307FB_DISPLAY_ON); in ssd1307fb_blank()
360 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_CONTRAST); in ssd1307fb_init()
364 ret = ssd1307fb_write_cmd(par->client, par->contrast); in ssd1307fb_init()
370 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SEG_REMAP_ON); in ssd1307fb_init()
377 ret = ssd1307fb_write_cmd(par->client, com_invdir); in ssd1307fb_init()
382 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_MULTIPLEX_RATIO); in ssd1307fb_init()
386 ret = ssd1307fb_write_cmd(par->client, par->height - 1); in ssd1307fb_init()
391 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_DISPLAY_OFFSET); in ssd1307fb_init()
395 ret = ssd1307fb_write_cmd(par->client, par->com_offset); in ssd1307fb_init()
400 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_CLOCK_FREQ); in ssd1307fb_init()
405 ret = ssd1307fb_write_cmd(par->client, dclk); in ssd1307fb_init()
413 ret = ssd1307fb_write_cmd(par->client, in ssd1307fb_init()
420 ret = ssd1307fb_write_cmd(par->client, mode); in ssd1307fb_init()
426 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_PRECHARGE_PERIOD); in ssd1307fb_init()
431 ret = ssd1307fb_write_cmd(par->client, precharge); in ssd1307fb_init()
436 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_COM_PINS_CONFIG); in ssd1307fb_init()
441 ret = ssd1307fb_write_cmd(par->client, compins); in ssd1307fb_init()
446 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_VCOMH); in ssd1307fb_init()
450 ret = ssd1307fb_write_cmd(par->client, par->vcomh); in ssd1307fb_init()
455 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_CHARGE_PUMP); in ssd1307fb_init()
459 ret = ssd1307fb_write_cmd(par->client, in ssd1307fb_init()
468 ret = ssd1307fb_write_cmd(par->client, in ssd1307fb_init()
480 ret = ssd1307fb_write_cmd(par->client, val); in ssd1307fb_init()
487 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SET_ADDRESS_MODE); in ssd1307fb_init()
491 ret = ssd1307fb_write_cmd(par->client, in ssd1307fb_init()
502 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_DISPLAY_ON); in ssd1307fb_init()
517 ret = ssd1307fb_write_cmd(par->client, SSD1307FB_CONTRAST); in ssd1307fb_update_bl()
520 ret = ssd1307fb_write_cmd(par->client, par->contrast); in ssd1307fb_update_bl()
779 ssd1307fb_write_cmd(par->client, SSD1307FB_DISPLAY_OFF); in ssd1307fb_remove()