Searched refs:ctrl_config (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/drivers/i3c/ |
D | i3c_cdns.c | 620 struct i3c_config_controller *ctrl_config = &data->common.ctrl_config; in cdns_i3c_set_prescalers() local 624 (ctrl_config->scl.i3c * I3C_PRESCL_REG_SCALE)) - in cdns_i3c_set_prescalers() 627 (ctrl_config->scl.i2c * I2C_PRESCL_REG_SCALE)) - in cdns_i3c_set_prescalers() 631 ctrl_config->scl.i3c = config->input_frequency / ((prescl_i3c + 1) * I3C_PRESCL_REG_SCALE); in cdns_i3c_set_prescalers() 632 ctrl_config->scl.i2c = config->input_frequency / ((prescl_i2c + 1) * I2C_PRESCL_REG_SCALE); in cdns_i3c_set_prescalers() 634 LOG_DBG("%s: I3C speed = %u, PRESCL_CTRL0.i3c = 0x%x", dev->name, ctrl_config->scl.i3c, in cdns_i3c_set_prescalers() 636 LOG_DBG("%s: I2C speed = %u, PRESCL_CTRL0.i2c = 0x%x", dev->name, ctrl_config->scl.i2c, in cdns_i3c_set_prescalers() 640 uint32_t pres_step = 1000000000 / (ctrl_config->scl.i3c * 4); in cdns_i3c_set_prescalers() 797 struct i3c_config_controller *ctrl_config = &data->common.ctrl_config; in cdns_i3c_target_ibi_raise_hj() local 800 if (!ctrl_config->is_secondary) { in cdns_i3c_target_ibi_raise_hj() [all …]
|
D | i3c_mcux.c | 1879 (void)memcpy(config, &data->common.ctrl_config, sizeof(data->common.ctrl_config)); in mcux_i3c_config_get() 1895 struct i3c_config_controller *ctrl_config = &data->common.ctrl_config; in mcux_i3c_init() local 1922 if (ctrl_config->scl.i2c == 0U) { in mcux_i3c_init() 1923 ctrl_config->scl.i2c = data->ctrl_config_hal.baudRate_Hz.i2cBaud; in mcux_i3c_init() 1926 if (ctrl_config->scl.i3c == 0U) { in mcux_i3c_init() 1927 ctrl_config->scl.i3c = data->ctrl_config_hal.baudRate_Hz.i3cPushPullBaud; in mcux_i3c_init() 1935 data->common.ctrl_config.is_secondary = false; in mcux_i3c_init() 1938 data->common.ctrl_config.supported_hdr = 0U; in mcux_i3c_init() 1940 ret = mcux_i3c_configure(dev, I3C_CONFIG_CONTROLLER, ctrl_config); in mcux_i3c_init() 2101 .common.ctrl_config.scl.i3c = DT_INST_PROP_OR(id, i3c_scl_hz, 0), \ [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | i3c.h | 1169 struct i3c_config_controller ctrl_config; member
|