/Zephyr-Core-3.6.0/tests/subsys/pm/policy_api/src/ |
D | main.c | 33 const struct pm_state_info *next; in ZTEST() local 36 next = pm_policy_next_state(0U, 0); in ZTEST() 37 zassert_is_null(next); in ZTEST() 39 next = pm_policy_next_state(0U, k_us_to_ticks_floor32(10999)); in ZTEST() 40 zassert_is_null(next); in ZTEST() 42 next = pm_policy_next_state(0U, k_us_to_ticks_floor32(110000)); in ZTEST() 43 zassert_equal(next->state, PM_STATE_RUNTIME_IDLE); in ZTEST() 44 zassert_equal(next->min_residency_us, 100000); in ZTEST() 45 zassert_equal(next->exit_latency_us, 10000); in ZTEST() 47 next = pm_policy_next_state(0U, k_us_to_ticks_floor32(1099999)); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/rtio/ |
D | rtio_mpsc.h | 82 mpsc_ptr_t next; member 106 .next = NULL, \ 119 mpsc_ptr_set(q->stub.next, NULL); in rtio_mpsc_init() 133 mpsc_ptr_set(n->next, NULL); in rtio_mpsc_push() 137 mpsc_ptr_set(prev->next, n); in rtio_mpsc_push() 151 struct rtio_mpsc_node *next = (struct rtio_mpsc_node *)mpsc_ptr_get(tail->next); in rtio_mpsc_pop() local 155 if (next == NULL) { in rtio_mpsc_pop() 159 q->tail = next; in rtio_mpsc_pop() 160 tail = next; in rtio_mpsc_pop() 161 next = (struct rtio_mpsc_node *)mpsc_ptr_get(next->next); in rtio_mpsc_pop() [all …]
|
/Zephyr-Core-3.6.0/subsys/settings/src/ |
D | settings.c | 66 int settings_name_steq(const char *name, const char *key, const char **next) in settings_name_steq() argument 68 if (next) { in settings_name_steq() 69 *next = NULL; in settings_name_steq() 92 if (next) { in settings_name_steq() 93 *next = name + 1; in settings_name_steq() 105 int settings_name_next(const char *name, const char **next) in settings_name_next() argument 109 if (next) { in settings_name_next() 110 *next = NULL; in settings_name_next() 128 if (next) { in settings_name_next() 129 *next = name + 1; in settings_name_next() [all …]
|
/Zephyr-Core-3.6.0/drivers/timer/ |
D | mcux_gpt_timer.c | 53 static void gpt_set_safe(uint32_t next) in gpt_set_safe() argument 58 next = MIN(MAX_CYCLES, next); in gpt_set_safe() 59 GPT_SetOutputCompareValue(base, kGPT_OutputCompare_Channel2, next - 1); in gpt_set_safe() 70 if (unlikely(((int32_t)(next - now)) <= 1)) { in gpt_set_safe() 74 next = now + bump; in gpt_set_safe() 76 next = MIN(MAX_CYCLES, next); in gpt_set_safe() 78 kGPT_OutputCompare_Channel2, next - 1); in gpt_set_safe() 80 } while ((((int32_t)(next - now)) <= 1) && (next < MAX_CYCLES)); in gpt_set_safe() 140 uint32_t next, adj, now; in sys_clock_set_timeout() local 154 next = ticks * CYC_PER_TICK; in sys_clock_set_timeout() [all …]
|
D | cc13xx_cc26xx_rtc_timer.c | 68 static void setThreshold(uint32_t next) in setThreshold() argument 80 if ((next - now) > (uint32_t)0x80000000) { in setThreshold() 82 next = now + COMPARE_MARGIN; in setThreshold() 83 } else if ((now + COMPARE_MARGIN - next) < (uint32_t)0x80000000) { in setThreshold() 84 if (next < now + COMPARE_MARGIN) { in setThreshold() 85 next = now + COMPARE_MARGIN; in setThreshold() 90 AONRTCCompareValueSet(AON_RTC_CH0, next); in setThreshold() 99 uint32_t next; in rtc_isr() local 123 next = (uint32_t)((uint64_t)newThreshold >> 16); in rtc_isr() 124 setThreshold(next); in rtc_isr()
|
D | gecko_burtc_timer.c | 97 uint32_t next = prev + g_cyc_per_tick; in burtc_isr() local 103 if ((next - curr) < MIN_DELAY_CYC) { in burtc_isr() 104 next += g_cyc_per_tick; in burtc_isr() 107 BURTC_CompareSet(0, next); in burtc_isr() 148 uint32_t next = prev + to_announce * g_cyc_per_tick; in sys_clock_set_timeout() local 154 if ((next - curr) < MIN_DELAY_CYC) { in sys_clock_set_timeout() 155 next += g_cyc_per_tick; in sys_clock_set_timeout() 158 BURTC_CompareSet(0, next); in sys_clock_set_timeout()
|
D | intel_adsp_timer.c | 121 uint64_t next = last_count + CYC_PER_TICK; in compare_isr() local 123 if ((int64_t)(next - curr) < MIN_DELAY) { in compare_isr() 124 next += CYC_PER_TICK; in compare_isr() 126 set_compare(next); in compare_isr() 144 uint64_t next; in sys_clock_set_timeout() local 155 next = last_count + cyc; in sys_clock_set_timeout() 157 if (((uint32_t)next - (uint32_t)curr) < MIN_DELAY) { in sys_clock_set_timeout() 158 next += CYC_PER_TICK; in sys_clock_set_timeout() 161 set_compare(next); in sys_clock_set_timeout()
|
/Zephyr-Core-3.6.0/subsys/testsuite/ztest/src/ |
D | ztest_mock.c | 14 struct parameter *next; member 160 if (!param->next) { in find_and_delete_value() 164 if (strcmp(param->next->name, name) || strcmp(param->next->fn, fn)) { in find_and_delete_value() 165 return find_and_delete_value(param->next, fn, name); in find_and_delete_value() 168 value = param->next; in find_and_delete_value() 169 param->next = param->next->next; in find_and_delete_value() 170 value->next = NULL; in find_and_delete_value() 186 while (param->next) { in insert_value() 187 param = param->next; in insert_value() 191 value->next = param->next; in insert_value() [all …]
|
/Zephyr-Core-3.6.0/subsys/retention/ |
D | blinfo_mcuboot.c | 91 const char *next; in blinfo_handle_get() local 97 if (settings_name_steq(name, "mode", &next) && !next) { in blinfo_handle_get() 99 } else if (settings_name_steq(name, "signature_type", &next) && !next) { in blinfo_handle_get() 101 } else if (settings_name_steq(name, "recovery", &next) && !next) { in blinfo_handle_get() 103 } else if (settings_name_steq(name, "running_slot", &next) && !next) { in blinfo_handle_get() 105 } else if (settings_name_steq(name, "bootloader_version", &next) && !next) { in blinfo_handle_get() 107 } else if (settings_name_steq(name, "max_application_size", &next) && !next) { in blinfo_handle_get()
|
/Zephyr-Core-3.6.0/tests/subsys/settings/nvs/src/ |
D | settings_test_nvs.c | 41 const char *next; in c1_handle_get() local 45 if (settings_name_steq(name, "mybar", &next) && !next) { in c1_handle_get() 51 if (settings_name_steq(name, "mybar64", &next) && !next) { in c1_handle_get() 65 const char *next; in c1_handle_set() local 68 if (settings_name_steq(name, "mybar", &next) && !next) { in c1_handle_set() 74 if (settings_name_steq(name, "mybar64", &next) && !next) { in c1_handle_set() 80 if (settings_name_steq(name, "unaligned", &next) && !next) { in c1_handle_set()
|
/Zephyr-Core-3.6.0/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | settings.c | 30 const char *next; in val_handle_set() local 35 if (settings_name_steq(name, "aa", &next) && !next) { in val_handle_set() 43 } else if (settings_name_steq(name, "bb", &next) && !next) { in val_handle_set() 74 const char *next; in val_handle_get() local 78 if (settings_name_steq(name, "aa", &next) && !next) { in val_handle_get() 82 } else if (settings_name_steq(name, "bb", &next) && !next) { in val_handle_get()
|
/Zephyr-Core-3.6.0/subsys/tracing/ctf/ |
D | ctf_map.h | 57 #define MAP_NEXT0(test, next, ...) next MAP_OUT argument 58 #define MAP_NEXT1(test, next) MAP_NEXT0(test, next, 0) argument 59 #define MAP_NEXT(test, next) MAP_NEXT1(MAP_GET_END test, next) argument 64 #define MAP_LIST_NEXT1(test, next) MAP_NEXT0(test, MAP_COMMA next, 0) argument 65 #define MAP_LIST_NEXT(test, next) MAP_LIST_NEXT1(MAP_GET_END test, next) argument
|
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ll_sw/ |
D | lll_common.c | 72 struct lll_event *next; in lll_resume() local 75 next = param; in lll_resume() 76 err = lll_prepare_resolve(next->is_abort_cb, next->abort_cb, next->prepare_cb, in lll_resume() 77 &next->prepare_param, next->is_resume, 1U); in lll_resume()
|
/Zephyr-Core-3.6.0/tests/subsys/settings/fcb/src/ |
D | settings_test_fcb.c | 77 const char *next; in c1_handle_get() local 81 if (settings_name_steq(name, "mybar", &next) && !next) { in c1_handle_get() 87 if (settings_name_steq(name, "mybar64", &next) && !next) { in c1_handle_get() 101 const char *next; in c1_handle_set() local 104 if (settings_name_steq(name, "mybar", &next) && !next) { in c1_handle_set() 110 if (settings_name_steq(name, "mybar64", &next) && !next) { in c1_handle_set() 116 if (settings_name_steq(name, "unaligned", &next) && !next) { in c1_handle_set() 238 const char *next; in c2_handle_get() local 241 len = settings_name_next(name, &next); in c2_handle_get() 242 if (len && !next) { in c2_handle_get() [all …]
|
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll.c | 224 struct lll_event *next; in lll_disable() local 228 next = ull_prepare_dequeue_iter(&idx); in lll_disable() 229 while (next) { in lll_disable() 230 if (!next->is_aborted && in lll_disable() 231 (!param || (param == next->prepare_param.param))) { in lll_disable() 232 next->is_aborted = 1; in lll_disable() 233 next->abort_cb(&next->prepare_param, in lll_disable() 234 next->prepare_param.param); in lll_disable() 245 next = ull_prepare_dequeue_iter(&idx); in lll_disable() 272 struct lll_event *next; in lll_done() local [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/settings/file/src/ |
D | settings_test_file.c | 44 const char *next; in c1_handle_get() local 46 if (settings_name_steq(name, "mybar", &next) && !next) { in c1_handle_get() 52 if (settings_name_steq(name, "mybar16", &next) && !next) { in c1_handle_get() 58 if (settings_name_steq(name, "mybar64", &next) && !next) { in c1_handle_get() 71 const char *next; in c1_handle_set() local 75 if (settings_name_steq(name, "mybar", &next) && !next) { in c1_handle_set() 84 if (settings_name_steq(name, "mybar16", &next) && !next) { in c1_handle_set() 93 if (settings_name_steq(name, "mybar64", &next) && !next) { in c1_handle_set()
|
/Zephyr-Core-3.6.0/samples/subsys/settings/src/ |
D | main.c | 67 const char *next; in alpha_handle_set() local 71 if (settings_name_steq(name, "angle/1", &next) && !next) { in alpha_handle_set() 80 next_len = settings_name_next(name, &next); in alpha_handle_set() 82 if (!next) { in alpha_handle_set() 87 next_len = settings_name_next(name, &next); in alpha_handle_set() 89 if (!next) { in alpha_handle_set() 95 if (!strncmp(next, "1", next_len)) { in alpha_handle_set() 102 if (!strncmp(next, "2", next_len)) { in alpha_handle_set() 118 const char *next; in beta_handle_set() local 122 name_len = settings_name_next(name, &next); in beta_handle_set() [all …]
|
/Zephyr-Core-3.6.0/subsys/rtio/ |
D | rtio_executor.c | 68 struct rtio_iodev_sqe *curr = iodev_sqe, *next; in rtio_executor_submit() local 80 next = CONTAINER_OF(node, struct rtio_iodev_sqe, q); in rtio_executor_submit() 81 next->sqe.flags |= canceled_mask; in rtio_executor_submit() 82 curr->next = next; in rtio_executor_submit() 83 curr = next; in rtio_executor_submit() 91 curr->next = NULL; in rtio_executor_submit() 135 struct rtio_iodev_sqe *curr = iodev_sqe, *next; in rtio_executor_done() local 144 next = rtio_iodev_sqe_next(curr); in rtio_executor_done() 156 curr = next; in rtio_executor_done()
|
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | dlist.h | 40 struct _dnode *next; /* ptr to next node (sys_dnode_t) */ member 222 node->next = NULL; in sys_dnode_init() 236 return node->next != NULL; in sys_dnode_is_linked() 337 return (node == list->tail) ? NULL : node->next; in sys_dlist_peek_next_no_check() 417 node->next = list; in sys_dlist_append() 420 tail->next = node; in sys_dlist_append() 437 node->next = head; in sys_dlist_prepend() 457 node->next = successor; in sys_dlist_insert() 458 prev->next = node; in sys_dlist_insert() 508 sys_dnode_t *const next = node->next; in sys_dlist_remove() local [all …]
|
/Zephyr-Core-3.6.0/boards/posix/nrf_bsim/common/ |
D | bstests_entry.c | 38 while (tail->next) { in bst_add_tests() 39 tail = tail->next; in bst_add_tests() 44 head->next = NULL; in bst_add_tests() 52 tail->next = bs_malloc(sizeof(struct bst_test_list)); in bst_add_tests() 53 tail = tail->next; in bst_add_tests() 56 tail->next = NULL; in bst_add_tests() 72 top = top->next; in bst_test_find() 113 top = top->next; in bst_print_testslist() 232 struct bst_test_list *tmp = test_list_top->next; in bst_delete()
|
/Zephyr-Core-3.6.0/tests/kernel/timer/cycle64/src/ |
D | main.c | 35 uint64_t next = prev + BIT64(32) - now; in timeout() local 37 next &= UINT32_MAX; in timeout() 38 if (next == 0) { in timeout() 39 next = UINT32_MAX; in timeout() 42 return (uint32_t)next; in timeout()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/ |
D | micp_mic_ctlr.c | 43 struct bt_micp_mic_ctlr_cb *listener, *next; in micp_mic_ctlr_mute_changed() local 45 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&micp_mic_ctlr_cbs, listener, next, _node) { in micp_mic_ctlr_mute_changed() 54 struct bt_micp_mic_ctlr_cb *listener, *next; in micp_mic_ctlr_mute_written() local 56 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&micp_mic_ctlr_cbs, listener, next, _node) { in micp_mic_ctlr_mute_written() 71 struct bt_micp_mic_ctlr_cb *listener, *next; in micp_mic_ctlr_discover_complete() local 73 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&micp_mic_ctlr_cbs, listener, next, _node) { in micp_mic_ctlr_discover_complete() 172 struct bt_micp_mic_ctlr_cb *listener, *next; in micp_mic_ctlr_aics_state_cb() local 174 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&micp_mic_ctlr_cbs, listener, next, _node) { in micp_mic_ctlr_aics_state_cb() 184 struct bt_micp_mic_ctlr_cb *listener, *next; in micp_mic_ctlr_aics_gain_setting_cb() local 186 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&micp_mic_ctlr_cbs, listener, next, _node) { in micp_mic_ctlr_aics_gain_setting_cb() [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/rtio/rtio_api/src/ |
D | test_rtio_mpsc.c | 30 struct rtio_mpsc_node *stub, *next, *tail; in ZTEST() local 37 next = stub->next; in ZTEST() 41 zassert_is_null(next, "Next should be null"); in ZTEST() 51 next = mpsc_ptr_get(push_pop_nodes[0].next); in ZTEST() 52 zassert_is_null(next, NULL, "push_pop_node next should point at null"); in ZTEST() 53 next = mpsc_ptr_get(push_pop_q.stub.next); in ZTEST() 54 zassert_equal(next, &push_pop_nodes[0], "Queue stub should point at push_pop_node"); in ZTEST()
|
/Zephyr-Core-3.6.0/subsys/net/ip/ |
D | tp_priv.h | 40 sys_snode_t next; member 51 sys_snode_t next; member 58 sys_snode_t next; member 65 sys_snode_t next; member
|
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll.c | 76 struct lll_event *next); 350 struct lll_event *next; in lll_disable() local 354 next = ull_prepare_dequeue_iter(&idx); in lll_disable() 355 while (next) { in lll_disable() 356 if (!next->is_aborted && in lll_disable() 357 (!param || (param == next->prepare_param.param))) { in lll_disable() 358 next->is_aborted = 1; in lll_disable() 359 next->abort_cb(&next->prepare_param, in lll_disable() 360 next->prepare_param.param); in lll_disable() 371 next = ull_prepare_dequeue_iter(&idx); in lll_disable() [all …]
|