Searched refs:attached_dev (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/drivers/i3c/ |
D | i3c_common.c | 98 (void)memset(&data->attached_dev.addr_slots, 0, sizeof(data->attached_dev.addr_slots)); in i3c_addr_slots_init() 99 sys_slist_init(&data->attached_dev.devices.i3c); in i3c_addr_slots_init() 100 sys_slist_init(&data->attached_dev.devices.i2c); in i3c_addr_slots_init() 105 i3c_addr_slots_set(&data->attached_dev.addr_slots, i, I3C_ADDR_SLOT_STATUS_RSVD); in i3c_addr_slots_init() 111 i3c_addr_slots_set(&data->attached_dev.addr_slots, I3C_BROADCAST_ADDR ^ BIT(i), in i3c_addr_slots_init() 117 i3c_addr_slots_set(&data->attached_dev.addr_slots, I3C_BROADCAST_ADDR, in i3c_addr_slots_init() 258 if (!i3c_addr_slots_is_free(&data->attached_dev.addr_slots, addr)) { in i3c_attach_i3c_device() 263 sys_slist_append(&data->attached_dev.devices.i3c, &target->node); in i3c_attach_i3c_device() 270 i3c_addr_slots_mark_i3c(&data->attached_dev.addr_slots, addr); in i3c_attach_i3c_device() 282 if (!i3c_addr_slots_is_free(&data->attached_dev.addr_slots, target->dynamic_addr)) { in i3c_reattach_i3c_device() [all …]
|
D | i3c_shell.c | 192 if (!sys_slist_is_empty(&data->attached_dev.devices.i3c)) { in cmd_i3c_info() 239 if (!sys_slist_is_empty(&data->attached_dev.devices.i3c)) { in cmd_i3c_info() 275 if (!sys_slist_is_empty(&data->attached_dev.devices.i2c)) { in cmd_i3c_info() 661 if (!i3c_addr_slots_is_free(&data->attached_dev.addr_slots, dynamic_addr)) { in cmd_i3c_ccc_setdasa() 704 if (!i3c_addr_slots_is_free(&data->attached_dev.addr_slots, dynamic_addr)) { in cmd_i3c_ccc_setnewda() 1880 slot = i3c_addr_slots_status(&data->attached_dev.addr_slots, i + j); in cmd_i3c_i2c_scan()
|
D | i3c_mcux.c | 1268 ret = i3c_dev_list_daa_addr_helper(&data->common.attached_dev.addr_slots, in mcux_i3c_do_daa() 1282 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, dyn_addr); in mcux_i3c_do_daa() 1291 i3c_addr_slots_mark_free(&data->common.attached_dev.addr_slots, in mcux_i3c_do_daa()
|
D | i3c_npcx.c | 1391 ret = i3c_dev_list_daa_addr_helper(&data->common.attached_dev.addr_slots, in npcx_i3c_do_daa() 1411 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, dyn_addr); in npcx_i3c_do_daa() 1421 i3c_addr_slots_mark_free(&data->common.attached_dev.addr_slots, in npcx_i3c_do_daa() 1442 i3c_addr_slots_mark_free(&data->common.attached_dev.addr_slots, in npcx_i3c_do_daa()
|
D | i3c_cdns.c | 1012 if (!i3c_addr_slots_is_free(&data->common.attached_dev.addr_slots, controller_da)) { in cdns_i3c_program_controller_retaining_reg() 1014 i3c_addr_slots_next_free_find(&data->common.attached_dev.addr_slots, 0); in cdns_i3c_program_controller_retaining_reg() 1019 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, controller_da); in cdns_i3c_program_controller_retaining_reg() 1522 &data->common.attached_dev.addr_slots, last_addr + 1); in cdns_i3c_do_daa() 1572 &data->common.attached_dev.addr_slots, dyn_addr); in cdns_i3c_do_daa()
|
D | i3c_stm32.c | 1602 ret = i3c_dev_list_daa_addr_helper(&data->drv_data.attached_dev.addr_slots, 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() 1630 i3c_addr_slots_mark_free(&data->drv_data.attached_dev.addr_slots, dyn_addr); in i3c_stm32_event_isr_tx()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | i3c.h | 1220 struct i3c_dev_attached_list attached_dev; member 1232 &((struct i3c_driver_data *)(bus->data))->attached_dev.devices.i3c, desc, node) 1243 &((struct i3c_driver_data *)(bus->data))->attached_dev.devices.i2c, desc, node)
|