Searched refs:next_nd (Results 1 – 1 of 1) sorted by relevance
37 struct usbd_desc_node *next_nd; in desc_add_and_update_idx() local43 next_nd = SYS_DLIST_PEEK_NEXT_CONTAINER(&uds_ctx->descriptors, in desc_add_and_update_idx()47 if (next_nd == NULL) { in desc_add_and_update_idx()56 if (!desc_type_equal(next_nd, new_nd)) { in desc_add_and_update_idx()59 sys_dlist_insert(&next_nd->node, &new_nd->node); in desc_add_and_update_idx()60 LOG_DBG("Add %u before %u", new_nd->str.idx, next_nd->str.idx); in desc_add_and_update_idx()65 if (tmp_nd->str.idx != (next_nd->str.idx - 1)) { in desc_add_and_update_idx()68 sys_dlist_insert(&next_nd->node, &new_nd->node); 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()