Searched refs:ll_new_p (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/misc/ |
D | lv_ll.c | 217 void _lv_ll_chg_list(lv_ll_t * ll_ori_p, lv_ll_t * ll_new_p, void * node, bool head) in _lv_ll_chg_list() argument 223 node_set_prev(ll_new_p, node, NULL); in _lv_ll_chg_list() 224 node_set_next(ll_new_p, node, ll_new_p->head); in _lv_ll_chg_list() 226 if(ll_new_p->head != NULL) { /*If there is old head then before it goes the new*/ in _lv_ll_chg_list() 227 node_set_prev(ll_new_p, ll_new_p->head, node); in _lv_ll_chg_list() 230 ll_new_p->head = node; /*Set the new head in the dsc.*/ in _lv_ll_chg_list() 231 if(ll_new_p->tail == NULL) { /*If there is no tail (first node) set the tail too*/ in _lv_ll_chg_list() 232 ll_new_p->tail = node; in _lv_ll_chg_list() 237 node_set_prev(ll_new_p, node, ll_new_p->tail); in _lv_ll_chg_list() 238 node_set_next(ll_new_p, node, NULL); in _lv_ll_chg_list() [all …]
|
D | lv_ll.h | 93 void _lv_ll_chg_list(lv_ll_t * ll_ori_p, lv_ll_t * ll_new_p, void * node, bool head);
|