Searched refs:dyn_addr (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.6.0/drivers/i3c/ |
D | i3c_common.c | 439 uint8_t dyn_addr = 0; in i3c_dev_list_daa_addr_helper() local 460 dyn_addr = desc->dynamic_addr; in i3c_dev_list_daa_addr_helper() 483 dyn_addr = desc->init_dynamic_addr; in i3c_dev_list_daa_addr_helper() 491 dyn_addr = i3c_addr_slots_next_free_find(addr_slots, 0); in i3c_dev_list_daa_addr_helper() 493 if (dyn_addr == 0U) { in i3c_dev_list_daa_addr_helper() 500 *addr = dyn_addr; in i3c_dev_list_daa_addr_helper()
|
D | i3c_ccc.c | 121 uint8_t dyn_addr; in i3c_ccc_do_setdasa() local 134 dyn_addr = (target->init_dynamic_addr ? in i3c_ccc_do_setdasa() 140 if (!i3c_addr_slots_is_free(&bus_data->attached_dev.addr_slots, dyn_addr >> 1)) { in i3c_ccc_do_setdasa() 147 ccc_tgt_payload.data = &dyn_addr; in i3c_ccc_do_setdasa()
|
D | i3c_mcux.c | 1228 uint8_t dyn_addr; in mcux_i3c_do_daa() local 1248 &target, &dyn_addr); in mcux_i3c_do_daa() 1254 target->dynamic_addr = dyn_addr; in mcux_i3c_do_daa() 1259 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, dyn_addr); in mcux_i3c_do_daa() 1267 if ((target->static_addr != 0U) && (dyn_addr != target->static_addr)) { in mcux_i3c_do_daa() 1269 dyn_addr); in mcux_i3c_do_daa() 1273 base->MWDATAB = dyn_addr; in mcux_i3c_do_daa() 1277 vendor_id, part_no, dyn_addr); in mcux_i3c_do_daa()
|
D | i3c_cdns.c | 1157 uint8_t dyn_addr = (dev_id_rr0 & 0xFE) >> 1; in cdns_i3c_do_daa() local 1167 dev->name, pid, dyn_addr); in cdns_i3c_do_daa() 1169 &data->common.attached_dev.addr_slots, dyn_addr); in cdns_i3c_do_daa() 1171 target->dynamic_addr = dyn_addr; in cdns_i3c_do_daa() 1176 dev->name, pid, dyn_addr); in cdns_i3c_do_daa() 1483 static int cdns_i3c_master_get_rr_slot(const struct device *dev, uint8_t dyn_addr) in cdns_i3c_master_get_rr_slot() argument 1488 if (dyn_addr == 0) { in cdns_i3c_master_get_rr_slot() 1505 if (!(rr & DEV_ID_RR0_IS_I3C) || DEV_ID_RR0_GET_DEV_ADDR(rr) != dyn_addr) { in cdns_i3c_master_get_rr_slot() 1831 uint8_t dyn_addr = DEV_ID_RR0_GET_DEV_ADDR(dev_id_rr0); in cdns_i3c_handle_ibi() local 1833 i3c_dev_list_i3c_addr_find(&data->common.attached_dev, dyn_addr); in cdns_i3c_handle_ibi()
|