Home
last modified time | relevance | path

Searched refs:dyn_addr (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/drivers/i3c/
Di3c_common.c439 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); 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()
Di3c_ccc.c121 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()
Di3c_mcux.c1220 uint8_t dyn_addr; in mcux_i3c_do_daa() local
1240 &target, &dyn_addr); in mcux_i3c_do_daa()
1246 target->dynamic_addr = dyn_addr; in mcux_i3c_do_daa()
1251 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, dyn_addr); in mcux_i3c_do_daa()
1259 if ((target->static_addr != 0U) && (dyn_addr != target->static_addr)) { in mcux_i3c_do_daa()
1261 dyn_addr); in mcux_i3c_do_daa()
1265 base->MWDATAB = dyn_addr; in mcux_i3c_do_daa()
1269 vendor_id, part_no, dyn_addr); in mcux_i3c_do_daa()
Di3c_cdns.c1136 uint8_t dyn_addr = (dev_id_rr0 & 0xFE) >> 1; in cdns_i3c_do_daa() local
1146 dev->name, pid, dyn_addr); in cdns_i3c_do_daa()
1148 &data->common.attached_dev.addr_slots, dyn_addr); in cdns_i3c_do_daa()
1150 target->dynamic_addr = dyn_addr; in cdns_i3c_do_daa()
1155 dev->name, pid, dyn_addr); in cdns_i3c_do_daa()
1441 static int cdns_i3c_master_get_rr_slot(const struct device *dev, uint8_t dyn_addr) in cdns_i3c_master_get_rr_slot() argument
1446 if (dyn_addr == 0) { in cdns_i3c_master_get_rr_slot()
1463 if (!(rr & DEV_ID_RR0_IS_I3C) || DEV_ID_RR0_GET_DEV_ADDR(rr) != dyn_addr) { in cdns_i3c_master_get_rr_slot()
1796 uint8_t dyn_addr = DEV_ID_RR0_GET_DEV_ADDR(dev_id_rr0); in cdns_i3c_handle_ibi() local
1798 i3c_dev_list_i3c_addr_find(&data->common.attached_dev, dyn_addr); in cdns_i3c_handle_ibi()