Lines Matching refs:target_cfg
143 struct i2c_target_config *target_cfg; member
992 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr_dma()
1017 target_cb->buf_write_received(data->target_cfg, in target_i2c_isr_dma()
1023 target_cb->stop(data->target_cfg); in target_i2c_isr_dma()
1035 target_cb->buf_read_requested(data->target_cfg, in target_i2c_isr_dma()
1057 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr_pio()
1064 ret = target_cb->write_requested(data->target_cfg); in target_i2c_isr_pio()
1068 if (!target_cb->read_requested(data->target_cfg, &val)) { in target_i2c_isr_pio()
1077 if (!target_cb->read_processed(data->target_cfg, &val)) { in target_i2c_isr_pio()
1083 ret = target_cb->write_received(data->target_cfg, val); in target_i2c_isr_pio()
1094 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr()
1120 target_cb->stop(data->target_cfg); in target_i2c_isr()
1332 struct i2c_target_config *target_cfg) in i2c_enhance_target_register() argument
1338 if (!target_cfg) { in i2c_enhance_target_register()
1342 if (target_cfg->flags & I2C_TARGET_FLAGS_ADDR_10_BITS) { in i2c_enhance_target_register()
1350 data->target_cfg = target_cfg; in i2c_enhance_target_register()
1362 IT8XXX2_I2C_IDR(base) = target_cfg->address << 1; in i2c_enhance_target_register()
1447 data->target_cfg = NULL; in i2c_enhance_target_unregister()