Searched refs:slave_cb (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/drivers/i2c/ |
D | i2c_mchp_xec.c | 690 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 …]
|
D | i2c_dw.c | 446 const struct i2c_target_callbacks *slave_cb = dw->slave_cfg->callbacks; in i2c_dw_isr() local 455 if (slave_cb->write_requested) { in i2c_dw_isr() 456 slave_cb->write_requested(dw->slave_cfg); in i2c_dw_isr() 462 if (slave_cb->write_received) { in i2c_dw_isr() 463 slave_cb->write_received(dw->slave_cfg, data); in i2c_dw_isr() 472 if (slave_cb->read_requested) { in i2c_dw_isr() 473 slave_cb->read_requested(dw->slave_cfg, &data); in i2c_dw_isr() 476 if (slave_cb->read_processed) { in i2c_dw_isr() 477 slave_cb->read_processed(dw->slave_cfg, &data); in i2c_dw_isr() 965 const struct i2c_target_callbacks *slave_cb = dw->slave_cfg->callbacks; in i2c_dw_slave_read_clear_intr_bits() local [all …]
|
D | i2c_ll_stm32_v2.c | 221 const struct i2c_target_callbacks *slave_cb; in stm32_i2c_slave_event() local 252 slave_cb = slave_cfg->callbacks; in stm32_i2c_slave_event() 257 if (slave_cb->read_processed(slave_cfg, &val) < 0) { in stm32_i2c_slave_event() 268 if (slave_cb->write_received(slave_cfg, val)) { in stm32_i2c_slave_event() 286 slave_cb->stop(slave_cfg); in stm32_i2c_slave_event() 299 if (slave_cb->write_requested(slave_cfg) < 0) { in stm32_i2c_slave_event() 307 if (slave_cb->read_requested(slave_cfg, &val) < 0) { in stm32_i2c_slave_event()
|
D | i2c_ll_stm32_v1.c | 443 const struct i2c_target_callbacks *slave_cb = in stm32_i2c_slave_event() local 448 slave_cb->read_processed(data->slave_cfg, &val); in stm32_i2c_slave_event() 455 if (slave_cb->write_received(data->slave_cfg, val)) { in stm32_i2c_slave_event() 467 slave_cb->stop(data->slave_cfg); in stm32_i2c_slave_event() 475 slave_cb->write_requested(data->slave_cfg); in stm32_i2c_slave_event() 479 slave_cb->read_requested(data->slave_cfg, &val); in stm32_i2c_slave_event()
|