Home
last modified time | relevance | path

Searched +full:fill +full:- +full:level (Results 1 – 25 of 57) sorted by relevance

123

/Zephyr-latest/include/zephyr/net/
Dlwm2m_path.h4 * SPDX-License-Identifier: Apache-2.0
26 * stringified by the pre-processor, so calling this with non-literals will
67 * Accepts at least one and up to four arguments. Fill up @ref lwm2m_obj_path structure
68 * and sets the level.
89 #define LWM2M_OBJ1(oi) (struct lwm2m_obj_path) {.obj_id = oi, .level = 1}
90 #define LWM2M_OBJ2(oi, oii) (struct lwm2m_obj_path) {.obj_id = oi, .obj_inst_id = oii, .level = 2}
92 {.obj_id = oi, .obj_inst_id = oii, .res_id = ri, .level = 3}
94 {.obj_id = oi, .obj_inst_id = oii, .res_id = ri, .res_inst_id = rii, .level = 4}
Dsocket.h9 * Copyright (c) 2017-2018 Linaro Limited
12 * SPDX-License-Identifier: Apache-2.0
75 /** zsock_recv/zsock_send: Override operation to non-blocking */
85 /* Well-known values, e.g. from Linux man 2 shutdown:
108 /** Protocol level for TLS.
109 * Here, the same socket protocol level for TLS as in Linux was used.
118 /** Write-only socket option to set hostname. It accepts a string containing
129 /** Read-only socket option to read a ciphersuite chosen during TLS handshake.
134 /** Write-only socket option to set peer verification level for TLS connection.
135 * This option accepts an integer with a peer verification level, compatible
[all …]
/Zephyr-latest/dts/bindings/usb/
Drenesas,smartbond-usbd.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "renesas,smartbond-usbd"
8 include: usb-ep.yaml
11 dma-min-transfer-size:
16 ep-out-buf-size:
20 Buffer size for OUT end points 0-3.
22 fifo-read-threshold:
31 waiting for next FIFO warning level interrupt or packet end.
34 fill FIFO with two additional bytes.
40 iso-out-mps:
/Zephyr-latest/doc/develop/test/figures/
Dtwister_and_pytest.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Do not edit this file with editors other than draw.io -->
3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4-0.5 -0.5 761 769" content="&lt;mxfile host=&quot;ac.draw.io&quot; modified=&quot;2023-05-24T14:31…
Dtwister_test_project.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Do not edit this file with editors other than draw.io -->
3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4-0.5 -0.5 1141 1321" content="&lt;mxfile host=&quot;Electron&quot; modified=&quot;2024-10-19T13:53…
/Zephyr-latest/include/zephyr/logging/
Dlog_msg.h4 * SPDX-License-Identifier: Apache-2.0
59 uint32_t level:3; member
91 (Z_LOG_MSG_ALIGNMENT - (sizeof(struct log_msg_hdr) % Z_LOG_MSG_ALIGNMENT)) : \
154 .level = (_level), \
171 /* During test fill with 0's to simplify message comparison */ \
205 /* During test fill with 0's to simplify message comparison */ \
222 * With Zephyr SDK 0.14.2, aarch64-zephyr-elf-gcc (10.3.0) fails to ensure $sp
256 * - 32 bit platform
257 * - Number of arguments from 0 to 2
258 * - Type of an argument must be a numeric value that fits in 32 bit word.
[all …]
/Zephyr-latest/
DKconfig.zephyr3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
6 # SPDX-License-Identifier: Apache-2.0
92 bool "Link application into /chosen/zephyr,code-partition from devicetree"
95 selected by the zephyr,code-partition property in /chosen in devicetree.
100 DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
103 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
116 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
121 If non-zero, this option specifies the size, in bytes, of the flash
136 If the application is built for chain-loading by a bootloader this
149 If non-zero, this option reduces the maximum size that the Zephyr image is allowed to
[all …]
/Zephyr-latest/scripts/kconfig/
Dkconfig.py3 # Copyright (c) 2018-2023 Nordic Semiconductor ASA and Ulf Magnusson
7 # SPDX-License-Identifier: ISC
51 # fragments, to avoid warnings-turned-errors when using an old
98 # that we don't generate any output if there are warnings-turned-errors.
144 user-configurable (has no prompt). It gets its value indirectly from other
225 # Without special-casing choices, we'd detect that the first symbol set to
243 Development Primer, Setting Configuration Values, and Kconfig - Tips and Best
292 parser.add_argument("--handwritten-input-configs",
298 parser.add_argument("--forced-input-configs",
304 "pre-defined value and thereby remove any user "
[all …]
/Zephyr-latest/arch/xtensa/core/
DREADME_MMU.txt6 to introduce the architecture at an overview/tutorial level, and to
14 4-way-set-associative bank of entries mapping 4k pages, and 3-6
22 architecture technically supports separately-virtualized instruction
33 Live TLB entries are tagged with an 8-bit "ASID" value derived from
36 non-kernel address space will get a separate ring 3 ASID set in RASID,
44 ## Virtually-mapped Page Tables
56 with which to fill the TLB and use for a (restarted) memory access.
59 memory fetch vs. e.g. the 2-5 fetches required to walk a page table on
68 1048576 4-byte PTE entries, each describing a mapping for 4k of
104 The page-tables-specified-in-virtual-memory trick works very well in
[all …]
Dgdbstub.c4 * SPDX-License-Identifier: Apache-2.0
118 * which is 0-255. in read_sreg()
120 regno = reg->regno & 0xFF; in read_sreg()
125 * hard-coded at compile time. in read_sreg()
323 reg->val = val; in read_sreg()
324 reg->seqno = ctx->seqno; in read_sreg()
432 if ((int *)bsa - stack > 4) { in copy_to_ctx()
434 } else if ((int *)bsa - stack > 8) { in copy_to_ctx()
436 } else if ((int *)bsa - stack > 12) { in copy_to_ctx()
442 /* Get logical address registers A0 - A<num_laddr_regs> from stack */ in copy_to_ctx()
[all …]
/Zephyr-latest/arch/xtensa/include/
Dxtensa_asm2_s.h4 * SPDX-License-Identifier: Apache-2.0
27 * A0-A15) to their ABI-defined spill regions on the stack.
35 * and repeats until all but the A0-A3 registers of the original frame
39 * - Vastly smaller code size
41 * - More easily maintained if changes are needed to window over/underflow
44 * - Requires no scratch registers to do its work, so can be used safely in any
47 * - If the WOE bit is not enabled (for example, in code written for
50 * - In memory protection situations, this relies on the existing
57 * - Hilariously it's ACTUALLY FASTER than the HAL routine. And not
59 * file on an LX6 core (ESP-32) I'm measuring 145 cycles to spill
[all …]
/Zephyr-latest/doc/project/
Dproject_roles.rst32 at any level.
51 (https://github.com/zephyrproject-rtos/zephyr/blob/main/CODE_OF_CONDUCT.md)
54 ….github.com/en/organizations/managing-access-to-your-organizations-repositories/repository-permiss…
55 access to the Zephyr GitHub repository. Specifically, at the Read access level,
62 level to the Zephyr GitHub repository.
65 permission level by creating a GitHub issue, using the :github:`nomination
68 Contributors granted the Triage permission level are permitted to add reviewers
102 not follow the :ref:`expectations <reviewer-expectations>` and the guidelines
171 :ref:`expectations <reviewer-expectations>` from reviewers and seek reviews
175 * Responsibility to re-assign a pull request if they are the original submitter
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_esp32.c4 * SPDX-License-Identifier: Apache-2.0
49 /* Typedef for C-callable interrupt handler function */
111 if (vd->cpu > to_insert->cpu) { in insert_vector_desc()
114 if (vd->cpu == to_insert->cpu && vd->intno >= to_insert->intno) { in insert_vector_desc()
118 vd = vd->next; in insert_vector_desc()
122 to_insert->next = vd; in insert_vector_desc()
125 prev->next = to_insert; in insert_vector_desc()
126 to_insert->next = vd; in insert_vector_desc()
136 if (vd->cpu == cpu && vd->intno == intno) { in find_desc_for_int()
139 vd = vd->next; in find_desc_for_int()
[all …]
/Zephyr-latest/tests/lib/heap/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
30 /* Various ARC platforms set CONFIG_SRAM_SIZE to 16-128M, but have a
31 * much lower limit of (32-64k) in their linker scripts. Pick a
77 * block size. The second and last (if they fits) are a hashed "fill
95 ((size_t *)p)[sz / sizeof(size_t) - 1] = tok; in fill_block()
112 zassert_true(((size_t *)p)[sz / sizeof(size_t) - 1] == tok, ""); in check_fill()
128 size_t chunk = ROUND_DOWN(addr - 1, 8); in testalloc()
129 size_t hdr = addr - chunk; in testalloc()
130 size_t expect = ROUND_UP(bytes + hdr, 8) - hdr; in testalloc()
151 uint32_t tot = r->total_allocs + r->total_frees; in log_result()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_util.c4 * SPDX-License-Identifier: Apache-2.0
28 (const struct flash_driver_api *)dev->api; in z_impl_flash_fill()
29 const struct flash_parameters *fparams = api->get_parameters(dev); in z_impl_flash_fill()
33 if (sizeof(filler) < fparams->write_block_size) { in z_impl_flash_fill()
35 return -EINVAL; in z_impl_flash_fill()
42 * are correct, as such info is only available at the level of in z_impl_flash_fill()
47 return -EINVAL; in z_impl_flash_fill()
49 if ((size | (size_t)offset) & (fparams->write_block_size - 1)) { in z_impl_flash_fill()
51 fparams->write_block_size); in z_impl_flash_fill()
52 return -EINVAL; in z_impl_flash_fill()
[all …]
/Zephyr-latest/arch/x86/
Dgen_idt.py5 # SPDX-License-Identifier: Apache-2.0
14 which is a link of the Zephyr kernel without various build-time
66 gate_type = 0xE # 32-bit interrupt gate
79 gate_type = 0x5 # 32-bit task gate
120 if irq == -1:
140 # Pass 1: sanity check and set up hard-coded interrupt vectors
142 if vec == -1:
143 if prio == -1:
144 error("entry does not specify vector or priority level")
157 # Pass 2: set up priority-based interrupt vectors
[all …]
/Zephyr-latest/subsys/logging/backends/
Dlog_multidomain_backend.c4 * SPDX-License-Identifier: Apache-2.0
18 struct log_multidomain_backend *backend_remote = backend->cb->ctx; in process()
19 uint32_t dlen = msg->log.hdr.desc.data_len; in process()
22 if (backend_remote->panic) { in process()
26 fsc_plen = cbprintf_fsc_package(msg->log.data, in process()
27 msg->log.hdr.desc.package_len, in process()
42 (struct log_multidomain_msg *)&buf[sizeof(void *) - msg_offset]; in process()
43 uintptr_t out_log_msg_ptr = (uintptr_t)out_msg->data.log_msg.data; in process()
47 out_msg->id = Z_LOG_MULTIDOMAIN_ID_MSG; in process()
48 out_msg->status = Z_LOG_MULTIDOMAIN_STATUS_OK; in process()
[all …]
/Zephyr-latest/doc/build/dts/
Dbindings-syntax.rst1 .. _dt-bindings-file-syntax:
7 files are YAML files. A :ref:`simple example <dt-bindings-simple-example>` was
14 Top level keys
17 The top level of a bindings file maps keys to values. The top-level keys look
20 .. code-block:: yaml
22 # A high level description of the device the binding applies to:
24 This is the Vendomatic company's foo-device.
29 See https://yaml-multiline.info/ for formatting help.
35 compatible: "manufacturer,foo-device"
41 child-binding:
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dflash.h2 * Copyright (c) 2017-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
85 #define FLASH_ERASE_CAPS_UNSET (int)-1
110 return (p->caps.no_explicit_erase) ? 0 : FLASH_ERASE_C_EXPLICIT; in flash_params_get_erase_cap()
135 * the driver, with the driver responsible for ensuring the "write-protect"
136 * after the operation completes (successfully or not) matches the write-protect
146 * the driver, with the driver responsible for ensuring the "erase-protect"
147 * after the operation completes (successfully or not) matches the erase-protect
150 * The callback is optional for RAM non-volatile devices, which do not
152 * work more effectively, or if device has a support for internal fill
[all …]
/Zephyr-latest/drivers/misc/coresight/
Dnrf_etr.c4 * SPDX-License-Identifier: Apache-2.0
71 static const uint32_t wsize_mask = DT_REG_SIZE(ETR_BUFFER_NODE) / sizeof(int) - 1;
72 static const uint32_t wsize_inc = DT_REG_SIZE(ETR_BUFFER_NODE) / sizeof(int) - 1;
184 uint64_t ts = packet->timestamp; in log_message_process()
185 uint8_t level = packet->hdr.level; in log_message_process() local
186 uint16_t plen = packet->hdr.package_len; in log_message_process()
187 const char *dname = stm_m_name[packet->hdr.major]; in log_message_process()
188 const uint8_t *package = packet->data; in log_message_process()
189 const char *sname = &packet->data[plen]; in log_message_process()
191 uint16_t dlen = packet->hdr.total_len - (plen + sname_len); in log_message_process()
[all …]
/Zephyr-latest/drivers/serial/
Duart_ifx_cat1.c5 * SPDX-License-Identifier: Apache-2.0
12 * - Uart ASYNC functionality is not implemented in current
75 /* Level triggers when at least one element is in FIFO */
79 /* Level triggers when half-fifo is half empty */
80 .txFifoTriggerLevel = (CY_SCB_FIFO_SIZE / 2 - 1),
164 return -1; in _get_hw_block_num()
170 struct ifx_cat1_uart_data *data = dev->data; in ifx_cat1_uart_poll_in()
172 rec = cyhal_uart_getc(&data->obj, c, 0u); in ifx_cat1_uart_poll_in()
174 return ((rec == CY_SCB_UART_RX_NO_DATA) ? -1 : 0); in ifx_cat1_uart_poll_in()
179 struct ifx_cat1_uart_data *data = dev->data; in ifx_cat1_uart_poll_out()
[all …]
/Zephyr-latest/subsys/fs/ext2/
Dext2_diskops.c4 * SPDX-License-Identifier: Apache-2.0
34 sb->s_inodes_count = sys_le32_to_cpu(disk_sb->s_inodes_count); in fill_sblock()
35 sb->s_blocks_count = sys_le32_to_cpu(disk_sb->s_blocks_count); in fill_sblock()
36 sb->s_free_blocks_count = sys_le32_to_cpu(disk_sb->s_free_blocks_count); in fill_sblock()
37 sb->s_free_inodes_count = sys_le32_to_cpu(disk_sb->s_free_inodes_count); in fill_sblock()
38 sb->s_first_data_block = sys_le32_to_cpu(disk_sb->s_first_data_block); in fill_sblock()
39 sb->s_log_block_size = sys_le32_to_cpu(disk_sb->s_log_block_size); in fill_sblock()
40 sb->s_log_frag_size = sys_le32_to_cpu(disk_sb->s_log_frag_size); in fill_sblock()
41 sb->s_blocks_per_group = sys_le32_to_cpu(disk_sb->s_blocks_per_group); in fill_sblock()
42 sb->s_frags_per_group = sys_le32_to_cpu(disk_sb->s_frags_per_group); in fill_sblock()
[all …]
/Zephyr-latest/samples/subsys/fs/zms/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
6 * ZMS Sample for Zephyr using high level API.
51 return -1; in delete_and_verify_items()
103 printk("Storage device %s is not ready\n", fs.flash_device->name); in main()
134 strncpy(buf, "172.16.254.1", sizeof(buf) - 1); in main()
167 if (i_cnt != (i - 1)) { in main()
213 /* fill all storage */ in main()
221 if (rc == -ENOSPC) { in main()
/Zephyr-latest/samples/drivers/espi/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
209 /* Read JEDEC ID command and fill read buffer */ in spi_saf_init()
249 return -1; in spi_saf_init()
395 return -1; in spi_saf_init()
427 limit = pr->start + pr->size - 1U; in pr_check_range()
430 if (regs->SAF_PROT_RG[pr->pr_num].START != (pr->start >> 12)) { in pr_check_range()
431 return -1; in pr_check_range()
434 if (regs->SAF_PROT_RG[pr->pr_num].LIMIT != (limit >> 12)) { in pr_check_range()
435 return -1; in pr_check_range()
443 if (pr->flags & MCHP_SAF_PR_FLAG_ENABLE) { in pr_check_enable()
[all …]
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_sockets.c4 * SPDX-License-Identifier: Apache-2.0
28 #define FAILED (-1)
34 #define OBJ_TO_SD(obj) (((int)obj) - 1)
199 return -EAFNOSUPPORT; in simplelink_socket_family_from_posix()
218 return -ESOCKTNOSUPPORT; in simplelink_socket_type_from_posix()
230 return -EPROTONOSUPPORT; in simplelink_socket_proto_from_zephyr()
240 return -EPROTONOSUPPORT; in simplelink_socket_proto_from_zephyr()
259 retval = slcb_SetErrno(-err); in simplelink_socket()
267 retval = slcb_SetErrno(-err); in simplelink_socket()
275 retval = slcb_SetErrno(-err); in simplelink_socket()
[all …]

123