/device/soc/esp/esp32/components/bt/common/osi/ |
D | list.c | 24 list_t *list = (list_t *) osi_calloc(sizeof(list_t)); in list_new_internal() local 25 if (!list) { in list_new_internal() 29 list->head = list->tail = NULL; in list_new_internal() 30 list->length = 0; in list_new_internal() 31 list->free_cb = callback; in list_new_internal() 32 return list; in list_new_internal() 40 void list_free(list_t *list) in list_free() argument 42 if (!list) { in list_free() 46 list_clear(list); in list_free() 47 osi_free(list); in list_free() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/ |
D | clk.c | 467 void rockchip_clk_register_plls(struct rockchip_clk_provider *ctx, struct rockchip_pll_clock *list,… in rockchip_clk_register_plls() argument 473 for (idx = 0; idx < nr_pll; idx++, list++) { in rockchip_clk_register_plls() 474 …clk = rockchip_clk_register_pll(ctx, list->type, list->name, list->parent_names, list->num_parents, in rockchip_clk_register_plls() 475 … list->con_offset, grf_lock_offset, list->lock_shift, list->mode_offset, in rockchip_clk_register_plls() 476 … list->mode_shift, list->rate_table, list->flags, list->pll_flags); in rockchip_clk_register_plls() 478 pr_err("%s: failed to register clock %s\n", __func__, list->name); in rockchip_clk_register_plls() 482 rockchip_clk_add_lookup(ctx, clk, list->id); in rockchip_clk_register_plls() 487 …rockchip_clk_register_branches(struct rockchip_clk_provider *ctx, struct rockchip_clk_branch *list, in rockchip_clk_register_branches() argument 494 for (idx = 0; idx < nr_clk; idx++, list++) { in rockchip_clk_register_branches() 495 flags = list->flags; in rockchip_clk_register_branches() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
D | hi_list.h | 38 static inline hi_void hi_list_init(hi_list *list) in hi_list_init() argument 40 list->next = list; in hi_list_init() 41 list->prev = list; in hi_list_init() 48 static inline hi_void hi_list_head_insert(hi_list *node, hi_list *list) in hi_list_head_insert() argument 50 node->next = list->next; in hi_list_head_insert() 51 node->prev = list; in hi_list_head_insert() 52 list->next->prev = node; in hi_list_head_insert() 53 list->next = node; in hi_list_head_insert() 60 …_((always_inline)) static inline hi_void hi_list_head_insert_optimize(hi_list *node, hi_list *list) in hi_list_head_insert_optimize() argument 62 node->next = list->next; in hi_list_head_insert_optimize() [all …]
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/include/mesh/ |
D | slist.h | 191 static inline void sys_slist_init(sys_slist_t *list) in sys_slist_init() argument 193 list->head = NULL; in sys_slist_init() 194 list->tail = NULL; in sys_slist_init() 206 static inline bool sys_slist_is_empty(sys_slist_t *list) in sys_slist_is_empty() argument 208 return (!list->head); in sys_slist_is_empty() 218 static inline sys_snode_t *sys_slist_peek_head(sys_slist_t *list) in sys_slist_peek_head() argument 220 return list->head; in sys_slist_peek_head() 230 static inline sys_snode_t *sys_slist_peek_tail(sys_slist_t *list) in sys_slist_peek_tail() argument 232 return list->tail; in sys_slist_peek_tail() 269 static inline void sys_slist_prepend(sys_slist_t *list, in sys_slist_prepend() argument [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
D | hi_list.h | 44 __attribute__((always_inline)) static inline hi_void hi_list_init(hi_list *list) in hi_list_init() argument 46 list->next = list; in hi_list_init() 47 list->prev = list; in hi_list_init() 54 …ttribute__((always_inline)) static inline hi_void hi_list_head_insert(hi_list *node, hi_list *list) in hi_list_head_insert() argument 56 node->next = list->next; in hi_list_head_insert() 57 node->prev = list; in hi_list_head_insert() 58 list->next->prev = node; in hi_list_head_insert() 59 list->next = node; in hi_list_head_insert() 66 …ttribute__((always_inline)) static inline hi_void hi_list_tail_insert(hi_list *node, hi_list *list) in hi_list_tail_insert() argument 68 hi_list_head_insert(node, list->prev); in hi_list_tail_insert() [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/ |
D | los_list.h | 70 LITE_OS_SEC_ALW_INLINE STATIC_INLINE VOID LOS_ListInit(LOS_DL_LIST *list) in LOS_ListInit() argument 72 list->pstNext = list; in LOS_ListInit() 73 list->pstPrev = list; in LOS_ListInit() 139 LITE_OS_SEC_ALW_INLINE STATIC_INLINE VOID LOS_ListAdd(LOS_DL_LIST *list, LOS_DL_LIST *node) in LOS_ListAdd() argument 141 node->pstNext = list->pstNext; in LOS_ListAdd() 142 node->pstPrev = list; in LOS_ListAdd() 143 list->pstNext->pstPrev = node; in LOS_ListAdd() 144 list->pstNext = node; in LOS_ListAdd() 166 LITE_OS_SEC_ALW_INLINE STATIC_INLINE VOID LOS_ListTailInsert(LOS_DL_LIST *list, LOS_DL_LIST *node) in LOS_ListTailInsert() argument 168 LOS_ListAdd(list->pstPrev, node); in LOS_ListTailInsert() [all …]
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/ |
D | CMakeLists.txt | 3 list(APPEND incs 32 list(APPEND srcs 38 list(APPEND srcs 44 list(APPEND srcs 50 list(APPEND srcs 57 list(APPEND srcs 63 list(APPEND srcs 69 list(APPEND srcs 75 list(APPEND srcs 81 list(APPEND srcs [all …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
D | mali_osk_list.h | 72 MALI_STATIC_INLINE void mali_osk_list_init(_mali_osk_list_t *list) in mali_osk_list_init() argument 74 list->next = list; in mali_osk_list_init() 75 list->prev = list; in mali_osk_list_init() 91 MALI_STATIC_INLINE void _mali_osk_list_add(_mali_osk_list_t *new_entry, _mali_osk_list_t *list) in _mali_osk_list_add() argument 93 __mali_osk_list_add(new_entry, list, list->next); in _mali_osk_list_add() 108 MALI_STATIC_INLINE void mali_osk_list_addtail(_mali_osk_list_t *new_entry, _mali_osk_list_t *list) in mali_osk_list_addtail() argument 110 __mali_osk_list_add(new_entry, list->prev, list); in mali_osk_list_addtail() 121 MALI_STATIC_INLINE void _mali_osk_list_del(_mali_osk_list_t *list) in _mali_osk_list_del() argument 123 __mali_osk_list_del(list->prev, list->next); in _mali_osk_list_del() 133 MALI_STATIC_INLINE void mali_osk_list_delinit(_mali_osk_list_t *list) in mali_osk_list_delinit() argument [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
D | mali_osk_list.h | 71 MALI_STATIC_INLINE void _mali_osk_list_init(_mali_osk_list_t *list) in _mali_osk_list_init() argument 73 list->next = list; in _mali_osk_list_init() 74 list->prev = list; in _mali_osk_list_init() 90 MALI_STATIC_INLINE void _mali_osk_list_add(_mali_osk_list_t *new_entry, _mali_osk_list_t *list) in _mali_osk_list_add() argument 92 __mali_osk_list_add(new_entry, list, list->next); in _mali_osk_list_add() 107 MALI_STATIC_INLINE void _mali_osk_list_addtail(_mali_osk_list_t *new_entry, _mali_osk_list_t *list) in _mali_osk_list_addtail() argument 109 __mali_osk_list_add(new_entry, list->prev, list); in _mali_osk_list_addtail() 120 MALI_STATIC_INLINE void _mali_osk_list_del(_mali_osk_list_t *list) in _mali_osk_list_del() argument 122 __mali_osk_list_del(list->prev, list->next); in _mali_osk_list_del() 132 MALI_STATIC_INLINE void _mali_osk_list_delinit(_mali_osk_list_t *list) in _mali_osk_list_delinit() argument [all …]
|
/device/soc/esp/esp32/components/bt/common/osi/include/osi/ |
D | list.h | 24 list_node_t *list_free_node(list_t *list, list_node_t *node); 27 list_node_t *list_delete_node(list_t *list, list_node_t *node); 31 void list_free(list_t *list); 35 bool list_is_empty(const list_t *list); 39 bool list_contains(const list_t *list, const void *data); 43 list_node_t *list_get_node(const list_t *list, const void *data); 46 size_t list_length(const list_t *list); 50 void *list_front(const list_t *list); 54 void *list_back(const list_t *list); 55 list_node_t *list_back_node(const list_t *list); [all …]
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/ |
D | CMakeLists.txt | 72 list(APPEND incs 76 list(APPEND srcs 82 list(APPEND incs 86 list(APPEND srcs 92 list(APPEND srcs 98 list(APPEND incs 102 list(APPEND srcs 108 list(APPEND srcs 114 list(APPEND srcs 120 list(APPEND srcs [all …]
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/common/api/ |
D | wb_co_list.h | 53 void co_list_init(struct co_list *list); 66 void co_list_pool_init(struct co_list *list, 80 void co_list_push_back(struct co_list *list, 91 void co_list_push_front(struct co_list *list, 102 struct co_list_hdr *co_list_pop_front(struct co_list *list); 115 void co_list_extract(struct co_list *list, 128 bool co_list_find(struct co_list *list, 146 void co_list_insert(struct co_list * const list, 165 void co_list_insert_after(struct co_list * const list, 183 void co_list_insert_before(struct co_list * const list, [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
D | utlist.h | 88 #define UTLIST_SV(elt,list) _tmp = (char*)(list); {char **_alias = (char**)&(list); *_alias = (elt)… argument 89 #define UTLIST_NEXT(elt,list,next) ((char*)((list)->next)) argument 90 #define UTLIST_NEXTASGN(elt,list,to,next) { char **_alias = (char**)&((list)->next); *_alias=(char*… argument 92 #define UTLIST_PREVASGN(elt,list,to,prev) { char **_alias = (char**)&((list)->prev); *_alias=(char*… argument 93 #define UTLIST_RS(list) { char **_alias = (char**)&(list); *_alias=_tmp; } argument 97 #define UTLIST_SV(elt,list) argument 98 #define UTLIST_NEXT(elt,list,next) ((elt)->next) argument 99 #define UTLIST_NEXTASGN(elt,list,to,next) ((elt)->next)=(to) argument 101 #define UTLIST_PREVASGN(elt,list,to,prev) ((elt)->prev)=(to) argument 102 #define UTLIST_RS(list) argument [all …]
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/ble_inc/ |
D | sonata_util_list.h | 90 #define UTIL_LIST_POP_ELT(list, elt) util_list_extract(&(list), &((elt)->hdr)) argument 103 void util_list_init(struct util_list *list); 115 void util_list_pool_init(struct util_list *list, 129 void util_list_push_back(struct util_list *list, struct util_list_hdr *list_hdr); 142 void util_list_push_back_sublist(struct util_list *list, struct util_list_hdr *first_hdr, 153 void util_list_push_front(struct util_list *list, struct util_list_hdr *list_hdr); 162 struct util_list_hdr *util_list_pop_front(struct util_list *list); 174 bool util_list_extract(struct util_list *list, struct util_list_hdr *list_hdr); 187 void util_list_extract_after(struct util_list *list, struct util_list_hdr *elt_ref_hdr, 201 void util_list_extract_sublist(struct util_list *list, struct util_list_hdr *ref_hdr, struct util_l… [all …]
|
/device/soc/winnermicro/hals/communication/bt_lite/ble/source/ |
D | nble_server.c | 38 struct dl_list list; member 47 struct dl_list list; member 56 struct dl_list list; member 89 dl_list_for_each(svr_item, &server_list.list, server_elem_t, list) in ble_server_gap_event() 98 dl_list_for_each(svr_item, &server_list.list, server_elem_t, list) in ble_server_gap_event() 112 dl_list_for_each(svr_item, &server_list.list, server_elem_t, list) in ble_server_retrieve_id_by_uuid() 114 svc_item = dl_list_first(&svr_item->srvc_list.list, service_elem_t, list); in ble_server_retrieve_id_by_uuid() 125 dl_list_for_each(svr_item, &server_list.list, server_elem_t, list) in ble_server_retrieve_id_by_service_id() 127 svc_item = dl_list_first(&svr_item->srvc_list.list, service_elem_t, list); in ble_server_retrieve_id_by_service_id() 137 dl_list_for_each(svr_item, &server_list.list, server_elem_t, list) in ble_server_retrieve_service_handle_by_server_id() [all …]
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/console/api/ |
D | lnx_list.h | 93 __STATIC_INLINE void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() argument 95 list->next = list; in INIT_LIST_HEAD() 96 list->prev = list; in INIT_LIST_HEAD() 209 __STATIC_INLINE void list_move(struct list_head *list, struct list_head *head) in list_move() argument 211 __list_del_entry(list); in list_move() 212 list_add(list, head); in list_move() 220 __STATIC_INLINE void list_move_tail(struct list_head *list, in list_move_tail() argument 223 __list_del_entry(list); in list_move_tail() 224 list_add_tail(list, head); in list_move_tail() 232 __STATIC_INLINE int list_is_last(const struct list_head *list, in list_is_last() argument [all …]
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/ |
D | CMakeLists.txt | 22 list(APPEND srcs 28 list(APPEND srcs 34 list(APPEND srcs 40 list(APPEND srcs 46 list(APPEND srcs 52 list(APPEND srcs 58 list(APPEND srcs 64 list(APPEND srcs 70 list(APPEND srcs 76 list(APPEND srcs [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/ |
D | list.h | 79 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 81 __list_del(list->prev, list->next); in list_move() 82 list_add(list, head); in list_move() 85 static inline void list_move_tail(struct list_head *list, in list_move_tail() argument 88 __list_del(list->prev, list->next); in list_move_tail() 89 list_add_tail(list, head); in list_move_tail() 97 static inline void __list_splice(struct list_head *list, in __list_splice() argument 100 struct list_head *first = list->next; in __list_splice() 101 struct list_head *last = list->prev; in __list_splice() 111 static inline void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
D | list.h | 76 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 78 __list_del(list->prev, list->next); in list_move() 79 list_add(list, head); in list_move() 82 static inline void list_move_tail(struct list_head *list, in list_move_tail() argument 85 __list_del(list->prev, list->next); in list_move_tail() 86 list_add_tail(list, head); in list_move_tail() 94 static inline void __list_splice(struct list_head *list, in __list_splice() argument 97 struct list_head *first = list->next; in __list_splice() 98 struct list_head *last = list->prev; in __list_splice() 108 static inline void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
D | list.h | 76 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 78 __list_del(list->prev, list->next); in list_move() 79 list_add(list, head); in list_move() 82 static inline void list_move_tail(struct list_head *list, in list_move_tail() argument 85 __list_del(list->prev, list->next); in list_move_tail() 86 list_add_tail(list, head); in list_move_tail() 94 static inline void __list_splice(struct list_head *list, in __list_splice() argument 97 struct list_head *first = list->next; in __list_splice() 98 struct list_head *last = list->prev; in __list_splice() 108 static inline void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument [all …]
|
D | osal_list.h | 41 static inline void OSAL_INIT_LIST_HEAD(struct osal_list_head *list) in OSAL_INIT_LIST_HEAD() argument 43 list->next = list; in OSAL_INIT_LIST_HEAD() 44 list->prev = list; in OSAL_INIT_LIST_HEAD() 161 static inline void osal_list_move(struct osal_list_head *list, struct osal_list_head *head) in osal_list_move() argument 163 osal___list_del_entry(list); in osal_list_move() 164 osal_list_add(list, head); in osal_list_move() 172 static inline void osal_list_move_tail(struct osal_list_head *list, in osal_list_move_tail() argument 175 osal___list_del_entry(list); in osal_list_move_tail() 176 osal_list_add_tail(list, head); in osal_list_move_tail() 184 static inline int osal_list_is_last(const struct osal_list_head *list, in osal_list_is_last() argument [all …]
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/utils/list/ |
D | list.h | 60 void list_free(list_t *list); 63 bool list_is_empty(const list_t *list); 64 size_t list_length(const list_t *list); 65 void *list_front(const list_t *list); 66 void *list_back(const list_t *list); 69 bool list_insert_after(list_t *list, list_node_t *prev_node, void *data); 70 bool list_prepend(list_t *list, void *data); 71 bool list_append(list_t *list, void *data); 72 bool list_remove(list_t *list, void *data); 73 void list_clear(list_t *list); [all …]
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/services/nvrecord/ |
D | list_ext.h | 54 void list_free_ext(list_t *list); 57 bool list_is_empty_ext(const list_t *list); 58 size_t list_length_ext(const list_t *list); 59 void *list_front_ext(const list_t *list); 60 void *list_back_ext(const list_t *list); 63 bool list_insert_after_ext(list_t *list, list_node_t *prev_node, void *data); 64 bool list_prepend_ext(list_t *list, void *data); 65 bool list_append_ext(list_t *list, void *data); 66 bool list_remove_ext(list_t *list, void *data); 67 void list_clear_ext(list_t *list); [all …]
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_common/include/ |
D | bk_list.h | 135 __BK_INLINE void list_move(struct list_head *list, struct list_head *head) in list_move() argument 137 __list_del(list->prev, list->next); in list_move() 138 list_add_head(list, head); in list_move() 146 __BK_INLINE void list_move_tail(struct list_head *list, in list_move_tail() argument 149 __list_del(list->prev, list->next); in list_move_tail() 150 list_add_tail(list, head); in list_move_tail() 162 __BK_INLINE void __list_splice(struct list_head *list, in __list_splice() argument 165 struct list_head *first = list->next; in __list_splice() 166 struct list_head *last = list->prev; in __list_splice() 181 __BK_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() argument [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/ |
D | eink_pipeline_manager.c | 84 mutex_lock(&manager->list.mlock); in __free_list_status() 85 if (list_empty(&manager->list.used_list)) { in __free_list_status() 90 list_for_each_entry_safe(pipeline, tpipeline, &manager->list.free_list, in __free_list_status() 102 mutex_unlock(&manager->list.mlock); in __free_list_status() 117 mutex_lock(&manager->list.mlock); in __used_list_status() 119 if (list_empty(&manager->list.used_list)) { in __used_list_status() 125 &manager->list.used_list, node) in __used_list_status() 136 mutex_unlock(&manager->list.mlock); in __used_list_status() 146 mutex_lock(&manager->list.mlock); in __check_overlap() 148 list_for_each_entry_safe(pipeline, tpipeline, &manager->list.used_list, in __check_overlap() [all …]
|