Searched refs:target_cb (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.6.0/drivers/i2c/ |
D | i2c_mcux_flexcomm.c | 200 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in i2c_target_transfer_callback() local 208 if (data->first_read && target_cb->read_requested) { in i2c_target_transfer_callback() 210 target_cb->read_requested(data->target_cfg, &txVal); in i2c_target_transfer_callback() 211 } else if (target_cb->read_processed) { in i2c_target_transfer_callback() 212 target_cb->read_processed(data->target_cfg, &txVal); in i2c_target_transfer_callback() 221 if (data->first_write && target_cb->write_requested) { in i2c_target_transfer_callback() 222 target_cb->write_requested(data->target_cfg); in i2c_target_transfer_callback() 233 if (data->is_write && target_cb->write_received) { in i2c_target_transfer_callback() 234 target_cb->write_received(data->target_cfg, rxVal); in i2c_target_transfer_callback() 240 if (target_cb->stop) { in i2c_target_transfer_callback() [all …]
|
D | i2c_mcux_lpi2c.c | 315 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in mcux_lpi2c_slave_irq_handler() local 343 if (target_cb->write_requested) { in mcux_lpi2c_slave_irq_handler() 344 ret = target_cb->write_requested(data->target_cfg); in mcux_lpi2c_slave_irq_handler() 351 if (target_cb->write_received) { in mcux_lpi2c_slave_irq_handler() 352 ret = target_cb->write_received(data->target_cfg, in mcux_lpi2c_slave_irq_handler() 366 if (target_cb->read_requested) { in mcux_lpi2c_slave_irq_handler() 367 ret = target_cb->read_requested(data->target_cfg, in mcux_lpi2c_slave_irq_handler() 378 if (target_cb->read_processed) { in mcux_lpi2c_slave_irq_handler() 379 ret = target_cb->read_processed(data->target_cfg, in mcux_lpi2c_slave_irq_handler() 394 if (target_cb->stop) { in mcux_lpi2c_slave_irq_handler() [all …]
|
D | i2c_mchp_xec_v2.c | 811 const struct i2c_target_callbacks *target_cb = in i2c_xec_bus_isr() local 840 if (target_cb->stop) { in i2c_xec_bus_isr() 841 target_cb->stop(data->target_cfg); in i2c_xec_bus_isr() 849 if (target_cb->stop) { in i2c_xec_bus_isr() 850 target_cb->stop(data->target_cfg); in i2c_xec_bus_isr() 868 if (target_cb->read_requested) { in i2c_xec_bus_isr() 869 target_cb->read_requested( in i2c_xec_bus_isr() 895 if (target_cb->write_requested) { in i2c_xec_bus_isr() 896 ret = target_cb->write_requested( in i2c_xec_bus_isr() 939 if (target_cb->read_processed) { in i2c_xec_bus_isr() [all …]
|
D | i2c_npcx_controller.c | 756 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in i2c_ctrl_target_isr() local 765 if (target_cb->stop) { in i2c_ctrl_target_isr() 766 target_cb->stop(data->target_cfg); in i2c_ctrl_target_isr() 792 if (target_cb->stop) { in i2c_ctrl_target_isr() 793 target_cb->stop(data->target_cfg); in i2c_ctrl_target_isr() 816 if (target_cb->read_requested) { in i2c_ctrl_target_isr() 817 target_cb->read_requested(data->target_cfg, &val); in i2c_ctrl_target_isr() 824 if (target_cb->write_requested) { in i2c_ctrl_target_isr() 825 target_cb->write_requested(data->target_cfg); in i2c_ctrl_target_isr() 835 if (target_cb->read_processed) { in i2c_ctrl_target_isr() [all …]
|
D | i2c_ite_enhance.c | 991 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr_dma() local 1016 target_cb->buf_write_received(data->target_cfg, in target_i2c_isr_dma() 1029 target_cb->buf_read_requested(data->target_cfg, in target_i2c_isr_dma() 1048 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr_pio() local 1055 ret = target_cb->write_requested(data->target_cfg); in target_i2c_isr_pio() 1059 if (!target_cb->read_requested(data->target_cfg, &val)) { in target_i2c_isr_pio() 1068 if (!target_cb->read_processed(data->target_cfg, &val)) { in target_i2c_isr_pio() 1074 ret = target_cb->write_received(data->target_cfg, val); in target_i2c_isr_pio() 1085 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr() local 1112 target_cb->stop(data->target_cfg); in target_i2c_isr()
|
/Zephyr-Core-3.6.0/drivers/i3c/ |
D | i3c_cdns.c | 1978 const struct i3c_target_callbacks *target_cb = data->target_config->callbacks; in cdns_i3c_irq_handler() local 1990 if (target_cb != NULL && target_cb->write_received_cb != NULL) { in cdns_i3c_irq_handler() 1991 target_cb->write_received_cb(data->target_config, rx_data); in cdns_i3c_irq_handler() 2000 if (target_cb != NULL && target_cb->read_processed_cb) { in cdns_i3c_irq_handler() 2010 status = target_cb->read_processed_cb(data->target_config, in cdns_i3c_irq_handler() 2024 if (target_cb != NULL && target_cb->stop_cb) { in cdns_i3c_irq_handler() 2025 target_cb->stop_cb(data->target_config); in cdns_i3c_irq_handler() 2034 if (target_cb != NULL && target_cb->stop_cb) { in cdns_i3c_irq_handler() 2035 target_cb->stop_cb(data->target_config); in cdns_i3c_irq_handler()
|