Searched refs:config_target (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/i3c/ |
D | i3c_npcx.c | 227 struct i3c_config_target config_target; member 2141 struct i3c_config_target *config_tgt = &data->config_target; in npcx_i3c_target_rx_read() 2477 struct i3c_config_target *config_target = &data->config_target; in npcx_i3c_apply_target_config() local 2504 pid = config_target->pid; in npcx_i3c_apply_target_config() 2510 if (config_target->pid_random) { in npcx_i3c_apply_target_config() 2524 SET_FIELD(inst->IDEXT, NPCX_I3C_IDEXT_DCR, config_target->dcr); in npcx_i3c_apply_target_config() 2525 SET_FIELD(inst->IDEXT, NPCX_I3C_IDEXT_BCR, config_target->bcr); in npcx_i3c_apply_target_config() 2526 SET_FIELD(inst->CONFIG, NPCX_I3C_CONFIG_SADDR, config_target->static_addr); in npcx_i3c_apply_target_config() 2528 SET_FIELD(inst->MAXLIMITS, NPCX_I3C_MAXLIMITS_MAXRD, (config_target->max_read_len) & 0xfff); in npcx_i3c_apply_target_config() 2530 (config_target->max_write_len) & 0xfff); in npcx_i3c_apply_target_config() [all …]
|
D | i3c_common.c | 646 struct i3c_config_target config_target; in i3c_bus_deftgts() local 661 ret = i3c_config_get(dev, I3C_CONFIG_TARGET, &config_target); in i3c_bus_deftgts() 681 deftgts->active_controller.addr = config_target.dynamic_addr << 1; in i3c_bus_deftgts() 682 deftgts->active_controller.dcr = config_target.dcr; in i3c_bus_deftgts() 683 deftgts->active_controller.bcr = config_target.bcr; in i3c_bus_deftgts()
|