Home
last modified time | relevance | path

Searched refs:p_target_config (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_ifx_cat1.c54 struct i2c_target_config *p_target_config; member
120 if (data->p_target_config->callbacks->read_requested) { in ifx_master_event_handler()
121 data->p_target_config->callbacks->read_requested(data->p_target_config, in ifx_master_event_handler()
131 if (data->p_target_config->callbacks->read_processed) { in ifx_master_event_handler()
132 data->p_target_config->callbacks->read_processed(data->p_target_config, in ifx_master_event_handler()
144 if (data->p_target_config->callbacks->write_requested) { in ifx_master_event_handler()
145 data->p_target_config->callbacks->write_requested(data->p_target_config); in ifx_master_event_handler()
150 if (data->p_target_config->callbacks->write_received) { in ifx_master_event_handler()
152 data->p_target_config->callbacks->write_received( in ifx_master_event_handler()
153 data->p_target_config, data->target_wr_buffer[i]); in ifx_master_event_handler()
[all …]
Di2c_ifx_xmc4.c61 struct i2c_target_config *p_target_config; member
331 data->p_target_config = cfg; in ifx_xmc4_i2c_target_register()
363 data->p_target_config = NULL; in ifx_xmc4_i2c_target_unregister()
376 const struct i2c_target_callbacks *callbacks = data->p_target_config->callbacks; in i2c_xmc4_isr()
387 callbacks->stop(data->p_target_config); in i2c_xmc4_isr()
396 callbacks->read_requested(data->p_target_config, in i2c_xmc4_isr()
400 callbacks->write_requested(data->p_target_config); in i2c_xmc4_isr()
406 callbacks->read_processed(data->p_target_config, &data->target_wr_byte); in i2c_xmc4_isr()
413 callbacks->write_received(data->p_target_config, in i2c_xmc4_isr()