/Zephyr-Core-3.5.0/tests/drivers/i2c/i2c_target_api/common/ |
D | i2c_virtual.c | 27 static struct i2c_target_config *find_address(struct i2c_virtual_data *data, in find_address() 30 struct i2c_target_config *cfg = NULL; in find_address() 35 cfg = CONTAINER_OF(node, struct i2c_target_config, node); in find_address() 49 struct i2c_target_config *config) in i2c_virtual_target_register() 70 struct i2c_target_config *config) in i2c_virtual_target_unregister() 87 struct i2c_target_config *config, in i2c_virtual_msg_write() 121 struct i2c_target_config *config) in i2c_virtual_msg_read() 154 struct i2c_target_config *cfg; in i2c_virtual_transfer()
|
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_ll_stm32.h | 75 struct i2c_target_config *slave_cfg; 77 struct i2c_target_config *slave2_cfg; 96 int i2c_stm32_target_register(const struct device *dev, struct i2c_target_config *config); 97 int i2c_stm32_target_unregister(const struct device *dev, struct i2c_target_config *config);
|
D | i2c_npcx_controller.h | 94 struct i2c_target_config *target_cfg, uint8_t port); 107 struct i2c_target_config *target_cfg);
|
D | i2c_npcx_port.c | 148 struct i2c_target_config *target_cfg) in i2c_npcx_target_register() 165 struct i2c_target_config *target_cfg) in i2c_npcx_target_unregister()
|
D | i2c_lpc11u6x.h | 89 struct i2c_target_config *slave;
|
D | i2c_mcux_flexcomm.c | 38 struct i2c_target_config *target_cfg; 251 struct i2c_target_config *target_config) in mcux_flexcomm_target_register() 294 struct i2c_target_config *target_config) in mcux_flexcomm_target_unregister()
|
D | i2c_gecko.c | 47 struct i2c_target_config *target_cfg; 198 static int i2c_gecko_target_register(const struct device *dev, struct i2c_target_config *cfg) in i2c_gecko_target_register() 218 static int i2c_gecko_target_unregister(const struct device *dev, struct i2c_target_config *cfg) in i2c_gecko_target_unregister()
|
D | i2c_ifx_xmc4.c | 61 struct i2c_target_config *p_target_config; 307 static int ifx_xmc4_i2c_target_register(const struct device *dev, struct i2c_target_config *cfg) in ifx_xmc4_i2c_target_register() 353 static int ifx_xmc4_i2c_target_unregister(const struct device *dev, struct i2c_target_config *cfg) in ifx_xmc4_i2c_target_unregister()
|
D | i2c_dw.h | 134 struct i2c_target_config *slave_cfg;
|
D | i2c_ifx_cat1.c | 54 struct i2c_target_config *p_target_config; 445 static int ifx_cat1_i2c_target_register(const struct device *dev, struct i2c_target_config *cfg) in ifx_cat1_i2c_target_register() 476 static int ifx_cat1_i2c_target_unregister(const struct device *dev, struct i2c_target_config *cfg) in ifx_cat1_i2c_target_unregister()
|
D | i2c_mcux_lpi2c.c | 56 struct i2c_target_config *target_cfg; 399 struct i2c_target_config *target_config) in mcux_lpi2c_target_register() 447 struct i2c_target_config *target_config) in mcux_lpi2c_target_unregister()
|
D | i2c_lpc11u6x.c | 119 struct i2c_target_config *cfg) in lpc11u6x_i2c_slave_register() 153 struct i2c_target_config *cfg) in lpc11u6x_i2c_slave_unregister()
|
D | i2c_andes_atciic100.h | 239 struct i2c_target_config *target_config;
|
D | i2c_mchp_xec.c | 67 struct i2c_target_config *slave_cfg; 772 struct i2c_target_config *config) in i2c_xec_slave_register() 815 struct i2c_target_config *config) in i2c_xec_slave_unregister()
|
D | i2c_xilinx_axi.c | 35 struct i2c_target_config *target_cfg; 48 static int i2c_xilinx_axi_target_register(const struct device *dev, struct i2c_target_config *cfg) in i2c_xilinx_axi_target_register() 94 static int i2c_xilinx_axi_target_unregister(const struct device *dev, struct i2c_target_config *cfg) in i2c_xilinx_axi_target_unregister()
|
D | i2c_ll_stm32_v2.c | 128 struct i2c_target_config *slave_cfg; in stm32_i2c_slave_event() 208 struct i2c_target_config *config) in i2c_stm32_target_register() 281 struct i2c_target_config *config) in i2c_stm32_target_unregister()
|
D | i2c_mchp_xec_v2.c | 102 struct i2c_target_config *target_cfg; 977 struct i2c_target_config *config) in i2c_xec_target_register() 1018 struct i2c_target_config *config) in i2c_xec_target_unregister()
|
D | i2c_npcx_controller.c | 165 struct i2c_target_config *target_cfg; 1062 struct i2c_target_config *target_cfg, uint8_t port) in npcx_i2c_ctrl_target_register() 1103 struct i2c_target_config *target_cfg) in npcx_i2c_ctrl_target_unregister()
|
D | i2c_andes_atciic100.c | 653 struct i2c_target_config *cfg) in i2c_atciic100_target_register() 677 struct i2c_target_config *cfg) in i2c_atciic100_target_unregister()
|
D | i2c_ite_enhance.c | 139 struct i2c_target_config *target_cfg; 1271 struct i2c_target_config *target_cfg) in i2c_enhance_target_register() 1369 struct i2c_target_config *cfg) in i2c_enhance_target_unregister()
|
D | i2c_dw.c | 914 struct i2c_target_config *cfg) in i2c_dw_slave_register() 932 struct i2c_target_config *cfg) in i2c_dw_slave_unregister()
|
D | i2c_ll_stm32_v1.c | 475 int i2c_stm32_target_register(const struct device *dev, struct i2c_target_config *config) in i2c_stm32_target_register() 521 int i2c_stm32_target_unregister(const struct device *dev, struct i2c_target_config *config) in i2c_stm32_target_unregister()
|
/Zephyr-Core-3.5.0/drivers/i2c/target/ |
D | eeprom_target.c | 21 struct i2c_target_config config; 81 static int eeprom_target_write_requested(struct i2c_target_config *config) in eeprom_target_write_requested() 94 static int eeprom_target_read_requested(struct i2c_target_config *config, in eeprom_target_read_requested() 110 static int eeprom_target_write_received(struct i2c_target_config *config, in eeprom_target_write_received() 136 static int eeprom_target_read_processed(struct i2c_target_config *config, in eeprom_target_read_processed() 157 static int eeprom_target_stop(struct i2c_target_config *config) in eeprom_target_stop() 171 static void eeprom_target_buf_write_received(struct i2c_target_config *config, in eeprom_target_buf_write_received() 182 static int eeprom_target_buf_read_requested(struct i2c_target_config *config, in eeprom_target_buf_read_requested()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | i2c.h | 208 struct i2c_target_config; 219 struct i2c_target_config *cfg); 221 struct i2c_target_config *cfg); 288 struct i2c_target_config *config); 309 struct i2c_target_config *config, uint8_t val); 331 struct i2c_target_config *config, uint8_t *val); 353 struct i2c_target_config *config, uint8_t *val); 370 struct i2c_target_config *config, uint8_t *ptr, uint32_t len); 395 struct i2c_target_config *config, uint8_t **ptr, uint32_t *len); 412 typedef int (*i2c_target_stop_cb_t)(struct i2c_target_config *config); [all …]
|