Lines Matching refs:slave_cb
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
1002 if (slave_cb->stop) { in i2c_dw_slave_read_clear_intr_bits()
1003 slave_cb->stop(dw->slave_cfg); in i2c_dw_slave_read_clear_intr_bits()