Home
last modified time | relevance | path

Searched refs:addr_slots (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/i3c/
Daddresses.h129 static inline void i3c_addr_slots_mark_free(struct i3c_addr_slots *addr_slots, in i3c_addr_slots_mark_free() argument
132 i3c_addr_slots_set(addr_slots, addr, in i3c_addr_slots_mark_free()
142 static inline void i3c_addr_slots_mark_rsvd(struct i3c_addr_slots *addr_slots, in i3c_addr_slots_mark_rsvd() argument
145 i3c_addr_slots_set(addr_slots, addr, in i3c_addr_slots_mark_rsvd()
155 static inline void i3c_addr_slots_mark_i3c(struct i3c_addr_slots *addr_slots, in i3c_addr_slots_mark_i3c() argument
158 i3c_addr_slots_set(addr_slots, addr, in i3c_addr_slots_mark_i3c()
168 static inline void i3c_addr_slots_mark_i2c(struct i3c_addr_slots *addr_slots, in i3c_addr_slots_mark_i2c() argument
171 i3c_addr_slots_set(addr_slots, addr, in i3c_addr_slots_mark_i2c()
/Zephyr-latest/drivers/i3c/
Di3c_common.c98 (void)memset(&data->attached_dev.addr_slots, 0, sizeof(data->attached_dev.addr_slots)); 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()
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()
292 i3c_addr_slots_mark_free(&data->attached_dev.addr_slots, old_dyn_addr); in i3c_reattach_i3c_device()
295 i3c_addr_slots_mark_i3c(&data->attached_dev.addr_slots, target->dynamic_addr); in i3c_reattach_i3c_device()
318 i3c_addr_slots_mark_free(&data->attached_dev.addr_slots, in i3c_detach_i3c_device()
[all …]
Di3c_mcux.c1268 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()
Di3c_npcx.c1391 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()
Di3c_cdns.c1012 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()
Di3c_stm32.c1602 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()
Di3c_shell.c661 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()
/Zephyr-latest/include/zephyr/drivers/
Di3c.h1156 struct i3c_addr_slots addr_slots; member
1341 int i3c_dev_list_daa_addr_helper(struct i3c_addr_slots *addr_slots,