Home
last modified time | relevance | path

Searched refs:slave_cb (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_mchp_xec.c690 const struct i2c_target_callbacks *slave_cb = data->slave_cfg->callbacks; in i2c_xec_bus_isr() local
707 if (slave_cb->stop) { in i2c_xec_bus_isr()
708 slave_cb->stop(data->slave_cfg); in i2c_xec_bus_isr()
716 if (slave_cb->stop) { in i2c_xec_bus_isr()
717 slave_cb->stop(data->slave_cfg); in i2c_xec_bus_isr()
731 if (slave_cb->write_requested) { in i2c_xec_bus_isr()
732 slave_cb->write_requested(data->slave_cfg); in i2c_xec_bus_isr()
738 if (slave_cb->read_requested) { in i2c_xec_bus_isr()
739 slave_cb->read_requested(data->slave_cfg, &val); in i2c_xec_bus_isr()
752 if (slave_cb->read_processed) { in i2c_xec_bus_isr()
[all …]
Di2c_dw.c279 const struct i2c_target_callbacks *slave_cb = dw->slave_cfg->callbacks; in i2c_dw_isr() local
288 if (slave_cb->write_requested) { in i2c_dw_isr()
289 slave_cb->write_requested(dw->slave_cfg); in i2c_dw_isr()
293 if (slave_cb->write_received) { in i2c_dw_isr()
294 slave_cb->write_received(dw->slave_cfg, data); in i2c_dw_isr()
302 if (slave_cb->read_requested) { in i2c_dw_isr()
303 slave_cb->read_requested(dw->slave_cfg, &data); in i2c_dw_isr()
306 if (slave_cb->read_processed) { in i2c_dw_isr()
307 slave_cb->read_processed(dw->slave_cfg, &data); in i2c_dw_isr()
780 const struct i2c_target_callbacks *slave_cb = dw->slave_cfg->callbacks; in i2c_dw_slave_read_clear_intr_bits() local
[all …]
Di2c_ll_stm32_v2.c121 const struct i2c_target_callbacks *slave_cb; in stm32_i2c_slave_event() local
135 slave_cb = slave_cfg->callbacks; in stm32_i2c_slave_event()
140 slave_cb->read_processed(slave_cfg, &val); in stm32_i2c_slave_event()
148 if (slave_cb->write_received(slave_cfg, val)) { in stm32_i2c_slave_event()
166 slave_cb->stop(slave_cfg); in stm32_i2c_slave_event()
179 slave_cb->write_requested(slave_cfg); in stm32_i2c_slave_event()
184 slave_cb->read_requested(slave_cfg, &val); in stm32_i2c_slave_event()
Di2c_ll_stm32_v1.c429 const struct i2c_target_callbacks *slave_cb = in stm32_i2c_slave_event() local
434 slave_cb->read_processed(data->slave_cfg, &val); in stm32_i2c_slave_event()
441 if (slave_cb->write_received(data->slave_cfg, val)) { in stm32_i2c_slave_event()
453 slave_cb->stop(data->slave_cfg); in stm32_i2c_slave_event()
461 slave_cb->write_requested(data->slave_cfg); in stm32_i2c_slave_event()
465 slave_cb->read_requested(data->slave_cfg, &val); in stm32_i2c_slave_event()