/Zephyr-latest/tests/arch/riscv/fatal/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 16 * follwed by the "hex-coded-decismal" number of the register. in main() 19 /* "RA" -> "DA". Kind of a stretch, but okay. */ in main() 20 "li x1, 0xDADA0000FF000101\n\t" in main() 23 /* "li x2, 0\n\t" */ in main() 25 /* T0 -> D0. Kinda close in pronunciation. */ in main() 26 "li x5, 0xD0FF0000FF000505\n\t" in main() 27 "li x6, 0xD1FF0000FF000606\n\t" in main() 28 "li x7, 0xD2FF0000FF000707\n\t" in main() 29 /* S0 -> C0. Kinda close in pronunciation. */ in main() [all …]
|
/Zephyr-latest/scripts/coccinelle/ |
D | const_config_info.cocci | 2 // SPDX-License-Identifier: Apache-2.0 6 // Drivers cast the device config_info pointer to a driver-specific 7 // structure. The object is const-qualified; make sure the cast 8 // doesn't inadvertently remove that qualifier. 13 // appears as a tag in non-device aggregate types. 15 // Options: --include-headers 20 // bare: (struct T*)E 25 identifier T; 30 struct T*)E->config_info 32 // bare const: (struct T* const)E [all …]
|
D | same_identifier.cocci | 2 // https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_05_07.c 7 // SPDX-License-Identifier: Apache-2.0 16 identifier t, v; 19 struct t *v@p; 21 struct t v@p; 23 union t v@p; 27 t << common_case.t; 33 if t == v: 37 type T; 42 T v@p; [all …]
|
D | reserved_names.cocci | 2 // https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_21_02.c 7 // SPDX-License-Identifier: Apache-2.0 16 identifier t, v; 18 type T; 21 struct t *v@p; 23 struct t v@p; 25 union t v@p; 27 T v@p; 29 T *v@p; 31 struct t *v@p = E; [all …]
|
/Zephyr-latest/doc/_extensions/zephyr/doxytooltip/static/tippy/ |
D | tippy-bundle.umd.min.js | 2 * SPDX-License-Identifier: MIT 6 …t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core… argument 7 //# sourceMappingURL=tippy-bundle.umd.min.js.map
|
D | popper.min.js | 3 * SPDX-License-Identifier: MIT 7 …t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&defi… argument
|
/Zephyr-latest/tests/kernel/fpu_sharing/generic/src/ |
D | float_regs_x86_gcc.h | 9 * SPDX-License-Identifier: Apache-2.0 42 "movdqu 0(%0), %%xmm0\n\t;" in _load_all_float_registers() 43 "movdqu 16(%0), %%xmm1\n\t;" in _load_all_float_registers() 44 "movdqu 32(%0), %%xmm2\n\t;" in _load_all_float_registers() 45 "movdqu 48(%0), %%xmm3\n\t;" in _load_all_float_registers() 46 "movdqu 64(%0), %%xmm4\n\t;" in _load_all_float_registers() 47 "movdqu 80(%0), %%xmm5\n\t;" in _load_all_float_registers() 48 "movdqu 96(%0), %%xmm6\n\t;" in _load_all_float_registers() 49 "movdqu 112(%0), %%xmm7\n\t;" in _load_all_float_registers() 51 "fldt 128(%0)\n\t;" in _load_all_float_registers() [all …]
|
D | float_regs_arm64_gcc.h | 9 * SPDX-License-Identifier: Apache-2.0 37 "ldp q0, q1, [x0, #(16 * 0)]\n\t" in _load_all_float_registers() 38 "ldp q2, q3, [x0, #(16 * 2)]\n\t" in _load_all_float_registers() 39 "ldp q4, q5, [x0, #(16 * 4)]\n\t" in _load_all_float_registers() 40 "ldp q6, q7, [x0, #(16 * 6)]\n\t" in _load_all_float_registers() 41 "ldp q8, q9, [x0, #(16 * 8)]\n\t" in _load_all_float_registers() 42 "ldp q10, q11, [x0, #(16 * 10)]\n\t" in _load_all_float_registers() 43 "ldp q12, q13, [x0, #(16 * 12)]\n\t" in _load_all_float_registers() 44 "ldp q14, q15, [x0, #(16 * 14)]\n\t" in _load_all_float_registers() 45 "ldp q16, q17, [x0, #(16 * 16)]\n\t" in _load_all_float_registers() [all …]
|
D | float_regs_arc_gcc.h | 9 * SPDX-License-Identifier: Apache-2.0 44 "ld.ab %1, [%0, 4];\n\t" in _load_all_float_registers() 45 "sr %1, [%2];\n\t" in _load_all_float_registers() 46 "ld.ab %1, [%0, 4];\n\t" in _load_all_float_registers() 47 "sr %1, [%3];\n\t" in _load_all_float_registers() 48 "ld.ab %1, [%0, 4];\n\t" in _load_all_float_registers() 49 "sr %1, [%4];\n\t" in _load_all_float_registers() 50 "ld.ab %1, [%0, 4];\n\t" in _load_all_float_registers() 51 "sr %1, [%5];\n\t" in _load_all_float_registers() 77 "lr %1, [%2];\n\t" in _store_all_float_registers() [all …]
|
/Zephyr-latest/samples/subsys/logging/syst/ |
D | README.rst | 3 MIPI Sys-T Logging Sample 14 This project outputs a few sample log messages in MIPI Sys-T format. 15 These Sys-T messages can be interpreted by a utility in 16 :file:`<workspace>/modules/debug/mipi-sys-t/printer/`. 18 Build the Sys-T Message Parser 21 .. code-block:: console 23 cd <workspace>/modules/debug/mipi-sys-t/printer/ 30 :file:`<workspace>/modules/debug/mipi-sys-t/printer/build`. 32 MIPI Sys-T Text Messages 35 The Sys-T text messages are self contained strings that do not [all …]
|
/Zephyr-latest/tests/ztest/busy_sim/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 15 uint32_t t = k_uptime_get_32(); in ZTEST() local 18 t = k_uptime_get_32() - t; in ZTEST() 20 zassert_true((t > (ms - delta)) && (t < (ms + delta))); in ZTEST() 23 t = k_uptime_get_32(); in ZTEST() 26 t = k_uptime_get_32() - t; in ZTEST() 33 zassert_true((t > (busy_ms - 2 * delta)) && (t < (busy_ms + 4 * delta)), in ZTEST() 34 "expected in range: %d-%d, k_busy_wait lasted %d", in ZTEST() 35 busy_ms - 2 * delta, busy_ms + 4 * delta, t); in ZTEST() 38 t = k_uptime_get_32(); in ZTEST() [all …]
|
/Zephyr-latest/tests/arch/x86/info/src/ |
D | acpi.c | 2 * SPDX-License-Identifier: Apache-2.0 15 return "PCI Sub-hierarchy"; in get_dmar_scope_type() 21 return "ACPI name-space enumerated"; in get_dmar_scope_type() 31 printk("\t\t\t. Scope type %s\n", get_dmar_scope_type(devscope->EntryType)); in dmar_devsope_handler() 32 printk("\t\t\t. Enumeration ID %u\n", devscope->EnumerationId); in dmar_devsope_handler() 34 if (devscope->EntryType < ACPI_DMAR_SCOPE_TYPE_RESERVED) { in dmar_devsope_handler() 36 int num_path = (devscope->Length - 6u) / 2u; in dmar_devsope_handler() 42 while (num_path--) { in dmar_devsope_handler() 43 printk("\t\t\t. PCI Path %02x:%02x.%02x\n", devscope->Bus, in dmar_devsope_handler() 54 printk("\t\t[ Hardware Unit Definition %d ]\n", unit++); in vtd_drhd_info() [all …]
|
/Zephyr-latest/kernel/ |
D | timeout.c | 4 * SPDX-License-Identifier: Apache-2.0 24 /* Ticks left to process in the currently-executing sys_clock_announce() */ 41 sys_dnode_t *t = sys_dlist_peek_head(&timeout_list); in first() local 43 return (t == NULL) ? NULL : CONTAINER_OF(t, struct _timeout, node); in first() 46 static struct _timeout *next(struct _timeout *t) in next() argument 48 sys_dnode_t *n = sys_dlist_peek_next(&timeout_list, &t->node); in next() 53 static void remove_timeout(struct _timeout *t) in remove_timeout() argument 55 if (next(t) != NULL) { in remove_timeout() 56 next(t)->dticks += t->dticks; in remove_timeout() 59 sys_dlist_remove(&t->node); in remove_timeout() [all …]
|
/Zephyr-latest/tests/arch/x86/cpu_scrubs_regs/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 19 * - Write 0xDEADBEEF values during system call into registers in z_impl_test_cpu_write_reg() 20 * - In main test we will read that registers to verify in z_impl_test_cpu_write_reg() 29 "movl $0xDEADBEEF, %%eax;\n\t" in z_impl_test_cpu_write_reg() 30 "movl $0xDEADBEEF, %%ebx;\n\t" in z_impl_test_cpu_write_reg() 31 "movl $0xDEADBEEF, %%ecx;\n\t" in z_impl_test_cpu_write_reg() 32 "movl $0xDEADBEEF, %%edx;\n\t" in z_impl_test_cpu_write_reg() 33 "movl $0xDEADBEEF, %%edi;\n\t" in z_impl_test_cpu_write_reg() 38 "movq $0xDEADBEEF, %%rax;\n\t" in z_impl_test_cpu_write_reg() 39 "movq $0xDEADBEEF, %%rcx;\n\t" in z_impl_test_cpu_write_reg() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/common/ |
D | multiprocessing.c | 4 * SPDX-License-Identifier: Apache-2.0 15 #include <xtensa/config/core-isa.h> 21 #include <cavs-idc.h> 40 * a "manifest" of code to copy to LP-SRAM at startup (vs. the tiny 50 * to be absolutely sure we don't try to IPI a CPU that isn't ready to 66 __asm__(".section .text.z_soc_mp_asm_entry, \"x\" \n\t" 67 ".align 4 \n\t" 68 ".global z_soc_mp_asm_entry \n\t" 69 "z_soc_mp_asm_entry: \n\t" 70 " movi a0, 0x4002f \n\t" /* WOE | UM | INTLEVEL(max) */ [all …]
|
/Zephyr-latest/arch/x86/include/ia32/ |
D | exception.h | 4 * SPDX-License-Identifier: Apache-2.0 15 ".pushsection .gnu.linkonce.intList.exc_" #vector "\n\t" \ 16 ".long 1f\n\t" /* ISR_LIST.fnc */ \ 17 ".long -1\n\t" /* ISR_LIST.irq */ \ 18 ".long -1\n\t" /* ISR_LIST.priority */ \ 19 ".long " STRINGIFY(vector) "\n\t" /* ISR_LIST.vec */ \ 20 ".long " STRINGIFY(dpl) "\n\t" /* ISR_LIST.dpl */ \ 21 ".long 0\n\t" /* ISR_LIST.tss */ \ 22 ".popsection\n\t" \ 33 /* Unfortunately, GCC extended asm doesn't work at toplevel so we need [all …]
|
/Zephyr-latest/tests/kernel/context/ |
D | README.txt | 12 - start a helper thread to help with k_yield() tests 13 - start a thread to test thread related functionality 16 - Called by a higher priority thread when there is another thread 17 - Called by an equal priority thread when there is another thread 18 - Called by a lower priority thread when there is another thread 21 - Called from an ISR (interrupted a task) 22 - Called from an ISR (interrupted a thread) 23 - Called from a task 24 - Called from a thread 27 - Called from an ISR that interrupted a task [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/ |
D | boot.c | 2 * SPDX-License-Identifier: Apache-2.0 23 __asm__(".section .imr.boot_entry_d3_restore, \"x\"\n\t" 24 ".align 4\n\t" 25 ".global boot_entry_d3_restore\n\t" 26 "boot_entry_d3_restore:\n\t" 27 " movi a0, 0x4002f\n\t" 28 " wsr a0, PS\n\t" 29 " movi a0, 0\n\t" 30 " wsr a0, WINDOWBASE\n\t" 31 " movi a0, 1\n\t" [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | cbprintf_cxx.h | 4 * SPDX-License-Identifier: Apache-2.0 80 template < typename T > 81 static inline int z_cbprintf_cxx_is_pchar(T arg, bool const_as_fixed) in z_cbprintf_cxx_is_pchar() 85 _Pragma("GCC diagnostic ignored \"-Wpointer-arith\"") in z_cbprintf_cxx_is_pchar() 132 template < typename T > 133 static inline int z_cbprintf_cxx_is_word_num(T arg) in z_cbprintf_cxx_is_word_num() 137 _Pragma("GCC diagnostic ignored \"-Wpointer-arith\"") in z_cbprintf_cxx_is_word_num() 243 template < typename T > 244 static inline int z_cbprintf_cxx_is_none_char_ptr(T arg) in z_cbprintf_cxx_is_none_char_ptr() 259 template < typename T > [all …]
|
D | time_units.h | 4 * SPDX-License-Identifier: Apache-2.0 26 /** @brief System-wide macro to denote "forever" in milliseconds 33 #define SYS_FOREVER_MS (-1) 35 /** @brief System-wide macro to denote "forever" in microseconds 39 #define SYS_FOREVER_US (-1) 41 /** @brief System-wide macro to convert milliseconds to kernel timeouts 102 * This isn't intended to be used directly, instead being wrapped 103 * appropriately in a user-facing API. The boolean arguments are: 105 * const_hz - The hz arguments are known to be compile-time 108 * result32 - The result will be truncated to 32 bits on use [all …]
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | mem.c | 5 * SPDX-License-Identifier: Apache-2.0 30 if (info->tx_slabs[i] == slab) { in slab_pool_found_already() 34 if (info->data_pools[i] == pool) { in slab_pool_found_already() 48 const struct shell *sh = data->sh; in context_info() 49 struct ctx_info *info = data->user_data; in context_info() 57 if (context->tx_slab) { in context_info() 58 slab = context->tx_slab(); in context_info() 65 PR("%p\t%u\t%u\tETX\n", in context_info() 66 slab, slab->info.num_blocks, k_mem_slab_num_free_get(slab)); in context_info() 68 PR("%p\t%d\tETX\n", slab, slab->info.num_blocks); in context_info() [all …]
|
D | allocs.c | 5 * SPDX-License-Identifier: Apache-2.0 24 const struct shell *sh = data->sh; in allocs_cb() 43 PR("%p/%ld\t%5s\t%5s\t%s():%d\n", in allocs_cb() 44 pkt, atomic_get(&pkt->atomic_ref), str, in allocs_cb() 45 net_pkt_slab2str(pkt->slab), in allocs_cb() 48 PR("%p\t%5s\t%5s\t%s():%d -> %s():%d\n", in allocs_cb() 49 pkt, str, net_pkt_slab2str(pkt->slab), in allocs_cb() 58 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in allocs_cb() 61 PR("%p/%d\t%5s\t%5s\t%s():%d\n", in allocs_cb() 62 buf, buf->ref, in allocs_cb() [all …]
|
/Zephyr-latest/modules/ |
D | Kconfig.syst | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "MIPI SyS-T Library Support" 7 This option enables the MIPI SyS-T Library 12 bool "STP Transport Layer for MIPI SyS-T" 15 Transport Layer for MIPI SyS-T 18 bool "output MIPI SyS-T raw data packet" 20 This option outputs MIPI SyS-T raw data packet 26 Tell MIPI Sys-T library to not build with
|
/Zephyr-latest/lib/posix/options/ |
D | pthread.c | 5 * SPDX-License-Identifier: Apache-2.0 24 (((_zprio) < 0) ? (-1 * ((_zprio) + 1)) : (CONFIG_NUM_PREEMPT_PRIORITIES - (_zprio)-1)) 27 (((_pol) == SCHED_FIFO) ? (-1 * ((_prio) + 1)) \ 28 : (CONFIG_NUM_PREEMPT_PRIORITIES - (_prio)-1)) 47 return attr->stacksize + 1; in __get_attr_stacksize() 52 attr->stacksize = stacksize - 1; in __set_attr_stacksize() 95 static inline void posix_thread_q_set(struct posix_thread *t, enum posix_thread_qid qid) in posix_thread_q_set() argument 101 sys_dlist_append(&posix_thread_q[qid], &t->q_node); in posix_thread_q_set() 102 t->qid = qid; in posix_thread_q_set() 105 __ASSERT(false, "cannot set invalid qid %d for posix thread %p", qid, t); in posix_thread_q_set() [all …]
|
/Zephyr-latest/samples/net/stats/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 20 #define GET_STAT(iface, s) (iface ? iface->stats.s : data->s) 22 #define GET_STAT(iface, s) data->s 35 printk("IPv6 recv %d\tsent\t%d\tdrop\t%d\tforwarded\t%d\n", in print_stats() 41 printk("IPv6 ND recv %d\tsent\t%d\tdrop\t%d\n", in print_stats() 47 printk("IPv6 PMTU recv %d\tsent\t%d\tdrop\t%d\n", in print_stats() 53 printk("IPv6 MLD recv %d\tsent\t%d\tdrop\t%d\n", in print_stats() 61 printk("IPv4 recv %d\tsent\t%d\tdrop\t%d\tforwarded\t%d\n", in print_stats() 68 printk("IP vhlerr %d\thblener\t%d\tlblener\t%d\n", in print_stats() 72 printk("IP fragerr %d\tchkerr\t%d\tprotoer\t%d\n", in print_stats() [all …]
|