Home
last modified time | relevance | path

Searched +full:lookup +full:- +full:only (Results 1 – 25 of 84) sorted by relevance

1234

/Zephyr-latest/subsys/fs/ext2/
Dext2_impl.h4 * SPDX-License-Identifier: Apache-2.0
68 * @retval -EINVAL when superblock of ext2 was not detected
69 * @retval -ENOTSUP when described file system is not supported
79 * @retval -EROFS when superblock is not valid but file system may be mounted read only
80 * @retval -EINVAL when superblock is not valid and file system cannot be mounted at all
81 * @retval -ENOTSUP when superblock has some field set to value that we don't support
117 * @retval -ENOSPC when storage device is too small for ext2 file system
118 * @retval -ENOTSUP when storage device is too big (file systems with more than
123 /* Lookup flags */
129 /* Structure for lookup arguments and results.
[all …]
Dext2_ops.c4 * SPDX-License-Identifier: Apache-2.0
30 struct ext2_data *fs = filp->mp->fs_data; in ext2_open()
32 if (fs->open_files >= CONFIG_EXT2_MAX_FILES) { in ext2_open()
34 return -EMFILE; in ext2_open()
43 const char *path = fs_impl_strip_prefix(fs_path, filp->mp); in ext2_open()
60 /* Inodes allocated by lookup. Must be freed in manually. */ in ext2_open()
68 LOG_DBG("Returned from lookup & create: '%s':%d creating file: %d", in ext2_open()
89 if ((found_inode->i_mode & EXT2_S_IFMT) != EXT2_S_IFREG) { in ext2_open()
90 ret = -EINVAL; in ext2_open()
96 ret = -ENOMEM; in ext2_open()
[all …]
/Zephyr-latest/tests/cmake/hwm/board_extend/
Dtestcase.yaml3 - cmake
7 # Twister can only lookup known board roots.
11 - CACHED_BOARD=native_sim/native/one
13 - native_sim
14 - native_sim/native/64
16 - native_sim
17 - native_sim/native/64
20 - CACHED_BOARD=native_sim/native/64/two
22 - native_sim
23 - native_sim/native/64
[all …]
/Zephyr-latest/include/zephyr/sys/internal/
Dkobject_internal.h4 * SPDX-License-Identifier: Apache-2.0
31 /* Object extra data. Only some objects use this, determined by object type */
76 * Lookup a kernel object and init its metadata if it exists
103 * This is a low-level function to allocate some memory, and register that
104 * allocated memory in the kernel object lookup tables with type K_OBJ_ANY.
128 * This is a low-level function to allocate some memory, and register that
129 * allocated memory in the kernel object lookup tables with type K_OBJ_ANY.
/Zephyr-latest/drivers/watchdog/
Dwdt_renesas_ra.c4 * SPDX-License-Identifier: Apache-2.0
32 /* Lookup table for WDT period raw cycle */
38 /* Lookup table for the division value of the input clock count */
45 #define WDT_WINDOW_INVALID (-1)
47 /* Lookup table for the window start position setting */
53 /* Lookup table for the window end position setting */
61 struct wdt_renesas_ra_data *data = dev->data; in wdt_renesas_ra_inst_lock()
63 k_mutex_lock(&data->inst_lock, K_FOREVER); in wdt_renesas_ra_inst_lock()
68 struct wdt_renesas_ra_data *data = dev->data; in wdt_renesas_ra_inst_unlock()
70 k_mutex_unlock(&data->inst_lock); in wdt_renesas_ra_inst_unlock()
[all …]
/Zephyr-latest/share/sysbuild/cmake/modules/
Dsysbuild_extensions.cmake1 # Copyright (c) 2021-2023 Nordic Semiconductor
3 # SPDX-License-Identifier: Apache-2.0
14 # IMAGE: image name identifying the cache for later sysbuild_get() lookup calls.
23 file(STRINGS "${LOAD_CACHE_BINARY_DIR}/CMakeCache.txt" cache_strings ENCODING UTF-8)
25 # Using a regex for matching whole 'VAR_NAME:TYPE=VALUE' will strip semi-colons
29 # This method ensures that both quoted values and ;-separated list stays intact.
33 string(SUBSTRING "${str}" ${variable_identifier_length} -1 variable_value)
47 # sysbuild_get(<variable> IMAGE <image> [VAR <image-variable>] <KCONFIG|CACHE>)
53 # lookup and value return.
59 # will lookup PROJECT_NAME from the CMakeCache identified by `my_sample` and
[all …]
Dsysbuild_kconfig.cmake3 # SPDX-License-Identifier: Apache-2.0
45 # sysbuild.conf is an optional file, because sysbuild is an opt-in feature.
67 # We only want to set this in cache it has been defined and is not already there.
83 "Unable to lookup sysbuild.conf or other related sysbuild configuration files. "
/Zephyr-latest/subsys/bluetooth/host/classic/
Dl2cap_br_interface.h1 /* l2cap_br.c - L2CAP BREDR internal interface
3 * This is the only interface between l2cap.c and l2cap_br.c.
7 * SPDX-License-Identifier: Apache-2.0
31 /* Lookup BR/EDR L2CAP channel by Receiver CID */
/Zephyr-latest/subsys/jwt/
Djwt.c5 * SPDX-License-Identifier: Apache-2.0
24 * Base64URL encoding is typically done by lookup into a 64-byte static
30 * On Cortex-M, this function is 34 bytes of code, which is only a
31 * little more than half of the size of the lookup table.
39 return value + 'a' - 26; in base64_char()
41 return value + '0' - 52; in base64_char()
43 return '-'; in base64_char()
50 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
63 if (st->overflowed) { in base64_outch()
67 if (st->len < 2) { in base64_outch()
[all …]
/Zephyr-latest/tests/net/route_mcast/src/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
118 * see RFC-3306 for details
148 struct net_route_mcast_iface_cfg *cfg = dev->data; in net_route_mcast_get_mac()
150 if (cfg->mac_addr[2] == 0x00) { in net_route_mcast_get_mac()
151 /* 00-00-5E-00-53-xx Documentation RFC 7042 */ in net_route_mcast_get_mac()
152 cfg->mac_addr[0] = 0x00; in net_route_mcast_get_mac()
153 cfg->mac_addr[1] = 0x00; in net_route_mcast_get_mac()
154 cfg->mac_addr[2] = 0x5E; in net_route_mcast_get_mac()
155 cfg->mac_addr[3] = 0x00; in net_route_mcast_get_mac()
[all …]
/Zephyr-latest/doc/services/retention/
Dblinfo.rst16 created which has a retained data section as its parent, generally non-init RAM
20 .. code-block:: devicetree
24 compatible = "zephyr,memory-region", "mmio-sram";
26 zephyr,memory-region = "RetainedMem";
30 compatible = "zephyr,retained-ram";
32 #address-cells = <1>;
33 #size-cells = <1>;
44 zephyr,bootloader-info = &boot_info0;
49 /* Reduce SRAM0 usage by 1KB to account for non-init area */
65 * :kconfig:option:`CONFIG_RETAINED_MEM` - Enables retained memory driver
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dmcc.c6 * Copyright (c) 2019-2024 Nordic Semiconductor ASA
8 * SPDX-License-Identifier: Apache-2.0
44 /* TODO: Temporarily copied here from media_proxy_internal.h - clean up */
47 /* Takes a text and a 64-bit integer as input */
110 length = sizeof(name) - 1; in mcc_player_name_cb()
118 if (mcc_cb && mcc_cb->read_player_name) { in mcc_player_name_cb()
119 mcc_cb->read_player_name(conn, cb_err, name); in mcc_player_name_cb()
129 atomic_clear_bit(mcs_inst->flags, MCC_FLAG_BUSY); in mcc_read_player_name_cb()
146 atomic_clear_bit(mcs_inst->flags, MCC_FLAG_BUSY); in mcc_read_icon_obj_id_cb()
162 if (mcc_cb && mcc_cb->read_icon_obj_id) { in mcc_read_icon_obj_id_cb()
[all …]
Dbap_broadcast_sink.c4 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
6 * SPDX-License-Identifier: Apache-2.0
73 if (atomic_test_bit(sink->flags, BT_BAP_BROADCAST_SINK_FLAG_SRC_ID_VALID) && in find_recv_state_by_sink_cb()
74 sink->bass_src_id == recv_state->src_id) { in find_recv_state_by_sink_cb()
95 if (bt_addr_le_eq(&recv_state->addr, &sync_info.addr) && in find_recv_state_by_pa_sync_cb()
96 recv_state->adv_sid == sync_info.sid) { in find_recv_state_by_pa_sync_cb()
116 mod_src_param.num_subgroups = sink->subgroup_count; in update_recv_state_big_synced()
117 for (uint8_t i = 0U; i < sink->subgroup_count; i++) { in update_recv_state_big_synced()
119 const struct bt_bap_broadcast_sink_subgroup *sink_subgroup = &sink->subgroups[i]; in update_recv_state_big_synced()
122 subgroup_param->bis_sync = sink_subgroup->bis_indexes & sink->indexes_bitfield; in update_recv_state_big_synced()
[all …]
/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/src/
Dexample_mgmt.c4 * SPDX-License-Identifier: Apache-2.0
35 zcbor_state_t *zse = ctxt->writer->zs; in example_mgmt_test()
36 zcbor_state_t *zsd = ctxt->reader->zs; in example_mgmt_test()
78 zcbor_state_t *zse = ctxt->writer->zs; in example_mgmt_other()
79 zcbor_state_t *zsd = ctxt->reader->zs; in example_mgmt_other()
137 /* This is a lookup function that converts from SMP version 2 group error codes to legacy
138 * MCUmgr error codes, it is only included if support for the original protocol is enabled.
140 * only for general SMP/MCUmgr errors. The success/OK error code is not used in translation
/Zephyr-latest/arch/x86/
Dgen_mmu.py5 # SPDX-License-Identifier: Apache-2.0
23 - By default, the Present, Write, and Execute Disable bits are
25 - The __text_region region will have Present and User bits set
26 - The __rodata_region region will have Present, User, and Execute
28 - On x86_64, the _locore region will have Present set and
34 - The double-mapping is used to transition the
38 - The mapping is always double-mapped at the top-level paging structure
40 with respect to the scope of top-level paging structure entries.
41 This allows the same second-level paging structure(s) to be used for
44 - The double-mapping is needed so that we can still fetch instructions
[all …]
/Zephyr-latest/subsys/net/ip/
Droute.h10 * SPDX-License-Identifier: Apache-2.0
76 #define NET_ROUTE_PREFERENCE_LOW 0x03 /* -1 if treated as 2 bit signed int */
80 * @brief Lookup route to a given destination.
155 * will only return the first one in this version.
266 * @brief Lookup a multicast routing entry.
/Zephyr-latest/share/zephyr-package/cmake/
DZephyrConfig.cmake1 # SPDX-License-Identifier: Apache-2.0
6 # - Use ZEPHYR_BASE environment setting for explicitly set select a zephyr installation
7 # - Support automatic Zephyr installation lookup through the use of find_package(ZEPHYR)
15 # This macro is only intended to be used within the Zephyr CMake package.
29 set(Zephyr_DIR ${ZEPHYR_BASE}/share/zephyr-package/cmake CACHE PATH
61 # The module messages are intentionally higher than STATUS to avoid the -- prefix
132 …means this Zephyr is likely the correct one, but there could be an alternative installed along-side
/Zephyr-latest/arch/x86/include/
Dx86_mmu.h2 * Copyright (c) 2011-2014 Wind River Systems, Inc.
3 * Copyright (c) 2017-2020 Intel Corporation
5 * SPDX-License-Identifier: Apache-2.0
8 * None of these are application-facing, use only if you know what you are
38 #define MMU_RW BITL(1) /** Read-Write */
39 #define MMU_US BITL(2) /** User-Supervisor */
61 #define PF_P BIT(0) /* 0 Non-present page 1 Protection violation */
66 #define PF_PK BIT(5) /* 1 protection-key violation */
67 #define PF_SGX BIT(15) /* 1 SGX-specific access control requirements */
90 * @param virt Virtual address to lookup
[all …]
/Zephyr-latest/modules/mbedtls/
DKconfig.tls-generic5 # SPDX-License-Identifier: Apache-2.0
8 depends on MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h"
65 bool "DHE-PSK based ciphersuite modes"
68 bool "ECDHE-PSK based ciphersuite modes"
72 bool "RSA-PSK based ciphersuite modes"
75 int "Max size of TLS pre-shared keys"
78 Max size of TLS pre-shared keys, in bytes. It has no effect if no
82 bool "RSA-only based ciphersuite modes"
91 bool "DHE-RSA based ciphersuite modes"
94 bool "ECDHE-RSA based ciphersuite modes"
[all …]
/Zephyr-latest/doc/hardware/pinctrl/
Dindex.rst1 .. _pinctrl-guide:
6 This is a high-level guide to pin control. See :ref:`pinctrl_api` for API
13 parameters such as pin direction, pull-up/down resistors, etc. are named **pin
16 map ``I2C0`` ``SDA`` signal to pin ``PX0``. Not only that, but it usually allows
18 of a peripheral, for example, the slew-rate depending on the operating
20 range from simple pull-up/down options to more advanced settings such as
21 debouncing, low-power modes, etc.
29 pull-up/down are controlled in the same block via ``CONFIG`` bits. This model is
32 .. figure:: images/hw-cent-control.svg
34 Example of pin control centralized into a single per-pin block
[all …]
/Zephyr-latest/include/zephyr/llext/
Dllext.h5 * SPDX-License-Identifier: Apache-2.0
47 LLEXT_MEM_RODATA, /**< Read-only data */
91 /** Lookup table of memory regions */
134 return ext->sect_hdrs; in llext_section_headers()
139 return ext->sect_cnt; in llext_section_count()
155 * those pre-defined addresses, so the LLEXT core doesn't have to do any
193 * callback function returns a non-0 value.
213 * @retval -ENOMEM Not enough memory
214 * @retval -ENOEXEC Invalid ELF stream
215 * @retval -ENOTSUP Unsupported ELF features
[all …]
/Zephyr-latest/cmake/modules/
DFindZephyr-sdk.cmake1 # SPDX-License-Identifier: Apache-2.0
3 # Copyright (c) 2022-2023, Nordic Semiconductor ASA
5 # FindZephyr-sdk module for supporting module search mode of Zephyr SDK.
7 # It is possible to control the behavior of the Zephyr-SDK package using
9 # The Zephyr-SDK package supports the components:
10 # - LOAD: Load a Zephyr-SDK. This is the default behavior if no COMPONENTS is specified.
11 # Its purpose is to allow the find_package basic signature mode to lookup Zephyr
15 # It extends the Zephyr-sdk CMake package by providing more flexibility in when
25 # 'Zephyr-sdk_FOUND'
28 # - LIST: Will list all available Zephyr SDKs found in the system but not load
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dmdb.py3 # SPDX-License-Identifier: Apache-2.0
17 # from it. However as we do lookup for runners with
18 # ZephyrBinaryRunner.__subclasses__() such sub-sub-classes won't be found.
45 # with secondary cores startup - so we reverse start order
46 return mdb_runner.cores - 1 - id
53 mdb_basic_options = ['-nooptions', '-nogoifmain', '-toggle=include_local_symbols=1']
64 mdb_target = ['-nsim', '@' + mdb_runner.nsim_args]
68 mdb_target = ['-digilent']
77 mdb_run = ['-run', '-cmd=-nowaitq run', '-cmd=quit', '-cl']
79 mdb_run = ['-run', '-cl']
[all …]
/Zephyr-latest/doc/kernel/usermode/
Dkernelobjects.rst36 may be called to release any runtime-allocated buffers the object was using.
44 Kernel objects that are only used by supervisor threads have no restrictions
52 * The object must be declared as a top-level global at build time, such that it
54 with static scope. The post-build script :ref:`gen_kobject_list.py` scans the
60 must not be located in any memory partitions that are user-accessible.
71 information will be printed if the script is run with the ``--verbose`` flag,
101 The :ref:`gen_kobject_list.py` script is a post-build step which finds all the
110 with a constant-time lookup in this table.
154 By default, when a user thread is created, it will only have access permissions
165 :c:func:`k_object_access_grant` API. The convenience pseudo-function
[all …]
/Zephyr-latest/include/zephyr/audio/
Dmidi.h4 * SPDX-License-Identifier: Apache-2.0
68 * Hence this packed representation of 16x2b array as an uint32 lookup table
162 * @remark For messages that take only one (or no) parameter, p2 (and p1)

1234