/SCP-firmware-master/framework/test/ |
A D | test_fwk_list_insert.c | 16 static struct fwk_dlist_node node[3]; variable 23 memset(node, 0, sizeof(node)); in setup() 31 fwk_list_insert(&list, &node[1], &node[2]); in test_list_insert() 33 assert(node[0].next == &node[1]); in test_list_insert() 34 assert(node[1].next == &node[2]); in test_list_insert() 37 assert(node[2].prev == &node[1]); in test_list_insert() 38 assert(node[1].prev == &node[0]); in test_list_insert() 41 assert(list.head == &node[0]); in test_list_insert() 42 assert(list.tail == &node[2]); in test_list_insert() 49 assert(list.head == &node[0]); in test_list_insert_empty() [all …]
|
A D | test_fwk_list_contains.c | 14 static struct fwk_dlist_node node[2]; variable 23 node[0].next = node[0].prev = (struct fwk_dlist_node *)0xdead; in test_list_contains() 24 node[1].next = node[1].prev = (struct fwk_dlist_node *)0xbeef; in test_list_contains() 25 assert(fwk_list_contains(&list, &node[0]) == false); in test_list_contains() 26 assert(fwk_list_contains(&list, &node[1]) == false); in test_list_contains() 28 node[0].next = node[0].prev = NULL; in test_list_contains() 29 fwk_list_push_tail(&list, &node[0]); in test_list_contains() 30 assert(fwk_list_contains(&list, &node[0]) == true); in test_list_contains() 33 node[1].next = node[1].prev = NULL; in test_list_contains() 34 fwk_list_push_tail(&list, &node[1]); in test_list_contains() [all …]
|
A D | test_fwk_list_get.c | 25 struct fwk_slist_node *node = &container.slink; in test_slist_get() local 27 assert(FWK_LIST_GET(node, struct container, slink)->value == 42); in test_slist_get() 33 struct fwk_dlist_node *node = &container.dlink; in test_dlist_get() local 35 assert(FWK_LIST_GET(node, struct container, dlink)->value == 42); in test_dlist_get()
|
/SCP-firmware-master/framework/src/ |
A D | fwk_dlist.c | 71 fwk_assert(node != NULL); in __fwk_dlist_remove() 80 node->prev->next = node->next; in __fwk_dlist_remove() 81 node->next->prev = node->prev; in __fwk_dlist_remove() 83 node->prev = NULL; in __fwk_dlist_remove() 84 node->next = NULL; in __fwk_dlist_remove() 94 fwk_assert(new != node); in __fwk_dlist_insert() 98 if (node == NULL) { in __fwk_dlist_insert() 111 node->prev->next = new; in __fwk_dlist_insert() 112 new->prev = node->prev; in __fwk_dlist_insert() 113 new->next = node; in __fwk_dlist_insert() [all …]
|
A D | fwk_slist.c | 106 const struct fwk_slist_node *node) in __fwk_slist_next() argument 109 fwk_assert(node != NULL); in __fwk_slist_next() 113 return (node->next == (struct fwk_slist_node *)list) ? NULL : node->next; in __fwk_slist_next() 118 struct fwk_slist_node *node) in __fwk_slist_remove() argument 121 fwk_assert(node != NULL); in __fwk_slist_remove() 122 fwk_assert(node->next != NULL); in __fwk_slist_remove() 127 if (node_iter->next == node) { in __fwk_slist_remove() 134 node->next = NULL; in __fwk_slist_remove() 146 const struct fwk_slist_node *node) in __fwk_slist_contains() argument 151 fwk_assert(node != NULL); in __fwk_slist_contains() [all …]
|
A D | fwk_notification.c | 91 struct fwk_dlist_node *node; in search_subscription() local 94 for (node = fwk_list_head(subscription_dlist); node != NULL; in search_subscription() 95 node = fwk_list_next(subscription_dlist, node)) { in search_subscription() 96 subscription = FWK_LIST_GET(node, in search_subscription() 122 struct fwk_dlist_node *node; in send_notifications() local 130 for (node = fwk_list_head(subscription_dlist); node != NULL; in send_notifications() 131 node = fwk_list_next(subscription_dlist, node)) { in send_notifications() 132 subscription = FWK_LIST_GET(node, in send_notifications()
|
/SCP-firmware-master/framework/include/ |
A D | fwk_list.h | 39 #define FWK_LIST_GET(node, type, member) \ argument 145 #define fwk_list_next(list, node) \ argument 166 #define fwk_list_remove(list, node) \ argument 170 )(list, node) 184 #define fwk_list_insert(list, new, node) \ argument 187 )(list, new, node) 198 #define fwk_list_contains(list, node) \ argument 216 for (node = fwk_list_head(list), \ 218 node != NULL; \ 219 node = fwk_list_next(list, node), \ [all …]
|
A D | fwk_slist.h | 118 const struct fwk_slist_node *node) FWK_PURE FWK_LEAF FWK_NOTHROW 127 void __fwk_slist_remove(struct fwk_slist *list, struct fwk_slist_node *node) 139 const struct fwk_slist_node *node) FWK_PURE FWK_LEAF FWK_NOTHROW
|
A D | fwk_dlist.h | 94 void __fwk_dlist_remove(struct fwk_dlist *list, struct fwk_dlist_node *node) 107 struct fwk_dlist_node *restrict node) FWK_LEAF FWK_NOTHROW FWK_NONNULL(1)
|
/SCP-firmware-master/module/cmn_booker/src/ |
A D | cmn_booker.c | 25 struct node_header *node = node_base; in get_node_child_count() local 31 struct node_header *node = node_base; in get_node_type() local 37 struct node_header *node = node_base; in get_node_id() local 44 struct node_header *node = node_base; in get_node_logical_id() local 51 struct node_header *node = node_base; in get_child_node() local 56 child_pointer = node->CHILD_POINTER[child_index]; in get_child_node() 66 struct node_header *node = node_base; in get_child_node_id() local 70 node_pointer = (node->CHILD_POINTER[child_index] & in get_child_node_id() 96 struct node_header *node = node_base; in is_child_external() local 188 struct node_header *node = node_base; in get_node_pos_x() local [all …]
|
A D | mod_cmn_booker.c | 136 struct node_header *node; in cmn_booker_discovery() local 159 node = get_child_node(config->base, xp, node_idx); in cmn_booker_discovery() 181 switch (get_node_type(node)) { in cmn_booker_discovery() 204 get_node_type_name(get_node_type(node)), in cmn_booker_discovery() 205 get_node_id(node), in cmn_booker_discovery() 206 get_node_logical_id(node)); in cmn_booker_discovery() 238 void *node; in cmn_booker_configure() local 256 node = get_child_node(config->base, xp, node_idx); in cmn_booker_configure() 270 ctx->external_rnsam_table[xrnsam_entry].node = node; in cmn_booker_configure() 283 process_node_hnf(node); in cmn_booker_configure() [all …]
|
A D | cmn_booker.h | 42 struct cmn_booker_rnsam_reg *node; member
|
/SCP-firmware-master/module/cmn_skeena/src/ |
A D | cmn_skeena.c | 20 struct node_header *node = node_base; in get_node_child_count() local 21 return node->CHILD_INFO & CMN_SKEENA_CHILD_INFO_COUNT; in get_node_child_count() 26 struct node_header *node = node_base; in get_node_type() local 32 struct node_header *node = node_base; in get_node_id() local 39 struct node_header *node = node_base; in get_node_logical_id() local 46 struct node_header *node = node_base; in get_child_node() local 51 child_pointer = node->CHILD_POINTER[child_index]; in get_child_node() 60 struct node_header *node = node_base; in get_child_node_id() local 88 struct node_header *node = node_base; in is_child_external() local 181 struct node_header *node = node_base; in get_node_pos_x() local [all …]
|
A D | mod_cmn_skeena.c | 135 void *node, in process_node_rni() argument 143 rni = (struct cmn_skeena_rni_reg *)node; in process_node_rni() 154 void *node, in process_node_hni() argument 164 hni = (struct cmn_skeena_hni_reg *)node; in process_node_hni() 192 struct node_header *node; in cmn_skeena_discovery() local 297 get_node_id(node), in cmn_skeena_discovery() 299 (uint32_t)node); in cmn_skeena_discovery() 359 void *node; in cmn_skeena_configure() local 391 ctx->external_rnsam_table[xrnsam_entry].node = node; in cmn_skeena_configure() 408 process_node_rni(config, node, get_node_id(node)); in cmn_skeena_configure() [all …]
|
/SCP-firmware-master/module/cmn600/src/ |
A D | cmn600.c | 32 struct node_header *node = node_base; in get_node_child_count() local 33 return node->CHILD_INFO & CMN600_CHILD_INFO_COUNT; in get_node_child_count() 38 struct node_header *node = node_base; in get_node_type() local 44 struct node_header *node = node_base; in get_node_id() local 50 struct node_header *node = node_base; in get_node_logical_id() local 57 struct node_header *node = node_base; in get_child_node() local 62 child_pointer = node->CHILD_POINTER[child_index]; in get_child_node() 72 struct node_header *node = node_base; in get_child_node_id() local 115 struct node_header *node = node_base; in is_child_external() local 204 struct node_header *node = node_base; in get_node_pos_x() local [all …]
|
A D | mod_cmn600.c | 161 struct node_header *node; in cmn600_discovery() local 190 node = get_child_node(config->base, xp, node_idx); in cmn600_discovery() 204 ctx->cxla_reg = (void *)node; in cmn600_discovery() 215 switch (get_node_type(node)) { in cmn600_discovery() 269 get_node_type_name(get_node_type(node)), in cmn600_discovery() 270 get_node_id(node), in cmn600_discovery() 271 get_node_logical_id(node)); in cmn600_discovery() 333 void *node; in cmn600_configure() local 350 node = get_child_node(config->base, xp, node_idx); in cmn600_configure() 365 ctx->external_rnsam_table[xrnsam_entry].node = node; in cmn600_configure() [all …]
|
/SCP-firmware-master/module/cmn650/src/ |
A D | cmn650.c | 31 struct node_header *node = node_base; in get_node_child_count() local 32 return node->CHILD_INFO & CMN650_CHILD_INFO_COUNT; in get_node_child_count() 37 struct node_header *node = node_base; in get_node_type() local 43 struct node_header *node = node_base; in get_node_id() local 49 struct node_header *node = node_base; in get_node_logical_id() local 56 struct node_header *node = node_base; in get_child_node() local 61 child_pointer = node->CHILD_POINTER[child_index]; in get_child_node() 70 struct node_header *node = node_base; in get_child_node_id() local 116 struct node_header *node = node_base; in is_child_external() local 224 struct node_header *node = node_base; in get_node_pos_x() local [all …]
|
A D | mod_cmn650.c | 153 struct node_header *node; in cmn650_discovery() local 205 switch (get_node_type(node)) { in cmn650_discovery() 290 get_node_id(node), in cmn650_discovery() 291 get_node_logical_id(node)); in cmn650_discovery() 357 void *node; in cmn650_configure() local 384 ldid = get_node_logical_id(node); in cmn650_configure() 394 ctx->external_rnsam_table[xrnsam_entry].node = node; in cmn650_configure() 400 node_id = get_node_id(node); in cmn650_configure() 409 ldid = get_node_logical_id(node); in cmn650_configure() 417 ldid = get_node_logical_id(node); in cmn650_configure() [all …]
|
/SCP-firmware-master/module/cmn700/src/ |
A D | cmn700.c | 36 struct node_header *node = node_base; in get_node_device_port_count() local 43 struct node_header *node = node_base; in get_node_child_count() local 44 return node->CHILD_INFO & CMN700_CHILD_INFO_COUNT; in get_node_child_count() 49 struct node_header *node = node_base; in get_node_type() local 55 struct node_header *node = node_base; in get_node_id() local 61 struct node_header *node = node_base; in get_node_logical_id() local 68 struct node_header *node = node_base; in get_child_node() local 82 struct node_header *node = node_base; in get_child_node_id() local 128 struct node_header *node = node_base; in is_child_external() local 364 struct node_header *node = node_base; in get_node_pos_x() local [all …]
|
A D | mod_cmn700.c | 199 struct node_header *node; in cmn700_discovery() local 261 switch (get_node_type(node)) { in cmn700_discovery() 359 get_node_id(node), in cmn700_discovery() 360 get_node_logical_id(node)); in cmn700_discovery() 415 void *node; in cmn700_configure() local 446 ctx->external_rnsam_table[xrnsam_entry].node = node; in cmn700_configure() 452 node_id = get_node_id(node); in cmn700_configure() 460 ldid = get_node_logical_id(node); in cmn700_configure() 468 ldid = get_node_logical_id(node); in cmn700_configure() 476 ldid = get_node_logical_id(node); in cmn700_configure() [all …]
|
/SCP-firmware-master/module/cmn600/include/internal/ |
A D | cmn600_ctx.h | 25 struct cmn600_rnsam_reg *node; member
|
/SCP-firmware-master/module/cmn_skeena/include/internal/ |
A D | cmn_skeena_ctx.h | 25 struct cmn_skeena_rnsam_reg *node; member
|
/SCP-firmware-master/module/timer/src/ |
A D | mod_timer.c | 46 struct fwk_dlist_node node; member 190 alarm = FWK_LIST_GET(alarm_node, struct alarm_sub_element_ctx, node); in _insert_alarm_ctx_into_active_queue() 194 alarm = FWK_LIST_GET(alarm_node, struct alarm_sub_element_ctx, node); in _insert_alarm_ctx_into_active_queue() 199 &(alarm_new->node), in _insert_alarm_ctx_into_active_queue() 361 FWK_LIST_GET(alarm_ctx_node, struct alarm_sub_element_ctx, node); in get_next_alarm_remaining()
|
/SCP-firmware-master/module/clock/doc/ |
A D | clock_management_framework.md | 81 NOTE: In case the enable fails, the active clock node sends a post event to the 197 During this operation the selected clock node will notify every children clock 311 their position on the tree). Every clock node can be exposed to agents to
|
/SCP-firmware-master/debugger/src/cli/ |
A D | cli.c | 79 struct fwk_slist *node = NULL; in cli_command_register() local 82 FWK_LIST_FOR_EACH(&cli_commands_list, node, in cli_command_register() 1207 struct fwk_slist *node = NULL; in cli_command_dispatch() local 1217 FWK_LIST_FOR_EACH(&cli_commands_list, node, in cli_command_dispatch() 1249 FWK_LIST_FOR_EACH(&cli_commands_list, node, in cli_command_dispatch()
|