Home
last modified time | relevance | path

Searched full:variable (Results 1 – 25 of 616) sorted by relevance

12345678910>>...25

/Zephyr-Core-3.5.0/tests/cmake/zephyr_get/
DCMakeLists.txt39 # - assert_equal(<variable> <expected-value>)
41 # - assert_equal(<variable>
46 function(assert_equal variable expected_value)
47 if("${variable}" MATCHES "{.+}$")
48 string(CONFIGURE "$${variable}" actual_value)
50 set(actual_value "${${variable}}")
75 set(info "${TEST_NAME}: ${variable} == '${actual_value}'")
87 # Test with a local variable not controlled by sysbuild.
88 set(ENV{VARIABLE} "environment")
89 set(VARIABLE "cmake cache" CACHE INTERNAL "") variable
[all …]
/Zephyr-Core-3.5.0/doc/kernel/services/synchronization/
Dcondvar.rst6 A :dfn:`condition variable` is a synchronization primitive
17 condition variable is referenced by its memory address.
20 variable.
22 A condition variable is basically a queue of threads that threads can put
28 #. Puts the current thread in the condition variable queue.
38 A condition variable must be initialized before it can be used.
44 Defining a Condition Variable
47 A condition variable is defined using a variable of type :c:struct:`k_condvar`.
50 The following code defines a condition variable:
58 Alternatively, a condition variable can be defined and initialized at compile time
[all …]
/Zephyr-Core-3.5.0/doc/kernel/services/other/
Dthread_local_storage.rst24 :kconfig:option:`CONFIG_ERRNO` to let the variable ``errno`` be a thread local
25 variable. This allows user threads to access the value of ``errno`` without
34 For example, to declare a thread local variable in header files:
40 And to declare the actual variable in source files:
46 Keyword ``static`` can also be used to limit the variable within a source file:
52 Using the thread local variable is the same as using other variable, for example:
Datomic.rst6 An :dfn:`atomic variable` is one that can be read and modified
19 Using the kernel's atomic APIs to manipulate an atomic variable
21 even if higher priority contexts also manipulate the same variable.
29 Defining an Atomic Variable
32 An atomic variable is defined using a variable of type :c:type:`atomic_t`.
34 By default an atomic variable is initialized to zero. However, it can be given
41 Manipulating an Atomic Variable
44 An atomic variable is manipulated using the APIs listed at the end of
47 The following code shows how an atomic variable can be used to keep track
105 Use an atomic variable to implement critical section processing that only
/Zephyr-Core-3.5.0/include/zephyr/arch/x86/
Dintel_vtd.h64 #define VTD_MTRR_PHYSBASE0_REG 0x180 /* Variable-range MTRR Base0 */
65 #define VTD_MTRR_PHYSMASK0_REG 0x188 /* Variable-range MTRR Mask0 */
66 #define VTD_MTRR_PHYSBASE1_REG 0x190 /* Variable-range MTRR Base1 */
67 #define VTD_MTRR_PHYSMASK1_REG 0x198 /* Variable-range MTRR Mask1 */
68 #define VTD_MTRR_PHYSBASE2_REG 0x1A0 /* Variable-range MTRR Base2 */
69 #define VTD_MTRR_PHYSMASK2_REG 0x1A8 /* Variable-range MTRR Mask2 */
70 #define VTD_MTRR_PHYSBASE3_REG 0x1B0 /* Variable-range MTRR Base3 */
71 #define VTD_MTRR_PHYSMASK3_REG 0x1B8 /* Variable-range MTRR Mask3 */
72 #define VTD_MTRR_PHYSBASE4_REG 0x1C0 /* Variable-range MTRR Base4 */
73 #define VTD_MTRR_PHYSMASK4_REG 0x1C8 /* Variable-range MTRR Mask4 */
[all …]
/Zephyr-Core-3.5.0/include/zephyr/sys/
Datomic.h55 * @brief Initialize an atomic variable.
57 * This macro can be used to initialize an atomic variable. For example,
60 * @param i Value to assign to atomic variable.
65 * @brief Initialize an atomic pointer variable.
67 * This macro can be used to initialize an atomic pointer variable. For
71 * @param p Pointer value to assign to atomic pointer variable.
121 * The target may be a single atomic variable or an array of them.
126 * @param target Address of atomic variable or array.
142 * The target may be a single atomic variable or an array of them.
147 * @param target Address of atomic variable or array.
[all …]
Datomic_builtin.h35 * @param target Address of atomic variable.
59 * @param target Address of atomic variable.
81 * @param target Address of atomic variable.
100 * @param target Address of atomic variable.
119 * @param target Address of atomic variable.
137 * @param target Address of atomic variable.
155 * @param target Address of atomic variable.
173 * @param target Address of pointer variable.
192 * @param target Address of atomic variable.
216 * @param target Address of atomic variable.
[all …]
Dfdtable.h99 * @param vtable A pointer to a pointer variable to store the vtable
100 * @param lock An optional pointer to a pointer variable to store the mutex
111 * @brief Get the mutex and condition variable associated with the given object and vtable.
115 * @param lock An optional pointer to a pointer variable to store the mutex
119 * @param cond An optional pointer to a pointer variable to store the condition variable
121 * if the condition variable is not needed by the caller.
/Zephyr-Core-3.5.0/cmake/emu/
Drenode.cmake37 --variable ELF:@${APPLICATION_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}
38 --variable RESC:@${RENODE_SCRIPT}
39 --variable UART:${RENODE_UART}
40 --variable KEYWORDS:${ZEPHYR_BASE}/tests/robot/common.robot
49 …required to run Robot tests in Renode. To provide the path please set the ROBOT_FILES variable.'\;\
/Zephyr-Core-3.5.0/share/sysbuild/cmake/modules/
Dsysbuild_extensions.cmake47 # sysbuild_get(<variable> IMAGE <image> [VAR <image-variable>] <KCONFIG|CACHE>)
49 # This function will return the variable found in the CMakeCache.txt file
52 # `VAR` is not given, the `<variable>` name provided will be used both for
55 # The result will be returned in `<variable>`.
60 # and return the value in the local variable `PROJECT_NAME`.
64 # and return the value in the local variable `my_sample_PROJECT_NAME`.
68 # and return the value in the local variable `my_sample_CONFIG_FOO`.
70 # <variable>: variable used for returning CMake cache value. Also used as lookup
71 # variable if `VAR` is not provided.
72 # IMAGE: image name identifying the cache to use for variable lookup.
[all …]
/Zephyr-Core-3.5.0/tests/kernel/mem_protect/mem_protect/src/
Dmem_partition.c27 /* The global variable var will be inside the bounds of
32 /* The global variable zeroed_var will be inside the bounds of
34 * used, indicating a BSS variable.
38 /* The global variable var will be inside the bounds of
40 * used, indicating a BSS variable.
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/settings_mgmt/
DKconfig48 variable if placed on the stack or the maximum allocated size of the
49 variable if placed on the heap.
56 variable if placed on the stack or the allocated size of the
57 variable if placed on the heap (settings does not support getting
/Zephyr-Core-3.5.0/cmake/modules/
Dconfiguration_files.cmake21 # loaded, then no changes to the variable will happen.
45 # variable CONF_FILE. An already current scope variable will stay the same.
50 # variable CONF_FILE and the default prj.conf
91 The CACHED_CONF_FILE is internal Zephyr variable used between CMake runs. \
92 To change CONF_FILE, use the CONF_FILE variable.")
97 # The CONF_FILE variable is now set to its final value.
118 # The DTC_OVERLAY_FILE variable is now set to its final value.
DFindTargetTools.cmake40 # variable is used for constructing the file names of the platform files
45 # https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_PROCESSOR.html:
50 # target system. This variable is not used very much except for one
57 # https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_VERSION.html:
58 # When the CMAKE_SYSTEM_NAME variable is set explicitly to enable cross
63 # https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_BYTE_ORDER.html
67 # this setting to allow users to read the standard CMake variable or use
Dextensions.cmake349 # Set the output variable in the parent scope
376 # with a name accessible through the variable ZEPHYR_CURRENT_LIBRARY.
378 # The variable ZEPHYR_CURRENT_LIBRARY should seldom be needed since
856 # variable `ACTIVE_BOARD_REVISION` with the selected revision.
1077 key_value # Output variable
1411 # Writes 1 to the output variable 'ok' if
1433 # pow2round(<variable>)
1445 # n = Variable containing the number to round
1469 # zephyr_build_string(<out-variable>
1475 # <out-variable>: Output variable where the build string will be returned.
[all …]
Dversion.cmake65 # Temporary convenience variable
69 set(MAJOR ${${type}_VERSION_MAJOR}) # Temporary convenience variable
70 set(MINOR ${${type}_VERSION_MINOR}) # Temporary convenience variable
71 set(PATCH ${${type}_PATCHLEVEL}) # Temporary convenience variable
72 set(TWEAK ${${type}_VERSION_TWEAK}) # Temporary convenience variable
/Zephyr-Core-3.5.0/scripts/
Dsnippets.py54 def append_value(variable, value): argument
55 if variable in ('EXTRA_DTC_OVERLAY_FILE', 'EXTRA_CONF_FILE'):
58 _err(f'snippet file {pathobj}: {variable}: file not found: {path}')
60 if variable in ('DTS_EXTRA_CPPFLAGS'):
62 _err(f'unknown append variable: {variable}')
64 for variable, value in snippet_data.get('append', {}).items():
65 self.appends[variable].append(append_value(variable, value))
70 for variable, value in settings.get('append', {}).items():
71 self.board2appends[board][variable].append(
72 append_value(variable, value))
[all …]
/Zephyr-Core-3.5.0/samples/boards/stm32/ccm/
DREADME.rst13 By prefixing a variable with __ccm_data_section, __ccm_bss_section,
64 Checking initial variable values: ... PASSED
66 Initial variable values:
77 Variable values after writing:
110 Checking initial variable values: ... PASSED
112 Initial variable values:
123 Variable values after writing:
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_prepare_test.py35 …./%s/output_%s_%s.txt" % (folders[0], folders[0], names[0]) # pylint: disable=undefined-variable
37 …e_original_data(folders[0], names[0], self.data, self.file) # pylint: disable=undefined-variable
43 for idx, line in enumerate(lines): # pylint: disable=unused-variable
50 self.assertEqual(self.data[0]["name"], names[0]) # pylint: disable=undefined-variable
57 for idx, data in enumerate(self.data): # pylint: disable=unused-variable
/Zephyr-Core-3.5.0/scripts/coccinelle/
Dreturnvar.cocci2 /// Remove unneeded variable used to store return value.
56 coccilib.report.print_report(p1[0], "Unneeded variable: \"" + ret +
66 cocci.print_main("unneeded \"" + ret + "\" variable", p1)
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/
DKconfig54 This variable specifies time in milliseconds after connect()
64 This variable specifies time in milliseconds after which DNS
120 This variable specifies time in milliseconds after which DTLS
133 "This variable specifies maximum number of TLS/DTLS contexts that can
141 This variable sets maximum number of TLS/DTLS credentials that can be
149 This variable sets maximum number of TLS/DTLS ciphersuites that can
159 This variable sets maximum number of supported application layer
168 This variable specifies maximum number of stored TLS/DTLS sessions,
/Zephyr-Core-3.5.0/tests/bsim/
Dgenerate_coverage_report.sh16 the variable WORK_DIR which by default is
20 You can override this by setting the variable OUTPUT_DIR
26 the variable TWISTER_COVERAGE_FILE, for example as:
/Zephyr-Core-3.5.0/lib/libc/picolibc/
DKconfig139 bool "use a single global variable for errno"
141 Picolibc usually uses a TLS variable for errno, ensuring that
143 exceptions. This option switches to a single global errno variable,
144 which can be used to avoid TLS variable usage by the library if
/Zephyr-Core-3.5.0/doc/develop/
Denv_vars.rst15 To set the environment variable ``MY_VARIABLE`` to ``foo`` for the
65 To install RapidEE, a freeware graphical environment variable editor,
83 Choose this option if you don't want to make the variable's setting available
123 directory) to your :envvar:`PATH` environment variable
157 directory) to your ``PATH`` environment variable
215 (Note the capitalization when forming the environment variable name.)
228 ``PATH`` is an environment variable used on Unix-like or Microsoft Windows
/Zephyr-Core-3.5.0/cmake/toolchain/cross-compile/
Dgeneric.cmake4 # toolchain with a single environment variable.
15 # It can be set from either the environment or from a CMake variable

12345678910>>...25