/Zephyr-latest/lib/libc/minimal/source/stdlib/ |
D | qsort.c | 43 static inline int compare(struct qsort_comp *cmp, void *a, void *b) in compare() argument 45 if (cmp->has3) { in compare() 46 return cmp->comp3(a, b, cmp->arg); in compare() 49 return cmp->comp2(a, b); in compare() 52 static void sift_down(void *base, int start, int end, size_t size, struct qsort_comp *cmp) in sift_down() argument 62 if (compare(cmp, A(swap), A(child)) < 0) { in sift_down() 67 if (right(root) < end && compare(cmp, A(swap), A(right(root))) < 0) { in sift_down() 79 static void heapify(void *base, int nmemb, size_t size, struct qsort_comp *cmp) in heapify() argument 84 sift_down(base, start, nmemb, size, cmp); in heapify() 88 static void heap_sort(void *base, int nmemb, size_t size, struct qsort_comp *cmp) in heap_sort() argument [all …]
|
D | bsearch.c | 23 int (*cmp)(const void *key, const void *element)) in bsearch() 34 result = cmp(key, pivot); in bsearch()
|
/Zephyr-latest/kernel/ |
D | priority_queues.c | 15 int32_t cmp; in z_priq_rb_lessthan() local 20 cmp = z_sched_prio_cmp(thread_a, thread_b); in z_priq_rb_lessthan() 22 if (cmp > 0) { in z_priq_rb_lessthan() 24 } else if (cmp < 0) { in z_priq_rb_lessthan()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/ |
D | cntr.c | 151 void cntr_cmp_set(uint8_t cmp, uint32_t value) in cntr_cmp_set() argument 170 nrf_grtc_sys_counter_compare_event_disable(NRF_GRTC, cmp); in cntr_cmp_set() 174 NRF_GRTC->CC[cmp].CCL = stale; in cntr_cmp_set() 177 nrf_grtc_task_trigger(NRF_GRTC, (NRF_GRTC_TASK_CAPTURE_0 + (cmp * sizeof(uint32_t)))); in cntr_cmp_set() 181 cntr_l = NRF_GRTC->CC[cmp].CCL; in cntr_cmp_set() 185 cntr_h = NRF_GRTC->CC[cmp].CCH; in cntr_cmp_set() 195 nrf_grtc_sys_counter_cc_set(NRF_GRTC, cmp, in cntr_cmp_set() 199 nrf_grtc_sys_counter_compare_event_enable(NRF_GRTC, cmp); in cntr_cmp_set() 202 nrf_rtc_cc_set(NRF_RTC, cmp, value); in cntr_cmp_set()
|
/Zephyr-latest/soc/nxp/mcx/mcxw/ |
D | mcxw71_platform_init.S | 27 cmp r0, r1 38 cmp r0, r1 45 cmp r0, r1 52 cmp r0, r1
|
/Zephyr-latest/arch/arm64/core/ |
D | early_mem_funcs.S | 30 cmp x2, #8 40 cmp x2, #7 64 cmp x2, #8 70 cmp x2, #7
|
D | switch.S | 148 cmp x1, #0x07 /*Access to SIMD or floating-point */ 156 cmp x1, #0x15 /* 0x15 = SVC */ 162 cmp x1, #_SVC_CALL_RUNTIME_EXCEPT 166 cmp x1, #_SVC_CALL_SYSTEM_CALL 171 cmp x1, #_SVC_CALL_IRQ_OFFLOAD
|
D | userspace.S | 34 cmp x0, x1 77 cmp x0, x1 108 cmp x8, x9
|
D | isr_wrapper.S | 72 cmp x0, 1019 74 cmp x0, 1023 82 cmp x0, x1
|
D | reset.S | 166 cmp x5, #CONFIG_MP_MAX_NUM_CPUS 173 cmp x3, x1 181 cmp x1, x2 209 cmp x0, x9
|
D | macro_priv.inc | 36 cmp \xreg2, \xreg0 39 cmp \xreg1, #CONFIG_MP_MAX_NUM_CPUS
|
/Zephyr-latest/arch/arm/core/cortex_a_r/ |
D | isr_wrapper.S | 59 cmp r0, #MODE_USR 115 cmp r0, #0 167 cmp r0, #0 204 cmp r0, r1 256 cmp r0, #1 280 cmp r0, #0 305 cmp r0, r1 341 cmp r0, #0 364 cmp r0, #0
|
D | exc_exit.S | 52 cmp r1, #MODE_USR 74 cmp r1, #0 81 cmp r0, #0 146 cmp r0, #1 152 cmp r0, r1 214 cmp r1, #1 218 cmp r0, #0
|
D | cpu_idle.S | 30 cmp r0, #0 94 cmp r0, #0
|
D | swap_helper.S | 86 cmp r0, #0 214 cmp r0, #MODE_USR 267 cmp r0, #0 314 cmp r1, #_SVC_CALL_SYSTEM_CALL 318 cmp r1, #_SVC_CALL_CONTEXT_SWITCH 321 cmp r1, #_SVC_CALL_RUNTIME_EXCEPT 396 cmp r6, ip
|
D | switch.S | 125 cmp r1, #_SVC_CALL_RUNTIME_EXCEPT 129 cmp r1, #_SVC_CALL_IRQ_OFFLOAD 139 cmp r3, #1
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | macro.inc | 14 cmp \xreg, 0xc 16 cmp \xreg, 0x8 18 cmp \xreg, 0x4
|
/Zephyr-latest/subsys/logging/ |
D | log_cache.h | 27 log_cache_cmp_func_t cmp; member 33 log_cache_cmp_func_t cmp; member
|
D | log_cache.c | 45 cache->cmp = config->cmp; in log_cache_init() 62 if (cache->cmp(entry->id, id)) { in log_cache_get()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_sifive.c | 191 int cmp, scaler; in wdt_sifive_install_timeout() local 205 cmp = wdt_sifive_convtime(cfg->window.max, WDOG_CLK, &scaler); in wdt_sifive_install_timeout() 206 if (cmp < 0 || WDOGCMP_MAX < cmp) { in wdt_sifive_install_timeout() 235 wdt->wdogcmp0 = cmp; in wdt_sifive_install_timeout()
|
/Zephyr-latest/soc/nxp/lpc/lpc54xxx/gcc/ |
D | startup_LPC54114_cm4.S | 56 cmp r3, r2 /* Core ID matches M4 identifier */ 81 cmp r2, #0 /* Slave boot address = 0 (not set up)? */
|
/Zephyr-latest/soc/nxp/s32/s32k3/ |
D | s32k3xx_startup.S | 33 cmp r2, 0x0 36 cmp r2, 0x0
|
/Zephyr-latest/subsys/bluetooth/controller/hal/ |
D | cntr.h | 14 void cntr_cmp_set(uint8_t cmp, uint32_t value);
|
/Zephyr-latest/samples/sensor/adc_cmp_npcx/boards/ |
D | npcx9m6f_evb.overlay | 9 compatible = "nuvoton,adc-cmp";
|
/Zephyr-latest/arch/sparc/core/ |
D | interrupt_trap.S | 48 cmp %g3, 1 187 cmp %o0, %o1 194 cmp %l5, 0 289 cmp %l6, %l7 298 cmp %l5, 1
|