Home
last modified time | relevance | path

Searched +full:long +full:- +full:codes (Results 1 – 25 of 68) sorted by relevance

123

/Zephyr-latest/dts/bindings/input/
Dzephyr,input-longpress.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Input longpress pseudo-device
8 corresponding to short and long press.
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
19 compatible = "zephyr,input-longpress";
20 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>;
21 short-codes = <INPUT_KEY_A>, <INPUT_KEY_B>;
22 long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>;
23 long-delay-ms = <1000>;
35 # long press
[all …]
/Zephyr-latest/tests/subsys/input/longpress/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
10 fake_input_device: fake-device {
11 compatible = "vnd,input-device";
16 compatible = "zephyr,input-longpress";
17 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>;
18 short-codes = <INPUT_KEY_A>, <INPUT_KEY_B>;
19 long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>;
20 long-delay-ms = <100>;
23 longpress_no_short: longpress-no-short {
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_emul_sdl.c4 * SPDX-License-Identifier: Apache-2.0
20 const int *codes; member
27 const struct device *port = bottom_data->dev; in sdl_filter_top()
28 const struct gpio_sdl_config *config = port->config; in sdl_filter_top()
34 while (pin < config->num_codes) { in sdl_filter_top()
35 if (config->codes[pin] == bottom_data->event_scan_code) { in sdl_filter_top()
41 if (pin == config->num_codes) { in sdl_filter_top()
48 * for as long as there are pending interrupts in sdl_filter_top()
53 ret = gpio_emul_input_set(config->emul, pin, bottom_data->key_down); in sdl_filter_top()
65 const struct gpio_sdl_config *config = dev->config; in gpio_sdl_init()
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/shell_mgmt/
Dshell_mgmt.h2 * Copyright (c) 2018-2021 mcumgr authors
5 * SPDX-License-Identifier: Apache-2.0
21 * Command result codes for shell management group.
30 /** The provided command to execute is too long. */
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/settings_mgmt/
Dsettings_mgmt.h4 * SPDX-License-Identifier: Apache-2.0
23 * Command result codes for settings management group.
32 /** The provided key name is too long to be used. */
/Zephyr-latest/include/zephyr/net/http/
Dstatus.h2 * @brief HTTP response status codes
8 * SPDX-License-Identifier: Apache-2.0
15 * @brief HTTP response status codes
16 * @defgroup http_status_codes HTTP response status codes
28 * @brief HTTP response status codes
30 * @note HTTP response status codes are subject to IANA approval.
32 …* @see <a href="https://www.iana.org/assignments/http-status-codes">Hypertext Transfer Protocol (H…
34 …* @see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status">HTTP response status cod…
44 HTTP_203_NON_AUTHORITATIVE_INFORMATION = 203, /**< Non-Authoritative Information */
48 HTTP_207_MULTI_STATUS = 207, /**< Multi-Status */
[all …]
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/doc/hardware/arch/
Dsemihost.rst9 Semihosting is a mechanism that enables code running on ARM and RISC-V targets
16 The RISC-V functionality borrows from the ARM definitions, as described at the
17 `RISC-V Github documentation`_.
28 .. code-block:: c
31 long file_len, bytes_read, fd;
37 return -ENOENT;
49 file_len -= bytes_read;
60 arguments and return codes, see the `ARM Github documentation`_.
67 .. _ARM Github documentation: https://github.com/ARM-software/abi-aa/blob/main/semihosting/semihost…
68 .. _RISC-V Github documentation: https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-se…
/Zephyr-latest/include/zephyr/xen/public/
Dsched.h1 /* SPDX-License-Identifier: MIT */
44 * ` long HYPERVISOR_sched_op(enum sched_op cmd, void *arg, ...)
47 * @arg == Operation-specific extra argument(s), as described below.
48 * ... == Additional Operation-specific extra arguments, described below.
52 * long sched_op(int cmd, unsigned long arg)
58 * ` long HYPERVISOR_sched_op_compat(enum sched_op cmd, unsigned long arg)
81 * x86 PV guests must also set RDX (EDX for 32-bit guests) to the MFN
92 * Poll a set of event-channel ports. Return when one or more are pending. An
100 * in interpreting shutdown requests and reasons for fully-virtualized
101 * domains. A para-virtualized domain may use SCHEDOP_shutdown directly.
[all …]
/Zephyr-latest/include/zephyr/xen/
Dmemory.h1 /* SPDX-License-Identifier: Apache-2.0 */
20 int xendom_add_to_physmap(int domid, unsigned long idx, unsigned int space,
28 * @param foreign_domid for gmfn_foreign - domain id, whose pages being mapped,
34 * @param errs array of per-index error codes.
Dgnttab.h2 * Copyright (c) 2021-2022 EPAM Systems
4 * SPDX-License-Identifier: Apache-2.0
14 * @param domid - id of the domain you sharing gref with
15 * @param gfn - guest frame number of page, where grant will be located
16 * @param readonly - permit readonly access to shared grant
17 * @return - gref assigned to shared grant
19 grant_ref_t gnttab_grant_access(domid_t domid, unsigned long gfn,
27 * @param gref - grant reference that need to be closed
28 * @return - zero on success, non-zero on failure
37 * @param map - double pointer to memory, where grant will be allocated
[all …]
/Zephyr-latest/include/zephyr/sys/
Dfdtable.h4 * SPDX-License-Identifier: Apache-2.0
42 /* FIXME: use k_off_t and k_ssize_t to avoid the POSIX->Zephyr->POSIX dependency cycle */
82 * @return Allocated file descriptor, or -1 in case of error (errno is set)
128 * @return Allocated file descriptor, or -1 in case of error (errno is set)
206 unsigned long request, ...) in zvfs_fdtable_call_ioctl()
212 res = vtable->ioctl(obj, request, args); in zvfs_fdtable_call_ioctl()
231 #define ZVFS_FD_SETSIZE (sizeof(((struct zvfs_fd_set *)0)->bitset) * 8)
244 * Request codes for fd_op_vtable.ioctl().
246 * Note that these codes are internal Zephyr numbers, for internal
248 * of "stable ABI"). These are however expected to co-exist with
[all …]
/Zephyr-latest/doc/services/input/
Dindex.rst19 multi-axis device have been reported.
25 or any related function; for example buttons or other on-off input entities
63 :c:func:`input_to_hid_modifier` functions can be used to map input codes to HID
64 codes and modifiers.
72 :dtcompatible:`zephyr,kscan-input` node as a child node of the corresponding
73 input device and pointing the ``zephyr,keyboard-scan`` chosen node to the
76 .. code-block:: devicetree
79 zephyr,keyboard-scan = &kscan_input;
84 kscan_input: kscan-input {
85 compatible = "zephyr,kscan-input";
[all …]
/Zephyr-latest/subsys/bluetooth/host/
DKconfig3 # Copyright (c) 2016-2020 Nordic Semiconductor ASA
4 # Copyright (c) 2015-2016 Intel Corporation
5 # SPDX-License-Identifier: Apache-2.0
8 bool "Dedicated workqueue for long-running tasks."
11 Adds an API for a workqueue dedicated to long-running tasks.
15 # Hidden: Long workqueue stack size. Should be derived from system
23 int "Long workqueue priority. Should be pre-emptible."
28 int "Long workqueue init priority"
31 Init priority level to setup the long workqueue.
58 # the worst-case stack size if an out-of-tree controller is used.
[all …]
DKconfig.gatt4 # SPDX-License-Identifier: Apache-2.0
9 bool "Print ATT error codes as strings [EXPERIMENTAL]"
13 codes represented as strings.
31 this to 0 disables GATT long/reliable writes.
72 bool "Automatic re-subscription to characteristics"
77 Quirk: upon re-establishing a bonded connection, assumes the remote
85 bool "Automatic security re-establishment request as a peripheral"
89 This option requests security re-establishment automatically whenever
95 bt_conn_set_security() to re-establish security prior to sending any
156 bool "GATT Enforce change-unaware state"
[all …]
/Zephyr-latest/lib/libc/minimal/include/
Derrno.h2 * Copyright (c) 1984-1999, 2012 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
25 * Error codes returned by functions.
26 * Includes a list of those defined by IEEE Std 1003.1-2017.
45 #define E2BIG 7 /**< Arg list too long */
56 #define EXDEV 18 /**< Cross-device link */
68 #define EROFS 30 /**< Read-only file system */
84 #define ENAMETOOLONG 91 /**< File name too long */
92 #define ENOTSOCK 108 /**< Socket operation on non-socket */
/Zephyr-latest/lib/libc/armstdc/include/
Derrno.h2 * Copyright (c) 1984-1999, 2012 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
26 * Error codes returned by functions.
27 * Includes a list of those defined by IEEE Std 1003.1-2017.
32 * -D_AEABI_PORTABILITY_LEVEL=1
55 #define E2BIG 7 /**< Arg list too long */
66 #define EXDEV 18 /**< Cross-device link */
78 #define EROFS 30 /**< Read-only file system */
94 #define ENAMETOOLONG 91 /**< File name too long */
102 #define ENOTSOCK 108 /**< Socket operation on non-socket */
/Zephyr-latest/doc/releases/
Dmigration-guide-3.5.rst21 taking a ``void *mem`` pointer instead of a ``void **mem`` double-pointer.
37 * The default C library used on most targets has changed from the built-in
47 increase by 8-16 bytes.
68 * Picolibc removes the ``-ffreestanding`` compiler option. This allows
71 the Zephyr required type -- ``int main(void)``.
74 'double', 'long long', 'integer', and 'minimal. 'double' offers a
76 hexadecimal formats, full integer support including long long, C99
77 integer size specifiers (j, z, t) and POSIX positional arguments. 'long
78 long' mode removes float support, 'integer' removes long long support
100 * ``psa-arch-tests``
[all …]
/Zephyr-latest/include/zephyr/net/
Dwebsocket.h10 * SPDX-License-Identifier: Apache-2.0
43 /** @brief Websocket option codes */
148 * @param timeout How long to try to send the message. The value is in
168 * @param timeout How long to try to receive the message.
173 * @retval -EAGAIN on timeout.
174 * @retval -ENOTCONN on socket close.
175 * @retval -errno other negative errno value in case of failure.
184 * @details One must call websocket_connect() after this call to re-establish
Dcoap_client.h10 * SPDX-License-Identifier: Apache-2.0
36 * It is used to indicate errors, response codes from server or to deliver payload.
57 bool confirmable; /**< CoAP Confirmable/Non-confirmable message */
154 * This is intended for canceling long-running requests (e.g. GETs with the OBSERVE option set)
179 * If the application expects a request to require a blockwise transfer, it may pre-emptively
180 * suggest a maximum block size to the server - see RFC7959 Figure 3: Block-Wise GET with Early
Ddhcpv4.h8 * SPDX-License-Identifier: Apache-2.0
53 * These enumerations represent RFC2131 defined msy type codes, hence
78 * greater than cb->max_length, only cb->max_length bytes
79 * will be available in cb->data
98 * As many callbacks as needed can be added as long as each of them
145 callback->handler = handler; in net_dhcpv4_init_option_callback()
146 callback->option = option; in net_dhcpv4_init_option_callback()
147 callback->data = data; in net_dhcpv4_init_option_callback()
148 callback->max_length = max_length; in net_dhcpv4_init_option_callback()
166 * @brief Helper to initialize a struct net_dhcpv4_option_callback for encapsulated vendor-specific
[all …]
/Zephyr-latest/include/zephyr/drivers/clock_control/
Dnrf_clock_control.h4 * SPDX-License-Identifier: Apache-2.0
108 * @return Number of calibrations or -1 if feature is disabled.
116 * @return Number of calibrations or -1 if feature is disabled.
138 * of long startup time and low power consumption. Multiple modules can request
150 * performed long enough before radio activity. Clock is released immediately
175 /* Specifies the required clock accuracy in parts-per-million. */
225 * @retval non-negative the observed state of the on-off service associated
228 * @retval -EIO if service has recorded an error.
229 * @retval -EINVAL if the function parameters are invalid or the clock
232 * @retval -EAGAIN if the reference count would overflow.
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt.h2 * Copyright (c) 2018-2021 mcumgr authors
3 * Copyright (c) 2022-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
62 * Command result codes for image management group.
195 /** Flash area being written; -1 if no upload in progress. */
209 unsigned long long size;
232 * @return 0 on success, non-zero on failure.
241 * @return 0 on success, non-zero on failure.
251 * @return Non-negative on success, negative value on error.
260 * @return Non-negative slot number
[all …]
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_support.c4 * SPDX-License-Identifier: Apache-2.0
33 #define DEVICE_ERROR "See \"DEVICE ERRORS CODES\" in SimpleLink errors.h"
34 #define WLAN_ERROR "See \"WLAN ERRORS CODES\" in SimpleLink errors.h"
35 #define NETAPP_ERROR "See \"NETAPP ERRORS CODES\" in SimpleLink errors.h"
38 #define RSSI_TH_MAX (-95)
91 int32_t retval = -1; in configure_simplelink()
92 int32_t mode = -1; in configure_simplelink()
125 return -1; in configure_simplelink()
147 return -1; in configure_simplelink()
159 return -1; in configure_simplelink()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmcs.h6 * Copyright (c) 2019 - 2024 Nordic Semiconductor ASA
8 * SPDX-License-Identifier: Apache-2.0
37 * A characteristic value has changed while a Read Long Value Characteristic sub-procedure is in
46 * All values from -128 to 127 allowed, only some examples defined.
50 #define BT_MCS_PLAYBACK_SPEED_MIN -128
52 #define BT_MCS_PLAYBACK_SPEED_QUARTER -128
54 #define BT_MCS_PLAYBACK_SPEED_HALF -64
66 * The allowed values for seeking speed are the range -64 to -4
71 /** Maximum seeking speed - Can be negated */
73 /** Minimum seeking speed - Can be negated */
[all …]

123