Home
last modified time | relevance | path

Searched +full:non +full:- +full:zero (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/Zephyr-latest/drivers/wifi/nrf_wifi/inc/
Dcoex.h4 * SPDX-License-Identifier: Apache-2.0
35 * Returns zero upon successful configuration.
36 * Returns non-zero upon unsuccessful configuration.
51 * Returns zero upon successful configuration.
52 * Returns non-zero upon unsuccessful configuration.
60 * @brief Function used to configure non-PTA registers of coexistence hardware.
68 * Returns zero upon successful configuration.
69 * Returns non-zero upon unsuccessful configuration.
79 * Returns zero upon successful configuration.
80 * Returns non-zero upon unsuccessful configuration.
/Zephyr-latest/arch/arm/include/cortex_m/
Dcmse.h4 * SPDX-License-Identifier: Apache-2.0
11 * CMSE API for Cortex-M23/M33 CPUs.
40 * Return the non-negative MPU region that the address maps to,
41 * or -EINVAL to indicate that an invalid MPU region was retrieved.
45 * - the function is called from privileged mode
46 * - the MPU is implemented and enabled
47 * - the given address matches a single, enabled MPU region
51 * @return a valid MPU region number or -EINVAL
61 * This function shall always return zero:
62 * - if executed from an unprivileged mode,
[all …]
Ddwt.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief DWT utility functions for Cortex-M CPUs
52 uint32_t lsr = DWT->LSR; in dwt_access()
58 DWT->LAR = 0xC5ACCE55; in dwt_access()
63 DWT->LAR = 0; in dwt_access()
82 CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; in z_arm_dwt_init()
93 * This routine enables the cycle counter and initializes its value to zero.
100 DWT->CYCCNT = 0; in z_arm_dwt_init_cycle_counter()
101 DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; in z_arm_dwt_init_cycle_counter()
106 __ASSERT((DWT->CTRL & DWT_CTRL_NOCYCCNT_Msk) == 0, in z_arm_dwt_init_cycle_counter()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_bitbang.h4 * SPDX-License-Identifier: Apache-2.0
13 /* Set the state of the SCL line (zero/non-zero value) */
15 /* Set the state of the SDA line (zero/non-zero value) */
17 /* Return the state of the SDA line (zero/non-zero value) */
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_store/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
42 * - Key reference points to a valid item
43 * - Item ID is set to 0
44 * - Return value from bt_settings_store_keys() is 0
47 * - bt_keys_store() returns 0 which represent success
58 zassert_true(returned_key != NULL, "bt_keys_get_addr() returned a non-valid reference"); in ZTEST()
65 zassert_true(returned_code == 0, "bt_keys_store() returned a non-zero code"); in ZTEST()
67 expect_single_call_bt_settings_store_keys(returned_key->storage_start); in ZTEST()
72 * bt_settings_store_keys() returns a negative value of -1 which represents
76 * - Key reference points to a valid item
[all …]
/Zephyr-latest/include/zephyr/settings/
Dsettings.h5 * SPDX-License-Identifier: Apache-2.0
46 #define SETTINGS_EXTRA_LEN ((SETTINGS_MAX_DIR_DEPTH - 1) + 2)
58 * @return positive: Number of bytes read, 0: key-value pair is deleted.
59 * On error returns -ERRNO code.
80 * - key[in] the name with skipped part that was used as name in
82 * - val[out] buffer to receive value.
83 * - val_len_max[in] size of that buffer.
93 * - key[in] the name with skipped part that was used as name in
95 * - len[in] the size of the data found in the backend.
96 * - read_cb[in] function provided to read the data from the backend.
[all …]
/Zephyr-latest/include/zephyr/fs/
Dfcb.h2 * Copyright (c) 2017-2023 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
48 * Entry location is pointer to area (within fcb->f_sectors), and offset
70 #define FCB_ENTRY_FA_DATA_OFF(entry) (entry.fe_sector->fs_off +\
163 * @return 0 on success, non-zero on failure.
171 * contents for the entry, use loc->fe_sector and loc->fe_data_off with
180 * @return 0 on success, non-zero on failure.
190 * @return 0 on success, non-zero on failure.
202 * If cb wants to stop the walk, it should return non-zero value.
207 * @return 0 continue walking, non-zero stop walking.
[all …]
/Zephyr-latest/tests/bluetooth/df/connection_cte_req/src/
Dtest_cte_set_rx_params.h4 * SPDX-License-Identifier: Apache-2.0
24 * @return Zero if success, non-zero value in case of failure.
/Zephyr-latest/doc/kernel/services/timing/
Dtimers.rst8 is reached it can perform an application-defined action,
30 non-negative. A period of ``K_NO_WAIT`` (i.e. zero) or
31 ``K_FOREVER`` means that the timer is a one-shot timer that stops
48 expiry function and stop function values, sets the timer's status to zero,
52 The timer's status is reset to zero, and then the timer enters
65 If the timer's period is zero the timer enters the stopped state;
68 A running timer can be stopped in mid-countdown, if desired.
72 Attempting to stop a non-running timer is permitted,
75 A running timer can be restarted in mid-countdown, if desired.
76 The timer's status is reset to zero, then the timer begins counting down
[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
195 /** Flash area being written; -1 if no upload in progress. */
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
269 * @return Non-negative image number.
282 * @return 0 if slot is not used, non-0 otherwise.
[all …]
/Zephyr-latest/dts/bindings/iio/afe/
Dvoltage-divider.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "voltage-divider"
13 io-channels:
18 output-ohms:
24 full-ohms:
29 If absent or zero the driver assumes that the upper leg is a
30 resistance-based sensor.
32 power-gpios:
33 type: phandle-array
40 power-on-sample-delay-us:
[all …]
/Zephyr-latest/include/zephyr/
Dsmf.h4 * SPDX-License-Identifier: Apache-2.0
112 * value other than zero when it's returned by the
145 * @param val Non-Zero termination value that's returned by the smf_run_state
163 * @return A non-zero value should terminate the state machine. This
164 * non-zero value could represent a terminal state being reached
/Zephyr-latest/tests/bluetooth/host/id/bt_id_read_public_addr/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
41 * operation fails and a non-success error code is returned.
44 * - A valid address reference is passed to bt_id_read_public_addr()
45 * - bt_hci_cmd_send_sync() returns a non-zero error code
48 * - Execution stops and a zero return value is returned which represents failure
87 * - A valid address reference is passed to bt_id_read_public_addr()
88 * - bt_hci_cmd_send_sync() returns zero
89 * - Response data contains invalid address
92 * - Execution stops and a zero return value is returned which represents failure
109 bt_addr_copy(&rp->bdaddr, invalid_bt_address[i]); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dcap_acceptor.c4 * SPDX-License-Identifier: Apache-2.0
39 CHECKIF(param->set_size == 0U) { in bt_cap_acceptor_register()
40 LOG_DBG("param->set_size shall be non-zero"); in bt_cap_acceptor_register()
41 return -EINVAL; in bt_cap_acceptor_register()
44 CHECKIF(param->rank == 0U) { in bt_cap_acceptor_register()
45 LOG_DBG("param->rank shall be non-zero"); in bt_cap_acceptor_register()
46 return -EINVAL; in bt_cap_acceptor_register()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_sync_types.h4 * SPDX-License-Identifier: Apache-2.0
21 /* Non-zero when sync is setup. It can be in two sub-stated:
22 * - Waiting for first AUX_SYNC_IND, before sync established was notified to Host.
24 * - sync is already established, node_rx_sync_estab is NULL.
73 /* Not-Null when sync was setup and Controller is waiting for first AUX_SYNC_IND PDU.
87 /* Non-Null when creating sync, reset in ISR context on
129 uint16_t volatile timeout_reload; /* Non-zero when sync established */
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/
DKconfig2 # Copyright Nordic Semiconductor ASA 2020-2022. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
10 # MCUMGR_GRP_IMG_ -- general group options;
63 non-0 "rc" codes.
66 bool "Allow to confirm secondary slot of non-active image"
69 Allows to confirm secondary (non-active) slot of non-active image.
70 Normally it should not be allowed to confirm any slots of non-active
76 bool "Allow to confirm slots of non-active image"
79 Allows to confirm any slot of non-active image.
80 Normally it should not be allowed to confirm any slots of non-active
[all …]
/Zephyr-latest/include/zephyr/drivers/modem/
Dhl7800.h8 * SPDX-License-Identifier: Apache-2.0
24 #define MDM_HL7800_REVISION_MAX_STRLEN (MDM_HL7800_REVISION_MAX_SIZE - 1)
27 #define MDM_HL7800_IMEI_STRLEN (MDM_HL7800_IMEI_SIZE - 1)
30 #define MDM_HL7800_ICCID_MAX_STRLEN (MDM_HL7800_ICCID_MAX_SIZE - 1)
33 #define MDM_HL7800_SERIAL_NUMBER_STRLEN (MDM_HL7800_SERIAL_NUMBER_SIZE - 1)
39 #define MDM_HL7800_APN_MAX_STRLEN (MDM_HL7800_APN_MAX_SIZE - 1)
41 (MDM_HL7800_APN_USERNAME_MAX_SIZE - 1)
43 (MDM_HL7800_APN_PASSWORD_MAX_SIZE - 1)
49 #define MDM_HL7800_APN_CMD_MAX_STRLEN (MDM_HL7800_APN_CMD_MAX_SIZE - 1)
58 #define MDM_HL7800_LTE_BAND_STRLEN (MDM_HL7800_LTE_BAND_STR_SIZE - 1)
[all …]
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dutils.py3 # SPDX-License-Identifier: Apache-2.0
14 def check_with_shell_command(shell: Shell, version: str, swap_type: str | None = None) -> None:
21 def check_with_mcumgr_command(mcumgr: MCUmgr, version: str) -> None:
23 # version displayed by MCUmgr does not print +0 and changes + to '.' for non-zero values
/Zephyr-latest/tests/drivers/i2s/i2s_speed/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
29 Use wiring between the data-out and data-in pins for looping back
38 Maximum allowed offset between sent and received samples. Non-zero
/Zephyr-latest/tests/drivers/i2s/i2s_api/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
29 Use wiring between the data-out and data-in pins for looping back
38 Maximum allowed offset between sent and received samples. Non-zero
/Zephyr-latest/arch/arm/core/cortex_m/
Dirq_manage.c2 * Copyright (c) 2013-2014 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief ARM Cortex-M interrupt management
49 return NVIC->ISER[REG_FROM_IRQ(irq)] & BIT(BIT_FROM_IRQ(irq)); in arch_irq_is_enabled()
68 /* If we have zero latency interrupts, those interrupts will in z_arm_irq_priority_set()
77 /* Use caller supplied prio level as-is */ in z_arm_irq_priority_set()
86 * reduced set of priorities, like Cortex-M0/M0+). in z_arm_irq_priority_set()
88 __ASSERT(prio <= (BIT(NUM_IRQ_PRIO_BITS) - 1), in z_arm_irq_priority_set()
90 prio - _IRQ_PRIO_OFFSET, irq, in z_arm_irq_priority_set()
91 BIT(NUM_IRQ_PRIO_BITS) - (_IRQ_PRIO_OFFSET)); in z_arm_irq_priority_set()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/
DKconfig2 # Copyright Nordic Semiconductor ASA 2020-2022. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
15 module-str = mcumgr
29 code is non-zero (i.e. an error occurred).
/Zephyr-latest/drivers/flash/
DKconfig.andes1 # Kconfig Andes QSPI-NOR configuration options
5 # SPDX-License-Identifier: Apache-2.0
30 sfdp-bfp property in devicetree. The size and jedec-id properties are
38 for all supported JESD216-compatible devices.
54 size (65536). Other options include the 32K-byte erase size
55 (32768), the sector size (4096), or any non-zero multiple of the
/Zephyr-latest/include/zephyr/net/http/
Dservice.h4 * SPDX-License-Identifier: Apache-2.0
51 * unique. The @p _resource must be non-NULL.
55 * @param _resource Pathname-like string identifying the resource.
56 * @param _detail Implementation-specific detail associated with the resource.
105 * IPv4 or IPv6 format a fully-qualified hostname or a virtual host. If left NULL, the listening
108 * @note The @p _port parameter must be non-`NULL`. It points to a location that specifies the port
109 * number to use for the service. If the specified port number is zero, then an ephemeral port
118 * @param _detail Implementation-specific detail associated with the service.
127 * IPv4 or IPv6 format a fully-qualified hostname or a virtual host. If left NULL, the listening
130 * @note The @p _port parameter must be non-`NULL`. It points to a location that specifies the port
[all …]
/Zephyr-latest/include/zephyr/xen/
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
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
38 * @param readonly - permit readonly access to allocated grant
[all …]

12345678910>>...18