Lines Matching refs:target_cb
146 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in i2c_max32_target_callback() local
151 if (data->first_write && target_cb->write_requested) { in i2c_max32_target_callback()
152 target_cb->write_requested(data->target_cfg); in i2c_max32_target_callback()
161 if (target_cb->write_received) { in i2c_max32_target_callback()
164 target_cb->write_received(data->target_cfg, rxval); in i2c_max32_target_callback()
172 if (target_cb->read_requested) { in i2c_max32_target_callback()
173 target_cb->read_requested(data->target_cfg, &txval); in i2c_max32_target_callback()
176 if (target_cb->read_processed) { in i2c_max32_target_callback()
177 target_cb->read_processed(data->target_cfg, &txval); in i2c_max32_target_callback()
181 if (target_cb->stop) { in i2c_max32_target_callback()
182 target_cb->stop(data->target_cfg); in i2c_max32_target_callback()