Searched refs:new_nd (Results 1 – 1 of 1) sorted by relevance
32 struct usbd_desc_node *const new_nd) in desc_add_and_update_idx() argument39 if (!desc_type_equal(tmp_nd, new_nd)) { in desc_add_and_update_idx()49 new_nd->str.idx = tmp_nd->str.idx + 1; in desc_add_and_update_idx()50 sys_dlist_append(&uds_ctx->descriptors, &new_nd->node); 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()56 if (!desc_type_equal(next_nd, new_nd)) { in desc_add_and_update_idx()58 new_nd->str.idx = tmp_nd->str.idx + 1; 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()67 new_nd->str.idx = tmp_nd->str.idx + 1; in desc_add_and_update_idx()[all …]