Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/device_next/
Dusbd_desc.c34 struct usbd_desc_node *tmp_nd; in desc_add_and_update_idx() local
36 SYS_DLIST_FOR_EACH_CONTAINER(&uds_ctx->descriptors, tmp_nd, node) { in desc_add_and_update_idx()
39 if (!desc_type_equal(tmp_nd, new_nd)) { in desc_add_and_update_idx()
44 tmp_nd, in desc_add_and_update_idx()
49 new_nd->str.idx = tmp_nd->str.idx + 1; in desc_add_and_update_idx()
51 LOG_DBG("Add %u behind %u", new_nd->str.idx, tmp_nd->str.idx); in desc_add_and_update_idx()
58 new_nd->str.idx = tmp_nd->str.idx + 1; in desc_add_and_update_idx()
65 if (tmp_nd->str.idx != (next_nd->str.idx - 1)) { in desc_add_and_update_idx()
67 new_nd->str.idx = tmp_nd->str.idx + 1; in desc_add_and_update_idx()
70 tmp_nd->str.idx, next_nd->str.idx, new_nd->str.idx); in desc_add_and_update_idx()