Searched refs:dev_list (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.6.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 | 814 return i3c_dev_list_find(&config->common.dev_list, id); in mcux_i3c_device_find() 1246 &config->common.dev_list, pid, in mcux_i3c_do_daa() 1321 if (config->common.dev_list.num_i3c == 0) { in mcux_i3c_do_ccc() 1446 struct i3c_dev_attached_list *dev_list = &data->common.attached_dev; in mcux_i3c_ibi_work() local 1505 target = i3c_dev_list_i3c_addr_find(dev_list, (uint8_t)ibiaddr); in mcux_i3c_ibi_work() 1975 ret = i3c_bus_init(dev, &config->common.dev_list); in mcux_i3c_init() 2101 .common.dev_list.i3c = mcux_i3c_device_array_##id, \ 2102 .common.dev_list.num_i3c = ARRAY_SIZE(mcux_i3c_device_array_##id), \ 2103 .common.dev_list.i2c = mcux_i3c_i2c_device_array_##id, \ 2104 .common.dev_list.num_i2c = ARRAY_SIZE(mcux_i3c_i2c_device_array_##id), \
|
D | i3c_cdns.c | 2273 return i3c_dev_list_find(&config->common.dev_list, id); in cdns_i3c_device_find() 2333 static enum i3c_bus_mode i3c_bus_mode(const struct i3c_dev_list *dev_list) in i3c_bus_mode() argument 2337 for (int i = 0; i < dev_list->num_i2c; i++) { in i3c_bus_mode() 2338 switch (I3C_LVR_I2C_DEV_IDX(dev_list->i2c[i].lvr)) { in i3c_bus_mode() 2421 enum i3c_bus_mode mode = i3c_bus_mode(&config->common.dev_list); in cdns_i3c_bus_init() 2505 ret = i3c_bus_init(dev, &config->common.dev_list); in cdns_i3c_bus_init() 2555 .common.dev_list.i3c = cdns_i3c_device_array_##n, \ 2556 .common.dev_list.num_i3c = ARRAY_SIZE(cdns_i3c_device_array_##n), \ 2557 .common.dev_list.i2c = cdns_i3c_i2c_device_array_##n, \ 2558 .common.dev_list.num_i2c = ARRAY_SIZE(cdns_i3c_i2c_device_array_##n), \
|
/Zephyr-Core-3.6.0/include/zephyr/drivers/ |
D | i3c.h | 1177 struct i3c_dev_list dev_list; member 1204 struct i3c_device_desc *i3c_dev_list_find(const struct i3c_dev_list *dev_list, 1219 struct i3c_device_desc *i3c_dev_list_i3c_addr_find(struct i3c_dev_attached_list *dev_list, 1234 struct i3c_i2c_device_desc *i3c_dev_list_i2c_addr_find(struct i3c_dev_attached_list *dev_list, 1304 const struct i3c_dev_list *dev_list,
|