/Zephyr-latest/tests/net/lib/lwm2m/observation/src/ |
D | lwm2m_observation.c | 49 struct lwm2m_obj_path_list *prev = NULL; in assert_path_list_order() local 62 if (prev) { in assert_path_list_order() 63 if (entry->path.level > prev->path.level) { in assert_path_list_order() 67 if (prev->path.level >= LWM2M_PATH_LEVEL_OBJECT) { in assert_path_list_order() 68 is_after = entry->path.obj_id >= prev->path.obj_id; in assert_path_list_order() 70 if (is_after && prev->path.level >= LWM2M_PATH_LEVEL_OBJECT_INST && in assert_path_list_order() 71 entry->path.obj_id == prev->path.obj_id) { in assert_path_list_order() 73 entry->path.obj_inst_id >= prev->path.obj_inst_id; in assert_path_list_order() 76 if (is_after && prev->path.level >= LWM2M_PATH_LEVEL_RESOURCE && in assert_path_list_order() 77 entry->path.obj_inst_id == prev->path.obj_inst_id) { in assert_path_list_order() [all …]
|
/Zephyr-latest/subsys/demand_paging/eviction/ |
D | lru.c | 60 uint32_t prev : PF_IDX_BITS; member 68 #define LRU_PF_TAIL lru_pf_queue[0].prev 83 lru_pf_queue[pf_idx].prev = LRU_PF_TAIL; in lru_pf_append() 91 uint32_t prev = lru_pf_queue[pf_idx].prev; in lru_pf_unlink() local 93 lru_pf_queue[prev].next = next; in lru_pf_unlink() 94 lru_pf_queue[next].prev = prev; in lru_pf_unlink() 97 lru_pf_queue[pf_idx].prev = 0; in lru_pf_unlink() 103 (lru_pf_queue[pf_idx].prev == 0) && in lru_pf_in_queue()
|
/Zephyr-latest/include/zephyr/sys/ |
D | dlist.h | 43 struct _dnode *prev; /* ptr to previous node (sys_dnode_t) */ member 222 node->prev = NULL; in sys_dnode_init() 370 return (node == list->head) ? NULL : node->prev; in sys_dlist_peek_prev_no_check() 417 node->prev = tail; in sys_dlist_append() 437 node->prev = list; in sys_dlist_prepend() 439 head->prev = node; in sys_dlist_prepend() 453 sys_dnode_t *const prev = successor->prev; in sys_dlist_insert() local 455 node->prev = prev; in sys_dlist_insert() 457 prev->next = node; in sys_dlist_insert() 458 successor->prev = node; in sys_dlist_insert() [all …]
|
D | list_gen.h | 148 sys_ ## __nname ## _t *prev, \ 151 if (prev == NULL) { \ 153 } else if (z_ ## __nname ## _next_peek(prev) == NULL) { \ 157 z_ ## __nname ## _next_peek(prev)); \ 158 z_ ## __nname ## _next_set(prev, node); \ 221 sys_ ## __nname ## _t *prev = NULL; \ 226 sys_ ## __lname ## _remove(list, prev, \ 231 prev = test; \ 239 sys_##__lname##_t *list, sys_##__nname##_t *node, sys_##__nname##_t **prev) \ 246 if (prev != NULL) { \ [all …]
|
D | mpsc_lockfree.h | 128 struct mpsc_node *prev; in mpsc_push() local 134 prev = (struct mpsc_node *)mpsc_ptr_set_get(q->head, n); in mpsc_push() 135 mpsc_ptr_set(prev->next, n); in mpsc_push()
|
/Zephyr-latest/scripts/west_commands/completion/ |
D | west-completion.bash | 123 prev) 124 prev=${words_[$cword_-1]} 310 key="$prev" 315 elif [ "$prev" = "=" ] ; then 411 case "$prev" in 449 case "$prev" in 484 case "$prev" in 518 case "$prev" in 549 case "$prev" in 604 case "$prev" in [all …]
|
/Zephyr-latest/drivers/timer/ |
D | gecko_burtc_timer.c | 87 uint32_t prev = atomic_get(&g_last_count); in burtc_isr() local 90 uint32_t unannounced = (curr - prev) / g_cyc_per_tick; in burtc_isr() 92 atomic_set(&g_last_count, prev + unannounced * g_cyc_per_tick); in burtc_isr() 96 uint32_t next = prev + g_cyc_per_tick; in burtc_isr() 132 uint32_t prev = atomic_get(&g_last_count); in sys_clock_set_timeout() local 135 uint32_t unannounced = (curr - prev) / g_cyc_per_tick; in sys_clock_set_timeout() 147 uint32_t next = prev + to_announce * g_cyc_per_tick; in sys_clock_set_timeout()
|
D | silabs_sleeptimer_timer.c | 53 uint32_t prev = atomic_get(&timer->last_count); in sleeptimer_cb() local 54 uint32_t pending = curr - prev; in sleeptimer_cb() 59 atomic_set(&timer->last_count, prev + unannounced * timer->cyc_per_tick); in sleeptimer_cb() 76 uint32_t prev = atomic_get(&timer->last_count); in sleeptimer_clock_set_timeout() local 77 uint32_t pending = curr - prev; in sleeptimer_clock_set_timeout()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_prof.c | 63 uint8_t latency, cputime, prev; in lll_prof_send() local 86 prev = ((uint16_t)latency_prev + latency) >> 1; in lll_prof_send() 87 if (prev != latency_prev) { in lll_prof_send() 107 prev = ((uint16_t)cputime_prev + cputime) >> 1; in lll_prof_send() 108 if (prev != cputime_prev) { in lll_prof_send()
|
/Zephyr-latest/subsys/net/ip/ |
D | promiscuous.c | 65 atomic_val_t prev; in net_promisc_mode_off() local 72 prev = atomic_dec(&enabled); in net_promisc_mode_off() 73 if (prev == 1) { in net_promisc_mode_off()
|
/Zephyr-latest/tests/benchmarks/data_structure_perf/dlist_perf/src/ |
D | dlist_perf.c | 237 insert_node->prev = insert_at->prev; in ZTEST() 239 insert_at->prev->next = insert_node; in ZTEST() 240 insert_at->prev = insert_node; in ZTEST() 248 insert_node->prev->next = insert_node->next; in ZTEST() 249 insert_node->next->prev = insert_node->prev; in ZTEST()
|
/Zephyr-latest/drivers/modem/ |
D | modem_iface_uart_interrupt.c | 150 const struct device *prev = iface->dev; in modem_iface_uart_init_dev() local 160 if (prev) { in modem_iface_uart_init_dev() 161 uart_irq_tx_disable(prev); in modem_iface_uart_init_dev() 162 uart_irq_rx_disable(prev); in modem_iface_uart_init_dev() 173 if (prev) { in modem_iface_uart_init_dev() 174 uart_irq_rx_enable(prev); in modem_iface_uart_init_dev()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | mpl.c | 61 .prev = NULL, 69 .prev = &seg_1, 77 .prev = &seg_2, 91 .prev = NULL, 100 .prev = &track_1_1, 108 .prev = &track_1_2, 116 .prev = &track_1_3, 124 .prev = &track_1_4, 135 .prev = NULL, 143 .prev = &track_2_1, [all …]
|
D | mpl_internal.h | 42 struct mpl_tseg *prev; member 57 struct mpl_track *prev; member 69 struct mpl_group *prev; member
|
D | has.c | 601 struct has_preset *tmp, *prev = NULL; in preset_insert() local 605 if (prev) { in preset_insert() 606 sys_slist_insert(&preset_list, &prev->node, &preset->node); in preset_insert() 613 prev = tmp; in preset_insert() 664 struct has_preset *prev; in preset_get_tail() local 666 return SYS_SLIST_PEEK_TAIL_CONTAINER(&preset_list, prev, node); in preset_get_tail() 671 struct has_preset *prev; in preset_get_prev() local 673 SYS_SLIST_FOR_EACH_CONTAINER(&preset_list, prev, node) { in preset_get_prev() 674 if (SYS_SLIST_PEEK_NEXT_CONTAINER(prev, node) == preset) { in preset_get_prev() 675 return prev; in preset_get_prev() [all …]
|
/Zephyr-latest/tests/lib/hash_function/src/ |
D | main.c | 60 float prev; in kolmogorov_smirnov_test() local 69 prev = 0; in kolmogorov_smirnov_test() 71 buckets[i] += prev; in kolmogorov_smirnov_test() 72 prev = buckets[i]; in kolmogorov_smirnov_test()
|
/Zephyr-latest/subsys/fs/fcb/ |
D | fcb_append.c | 17 struct flash_sector *prev; in fcb_new_sector() local 21 prev = NULL; in fcb_new_sector() 26 if (!prev) { in fcb_new_sector() 27 prev = cur; in fcb_new_sector() 33 return prev; in fcb_new_sector()
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | Kconfig.multilevel.aggregator_template | 4 int "Level $(prev-level-num) IRQ line for $(cur-level) level aggregator $(aggregator)" 8 This is the level $(prev-level-num) interrupt number for level
|
/Zephyr-latest/subsys/stats/ |
D | stats.c | 221 struct stats_hdr *prev; in stats_register() local 225 prev = NULL; in stats_register() 231 prev = cur; in stats_register() 234 if (prev == NULL) { in stats_register() 237 prev->s_next = hdr; in stats_register()
|
/Zephyr-latest/tests/kernel/sched/preempt/src/ |
D | main.c | 233 k_tid_t curr = &worker_threads[id], prev; in worker() local 265 prev = last_wakeup_thread; in worker() 272 prev = last_wakeup_thread; in worker() 281 prev = last_wakeup_thread; in worker() 291 prev = last_wakeup_thread; in worker() 294 validate_wakeup(id, wakeup_target, prev); in worker()
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_6lo_fragment.c | 406 struct net_buf *prev, *current; in fragment_move_back() local 408 prev = NULL; in fragment_move_back() 413 if (prev) { in fragment_move_back() 414 prev->frags = frag; in fragment_move_back() 421 prev = current; in fragment_move_back() 447 struct net_buf *prev, *current, *next; in fragment_reconstruct_packet() local 449 prev = NULL; in fragment_reconstruct_packet() 455 if (!prev || (fragment_offset(prev) > fragment_offset(current))) { in fragment_reconstruct_packet() 456 prev = current; in fragment_reconstruct_packet() 458 fragment_move_back(pkt, current, prev); in fragment_reconstruct_packet()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_prof.c | 203 uint16_t latency, cputime, prev; in send() local 224 prev = ((uint16_t)latency_prev + latency) >> 1; in send() 225 if (prev != latency_prev) { in send() 245 prev = ((uint16_t)cputime_prev + cputime) >> 1; in send() 246 if (prev != cputime_prev) { in send()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | arp.c | 94 sys_snode_t *prev = NULL; in arp_entry_find_move_first() local 99 entry = arp_entry_find(&arp_table, iface, dst, &prev); in arp_entry_find_move_first() 107 sys_slist_remove(&arp_table, prev, &entry->node); in arp_entry_find_move_first() 127 sys_snode_t *prev = NULL; in arp_entry_get_pending() local 132 entry = arp_entry_find(&arp_pending_entries, iface, dst, &prev); in arp_entry_get_pending() 135 sys_slist_remove(&arp_pending_entries, prev, &entry->node); in arp_entry_get_pending() 471 sys_snode_t *prev = NULL; in arp_gratuitous() local 474 entry = arp_entry_find(&arp_table, iface, src, &prev); in arp_gratuitous() 642 sys_snode_t *prev = NULL; in net_arp_update() local 645 arp_ent = arp_entry_find(&arp_table, iface, src, &prev); in net_arp_update() [all …]
|
/Zephyr-latest/tests/kernel/timer/cycle64/src/ |
D | main.c | 33 uint32_t timeout(uint64_t prev, uint64_t now) in timeout() argument 35 uint64_t next = prev + BIT64(32) - now; in timeout()
|
/Zephyr-latest/tests/drivers/uart/uart_mix_fifo_poll/src/ |
D | main.c | 40 uint8_t prev; member 91 src->prev = b; in process_byte() 95 ok = ((b - src->prev) == 1) || (!b && (src->prev == 0x0F)); in process_byte() 98 (base << 4) | b, (base << 4) | src->prev); in process_byte() 99 src->prev = b; in process_byte()
|