Searched refs:target_cb (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_mcux_flexcomm.c | 196 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in i2c_target_transfer_callback() local 204 if (data->first_read && target_cb->read_requested) { in i2c_target_transfer_callback() 206 target_cb->read_requested(data->target_cfg, &txVal); in i2c_target_transfer_callback() 207 } else if (target_cb->read_processed) { in i2c_target_transfer_callback() 208 target_cb->read_processed(data->target_cfg, &txVal); in i2c_target_transfer_callback() 217 if (data->first_write && target_cb->write_requested) { in i2c_target_transfer_callback() 218 target_cb->write_requested(data->target_cfg); in i2c_target_transfer_callback() 229 if (data->is_write && target_cb->write_received) { in i2c_target_transfer_callback() 230 target_cb->write_received(data->target_cfg, rxVal); in i2c_target_transfer_callback() 236 if (target_cb->stop) { in i2c_target_transfer_callback() [all …]
|
D | i2c_mcux_lpi2c.c | 309 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in mcux_lpi2c_slave_irq_handler() local 337 if (target_cb->write_requested) { in mcux_lpi2c_slave_irq_handler() 338 ret = target_cb->write_requested(data->target_cfg); in mcux_lpi2c_slave_irq_handler() 345 if (target_cb->write_received) { in mcux_lpi2c_slave_irq_handler() 346 ret = target_cb->write_received(data->target_cfg, in mcux_lpi2c_slave_irq_handler() 360 if (target_cb->read_requested) { in mcux_lpi2c_slave_irq_handler() 361 ret = target_cb->read_requested(data->target_cfg, in mcux_lpi2c_slave_irq_handler() 372 if (target_cb->read_processed) { in mcux_lpi2c_slave_irq_handler() 373 ret = target_cb->read_processed(data->target_cfg, in mcux_lpi2c_slave_irq_handler() 388 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() 785 if (target_cb->stop) { in i2c_ctrl_target_isr() 786 target_cb->stop(data->target_cfg); in i2c_ctrl_target_isr() 809 if (target_cb->read_requested) { in i2c_ctrl_target_isr() 810 target_cb->read_requested(data->target_cfg, &val); in i2c_ctrl_target_isr() 817 if (target_cb->write_requested) { in i2c_ctrl_target_isr() 818 target_cb->write_requested(data->target_cfg); in i2c_ctrl_target_isr() 828 if (target_cb->read_processed) { in i2c_ctrl_target_isr() [all …]
|
D | i2c_ite_enhance.c | 969 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr_dma() local 994 target_cb->buf_write_received(data->target_cfg, in target_i2c_isr_dma() 1007 target_cb->buf_read_requested(data->target_cfg, in target_i2c_isr_dma() 1026 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr_pio() local 1033 ret = target_cb->write_requested(data->target_cfg); in target_i2c_isr_pio() 1037 if (!target_cb->read_requested(data->target_cfg, &val)) { in target_i2c_isr_pio() 1046 if (!target_cb->read_processed(data->target_cfg, &val)) { in target_i2c_isr_pio() 1052 ret = target_cb->write_received(data->target_cfg, val); in target_i2c_isr_pio() 1063 const struct i2c_target_callbacks *target_cb = data->target_cfg->callbacks; in target_i2c_isr() local 1090 target_cb->stop(data->target_cfg); in target_i2c_isr()
|
/Zephyr-Core-3.5.0/drivers/i3c/ |
D | i3c_cdns.c | 1943 const struct i3c_target_callbacks *target_cb = data->target_config->callbacks; in cdns_i3c_irq_handler() local 1955 if (target_cb != NULL && target_cb->write_received_cb != NULL) { in cdns_i3c_irq_handler() 1956 target_cb->write_received_cb(data->target_config, rx_data); in cdns_i3c_irq_handler() 1965 if (target_cb != NULL && target_cb->read_processed_cb) { in cdns_i3c_irq_handler() 1975 status = target_cb->read_processed_cb(data->target_config, in cdns_i3c_irq_handler() 1989 if (target_cb != NULL && target_cb->stop_cb) { in cdns_i3c_irq_handler() 1990 target_cb->stop_cb(data->target_config); in cdns_i3c_irq_handler() 1999 if (target_cb != NULL && target_cb->stop_cb) { in cdns_i3c_irq_handler() 2000 target_cb->stop_cb(data->target_config); in cdns_i3c_irq_handler()
|