Lines Matching refs:bus
75 struct i2c_dt_spec bus; member
102 rc = i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_print()
128 return i2c_write_dt(&config->bus, data, 2); in auxdisplay_jhd1313_cursor_position_set()
137 rc = i2c_write_dt(&config->bus, clear, sizeof(clear)); in auxdisplay_jhd1313_clear()
164 rc = i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_update_display_state()
199 i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_input_state_set()
215 auxdisplay_jhd1313_reg_set(config->bus.bus, JHD1313_LED_REG_R, colour_define[colour][0]); in auxdisplay_jhd1313_backlight_set()
216 auxdisplay_jhd1313_reg_set(config->bus.bus, JHD1313_LED_REG_G, colour_define[colour][1]); in auxdisplay_jhd1313_backlight_set()
217 auxdisplay_jhd1313_reg_set(config->bus.bus, JHD1313_LED_REG_B, colour_define[colour][2]); in auxdisplay_jhd1313_backlight_set()
240 i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_function_set()
254 if (!device_is_ready(config->bus.bus)) { in auxdisplay_jhd1313_initialize()
299 auxdisplay_jhd1313_reg_set(config->bus.bus, 0x00, 0x00); in auxdisplay_jhd1313_initialize()
300 auxdisplay_jhd1313_reg_set(config->bus.bus, 0x01, 0x05); in auxdisplay_jhd1313_initialize()
301 auxdisplay_jhd1313_reg_set(config->bus.bus, 0x08, 0xAA); in auxdisplay_jhd1313_initialize()
363 .bus = I2C_DT_SPEC_INST_GET(inst), \