Searched refs:dyn_addr (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/i3c/ |
D | i3c_common.c | 386 uint8_t dyn_addr = 0; in i3c_dev_list_daa_addr_helper() local 407 dyn_addr = desc->dynamic_addr; in i3c_dev_list_daa_addr_helper() 429 dyn_addr = desc->init_dynamic_addr; in i3c_dev_list_daa_addr_helper() 437 dyn_addr = i3c_addr_slots_next_free_find(addr_slots, 0); in i3c_dev_list_daa_addr_helper() 439 if (dyn_addr == 0U) { in i3c_dev_list_daa_addr_helper() 446 *addr = dyn_addr; in i3c_dev_list_daa_addr_helper() 563 struct i3c_ccc_address dyn_addr; in i3c_bus_setdasa() local 606 dyn_addr.addr = (desc->init_dynamic_addr ? in i3c_bus_setdasa() 609 ret = i3c_ccc_do_setdasa(desc, dyn_addr); in i3c_bus_setdasa() 611 desc->dynamic_addr = dyn_addr.addr >> 1; in i3c_bus_setdasa()
|
D | i3c_mcux.c | 1251 uint8_t dyn_addr; in mcux_i3c_do_daa() local 1271 &target, &dyn_addr); in mcux_i3c_do_daa() 1277 target->dynamic_addr = dyn_addr; in mcux_i3c_do_daa() 1282 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, dyn_addr); in mcux_i3c_do_daa() 1290 if ((target->static_addr != 0U) && (dyn_addr != target->static_addr)) { in mcux_i3c_do_daa() 1292 dyn_addr); in mcux_i3c_do_daa() 1296 base->MWDATAB = dyn_addr; in mcux_i3c_do_daa() 1300 vendor_id, part_no, dyn_addr); in mcux_i3c_do_daa()
|
D | i3c_npcx.c | 1376 uint8_t dyn_addr = 0; in npcx_i3c_do_daa() local 1393 false, &target, &dyn_addr); in npcx_i3c_do_daa() 1402 dev->name, vendor_id, part_no, dyn_addr); in npcx_i3c_do_daa() 1405 target->dynamic_addr = dyn_addr; in npcx_i3c_do_daa() 1411 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, dyn_addr); in npcx_i3c_do_daa() 1420 (dyn_addr != target->static_addr)) { in npcx_i3c_do_daa() 1422 dyn_addr); in npcx_i3c_do_daa() 1426 inst->MWDATAB = dyn_addr; in npcx_i3c_do_daa() 1434 part_no, dyn_addr); in npcx_i3c_do_daa() 1439 LOG_DBG("TGT NACK assigned DA %#x", dyn_addr); in npcx_i3c_do_daa() [all …]
|
D | i3c_stm32.c | 1594 uint8_t dyn_addr = 0; in i3c_stm32_event_isr_tx() local 1604 false, &target, &dyn_addr); in i3c_stm32_event_isr_tx() 1615 LL_I3C_TransmitData8(i3c, dyn_addr); in i3c_stm32_event_isr_tx() 1619 target->dynamic_addr = dyn_addr; in i3c_stm32_event_isr_tx() 1625 i3c_addr_slots_mark_i3c(&data->drv_data.attached_dev.addr_slots, dyn_addr); in i3c_stm32_event_isr_tx() 1629 (dyn_addr != target->static_addr)) { in i3c_stm32_event_isr_tx() 1630 i3c_addr_slots_mark_free(&data->drv_data.attached_dev.addr_slots, dyn_addr); in i3c_stm32_event_isr_tx()
|
D | i3c_cdns.c | 1560 uint8_t dyn_addr = (dev_id_rr0 & 0xFE) >> 1; in cdns_i3c_do_daa() local 1570 dev->name, pid, dyn_addr); in cdns_i3c_do_daa() 1572 &data->common.attached_dev.addr_slots, dyn_addr); in cdns_i3c_do_daa() 1574 target->dynamic_addr = dyn_addr; in cdns_i3c_do_daa() 1579 dev->name, pid, dyn_addr); in cdns_i3c_do_daa() 1932 static int cdns_i3c_master_get_rr_slot(const struct device *dev, uint8_t dyn_addr) in cdns_i3c_master_get_rr_slot() argument 1940 if (dyn_addr == 0) { in cdns_i3c_master_get_rr_slot() 1958 if ((rr & DEV_ID_RR0_IS_I3C) && DEV_ID_RR0_GET_DEV_ADDR(rr) == dyn_addr) { in cdns_i3c_master_get_rr_slot() 2358 uint8_t dyn_addr = DEV_ID_RR0_GET_DEV_ADDR(dev_id_rr0); in cdns_i3c_handle_ibi() local 2359 struct i3c_device_desc *desc = i3c_dev_list_i3c_addr_find(dev, dyn_addr); in cdns_i3c_handle_ibi()
|