Lines Matching refs:cmd_buf

154 	uint8_t cmd_buf[] = {(config->segment_remap ? SSD1306_SET_SEGMENT_MAP_REMAPED  in ssd1306_set_panel_orientation()  local
159 return ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true); in ssd1306_set_panel_orientation()
165 uint8_t cmd_buf[] = {SSD1306_SET_CLOCK_DIV_RATIO, in ssd1306_set_timing_setting() local
172 return ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true); in ssd1306_set_timing_setting()
178 uint8_t cmd_buf[] = { in ssd1306_set_hardware_config() local
189 return ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true); in ssd1306_set_hardware_config()
195 uint8_t cmd_buf[] = { in ssd1306_set_charge_pump() local
202 return ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true); in ssd1306_set_charge_pump()
209 uint8_t cmd_buf[] = { in ssd1306_set_iref_mode() local
215 ret = ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true); in ssd1306_set_iref_mode()
223 uint8_t cmd_buf[] = { in ssd1306_resume() local
227 return ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true); in ssd1306_resume()
232 uint8_t cmd_buf[] = { in ssd1306_suspend() local
236 return ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true); in ssd1306_suspend()
245 uint8_t cmd_buf[] = { in ssd1306_write_default() local
256 if (ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true)) { in ssd1306_write_default()
270 uint8_t cmd_buf[] = { in ssd1306_write_sh1106() local
280 cmd_buf[sizeof(cmd_buf) - 1] = in ssd1306_write_sh1106()
282 LOG_HEXDUMP_DBG(cmd_buf, sizeof(cmd_buf), "cmd_buf"); in ssd1306_write_sh1106()
284 if (ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true)) { in ssd1306_write_sh1106()
341 uint8_t cmd_buf[] = { in ssd1306_set_contrast() local
346 return ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true); in ssd1306_set_contrast()
398 uint8_t cmd_buf[] = { in ssd1306_init_device() local
439 if (ssd1306_write_bus(dev, cmd_buf, sizeof(cmd_buf), true)) { in ssd1306_init_device()