Lines Matching refs:dev_list
172 static enum i3c_bus_mode i3c_bus_mode(const struct i3c_dev_list *dev_list) in i3c_bus_mode() argument
176 for (int i = 0; i < dev_list->num_i2c; i++) { in i3c_bus_mode()
177 switch (I3C_LVR_I2C_DEV_IDX(dev_list->i2c[i].lvr)) { in i3c_bus_mode()
201 static int get_i3c_lvr_ic_mode(const struct i3c_dev_list *dev_list) in get_i3c_lvr_ic_mode() argument
203 for (int i = 0; i < dev_list->num_i2c; i++) { in get_i3c_lvr_ic_mode()
204 if (I3C_LVR_I2C_DEV_IDX(dev_list->i2c[i].lvr) == I3C_LVR_I2C_DEV_IDX_0) { in get_i3c_lvr_ic_mode()
205 if (I3C_LVR_I2C_MODE(dev_list->i2c[i].lvr) == I3C_LVR_I2C_FM_MODE) { in get_i3c_lvr_ic_mode()
485 if (config->drv_cfg.dev_list.num_i2c > 0) { in i3c_stm32_calc_scll_od_sclh_i2c()
486 enum i3c_bus_mode mode = i3c_bus_mode(&config->drv_cfg.dev_list); in i3c_stm32_calc_scll_od_sclh_i2c()
489 if (get_i3c_lvr_ic_mode(&config->drv_cfg.dev_list) == in i3c_stm32_calc_scll_od_sclh_i2c()
661 if (config->drv_cfg.dev_list.num_i2c > 0) { in i3c_stm32_config_ctrl_bus_char()
662 enum i3c_bus_mode mode = i3c_bus_mode(&config->drv_cfg.dev_list); in i3c_stm32_config_ctrl_bus_char()
665 if (get_i3c_lvr_ic_mode(&config->drv_cfg.dev_list) == in i3c_stm32_config_ctrl_bus_char()
774 return i3c_dev_list_find(&config->drv_cfg.dev_list, id); in i3c_stm32_device_find()
1555 if (config->drv_cfg.dev_list.num_i3c > 0) { in i3c_stm32_init()
1556 ret = i3c_bus_init(dev, &config->drv_cfg.dev_list); in i3c_stm32_init()
1603 &config->drv_cfg.dev_list, data->pid, false, in i3c_stm32_event_isr_tx()
2155 .drv_cfg.dev_list.i3c = i3c_stm32_dev_arr_##index, \
2156 .drv_cfg.dev_list.num_i3c = ARRAY_SIZE(i3c_stm32_dev_arr_##index), \
2157 .drv_cfg.dev_list.i2c = i3c_i2c_stm32_dev_arr_##index, \
2158 .drv_cfg.dev_list.num_i2c = ARRAY_SIZE(i3c_i2c_stm32_dev_arr_##index), \