Searched refs:ctrl_config (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.6.0/drivers/i3c/ |
D | i3c_cdns.c | 642 struct i3c_config_controller *ctrl_config = &data->common.ctrl_config; in cdns_i3c_set_prescalers() local 646 (ctrl_config->scl.i3c * I3C_PRESCL_REG_SCALE)) - in cdns_i3c_set_prescalers() 649 (ctrl_config->scl.i2c * I2C_PRESCL_REG_SCALE)) - in cdns_i3c_set_prescalers() 653 ctrl_config->scl.i3c = config->input_frequency / ((prescl_i3c + 1) * I3C_PRESCL_REG_SCALE); in cdns_i3c_set_prescalers() 654 ctrl_config->scl.i2c = config->input_frequency / ((prescl_i2c + 1) * I2C_PRESCL_REG_SCALE); in cdns_i3c_set_prescalers() 656 LOG_DBG("%s: I3C speed = %u, PRESCL_CTRL0.i3c = 0x%x", dev->name, ctrl_config->scl.i3c, in cdns_i3c_set_prescalers() 658 LOG_DBG("%s: I2C speed = %u, PRESCL_CTRL0.i2c = 0x%x", dev->name, ctrl_config->scl.i2c, in cdns_i3c_set_prescalers() 662 uint32_t pres_step = 1000000000 / (ctrl_config->scl.i3c * 4); in cdns_i3c_set_prescalers() 819 struct i3c_config_controller *ctrl_config = &data->common.ctrl_config; in cdns_i3c_target_ibi_raise_hj() local 822 if (!ctrl_config->is_secondary) { in cdns_i3c_target_ibi_raise_hj() [all …]
|
D | i3c_mcux.c | 1856 (void)memcpy(&dev_data->common.ctrl_config, ctrl_cfg, sizeof(*ctrl_cfg)); in mcux_i3c_configure() 1906 (void)memcpy(config, &data->common.ctrl_config, sizeof(data->common.ctrl_config)); in mcux_i3c_config_get() 1922 struct i3c_config_controller *ctrl_config = &data->common.ctrl_config; in mcux_i3c_init() local 1943 ctrl_config->is_secondary = false; in mcux_i3c_init() 1946 ctrl_config->supported_hdr = 0U; in mcux_i3c_init() 1948 ret = mcux_i3c_configure(dev, I3C_CONFIG_CONTROLLER, ctrl_config); in mcux_i3c_init() 2111 .common.ctrl_config.scl.i3c = DT_INST_PROP_OR(id, i3c_scl_hz, 0), \ 2112 .common.ctrl_config.scl.i2c = DT_INST_PROP_OR(id, i2c_scl_hz, 0), \
|
/Zephyr-Core-3.6.0/include/zephyr/drivers/ |
D | i3c.h | 1186 struct i3c_config_controller ctrl_config; member
|