Lines Matching refs:ssd1327_write_bus_cmd
46 static inline int ssd1327_write_bus_cmd(const struct device *dev, const uint8_t cmd, in ssd1327_write_bus_cmd() function
76 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_PHASE_LENGTH, &buf, 1)) { in ssd1327_set_timing_setting()
79 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_OSC_FREQ, &config->oscillator_freq, 1)) { in ssd1327_set_timing_setting()
82 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_PRECHARGE_PERIOD, &config->prechargep, 1)) { in ssd1327_set_timing_setting()
85 if (ssd1327_write_bus_cmd(dev, SSD1327_LINEAR_LUT, NULL, 0)) { in ssd1327_set_timing_setting()
89 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_PRECHARGE_VOLTAGE, &buf, 1)) { in ssd1327_set_timing_setting()
93 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_VCOMH, &buf, 1)) { in ssd1327_set_timing_setting()
97 if (ssd1327_write_bus_cmd(dev, SSD1327_FUNCTION_SELECTION_B, &buf, 1)) { in ssd1327_set_timing_setting()
101 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_COMMAND_LOCK, &buf, 1)) { in ssd1327_set_timing_setting()
113 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_DISPLAY_START_LINE, &config->start_line, 1)) { in ssd1327_set_hardware_config()
116 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_DISPLAY_OFFSET, &config->display_offset, 1)) { in ssd1327_set_hardware_config()
119 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_NORMAL_DISPLAY, NULL, 0)) { in ssd1327_set_hardware_config()
122 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_SEGMENT_MAP_REMAPED, &config->remap_value, 1)) { in ssd1327_set_hardware_config()
125 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_MULTIPLEX_RATIO, &config->multiplex_ratio, 1)) { in ssd1327_set_hardware_config()
129 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_FUNCTION_A, &buf, 1)) { in ssd1327_set_hardware_config()
138 return ssd1327_write_bus_cmd(dev, SSD1327_DISPLAY_ON, NULL, 0); in ssd1327_resume()
143 return ssd1327_write_bus_cmd(dev, SSD1327_DISPLAY_OFF, NULL, 0); in ssd1327_suspend()
158 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_COLUMN_ADDR, x_position, sizeof(x_position))) { in ssd1327_set_display()
161 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_ROW_ADDR, y_position, sizeof(y_position))) { in ssd1327_set_display()
164 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_SEGMENT_MAP_REMAPED, &config->remap_value, 1)) { in ssd1327_set_display()
210 err = ssd1327_write_bus_cmd(dev, SSD1327_SET_COLUMN_ADDR, x_position, sizeof(x_position)); in ssd1327_write()
215 err = ssd1327_write_bus_cmd(dev, SSD1327_SET_ROW_ADDR, y_position, sizeof(y_position)); in ssd1327_write()
230 return ssd1327_write_bus_cmd(dev, SSD1327_SET_CONTRAST_CTRL, &contrast, 1); in ssd1327_set_contrast()
280 if (ssd1327_write_bus_cmd(dev, SSD1327_SET_ENTIRE_DISPLAY_OFF, &buf, 1)) { in ssd1327_init_device()