Lines Matching refs:bus
116 struct i2c_dt_spec bus; member
143 int ret = i2c_reg_write_byte_dt(&config->bus, STMPE811_SYS_CTRL1_REG, in stmpe811_reset()
152 ret = i2c_reg_write_byte_dt(&config->bus, STMPE811_SYS_CTRL1_REG, in stmpe811_reset()
167 return i2c_reg_update_byte_dt(&config->bus, STMPE811_IO_AF_REG, io_pin, 0); in stmpe811_io_enable_af()
223 err = i2c_reg_update_byte_dt(&config->bus, STMPE811_SYS_CTRL2_REG, in stmpe811_ts_init()
231 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_ADC_CTRL1_REG, STMPE811_ADC_CTRL1_CONF); in stmpe811_ts_init()
237 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_ADC_CTRL2_REG, STMPE811_ADC_CLOCK_SPEED); in stmpe811_ts_init()
243 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_TSC_CFG_REG, in stmpe811_ts_init()
250 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_FIFO_TH_REG, in stmpe811_ts_init()
257 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_FIFO_STA_REG, STMPE811_FIFO_STA_CLEAR); in stmpe811_ts_init()
263 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_TSC_FRACT_XYZ_REG, in stmpe811_ts_init()
270 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_TSC_I_DRIVE_REG, in stmpe811_ts_init()
277 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_TSC_CTRL_REG, in stmpe811_ts_init()
288 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_INT_STA_REG, STMPE811_INT_ALL); in stmpe811_ts_init()
294 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_FIFO_STA_REG, in stmpe811_ts_init()
301 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_INT_EN_REG, in stmpe811_ts_init()
319 int ret = i2c_burst_read_dt(&config->bus, STMPE811_TSC_DATA_NON_INC_REG, data_xy, in stmpe811_ts_get_data()
362 err = i2c_reg_read_byte_dt(&config->bus, STMPE811_INT_STA_REG, &int_sta); in stmpe811_process()
368 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_INT_STA_REG, int_sta); in stmpe811_process()
384 err = i2c_reg_read_byte_dt(&config->bus, STMPE811_FIFO_SIZE_REG, in stmpe811_process()
407 err = i2c_reg_read_byte_dt(&config->bus, STMPE811_TSC_CTRL_REG, &tsc_ctrl); in stmpe811_process()
449 i2c_burst_read_dt(&config->bus, STMPE811_CHP_ID_LSB_REG, buf, 2); in stmpe811_verify_chip_id()
464 if (!i2c_is_ready_dt(&config->bus)) { in stmpe811_init()
514 err = i2c_reg_write_byte_dt(&config->bus, STMPE811_INT_CTRL_REG, in stmpe811_init()
533 .bus = I2C_DT_SPEC_INST_GET(index), \