Lines Matching refs:target_cb
811 const struct i3c_target_callbacks *target_cb = data->target_config->callbacks; in cdns_i3c_target_read_rx_fifo() local
822 target_cb->write_received_cb(data->target_config, in cdns_i3c_target_read_rx_fifo()
838 target_cb->write_received_cb(data->target_config, rx_data); in cdns_i3c_target_read_rx_fifo()
2441 const struct i3c_target_callbacks *target_cb) in cdns_i3c_target_sdr_tx_thr_int_handler() argument
2447 if (target_cb != NULL && target_cb->read_processed_cb) { in cdns_i3c_target_sdr_tx_thr_int_handler()
2465 status = target_cb->read_processed_cb(data->target_config, in cdns_i3c_target_sdr_tx_thr_int_handler()
2485 status = target_cb->read_processed_cb(data->target_config, &byte); in cdns_i3c_target_sdr_tx_thr_int_handler()
2555 const struct i3c_target_callbacks *target_cb = in cdns_i3c_irq_handler() local
2565 if (target_cb != NULL && target_cb->write_received_cb != NULL) { in cdns_i3c_irq_handler()
2573 cdns_i3c_target_sdr_tx_thr_int_handler(dev, target_cb); in cdns_i3c_irq_handler()
2581 if (target_cb != NULL && target_cb->stop_cb) { in cdns_i3c_irq_handler()
2582 target_cb->stop_cb(data->target_config); in cdns_i3c_irq_handler()
2593 if (target_cb != NULL && target_cb->stop_cb) { in cdns_i3c_irq_handler()
2594 target_cb->stop_cb(data->target_config); in cdns_i3c_irq_handler()
2663 if (target_cb != NULL && in cdns_i3c_irq_handler()
2664 target_cb->write_received_cb != NULL) { in cdns_i3c_irq_handler()
2666 target_cb->write_received_cb( in cdns_i3c_irq_handler()
2669 target_cb->write_received_cb( in cdns_i3c_irq_handler()
2689 if (target_cb != NULL && target_cb->stop_cb != NULL) { in cdns_i3c_irq_handler()
2690 target_cb->stop_cb(data->target_config); in cdns_i3c_irq_handler()
2699 if (target_cb != NULL && target_cb->stop_cb) { in cdns_i3c_irq_handler()
2700 target_cb->stop_cb(data->target_config); in cdns_i3c_irq_handler()
2708 if (target_cb != NULL && target_cb->read_processed_cb) { in cdns_i3c_irq_handler()
2718 status = target_cb->read_processed_cb(data->target_config, in cdns_i3c_irq_handler()