Home
last modified time | relevance | path

Searched refs:attached_dev (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.6.0/drivers/i3c/
Di3c_common.c95 (void)memset(&data->attached_dev.addr_slots, 0, sizeof(data->attached_dev.addr_slots)); in i3c_addr_slots_init()
96 sys_slist_init(&data->attached_dev.devices.i3c); in i3c_addr_slots_init()
97 sys_slist_init(&data->attached_dev.devices.i2c); in i3c_addr_slots_init()
101 i3c_addr_slots_set(&data->attached_dev.addr_slots, i, I3C_ADDR_SLOT_STATUS_RSVD); in i3c_addr_slots_init()
107 i3c_addr_slots_set(&data->attached_dev.addr_slots, I3C_BROADCAST_ADDR ^ BIT(i), in i3c_addr_slots_init()
113 i3c_addr_slots_set(&data->attached_dev.addr_slots, I3C_BROADCAST_ADDR, in i3c_addr_slots_init()
248 if (i3c_addr_slots_is_free(&data->attached_dev.addr_slots, in i3c_determine_default_addr()
255 &data->attached_dev.addr_slots, 0); in i3c_determine_default_addr()
262 if (i3c_addr_slots_is_free(&data->attached_dev.addr_slots, in i3c_determine_default_addr()
273 if (i3c_addr_slots_is_free(&data->attached_dev.addr_slots, in i3c_determine_default_addr()
[all …]
Di3c_ccc.c140 if (!i3c_addr_slots_is_free(&bus_data->attached_dev.addr_slots, dyn_addr >> 1)) { in i3c_ccc_do_setdasa()
180 if (!i3c_addr_slots_is_free(&bus_data->attached_dev.addr_slots, new_da.addr)) { in i3c_ccc_do_setnewda()
Di3c_mcux.c1245 ret = i3c_dev_list_daa_addr_helper(&data->common.attached_dev.addr_slots, in mcux_i3c_do_daa()
1259 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, dyn_addr); in mcux_i3c_do_daa()
1268 i3c_addr_slots_mark_free(&data->common.attached_dev.addr_slots, in mcux_i3c_do_daa()
1446 struct i3c_dev_attached_list *dev_list = &data->common.attached_dev; in mcux_i3c_ibi_work()
Di3c_cdns.c726 if (!i3c_addr_slots_is_free(&data->common.attached_dev.addr_slots, controller_da)) { in cdns_i3c_program_controller_retaining_reg()
728 i3c_addr_slots_next_free_find(&data->common.attached_dev.addr_slots, 0); in cdns_i3c_program_controller_retaining_reg()
733 i3c_addr_slots_mark_i3c(&data->common.attached_dev.addr_slots, controller_da); in cdns_i3c_program_controller_retaining_reg()
1169 &data->common.attached_dev.addr_slots, dyn_addr); in cdns_i3c_do_daa()
1833 i3c_dev_list_i3c_addr_find(&data->common.attached_dev, dyn_addr); in cdns_i3c_handle_ibi()
2293 return i3c_dev_list_i2c_addr_find(&data->common.attached_dev, addr); in cdns_i3c_i2c_device_find()
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Di3c.h1189 struct i3c_dev_attached_list attached_dev; member