Lines Matching refs:si
51 const lws_display_ssd1306_t *si = (const lws_display_ssd1306_t *)disp; in lws_display_ssd1306_i2c_init() local
53 si->i2c->init(si->i2c); in lws_display_ssd1306_i2c_init()
55 if (si->gpio) { in lws_display_ssd1306_i2c_init()
56 si->gpio->mode(si->reset_gpio, LWSGGPIO_FL_WRITE | in lws_display_ssd1306_i2c_init()
58 si->gpio->set(si->reset_gpio, 0); in lws_display_ssd1306_i2c_init()
60 si->gpio->set(si->reset_gpio, 1); in lws_display_ssd1306_i2c_init()
64 if (lws_i2c_command_list(si->i2c, si->i2c7_address, in lws_display_ssd1306_i2c_init()
77 const lws_display_ssd1306_t *si = (const lws_display_ssd1306_t *)disp; in lws_display_ssd1306_i2c_contrast() local
83 return lws_i2c_command_list(si->i2c, si->i2c7_address, in lws_display_ssd1306_i2c_contrast()
92 const lws_display_ssd1306_t *si = (const lws_display_ssd1306_t *)disp; in lws_display_ssd1306_i2c_blit() local
111 if (lws_i2c_command_list(si->i2c, si->i2c7_address, in lws_display_ssd1306_i2c_blit()
118 lws_bb_i2c_start(si->i2c); in lws_display_ssd1306_i2c_blit()
119 lws_bb_i2c_write(si->i2c, si->i2c7_address << 1); in lws_display_ssd1306_i2c_blit()
120 lws_bb_i2c_write(si->i2c, SSD1306_SETSTARTLINE | y); in lws_display_ssd1306_i2c_blit()
123 lws_bb_i2c_write(si->i2c, src[n++]); in lws_display_ssd1306_i2c_blit()
125 lws_bb_i2c_stop(si->i2c); in lws_display_ssd1306_i2c_blit()
135 const lws_display_ssd1306_t *si = (const lws_display_ssd1306_t *)disp; in lws_display_ssd1306_i2c_power() local
138 return lws_i2c_command(si->i2c, si->i2c7_address, in lws_display_ssd1306_i2c_power()