Home
last modified time | relevance | path

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

1234

/Zephyr-Core-3.6.0/modules/hostap/src/
Dsupp_main.c4 * SPDX-License-Identifier: Apache-2.0
79 return get_default_context()->supplicant; in zephyr_get_default_supplicant_context()
91 if (ctx->event_socketpair[1] < 0) { in zephyr_wifi_send_event()
92 ret = -ENOENT; in zephyr_wifi_send_event()
96 fds[0].fd = ctx->event_socketpair[0]; in zephyr_wifi_send_event()
102 ret = -errno; in zephyr_wifi_send_event()
107 ret = zsock_send(ctx->event_socketpair[1], msg, sizeof(*msg), 0); in zephyr_wifi_send_event()
109 ret = -errno; in zephyr_wifi_send_event()
110 LOG_WRN("Event send failed (%d)", ret); in zephyr_wifi_send_event()
115 ret = -EMSGSIZE; in zephyr_wifi_send_event()
[all …]
/Zephyr-Core-3.6.0/subsys/sd/
Dsd.c4 * SPDX-License-Identifier: Apache-2.0
32 return sdhc_request(card->sdhc, &cmd, NULL); in sd_idle()
47 ret = sdhc_request(card->sdhc, &cmd, NULL); in sd_send_interface_condition()
49 LOG_DBG("SD CMD8 failed with error %d", ret); in sd_send_interface_condition()
50 /* Retry */ in sd_send_interface_condition()
53 if (card->host_props.is_spi) { in sd_send_interface_condition()
60 /* Retry probe */ in sd_send_interface_condition()
65 return -ENOTSUP; in sd_send_interface_condition()
68 card->flags |= SD_SDHC_FLAG; in sd_send_interface_condition()
78 __ASSERT_NO_MSG(card->host_props.is_spi); in sd_enable_crc()
[all …]
/Zephyr-Core-3.6.0/scripts/tests/twister_blackbox/
Dtest_runner.py4 # SPDX-License-Identifier: Apache-2.0
179 os.path.join(TEST_DATA, 'twister-quarantine-list.yml'),
190 r'0 of 4 test configurations passed \(0.00%\), 0 failed, 0 errored, 4 skipped'
198 r'2 of 4 test configurations passed \(100.00%\), 0 failed, 0 errored, 2 skipped'
205 [r'3 of 4 test configurations passed \(100.00%\), 0 failed, 0 errored, 1 skipped']
255 args = ['-i', '--outdir', out_path, '-T', test_path, '--emulation-only'] + \
257 ['-p'] * len(test_platforms), test_platforms
264 select_regex = r'^INFO - (?P<test_scenarios>[0-9]+) test scenarios' \
265 r' \((?P<test_instances>[0-9]+) test instances\) selected,' \
266 r' (?P<skipped_configurations>[0-9]+) configurations skipped' \
[all …]
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/
DKconfig7 # SPDX-License-Identifier: Apache-2.0
40 retry to send notification that failed due to lack of TX buffers
67 module-str = "Bluetooth Audio"
Dmicp_mic_dev.c4 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
6 * SPDX-License-Identifier: Apache-2.0
59 err = bt_gatt_notify_uuid(NULL, BT_UUID_MICS_MUTE, server->service_p->attrs, &server->mute, in notify_work_handler()
60 sizeof(server->mute)); in notify_work_handler()
61 if (err == 0 || err == -ENOTCONN) { in notify_work_handler()
65 if (err == -ENOMEM && in notify_work_handler()
67 LOG_WRN("Out of buffers for mute state notification. Will retry in %dms", in notify_work_handler()
107 LOG_ERR("Failed to schedule mute state notification err %d", err); in write_mute()
110 if (micp_inst.cb != NULL && micp_inst.cb->mute != NULL) { in write_mute()
111 micp_inst.cb->mute(micp_inst.mute); in write_mute()
[all …]
/Zephyr-Core-3.6.0/drivers/usb_c/tcpc/
Ducpd_stm32_priv.h4 * SPDX-License-Identifier: Apache-2.0
17 * @brief The packet type(SOP*) consists of 2-bytes
22 * @brief The message header consists of 2-bytes
98 #define UCPD_ANASUB_TO_RP(r) ((r - 1) & 0x3)
123 * @brief PD message send retry count for Rev 2.0
128 * @brief PD message send retry count for Rev 3.0
142 /* Transmission of power delivery message failed */
150 /* Transmission of Hard Reset message failed */
194 TX_MSG_NONE = -1,
313 /* Retry count on failure to transmit a message */
/Zephyr-Core-3.6.0/samples/subsys/ipc/ipc_service/icmsg/remote/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
32 __ASSERT(packet->data[0] == expected_message, "Unexpected message. Expected %c, got %c", in ep_recv()
33 expected_message, packet->data[0]); in ep_recv()
60 while ((k_uptime_get() - start) < sending_time_ms) { in send_for_time()
62 if (ret == -ENOMEM) { in send_for_time()
63 /* No space in the buffer. Retry. */ in send_for_time()
66 LOG_ERR("Failed to send (%c) failed with ret %d", msg.data[0], ret); in send_for_time()
103 LOG_INF("IPC-service REMOTE demo started"); in main()
108 if ((ret < 0) && (ret != -EALREADY)) { in main()
127 LOG_INF("IPC-service REMOTE demo ended"); in main()
/Zephyr-Core-3.6.0/drivers/sensor/tmp108/
Dtmp108_trigger.c4 * SPDX-License-Identifier: Apache-2.0
27 tmp108_reg_read(drv_data->tmp108_dev, TI_TMP108_REG_CONF, &config); in tmp108_trigger_handle_one_shot()
30 shutdown_mode = (config & (TI_TMP108_CONF_M1(drv_data->tmp108_dev) | in tmp108_trigger_handle_one_shot()
31 TI_TMP108_CONF_M0(drv_data->tmp108_dev))) == 0; in tmp108_trigger_handle_one_shot()
34 ti_tmp108_read_temp(drv_data->tmp108_dev); in tmp108_trigger_handle_one_shot()
36 LOG_ERR("Temperature one shot mode read failed, retrying"); in tmp108_trigger_handle_one_shot()
37 /* Wait for typical wake up time, retry if the read fails in tmp108_trigger_handle_one_shot()
41 k_work_reschedule(&drv_data->scheduled_work, in tmp108_trigger_handle_one_shot()
47 if (drv_data->data_ready_handler) { in tmp108_trigger_handle_one_shot()
48 drv_data->data_ready_handler(drv_data->tmp108_dev, in tmp108_trigger_handle_one_shot()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/misc/conn_stress/central/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
35 #define PERIPHERAL_DEVICE_NAME_LEN (sizeof(PERIPHERAL_DEVICE_NAME) - 1)
38 #define NOTIFICATION_DATA_PREFIX_LEN (sizeof(NOTIFICATION_DATA_PREFIX) - 1)
41 #define NOTIFICATION_DATA_LEN MAX(200, (CONFIG_BT_L2CAP_TX_MTU - 4))
63 /* Total number of flags - must be at the end of the enum */
74 /* Total number of flags - must be at the end of the enum */
104 memset(&info->flags, 0, sizeof(info->flags)); in clear_info()
105 memset(&info->conn_ref, 0, sizeof(info->conn_ref)); in clear_info()
106 memset(&info->notify_counter, 0, sizeof(info->notify_counter)); in clear_info()
107 memset(&info->tx_notify_counter, 0, sizeof(info->tx_notify_counter)); in clear_info()
[all …]
/Zephyr-Core-3.6.0/drivers/disk/nvme/
Dnvme_cmd.c2 * SPDX-License-Identifier: Apache-2.0
41 { NVME_SC_ABORTED_POWER_LOSS, "ABORTED - POWER LOSS" },
43 { NVME_SC_ABORTED_BY_REQUEST, "ABORTED - BY REQUEST" },
44 { NVME_SC_ABORTED_SQ_DELETION, "ABORTED - SQ DELETION" },
45 { NVME_SC_ABORTED_FAILED_FUSED, "ABORTED - FAILED FUSED" },
46 { NVME_SC_ABORTED_MISSING_FUSED, "ABORTED - MISSING FUSED" },
63 { NVME_SC_SANITIZE_FAILED, "SANITIZE FAILED" },
106 { NVME_SC_SELF_TEST_IN_PROGRESS, "DEVICE SELF-TEST IN PROGRESS" },
115 { NVME_SC_ANA_ATTACH_FAILED, "ANA ATTACH FAILED" },
168 while (entry->sc != 0xFFFF) { in get_status_string()
[all …]
/Zephyr-Core-3.6.0/samples/subsys/ipc/ipc_service/icmsg/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
34 __ASSERT(packet->data[0] == expected_message, "Unexpected message. Expected %c, got %c", in ep_recv()
35 expected_message, packet->data[0]); in ep_recv()
62 while ((k_uptime_get() - start) < sending_time_ms) { in send_for_time()
64 if (ret == -ENOMEM) { in send_for_time()
65 /* No space in the buffer. Retry. */ in send_for_time()
68 LOG_ERR("Failed to send (%c) failed with ret %d", msg.data[0], ret); in send_for_time()
105 LOG_INF("IPC-service HOST demo started"); in main()
110 if ((ret < 0) && (ret != -EALREADY)) { in main()
171 LOG_INF("IPC-service HOST demo ended"); in main()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
40 #define NOTIFICATION_DATA_PREFIX_LEN (sizeof(NOTIFICATION_DATA_PREFIX) - 1)
43 #define NOTIFICATION_DATA_LEN MAX(200, (CONFIG_BT_L2CAP_TX_MTU - 4))
68 /* Total number of flags - must be at the end of the enum */
136 LOG_ERR("Connection failed (err 0x%02x)", err); in connected()
186 addr, param->interval_min, (uint32_t)(param->interval_min * 1.25), in le_param_req()
187 param->interval_max, (uint32_t)(param->interval_max * 1.25), param->latency, in le_param_req()
188 param->timeout); in le_param_req()
201 LOG_ERR("Security for %p failed: %s level %u err %d", conn, addr, level, err); in security_changed()
228 params->value_handle = 0U; in rx_notification()
[all …]
/Zephyr-Core-3.6.0/subsys/mgmt/osdp/src/
Dosdp_cp.c4 * SPDX-License-Identifier: Apache-2.0
53 OSDP_CP_ERR_GENERIC = -1,
54 OSDP_CP_ERR_NO_DATA = -2,
55 OSDP_CP_ERR_RETRY_CMD = -3,
56 OSDP_CP_ERR_CAN_YIELD = -4,
57 OSDP_CP_ERR_INPROG = -5,
58 OSDP_CP_ERR_UNKNOWN = -6,
66 if (k_mem_slab_alloc(&pd->cmd.slab, (void **)&cmd, K_MSEC(100))) { in cp_cmd_alloc()
67 LOG_ERR("Memory allocation time-out"); in cp_cmd_alloc()
75 k_mem_slab_free(&pd->cmd.slab, (void *)cmd); in cp_cmd_free()
[all …]
/Zephyr-Core-3.6.0/.github/workflows/
Dclang.yaml6 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
7 cancel-in-progress: true
10 clang-build:
11 if: github.repository_owner == 'zephyrproject-rtos'
12 runs-on: zephyr-runner-linux-x64-4xlarge
14 image: ghcr.io/zephyrproject-rtos/ci:v0.26.7
15 options: '--entrypoint /bin/bash'
17 - /repo-cache/zephyrproject:/github/cache/zephyrproject
19 fail-fast: false
23 LLVM_TOOLCHAIN_PATH: /usr/lib/llvm-16
[all …]
/Zephyr-Core-3.6.0/drivers/eeprom/
Deeprom_mchp_xec.c4 * SPDX-License-Identifier: Apache-2.0
28 /* EEPROM Execute Register - Transfer size bit position */
31 /* EEPROM Execute Register - Commands */
37 /* EEPROM Execute Register - Address mask */
84 regs->execute = temp; in eeprom_xec_execute_reg_set()
96 *destination_ptr = regs->buffer[count]; in eeprom_xec_data_buffer_read()
112 regs->buffer[count] = *source_ptr; in eeprom_xec_data_buffer_write()
128 LOG_ERR("XEC EEPROM retry count exceeded"); in eeprom_xec_wait_transfer_compl()
133 sts = XEC_EEPROM_STS_TRANSFER_COMPL & regs->status; in eeprom_xec_wait_transfer_compl()
140 regs->status = XEC_EEPROM_STS_TRANSFER_COMPL; in eeprom_xec_wait_transfer_compl()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/iso_broadcast_benchmark/src/
Dreceiver.c4 * SPDX-License-Identifier: Apache-2.0
67 switch (data->type) { in data_cb()
70 len = MIN(data->data_len, DEVICE_NAME_LEN - 1); in data_cb()
71 memcpy(name, data->data, len); in data_cb()
89 if (info->interval == 0U) { in scan_recv()
90 /* Not broadcast periodic advertising - Ignore */ in scan_recv()
102 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
105 le_addr, info->rssi); in scan_recv()
109 per_sid = info->sid; in scan_recv()
110 per_interval_us = BT_CONN_INTERVAL_TO_US(info->interval); in scan_recv()
[all …]
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/
Dlwm2m_rd_client.c3 * Copyright (c) 2017-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
229 if (event > LWM2M_RD_CLIENT_EVENT_NONE && client.ctx->event_cb) { in set_sm_state_delayed()
230 client.ctx->event_cb(client.ctx, event); in set_sm_state_delayed()
314 if (event > LWM2M_RD_CLIENT_EVENT_NONE && client.ctx->event_cb) { in sm_handle_timeout_state()
315 client.ctx->event_cb(client.ctx, event); in sm_handle_timeout_state()
343 if (event > LWM2M_RD_CLIENT_EVENT_NONE && client.ctx->event_cb) { in sm_handle_failure_state()
344 client.ctx->event_cb(client.ctx, event); in sm_handle_failure_state()
356 client.ctx->sec_obj_inst = -1; in socket_fault_cb()
362 * after receiving Ack to Bootstrap-Finish command. in socket_fault_cb()
[all …]
/Zephyr-Core-3.6.0/drivers/ieee802154/
Dieee802154_cc2520.c1 /* ieee802154_cc2520.c - TI CC2520 driver */
8 * SPDX-License-Identifier: Apache-2.0
47 * 1 - Debug related functions
48 * 2 - Generic helper functions (for any parts)
49 * 3 - GPIO related functions
50 * 4 - TX related helper functions
51 * 5 - RX related helper functions
52 * 6 - Radio device API functions
53 * 7 - Legacy radio device API functions
54 * 8 - Initialization
[all …]
Dieee802154_cc13xx_cc26xx.c5 * SPDX-License-Identifier: Apache-2.0
45 {-20, RF_TxPowerTable_DEFAULT_PA_ENTRY(6, 3, 0, 2)},
46 {-15, RF_TxPowerTable_DEFAULT_PA_ENTRY(10, 3, 0, 3)},
47 {-10, RF_TxPowerTable_DEFAULT_PA_ENTRY(15, 3, 0, 5)},
48 {-5, RF_TxPowerTable_DEFAULT_PA_ENTRY(22, 3, 0, 9)},
74 struct ieee802154_cc13xx_cc26xx_data *drv_data = dev->data; in cmd_ieee_csma_callback()
76 update_saved_cmdhandle(ch, (RF_CmdHandle *) &drv_data->saved_cmdhandle); in cmd_ieee_csma_callback()
90 struct ieee802154_cc13xx_cc26xx_data *drv_data = dev->data; in cmd_ieee_rx_callback()
92 update_saved_cmdhandle(ch, (RF_CmdHandle *) &drv_data->saved_cmdhandle); in cmd_ieee_rx_callback()
132 struct ieee802154_cc13xx_cc26xx_data *drv_data = dev->data; in ieee802154_cc13xx_cc26xx_cca()
[all …]
/Zephyr-Core-3.6.0/drivers/sdhc/
Dintel_emmc_host.c4 * SPDX-License-Identifier: Apache-2.0
62 regs->normal_int_stat_en = EMMC_HOST_NORMAL_INTR_MASK; in enable_interrupts()
63 regs->err_int_stat_en = EMMC_HOST_ERROR_INTR_MASK; in enable_interrupts()
64 regs->normal_int_signal_en = EMMC_HOST_NORMAL_INTR_MASK; in enable_interrupts()
65 regs->err_int_signal_en = EMMC_HOST_ERROR_INTR_MASK; in enable_interrupts()
66 regs->timeout_ctrl = EMMC_HOST_MAX_TIMEOUT; in enable_interrupts()
74 regs->normal_int_stat_en = EMMC_HOST_NORMAL_INTR_MASK; in disable_interrupts()
75 regs->err_int_stat_en = EMMC_HOST_ERROR_INTR_MASK; in disable_interrupts()
78 regs->normal_int_signal_en &= 0; in disable_interrupts()
79 regs->err_int_signal_en &= 0; in disable_interrupts()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/iso_receive/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
72 switch (data->type) { in data_cb()
75 len = MIN(data->data_len, NAME_LEN - 1); in data_cb()
76 memcpy(name, data->data, len); in data_cb()
105 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
109 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
110 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
111 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
112 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
113 (info->adv_props & BT_GAP_ADV_PROP_SCAN_RESPONSE) != 0, in scan_recv()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/caching/src/
Dgatt_client_test.c4 * SPDX-License-Identifier: Apache-2.0
32 FAIL("Failed to connect to %s (%u)\n", addr, err); in connected()
63 FAIL("Encryption failed\n"); in security_changed()
125 printk("[ATTRIBUTE] handle %u\n", attr->handle); in discover_func()
127 if (params->type == BT_GATT_DISCOVER_PRIMARY && in discover_func()
128 bt_uuid_cmp(params->uuid, TEST_SERVICE_UUID) == 0) { in discover_func()
130 params->uuid = NULL; in discover_func()
131 params->start_handle = attr->handle + 1; in discover_func()
132 params->type = BT_GATT_DISCOVER_CHARACTERISTIC; in discover_func()
136 FAIL("Discover failed (err %d)\n", err); in discover_func()
[all …]
/Zephyr-Core-3.6.0/drivers/ethernet/
Deth_adin2111.c4 * SPDX-License-Identifier: Apache-2.0
28 /* SPI Communication check retry delay */
33 /* ADIN RESETC check retry delay */
52 struct adin2111_data *ctx = dev->data; in eth_adin2111_lock()
54 return k_mutex_lock(&ctx->lock, timeout); in eth_adin2111_lock()
59 struct adin2111_data *ctx = dev->data; in eth_adin2111_unlock()
61 return k_mutex_unlock(&ctx->lock); in eth_adin2111_unlock()
67 const struct adin2111_config *cfg = dev->config; in eth_adin2111_reg_write()
96 return spi_write_dt(&cfg->spi, &tx); in eth_adin2111_reg_write()
102 const struct adin2111_config *cfg = dev->config; in eth_adin2111_reg_read()
[all …]
/Zephyr-Core-3.6.0/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp4 * SPDX-License-Identifier: Apache-2.0
39 factory_->server(true); in TSSLServerSocket()
46 factory_->server(true); in TSSLServerSocket()
53 factory_->server(true); in TSSLServerSocket()
59 return factory_->createSocket(client, pChildInterruptSockReader_); in createSocket()
62 return factory_->createSocket(client); in createSocket()
70 if (-1 == THRIFT_SOCKETPAIR(AF_LOCAL, SOCK_STREAM, 0, sv)) { in listen()
81 if (-1 == THRIFT_SOCKETPAIR(AF_LOCAL, SOCK_STREAM, 0, sv)) { in listen()
105 GlobalOutput.printf("getaddrinfo() -> %d; %s", e.code().value(), e.what()); in listen()
112 // always seem to work. The client can configure the retry variables. in listen()
[all …]
/Zephyr-Core-3.6.0/scripts/pylib/twister/twisterlib/
Denvironment.py6 # SPDX-License-Identifier: Apache-2.0
43 …ckages = [pkg.project_name for pkg in pkg_resources.working_set] # pylint: disable=not-an-iterable
44 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
58 $ ./scripts/twister -v \\
59 --testsuite-root tests/ztest/base \\
60 --testsuite-root tests/kernel \\
61 --test tests/ztest/base/testing.ztest.verbose_0 \\
62 --test tests/kernel/fifo/fifo_api/kernel.fifo
74 device = parser.add_mutually_exclusive_group(required="--device-testing" in sys.argv)
85 "-E",
[all …]

1234