Searched refs:dev_list (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/drivers/i3c/ |
D | i3c_common.c | 119 for (i = 0; i < config->dev_list.num_i2c; i++) { in i3c_addr_slots_init() 120 i2c_dev = &config->dev_list.i2c[i]; in i3c_addr_slots_init() 134 for (i = 0; i < config->dev_list.num_i3c; i++) { in i3c_addr_slots_init() 135 i3c_dev = &config->dev_list.i3c[i]; in i3c_addr_slots_init() 176 struct i3c_device_desc *i3c_dev_list_find(const struct i3c_dev_list *dev_list, in i3c_dev_list_find() argument 182 __ASSERT_NO_MSG(dev_list != NULL); in i3c_dev_list_find() 185 for (i = 0; i < dev_list->num_i3c; i++) { in i3c_dev_list_find() 186 struct i3c_device_desc *desc = &dev_list->i3c[i]; in i3c_dev_list_find() 197 struct i3c_device_desc *i3c_dev_list_i3c_addr_find(struct i3c_dev_attached_list *dev_list, in i3c_dev_list_i3c_addr_find() argument 203 __ASSERT_NO_MSG(dev_list != NULL); in i3c_dev_list_i3c_addr_find() [all …]
|
D | i3c_mcux.c | 819 return i3c_dev_list_find(&config->common.dev_list, id); in mcux_i3c_device_find() 1238 &config->common.dev_list, pid, in mcux_i3c_do_daa() 1313 if (config->common.dev_list.num_i3c == 0) { in mcux_i3c_do_ccc() 1432 struct i3c_dev_attached_list *dev_list = &data->common.attached_dev; in mcux_i3c_ibi_work() local 1491 target = i3c_dev_list_i3c_addr_find(dev_list, (uint8_t)ibiaddr); in mcux_i3c_ibi_work() 1967 ret = i3c_bus_init(dev, &config->common.dev_list); in mcux_i3c_init() 2093 .common.dev_list.i3c = mcux_i3c_device_array_##id, \ 2094 .common.dev_list.num_i3c = ARRAY_SIZE(mcux_i3c_device_array_##id), \ 2095 .common.dev_list.i2c = mcux_i3c_i2c_device_array_##id, \ 2096 .common.dev_list.num_i2c = ARRAY_SIZE(mcux_i3c_i2c_device_array_##id), \
|
D | i3c_cdns.c | 2238 return i3c_dev_list_find(&config->common.dev_list, id); in cdns_i3c_device_find() 2298 static enum i3c_bus_mode i3c_bus_mode(const struct i3c_dev_list *dev_list) in i3c_bus_mode() argument 2302 for (int i = 0; i < dev_list->num_i2c; i++) { in i3c_bus_mode() 2303 switch (I3C_DCR_I2C_DEV_IDX(dev_list->i2c[i].lvr)) { in i3c_bus_mode() 2386 enum i3c_bus_mode mode = i3c_bus_mode(&config->common.dev_list); in cdns_i3c_bus_init() 2470 ret = i3c_bus_init(dev, &config->common.dev_list); in cdns_i3c_bus_init() 2520 .common.dev_list.i3c = cdns_i3c_device_array_##n, \ 2521 .common.dev_list.num_i3c = ARRAY_SIZE(cdns_i3c_device_array_##n), \ 2522 .common.dev_list.i2c = cdns_i3c_i2c_device_array_##n, \ 2523 .common.dev_list.num_i2c = ARRAY_SIZE(cdns_i3c_i2c_device_array_##n), \
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | i3c.h | 1160 struct i3c_dev_list dev_list; member 1187 struct i3c_device_desc *i3c_dev_list_find(const struct i3c_dev_list *dev_list, 1202 struct i3c_device_desc *i3c_dev_list_i3c_addr_find(struct i3c_dev_attached_list *dev_list, 1217 struct i3c_i2c_device_desc *i3c_dev_list_i2c_addr_find(struct i3c_dev_attached_list *dev_list, 1287 const struct i3c_dev_list *dev_list,
|