Lines Matching refs:target_cb
289 const struct i2c_target_callbacks *target_cb; in i2c_target_transfer_callback() local
300 target_cb = target->target_cfg->callbacks; in i2c_target_transfer_callback()
305 if (target->first_read && target_cb->read_requested) { in i2c_target_transfer_callback()
307 target_cb->read_requested(target->target_cfg, &txVal); in i2c_target_transfer_callback()
308 } else if (target_cb->read_processed) { in i2c_target_transfer_callback()
309 target_cb->read_processed(target->target_cfg, &txVal); in i2c_target_transfer_callback()
318 if (target->first_write && target_cb->write_requested) { in i2c_target_transfer_callback()
319 target_cb->write_requested(target->target_cfg); in i2c_target_transfer_callback()
330 if (target->is_write && target_cb->write_received) { in i2c_target_transfer_callback()
331 target_cb->write_received(target->target_cfg, rxVal); in i2c_target_transfer_callback()
337 if (target_cb->stop) { in i2c_target_transfer_callback()
338 target_cb->stop(target->target_cfg); in i2c_target_transfer_callback()