/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | utlist.h | 42 * Either way, the pointer to the head of the list must be initialized to NULL. 83 * namely, we always reassign our tmp variable to the list head if we need 84 * to dereference its prev/next pointers, and save/restore the real head.*/ 316 #define LL_PREPEND(head,add) \ 317 LL_PREPEND2(head,add,next) 319 #define LL_PREPEND2(head,add,next) \ 321 (add)->next = (head); \ 322 (head) = (add); \ 340 #define LL_APPEND(head,add) \ 341 LL_APPEND2(head,ad [all...] |
H A D | uthash.h | 123 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ 126 if (head) { \ 128 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \ 129 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \ 130 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ 135 #define HASH_FIND(hh,head,keyptr,keylen,out) \ 139 HASH_FIND_BYHASHVALUE(hh, head, keyptr, keylen, _hf_hashv, out); \ 178 #define HASH_MAKE_TABLE(hh,head) \ 180 (head) [all...] |
/device/soc/rockchip/rk2206/hardware/include/sys/ |
H A D | queue.h | 46 * added to the list after an existing element or at the head of the list. 47 * Elements being removed from the head of the list should use the explicit 54 * head of the list and the other to the tail of the list. The elements are 57 * to the list after an existing element, at the head of the list, or at the 58 * end of the list. Elements being removed from the head of the tail queue 68 * or after an existing element or at the head of the list. A list 71 * A tail queue is headed by a pair of pointers, one to the head of the 75 * after an existing element, at the head of the list, or at the end of 111 /* Store the last 2 places the queue element or head was altered */ 124 #define QMD_TRACE_HEAD(head) d [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | osal_list.h | 70 * @head: list head to add it after 72 * Insert a new entry after the specified head. 75 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument 77 osal___list_add(new, head, head->next); in osal_list_add() 83 * @head: list head to add it before 85 * Insert a new entry before the specified head. 88 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument 165 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument 176 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument 188 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument 198 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument 216 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument 226 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument 240 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument 245 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument 271 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument 307 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument 320 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument 335 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument 352 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | osal_list.h | 67 * @head: list head to add it after 69 * Insert a new entry after the specified head. 72 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument 74 osal___list_add(new, head, head->next); in osal_list_add() 80 * @head: list head to add it before 82 * Insert a new entry before the specified head. 85 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument 162 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument 173 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument 185 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument 195 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument 213 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument 223 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument 237 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument 242 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument 268 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument 304 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument 317 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument 332 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument 349 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument [all...] |
H A D | list.h | 49 static inline void list_add(struct list_head *_new, struct list_head *head) in list_add() argument 51 __list_add(_new, head, head->next); in list_add() 54 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument 56 __list_add(_new, head->prev, head); in list_add_tail() 76 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 79 list_add(list, head); in list_move() 83 struct list_head *head) in list_move_tail() 86 list_add_tail(list, head); in list_move_tail() 82 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 89 list_empty(struct list_head *head) list_empty() argument 94 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 108 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 115 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | osal_list.h | 66 * @head: list head to add it after 68 * Insert a new entry after the specified head. 71 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument 73 osal___list_add(new, head, head->next); in osal_list_add() 79 * @head: list head to add it before 81 * Insert a new entry before the specified head. 84 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument 161 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument 172 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument 184 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument 194 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument 212 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument 222 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument 236 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument 241 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument 267 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument 303 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument 316 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument 331 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument 348 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument [all...] |
H A D | list.h | 49 static inline void list_add(struct list_head *_new, struct list_head *head) in list_add() argument 51 __list_add(_new, head, head->next); in list_add() 54 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument 56 __list_add(_new, head->prev, head); in list_add_tail() 76 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 79 list_add(list, head); in list_move() 83 struct list_head *head) in list_move_tail() 86 list_add_tail(list, head); in list_move_tail() 82 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 89 list_empty(struct list_head *head) list_empty() argument 94 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 108 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 115 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | osal_list.h | 69 * @head: list head to add it after 71 * Insert a new entry after the specified head. 74 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument 76 osal___list_add(new, head, head->next); in osal_list_add() 82 * @head: list head to add it before 84 * Insert a new entry before the specified head. 87 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument 164 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument 175 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument 187 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument 197 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument 215 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument 225 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument 239 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument 244 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument 270 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument 302 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument 315 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument 330 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument 347 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/ |
H A D | list.h | 52 static inline void list_add(struct list_head *_new, struct list_head *head) in list_add() argument 54 __list_add(_new, head, head->next); in list_add() 57 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument 59 __list_add(_new, head->prev, head); in list_add_tail() 79 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 82 list_add(list, head); in list_move() 86 struct list_head *head) in list_move_tail() 89 list_add_tail(list, head); in list_move_tail() 85 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 92 list_empty(struct list_head *head) list_empty() argument 97 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 111 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 118 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/ |
H A D | linux_cbb_list.h | 56 static HPT_INLINE void cbb_list_add(struct cbb_list_head *_new, struct cbb_list_head *head) in cbb_list_add() argument 58 if (_new == NULL || head == NULL) { in cbb_list_add() 62 inline_cbb_list_add(_new, head, head->next); in cbb_list_add() 65 static HPT_INLINE void cbb_list_add_tail(struct cbb_list_head *_new, struct cbb_list_head *head) in cbb_list_add_tail() argument 67 if (_new == NULL || head == NULL) { in cbb_list_add_tail() 71 inline_cbb_list_add(_new, head->prev, head); in cbb_list_add_tail() 99 static HPT_INLINE int cbb_list_empty(const struct cbb_list_head *head) in cbb_list_empty() argument 101 return head in cbb_list_empty() 104 inline_cbb_list_splice(struct cbb_list_head *list, struct cbb_list_head *head) inline_cbb_list_splice() argument 118 cbb_list_splice(struct cbb_list_head *list, struct cbb_list_head *head) cbb_list_splice() argument 125 cbb_list_splice_init(struct cbb_list_head *list, struct cbb_list_head *head) cbb_list_splice_init() argument [all...] |
H A D | hi_list.h | 35 /** define list head struct */ 38 /** define hi list head struct */ 41 /** init list head node */ 44 /** list head node define */ 47 /** init list head node pointer */ 59 * @head: input, pstruHead the entry before witch new entry will be add 100 * @head: input, the head of the list. 102 #define HI_List_For_Each(pos, head) cbb_list_for_each(pos, head) [all...] |
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | mpp_list.h | 76 struct mpp_list_node *head; member in mpp_list 104 #define list_for_each_safe(pos, n, head) \ 105 for (pos = (head)->next, n = pos->next; pos != (head); \ 129 #define list_for_each_entry(pos, head, type, member) \ 130 for (pos = list_entry((head)->next, type, member); \ 131 &pos->member != (head); \ 134 #define list_for_each_entry_safe(pos, n, head, type, member) \ 135 for (pos = list_first_entry(head, type, member), \ 137 &pos->member != (head); \ 161 list_add(struct list_head *_new, struct list_head *head) list_add() argument 166 list_add_tail(struct list_head *_new, struct list_head *head) list_add_tail() argument 184 list_move(struct list_head *list, struct list_head *head) list_move() argument 190 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 196 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument 201 list_empty(struct list_head *head) list_empty() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | upg_check_boot_bin.c | 21 hi_u32 upg_check_boot_root_pub_key(HI_CONST boot_header *head, HI_CONST hi_u8 *pubk, hi_u32 pubk_len) in upg_check_boot_root_pub_key() argument 26 if ((head == HI_NULL) || (pubk == HI_NULL)) { in upg_check_boot_root_pub_key() 30 if (head->root_pubk_length != pubk_len) { in upg_check_boot_root_pub_key() 189 boot_header *head = (boot_header *)data; in upg_boot_decrypt() local 192 if ((head == HI_NULL) || (data_len != (head->sign_offset + head->sign_length + sizeof(boot_tail)))) { in upg_boot_decrypt() 196 hi_u32 decrypt_addr = (hi_u32)(uintptr_t)data + head->code_section_offset; in upg_boot_decrypt() 197 sub_key_common *sub_key_com = (sub_key_common *)(data + head->sub_key_offset); in upg_boot_decrypt() 230 ret = hi_cipher_aes_crypto(decrypt_addr, decrypt_addr, head in upg_boot_decrypt() 244 boot_header *head = HI_NULL; upg_check_boot_from_mem() local 312 upg_check_unencrpt_boot_code(hi_u32 addr, HI_CONST boot_header *head, hi_u8 *key_part1, hi_u8 *key_part2) upg_check_unencrpt_boot_code() argument 362 upg_verify_flashboot(hi_u32 addr, HI_CONST boot_header *head, hi_u8 *key_part1, hi_u8 *key_part2, const sub_key_common *subk_com) upg_verify_flashboot() argument 383 upg_get_boot_sign_key(HI_CONST boot_header *head, HI_CONST hi_u8 *key, hi_u8 **pubk1, hi_u8 *pubk2, hi_u32 pubk2_len) upg_get_boot_sign_key() argument 445 upg_check_boot_bin_key(HI_CONST boot_header *head, HI_CONST hi_u8 *pubk, hi_u32 pubk_len, HI_CONST hi_u8 *subk) upg_check_boot_bin_key() argument 461 upg_check_boot_get_key_len(HI_CONST boot_header *head, hi_u32 *pubk_len, hi_u32 *subk_len) upg_check_boot_get_key_len() argument 478 upg_check_secure_boot_bin(hi_u32 addr, HI_CONST boot_header *head) upg_check_secure_boot_bin() argument 542 boot_header *head = (boot_header *)hi_malloc(HI_MOD_ID_UPG, sizeof(boot_header)); upg_check_boot_file() local [all...] |
H A D | upg_check_file.c | 203 hi_u32 upg_get_common_head_from_flash(hi_u32 addr, hi_upg_common_head *head) in upg_get_common_head_from_flash() argument 205 hi_u32 ret = hi_flash_read(addr, sizeof(hi_upg_common_head), (hi_u8 *)head); in upg_get_common_head_from_flash() 207 upg_print("[upg get common head]fail,addr-ret:0x%x-0x%x \r\n", addr, ret); in upg_get_common_head_from_flash() 215 hi_upg_common_head head = { 0 }; in upg_get_section_head_from_flash() local 219 upg_print("[upg get section head]is null.\r\n"); in upg_get_section_head_from_flash() 222 ret = hi_flash_read(addr, sizeof(hi_upg_common_head), (hi_u8 *)(&head)); in upg_get_section_head_from_flash() 224 upg_print("[upg get section head]common head read ret:0x%x \r\n", ret); in upg_get_section_head_from_flash() 227 ret = hi_flash_read(addr + head.section_offset, sizeof(hi_upg_section_head), (hi_u8 *)section_head); in upg_get_section_head_from_flash() 229 upg_print("[upg get section head]flas in upg_get_section_head_from_flash() 236 upg_check_alg_param(HI_CONST hi_upg_common_head *head) upg_check_alg_param() argument 265 upg_check_head_common_info(const hi_upg_common_head *head, hi_u32 head_size) upg_check_head_common_info() argument 324 upg_check_common_head(const hi_upg_common_head *head, hi_u32 head_size) upg_check_common_head() argument [all...] |
H A D | upg_check_secure.c | 154 /* Common head only check one content. */ in upg_secure_verify() 201 const hi_upg_common_head *head) in upg_crypto_set_secure_verify_param() 203 param->flash_addr[0] = (uintptr_t)flash_addr + head->section_offset; in upg_crypto_set_secure_verify_param() 222 param->flash_addr[FLASH_ADDR_NUM - 1] = flash_addr + head->section_offset + sizeof(hi_upg_section_head) + in upg_crypto_set_secure_verify_param() 224 param->total_size[TOTAL_SIZE_NUM - 1] = head->section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign) - in upg_crypto_set_secure_verify_param() 229 param->flash_addr[1] = flash_addr + head->section_offset + sizeof(hi_upg_section_head) + sizeof(hi_upg_sign); in upg_crypto_set_secure_verify_param() 230 param->total_size[1] = head->section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign); in upg_crypto_set_secure_verify_param() 236 hi_void upg_set_secure_verify_param(upg_verify_param *param, hi_u32 flash_addr, const hi_upg_common_head *head) in upg_set_secure_verify_param() argument 238 if (head->file_type == HI_UPG_FILE_KERNEL) { in upg_set_secure_verify_param() 239 upg_crypto_set_secure_verify_param(param, flash_addr, head); in upg_set_secure_verify_param() 200 upg_crypto_set_secure_verify_param(upg_verify_param *param, hi_u32 flash_addr, const hi_upg_common_head *head) upg_crypto_set_secure_verify_param() argument 253 hi_upg_common_head *head = &(upg_head->common); upg_check_upg_file_code() local 303 hi_upg_common_head *head = &(upg_head->common); upg_check_upg_file_head() local [all...] |
/device/soc/rockchip/rk2206/hardware/ |
H A D | build.py | 24 def head(self): member in BuildGn 25 head = "# Copyright (c) 2020-2021 Lockzhiner Electronics Co., Ltd.\n" 26 head +="# limitations under the License.\n" 27 head +="# Licensed under the Apache License, Version 2.0 (the \"License\");\n" 28 head +="# you may not use this file except in compliance with the License.\n" 29 head +="# You may obtain a copy of the License at\n" 30 head +="#\n" 31 head +="# http://www.apache.org/licenses/LICENSE-2.0\n" 32 head +="#\n" 33 head [all...] |
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpp_list.h | 67 struct mpp_list_node *head; member in mpp_list 98 #define list_for_each_safe(pos, n, head) \ 100 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); (pos) = (n), (n) = (pos)->next) \ 120 #define list_for_each_entry(pos, head, type, member) \ 121 for ((pos) = list_entry((head)->next, type, member); &(pos)->member != (head); \ 124 #define list_for_each_entry_safe(pos, n, head, type, member) \ 125 for ((pos) = list_first_entry(head, type, member), (n) = list_next_entry((pos), type, member); \ 126 &(pos)->member != (head); (po 144 list_add(struct list_head *_new, struct list_head *head) list_add() argument 149 list_add_tail(struct list_head *_new, struct list_head *head) list_add_tail() argument 167 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument 172 list_empty(struct list_head *head) list_empty() argument [all...] |
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | mpp_list.h | 67 struct mpp_list_node *head; member in mpp_list 96 #define list_for_each_safe(pos, n, head) do { \ 97 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \ 123 #define list_for_each_entry(pos, head, type, member) \ 124 for ((pos) = list_entry((head)->next, type, member); \ 125 &(pos)->member != (head); \ 128 #define list_for_each_entry_safe(pos, n, head, type, member) \ 129 for ((pos) = list_first_entry(head, type, member), \ 131 &(pos)->member != (head); \ 155 list_add(struct list_head *_new, struct list_head *head) list_add() argument 160 list_add_tail(struct list_head *_new, struct list_head *head) list_add_tail() argument 178 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument 183 list_empty(struct list_head *head) list_empty() argument [all...] |
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | mpp_list.h | 67 struct mpp_list_node *head; member in mpp_list 96 #define list_for_each_safe(pos, n, head) do { \ 97 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \ 123 #define list_for_each_entry(pos, head, type, member) \ 124 for ((pos) = list_entry((head)->next, type, member); \ 125 &(pos)->member != (head); \ 128 #define list_for_each_entry_safe(pos, n, head, type, member) \ 129 for ((pos) = list_first_entry(head, type, member), \ 131 &(pos)->member != (head); \ 155 list_add(struct list_head *_new, struct list_head *head) list_add() argument 160 list_add_tail(struct list_head *_new, struct list_head *head) list_add_tail() argument 178 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument 183 list_empty(struct list_head *head) list_empty() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/ |
H A D | boot_upg_check.c | 132 hi_u32 boot_upg_get_common_head(hi_u32 addr, hi_upg_common_head *head) in boot_upg_get_common_head() argument 134 hi_u32 ret = hi_flash_read(addr, sizeof(hi_upg_common_head), (hi_u8 *)head); in boot_upg_get_common_head() 144 hi_upg_common_head head = { 0 }; in boot_upg_get_section_head() local 150 ret = hi_flash_read(addr, sizeof(hi_upg_common_head), (hi_u8 *)(&head)); in boot_upg_get_section_head() 154 ret = hi_flash_read(addr + head.section_offset, sizeof(hi_upg_section_head), (hi_u8 *)section_head); in boot_upg_get_section_head() 162 hi_u32 boot_upg_check_alg_param(const hi_upg_common_head *head) in boot_upg_check_alg_param() argument 166 (uintptr_t)(&(head->param)) ^ sizeof(sign_alg_param); in boot_upg_check_alg_param() 167 if (memcpy_s(&alg_param, sizeof(sign_alg_param), &(head->param), sizeof(sign_alg_param), cs) != EOK) { in boot_upg_check_alg_param() 175 if (head->key_len != sizeof(upg_rsa_key)) { in boot_upg_check_alg_param() 178 if (head in boot_upg_check_alg_param() 192 boot_upg_check_common_head(const hi_upg_common_head *head) boot_upg_check_common_head() argument [all...] |
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/ |
H A D | rk_list.cpp | 76 static inline void rk_list_add(rk_list_node *_new, rk_list_node *head) in rk_list_add() argument 78 _rk_list_add(_new, head, head->next); in rk_list_add() 81 static inline void rk_list_add_tail(rk_list_node *_new, rk_list_node *head) in rk_list_add_tail() argument 83 _rk_list_add(_new, head->prev, head); in rk_list_add_tail() 90 if (head) { in add_at_head() 93 rk_list_add(node, head); in add_at_head() 108 if (head) { in add_at_tail() 111 rk_list_add_tail(node, head); in add_at_tail() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | hnd_pktq.c | 76 if (q->head) in pktq_penq() 79 q->head = p; in pktq_penq() 114 if (q->head) in spktq_enq() 117 q->head = p; in spktq_enq() 146 if (q->head == NULL) in pktq_penq_head() 149 PKTSETLINK(p, q->head); in pktq_penq_head() 150 q->head = p; in pktq_penq_head() 180 if (q->head == NULL) in spktq_enq_head() 183 PKTSETLINK(p, q->head); in spktq_enq_head() 184 q->head in spktq_enq_head() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/ |
H A D | cmd_loop.c | 177 if (cmd_ctx->packet.head.type == CMD_FACTORY_IMAGE) { in loader_download_image() 570 packet_data_head *head = &ctx->packet.head; in loader_frame_head_rx() local 571 hi_u8 *payload = (hi_u8 *)head; in loader_frame_head_rx() 582 head->start_flag = 0; in loader_frame_head_rx() 601 if (ctx->status >= CMD_RX_STATUS_WAIT_START_1 && (head->packet_size > UART_PACKET_PAYLOAD_MAX)) { in loader_frame_head_rx() 620 packet_data_head *head = &ctx->packet.head; in loader_frame_data_rx() local 623 while (ctx->received < (head->packet_size - sizeof(packet_data_head))) { in loader_frame_data_rx() 631 ctx->packet.check_sum = (payload[head in loader_frame_data_rx() 645 packet_data_head *head = &ctx->packet.head; loader_ack() local 663 packet_data_head *head = &packet->head; loader_read_frame() local 699 packet_data_head *head = &packet->head; loader_exe_cmd() local [all...] |
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/ |
H A D | fiq_debugger_ringbuf.h | 25 int head; member 40 rbuf->head = 0; in fiq_debugger_ringbuf_alloc() 54 int level = rbuf->head - rbuf->tail; in fiq_debugger_ringbuf_level() 89 rbuf->buf[rbuf->head] = datum; in fiq_debugger_ringbuf_push() 91 rbuf->head = (rbuf->head + 1) % rbuf->len; in fiq_debugger_ringbuf_push()
|