Home
last modified time | relevance | path

Searched refs:slave_cfg (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_ll_stm32_v2.c222 struct i2c_target_config *slave_cfg; in stm32_i2c_slave_event() local
224 if (data->slave_cfg->flags != I2C_TARGET_FLAGS_ADDR_10_BITS) { in stm32_i2c_slave_event()
229 if (data->slave_cfg != NULL && in stm32_i2c_slave_event()
230 slave_address == data->slave_cfg->address) { in stm32_i2c_slave_event()
231 slave_cfg = data->slave_cfg; in stm32_i2c_slave_event()
234 slave_cfg = data->slave2_cfg; in stm32_i2c_slave_event()
244 if (data->slave_cfg != NULL) { in stm32_i2c_slave_event()
245 slave_cfg = data->slave_cfg; in stm32_i2c_slave_event()
252 slave_cb = slave_cfg->callbacks; in stm32_i2c_slave_event()
257 slave_cb->read_processed(slave_cfg, &val); in stm32_i2c_slave_event()
[all …]
Di2c_mchp_xec.c67 struct i2c_target_config *slave_cfg; member
690 const struct i2c_target_callbacks *slave_cb = data->slave_cfg->callbacks; in i2c_xec_bus_isr()
708 slave_cb->stop(data->slave_cfg); in i2c_xec_bus_isr()
717 slave_cb->stop(data->slave_cfg); in i2c_xec_bus_isr()
732 slave_cb->write_requested(data->slave_cfg); in i2c_xec_bus_isr()
739 slave_cb->read_requested(data->slave_cfg, &val); in i2c_xec_bus_isr()
753 slave_cb->read_processed(data->slave_cfg, &val); in i2c_xec_bus_isr()
761 slave_cb->write_received(data->slave_cfg, val); in i2c_xec_bus_isr()
799 data->slave_cfg = config; in i2c_xec_target_register()
802 MCHP_I2C_SMB_OWN_ADDR(ba) = data->slave_cfg->address; in i2c_xec_target_register()
Di2c_ll_stm32_v1.c444 data->slave_cfg->callbacks; in stm32_i2c_slave_event()
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()
517 data->slave_cfg = config; in i2c_stm32_target_register()
521 if (data->slave_cfg->flags == I2C_TARGET_FLAGS_ADDR_10_BITS) { in i2c_stm32_target_register()
Di2c_ll_stm32.h81 struct i2c_target_config *slave_cfg; member
Di2c_dw.c456 const struct i2c_target_callbacks *slave_cb = dw->slave_cfg->callbacks; in i2c_dw_isr()
466 slave_cb->write_requested(dw->slave_cfg); in i2c_dw_isr()
473 slave_cb->write_received(dw->slave_cfg, data); in i2c_dw_isr()
483 slave_cb->read_requested(dw->slave_cfg, &data); in i2c_dw_isr()
487 slave_cb->read_processed(dw->slave_cfg, &data); in i2c_dw_isr()
937 dw->slave_cfg = cfg; in i2c_dw_slave_register()
965 const struct i2c_target_callbacks *slave_cb = dw->slave_cfg->callbacks; in i2c_dw_slave_read_clear_intr_bits()
1003 slave_cb->stop(dw->slave_cfg); in i2c_dw_slave_read_clear_intr_bits()
Di2c_dw.h137 struct i2c_target_config *slave_cfg; member