Home
last modified time | relevance | path

Searched refs:array (Results 26 – 50 of 168) sorted by relevance

1234567

/Zephyr-latest/samples/boards/st/ccm/src/
Dmain.c38 void print_array(const void *array, uint32_t size) in print_array() argument
43 printf("0x%02x ", ((const char *)array)[i]); in print_array()
/Zephyr-latest/drivers/serial/
Duart_native_tty_bottom.c23 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) argument
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_common.c18 #define CONTAINER_OF_ITEM(ptr, idx, type, array) \ argument
20 (idx * sizeof(array[0])) - \
21 offsetof(type, array[0]))
/Zephyr-latest/doc/kernel/services/data_passing/
Dstacks.rst23 The queue is implemented using an array of stack_data_t values
28 * A **maximum quantity** of data values that can be queued in the array.
40 already full will result in array overflow, and lead to unpredictable behavior.
80 that the macro defines both the stack and its array of data values.
97 /* define array of data structures */
/Zephyr-latest/scripts/coccinelle/
Darray_size.cocci1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
4 //# where there is a division of sizeof the array by the sizeof its first
/Zephyr-latest/soc/ti/simplelink/cc13x2x7_cc26x2x7/
DKconfig65 hex "Cap array tuning delta"
69 Enable a specific cap array tunning delta.
/Zephyr-latest/lib/heap/
DKconfig56 int "Size of array to store heap pointers"
59 The size of the internal array to store heap pointers. The array
61 One can then iterate through the array to get all heaps statistics
64 The default array size is zero, which disables the feature.
/Zephyr-latest/drivers/can/
DKconfig.rcar20 Defines the array size of the callback/msgq pointers.
DKconfig.native_linux28 Defines the array size of the callback/msgq pointers.
DKconfig.mcp251535 Defines the array size of the callback/msgq pointers.
/Zephyr-latest/doc/build/dts/
Dintro-syntax-structure.rst68 array of what are called *cells*. A cell is just a 32-bit unsigned integer.
249 Within Zephyr's bindings syntax, this property has type ``string-array``.
295 Information about interrupts generated by the device, encoded as an array
349 * - array
353 * - uint8-array
355 - ``a-byte-array = [00 01 ab];``
357 * - string-array
359 - ``a-string-array = "string one", "string two", "string three";``
369 * - phandle-array
371 - ``a-phandle-array = <&mynode0 1 2>, <&mynode1 3 4>;``
[all …]
Dapi-usage.rst152 numeric array, and string array properties.
185 Properties with type ``array``, ``uint8-array``, and ``string-array`` work
186 similarly, except ``DT_PROP()`` expands to an array initializer in these cases.
192 a = <1000 2000 3000>; /* array */
193 b = [aa bb cc dd]; /* uint8-array */
194 c = "bar", "baz"; /* string-array */
207 You can use :c:macro:`DT_PROP_LEN()` to get logical array lengths in number of
272 Here, ``idx`` is the logical index into the ``interrupts`` array, i.e. it is
304 contain phandles have type ``phandle``, ``phandles``, or ``phandle-array`` in
316 Another common use case is accessing specifier values in a phandle array. The
Dmacros.bnf117 ; These are a bit of a special case because they kind of form an array,
118 ; but the array indexes correspond to pinctrl-DIGIT properties in a node.
196 ; A given logical GPIO hog array index exists.
202 ; The node identifier for the phandle of a logical index in the GPIO hogs array.
209 ; The pin cell of a logical index in the GPIO hogs array exists.
215 ; The value of the pin cell of a logical index in the GPIO hogs array.
221 ; The flags cell of a logical index in the GPIO hogs array exists.
227 ; The value of the flags cell of a logical index in the GPIO hogs array.
242 ; subvalue that deserves its own macro, like the macros for an array
303 ; - with array types (uint8-array, phandle-array, etc.)
[all …]
/Zephyr-latest/tests/lib/json/src/
Dmain.c124 struct array { struct
129 struct array objects_array[4]; argument
134 JSON_OBJ_DESCR_OBJECT(struct array, objects, elt_descr),
193 struct test_element array[5]; member
204 JSON_OBJ_DESCR_OBJ_ARRAY(struct test_outer, array, 5,
1356 zassert_equal(o.array[0].int1, 1, "Element 0 int1 not decoded correctly"); in ZTEST()
1357 zassert_equal(o.array[0].int2, 2, "Element 0 int2 not decoded correctly"); in ZTEST()
1358 zassert_equal(o.array[0].int3, 3, "Element 0 int3 not decoded correctly"); in ZTEST()
1360 zassert_equal(o.array[1].int1, 4, "Element 1 int1 not decoded correctly"); in ZTEST()
1361 zassert_equal(o.array[1].int2, 5, "Element 1 int2 not decoded correctly"); in ZTEST()
[all …]
/Zephyr-latest/lib/utils/
Djson.c550 return arr_parse(obj, descr->array.element_descr, in decode_value()
551 descr->array.n_elements, field, val); in decode_value()
624 size = descr->array.n_elements * get_elem_size(descr->array.element_descr); in get_elem_size()
664 elem_descr = elem_descr->array.element_descr; in arr_parse()
825 return arr_parse(&arr, descr->array.element_descr, in json_arr_parse()
826 descr->array.n_elements, ptr, val); in json_arr_parse()
982 elem_descr = elem_descr->array.element_descr; in arr_encode()
1145 return arr_encode(descr->array.element_descr, ptr, in encode()
1213 return arr_encode(descr->array.element_descr, ptr, val, append_bytes, in json_arr_encode()
/Zephyr-latest/drivers/gnss/
DKconfig.quectel_lcx6g33 int "Size of GNSS satellites array"
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_tx/
DREADME.rst65 control of the antenna array, as well as via the ``ant_patterns`` array in the
85 in the :cpp:var:`ant_patterns` array in
/Zephyr-latest/subsys/mem_mgmt/
DKconfig10 time an array of the memory regions defined in the DT that can be
/Zephyr-latest/doc/hardware/peripherals/
Dcoredump.rst13 array with a size of 0 and a desired size. The driver will statically allocate memory
/Zephyr-latest/doc/kernel/services/
Dpolling.rst31 A thread that wants to wait on multiple conditions must define an array of
34 All events in the array must be initialized before the array can be polled on.
56 in the array to figure out which ones were fulfilled and what actions to take.
72 The main API is :c:func:`k_poll`, which operates on an array of poll events
73 of type :c:struct:`k_poll_event`. Each entry in the array represents one
87 :c:struct:`k_poll_event` data structure. If an event in the array is to be
139 After the events are initialized, the array can be passed to
/Zephyr-latest/include/zephyr/arch/x86/
Dpagetables.ld19 KEEP(*(.dummy_pagetables)) /* from x86_mmu.c, just an empty array */
/Zephyr-latest/modules/hal_infineon/cat1cm0p/
DCMakeLists.txt32 # psoc6_cm0p_sleep.c - template c-array file, which include generated
/Zephyr-latest/modules/liblc3/
DCMakeLists.txt4 -O3 -std=c11 -ffast-math -Wno-array-bounds -Wall -Wextra -Wdouble-promotion -Wvla -pedantic
/Zephyr-latest/snippets/ram-console/
DREADME.rst14 buffer is a global array located in RAM region by default, whose address
/Zephyr-latest/lib/libc/minimal/include/
Dstdlib.h35 void *bsearch(const void *key, const void *array,

1234567