Home
last modified time | relevance | path

Searched full:swap (Results 1 – 25 of 107) sorted by relevance

12345

/Zephyr-Core-2.7.6/lib/libc/minimal/source/stdlib/
Dqsort.c39 int swap; in sift_down() local
41 for (swap = start, root = swap; left(root) < end; root = swap) { in sift_down()
45 if (comp(A(swap), A(child), comp_arg) < 0) { in sift_down()
46 swap = child; in sift_down()
50 if (right(root) < end && comp(A(swap), A(right(root)), comp_arg) < 0) { in sift_down()
51 swap = right(root); in sift_down()
54 if (swap == root) { in sift_down()
58 byteswp(A(root), A(swap), size); in sift_down()
/Zephyr-Core-2.7.6/tests/arch/arm/arm_thread_swap/
Dtestcase.yaml6 arch.arm.swap.common:
8 arch.arm.swap.common.no_optimizations:
14 arch.arm.swap.common.fpu_sharing:
19 arch.arm.swap.common.fpu_sharing.no_optimizations:
DREADME.txt1 Title: Test suite to verify the thread-swap (context-switch) and system-calls
6 Thread-swap test:
11 at thread swap-out and swap-in, respectively
13 restored, properly, at thread swap-out and swap-in, respectively,
17 - the swap return value can be set and will be return, properly,
18 at thread swap-in
27 swap-out (by calling arch_swap(.)).
/Zephyr-Core-2.7.6/tests/arch/arm/arm_thread_swap_tz/
Dtestcase.yaml6 arch.arm.swap.tz: {}
7 arch.arm.swap.tz_off:
/Zephyr-Core-2.7.6/tests/arch/arm/arm_thread_swap/src/
Darm_thread_arch.c238 "ztest thread basepri not preserved in swap-out\n"); in alt_thread_entry()
241 * for state variable thread.arch.basepri (set before swap). in alt_thread_entry()
244 "ztest thread basepri not preserved in swap-out\n"); in alt_thread_entry()
246 /* Verify original swap return value (set by arch_swap() */ in alt_thread_entry()
248 "ztest thread swap-return-value not preserved in swap-out\n"); in alt_thread_entry()
295 "ztest thread mode Ftype flag not updated at swap-out: 0x%0x\n", in alt_thread_entry()
321 * to verify later, that this value is properly returned by swap. in alt_thread_entry()
371 /* Manually trigger a context-switch, to swap-out in alt_thread_entry()
478 * The container will, later, be populated by the swap mechanism. in test_arm_thread_swap()
486 /* Modify bit-0 of the FPSCR - will be checked again upon swap-in. */ in test_arm_thread_swap()
[all …]
/Zephyr-Core-2.7.6/samples/philosophers/
DREADME.rst129 …r 0 PENDING PRIO 3) arch_swap (key=0) at zephyr/mainline/zephyr/arch/arm/core/aarch32/swap.c:53
130 …DED PRIO 2) arch_swap (key=key@entry=0) at zephyr/mainline/zephyr/arch/arm/core/aarch32/swap.c:53
131 …DED PRIO 1) arch_swap (key=key@entry=0) at zephyr/mainline/zephyr/arch/arm/core/aarch32/swap.c:53
132 …DED PRIO 0) arch_swap (key=key@entry=0) at zephyr/mainline/zephyr/arch/arm/core/aarch32/swap.c:53
133 …r 4 PENDING PRIO 255) arch_swap (key=0) at zephyr/mainline/zephyr/arch/arm/core/aarch32/swap.c:53
134 …DED PRIO 254) arch_swap (key=key@entry=0) at zephyr/mainline/zephyr/arch/arm/core/aarch32/swap.c:53
/Zephyr-Core-2.7.6/tests/bluetooth/df/connectionless_cte_chains/src/
Dtest_remove_cte_from_chain.c185 /* Swap PDU double buffer and get new latest PDU data */ in remove_cte_from_chain_after_enqueue_to_lll()
188 "Unexpected value of new PDU pointer after PDU double buffer swap"); in remove_cte_from_chain_after_enqueue_to_lll()
192 "Unexpected value of previous PDU pointer after PDU double buffer swap"); in remove_cte_from_chain_after_enqueue_to_lll()
194 /* Free PDUs fifo should hold single PDU released during double buffer swap. The PDU in remove_cte_from_chain_after_enqueue_to_lll()
222 /* Swap PDU double buffer to check correctness of release former PDUs */ in remove_cte_from_chain_after_enqueue_to_lll()
225 "Unexpected value of PDU pointer after PDU double buffer swap"); in remove_cte_from_chain_after_enqueue_to_lll()
Dtest_add_cte_to_chain.c136 /* Swap PDU double buffer and get new latest PDU data */ in test_add_cte_to_not_all_pdus_in_chain_enqueued_to_lll()
139 "Unexpected value of new PDU pointer after PDU double buffer swap"); in test_add_cte_to_not_all_pdus_in_chain_enqueued_to_lll()
143 "Unexpected value of previous PDU pointer after PDU double buffer swap"); in test_add_cte_to_not_all_pdus_in_chain_enqueued_to_lll()
/Zephyr-Core-2.7.6/lib/gui/lvgl/
DKconfig.input28 bool "Swap keyboard scan X,Y axes"
30 Swap keyboard scan X,Y axes. This option can be used to align keyboard
DKconfig.graphical46 bool "RGB565 byte swap"
49 Swap the 2 bytes of a RGB565 pixel.
/Zephyr-Core-2.7.6/subsys/dfu/
DKconfig49 Enables usage swap type field which is required after
50 "Fix double swap on interrupted revert" mcuboot patch
/Zephyr-Core-2.7.6/arch/posix/core/
DCMakeLists.txt10 swap.c
/Zephyr-Core-2.7.6/tests/kernel/fpu_sharing/float_disable/src/
Dk_float_disable.c72 /* Yield will swap-in usr_fp_thread */ in test_k_float_disable_common()
121 /* Yield will swap-in usr_fp_thread */ in test_k_float_disable_syscall()
130 /* Yield will swap-in usr_fp_thread */ in test_k_float_disable_syscall()
240 /* Yield will swap-in sup_fp_thread */ in test_k_float_disable_irq()
/Zephyr-Core-2.7.6/arch/nios2/core/
DCMakeLists.txt10 swap.S
/Zephyr-Core-2.7.6/arch/riscv/core/
DCMakeLists.txt15 swap.S
/Zephyr-Core-2.7.6/samples/subsys/usb/dfu/
DREADME.rst79 Reset the SoC. MCUboot boot will swap the images and boot the new application,
89 [MCUBOOT] [INF] boot_swap_type: Swap type: test
105 [MCUBOOT] [INF] boot_swap_type: Swap type: revert
/Zephyr-Core-2.7.6/samples/net/sockets/echo_client/boards/
Dqemu_cortext_m3.conf2 # For linux<->qemu connectivity, create a new conf file and swap the
Dqemu_x86.conf2 # For linux<->qemu connectivity, create a new conf file and swap the
/Zephyr-Core-2.7.6/subsys/dfu/boot/
Dmcuboot_shell.c158 area->name, area->id, "swap state", err); in cmd_mcuboot_info_area()
166 shell_print(shell, " swap type: %s", in cmd_mcuboot_info_area()
183 shell_print(shell, "swap type: %s", swap_type_str(mcuboot_swap_type())); in cmd_mcuboot_info()
/Zephyr-Core-2.7.6/include/dfu/
Dmcuboot.h34 /** Swap to slot 1. Absent a confirm command, revert back on next boot. */
43 /** Swap to slot 1, and permanently switch to booting its contents. */
52 /** Swap back to alternate slot. A confirm changes this state to NONE. */
61 /** Swap failed because image to be run is not valid */
/Zephyr-Core-2.7.6/include/arch/x86/ia32/
Darch.h260 #define ARCH_ISR_DIRECT_FOOTER(swap) arch_isr_direct_footer(swap) argument
289 static inline void arch_isr_direct_footer(int swap) in arch_isr_direct_footer() argument
297 /* Call swap if all the following is true: in arch_isr_direct_footer()
299 * 1) swap argument was enabled to this function in arch_isr_direct_footer()
303 if (swap != 0 && _kernel.cpus[0].nested == 0 && in arch_isr_direct_footer()
/Zephyr-Core-2.7.6/arch/arm/core/aarch32/
DCMakeLists.txt12 swap.c
/Zephyr-Core-2.7.6/samples/net/sockets/echo_client/
Dprj.conf40 # For linux<->qemu connectivity, create a new conf file and swap the
/Zephyr-Core-2.7.6/arch/x86/core/ia32/
Dtls.c21 * of inside the assembly swap code just before in z_x86_tls_update_gdt()
/Zephyr-Core-2.7.6/arch/x86/core/
Dia32.cmake17 ia32/swap.S

12345