Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 25 of 81) sorted by relevance

1234

/Zephyr-latest/scripts/west_commands/runners/
Ddediprog.py19 def __init__(self, cfg, spi_image, vcc, retries): argument
23 self.dpcmd_retries = retries
47 retries=args.retries)
69 retries = 0
70 while retries <= max_retries:
74 retries += 1
75 if retries > max_retries:
/Zephyr-latest/tests/kernel/sleep/src/
Dusleep.c66 int retries = 0; in ZTEST_USER() local
69 while (retries < RETRIES) { in ZTEST_USER()
74 ++retries; in ZTEST_USER()
/Zephyr-latest/tests/lib/lockfree/src/
Dtest_spsc.c147 uint32_t retries = 0; in t1_consume() local
152 retries = 0; in t1_consume()
153 while (val == NULL && retries < MAX_RETRIES) { in t1_consume()
155 retries++; in t1_consume()
171 uint32_t retries = 0; in t2_produce() local
176 retries = 0; in t2_produce()
177 while (val == NULL && retries < MAX_RETRIES) { in t2_produce()
179 retries++; in t2_produce()
/Zephyr-latest/drivers/sensor/honeywell/mpr/
Dmpr.c50 uint8_t retries = MPR_REG_READ_MAX_RETRIES; in mpr_read_reg() local
52 for (; retries > 0; retries--) { in mpr_read_reg()
71 if (retries == 0) { in mpr_read_reg()
/Zephyr-latest/subsys/sd/
Dsd_utils.h52 int retries) in sd_retry() argument
56 while (retries-- >= 0) { in sd_retry()
Dsdmmc.c78 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_spi_send_ocr()
101 int retries; in sdmmc_send_ocr() local
107 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_send_ocr()
110 for (retries = 0; retries < CONFIG_SD_OCR_RETRY_COUNT; retries++) { in sdmmc_send_ocr()
142 if (retries >= CONFIG_SD_OCR_RETRY_COUNT) { in sdmmc_send_ocr()
147 LOG_DBG("SDMMC responded to ACMD41 after %d attempts", retries); in sdmmc_send_ocr()
177 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_read_scr()
218 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_set_blocklen()
246 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_set_bus_width()
297 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_switch()
Dsd_ops.c31 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_read_status()
216 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_spi_read_cxd()
246 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_read_cxd()
340 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_switch_voltage()
419 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_request_rca()
446 cmd.retries = CONFIG_SD_CMD_RETRIES; in sdmmc_select_card()
471 cmd.retries = CONFIG_SD_CMD_RETRIES; in card_app_command()
517 cmd.retries = CONFIG_SD_DATA_RETRIES; in card_read()
628 cmd.retries = CONFIG_SD_CMD_RETRIES; in card_query_written()
673 cmd.retries = CONFIG_SD_DATA_RETRIES; in card_write()
Dsdio.c32 int retries; in sdio_send_ocr() local
39 for (retries = 0; retries < CONFIG_SD_OCR_RETRY_COUNT; retries++) { in sdio_send_ocr()
73 if (retries >= CONFIG_SD_OCR_RETRY_COUNT) { in sdio_send_ocr()
78 LOG_DBG("SDIO responded to CMD5 after %d attempts", retries); in sdio_send_ocr()
476 int ret, timing, retries = CONFIG_SD_RETRY_COUNT; in sdio_set_bus_speed() local
527 } while (((speed_reg & target_speed) != target_speed) && retries-- > 0); in sdio_set_bus_speed()
528 if (retries == 0) { in sdio_set_bus_speed()
712 uint16_t retries = CONFIG_SD_RETRY_COUNT; in sdio_enable_func() local
728 retries = 1U; in sdio_enable_func()
741 } while (retries-- != 0); in sdio_enable_func()
Dsd.c30 cmd.retries = CONFIG_SD_CMD_RETRIES; in sd_idle()
58 cmd.retries = CONFIG_SD_CMD_RETRIES; in sd_send_interface_condition()
95 cmd.retries = CONFIG_SD_CMD_RETRIES; in sd_enable_crc()
/Zephyr-latest/drivers/ethernet/
Dphy_gecko.c39 uint32_t retries = 100U; /* will wait up to 1 s */ in mdio_bus_wait() local
42 if (retries-- == 0U) { in mdio_bus_wait()
112 uint32_t retries = 12U; in phy_soft_reset() local
126 if (retries-- == 0U) { in phy_soft_reset()
197 uint32_t retries = PHY_AUTONEG_TIMEOUT_MS / 100; in phy_gecko_auto_negotiate() local
226 if (retries-- == 0U) { in phy_gecko_auto_negotiate()
Dphy_xlnx_gem.c202 uint32_t retries = 0; in phy_xlnx_gem_marvell_alaska_reset() local
216 while (((phy_data & PHY_MRVL_COPPER_CONTROL_RESET_BIT) != 0) && (retries++ < 10)) { in phy_xlnx_gem_marvell_alaska_reset()
220 if (retries == 10) { in phy_xlnx_gem_marvell_alaska_reset()
238 uint32_t retries = 0; in phy_xlnx_gem_marvell_alaska_cfg() local
289 (retries++ < 10)) { in phy_xlnx_gem_marvell_alaska_cfg()
294 if (retries == 10) { in phy_xlnx_gem_marvell_alaska_cfg()
620 uint32_t retries = 0; in phy_xlnx_gem_ti_dp83822_reset() local
628 while (((phy_data & PHY_TI_BASIC_MODE_CONTROL_RESET_BIT) != 0) && (retries++ < 10)) { in phy_xlnx_gem_ti_dp83822_reset()
632 if (retries == 10) { in phy_xlnx_gem_ti_dp83822_reset()
/Zephyr-latest/drivers/sensor/ams/ens210/
DKconfig48 int "Number of status read retries"
51 Number of retries when status reading failed or device not ready.
54 int "Number of value reading retries"
57 Number of retries when value reading failed, value not valid
/Zephyr-latest/subsys/logging/backends/
DKconfig.ws22 int "Number of TX retries"
25 Number of TX retries before dropping the full line of data.
28 int "Delay between TX retries in milliseconds"
DKconfig.rtt66 int "Number of retries"
69 Number of TX retries before dropping the data and assuming that
73 int "Delay between TX retries in milliseconds"
80 increase delay or number of retries.
/Zephyr-latest/drivers/sensor/ams/ams_iAQcore/
DKconfig15 int "Number of read retries"
19 Number of retries when reading failed or device not ready.
/Zephyr-latest/drivers/usb/uhc/
DKconfig.max3421e24 int "Maximum retries for oscillator ready event"
27 Specify the number of retries for oscillator ready event.
/Zephyr-latest/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp113 int retries = 0; in listen() local
167 } while ((retries++ < retryLimit_) && (THRIFT_SLEEP_SEC(retryDelay_) == 0)); in listen()
170 if (port_ == 0 && retries <= retryLimit_) { in listen()
199 if (retries > retryLimit_) { in listen()
/Zephyr-latest/drivers/usb_c/tcpc/
DKconfig.tcpc_tcpci17 int "I2C communication retries"
22 to the i2c address immediately. If device won't respond after retries, it means that
DKconfig.tcpc_ps8xxx23 int "PS8xxx init retries"
/Zephyr-latest/drivers/sdhc/
Dsdhc_spi.c431 uint32_t retries = SD_SPI_SKIP_RETRIES; in sdhc_skip() local
439 } while (buf == skip_val && retries--); in sdhc_skip()
440 if (retries == 0) { in sdhc_skip()
633 int ret, ret2, stop_ret, retries = cmd->retries; in sdhc_spi_request() local
639 .retries = 1, in sdhc_spi_request()
650 } while ((ret != 0) && (retries-- > 0)); in sdhc_spi_request()
653 retries--; in sdhc_spi_request()
665 int stop_retries = cmd->retries; in sdhc_spi_request()
681 } while ((ret != 0) && (retries > 0)); in sdhc_spi_request()
Dsdhc_renesas_ra.c141 static int sdhc_ra_send_cmd(struct sdhc_ra_priv *priv, struct sdmmc_ra_command *ra_cmd, int retries) in sdhc_ra_send_cmd() argument
145 while (retries > 0) { in sdhc_ra_send_cmd()
149 retries--; /* error, retry */ in sdhc_ra_send_cmd()
164 int retries = (int)(cmd->retries + 1); /* first try plus retries */ in sdhc_ra_request() local
214 ret = sdhc_ra_send_cmd(priv, &ra_cmd, retries); in sdhc_ra_request()
221 ret = sdhc_ra_send_cmd(priv, &ra_cmd, retries); in sdhc_ra_request()
284 ret = sdhc_ra_send_cmd(priv, &ra_cmd, retries); in sdhc_ra_request()
306 ret = sdhc_ra_send_cmd(priv, &ra_cmd, retries); in sdhc_ra_request()
/Zephyr-latest/samples/drivers/peci/src/
Dmain.c61 int retries = 3; in peci_get_tjmax() local
92 retries--; in peci_get_tjmax()
93 } while ((peci_resp != PECI_CC_RSP_SUCCESS) && (retries > 0)); in peci_get_tjmax()
/Zephyr-latest/samples/bluetooth/hci_ipc/src/
Dmain.c226 uint8_t retries = 0; in hci_ipc_send() local
255 retries++; in hci_ipc_send()
256 if (retries > 10) { in hci_ipc_send()
259 retries = 0; in hci_ipc_send()
/Zephyr-latest/drivers/can/
DKconfig.mcp251xfd49 int "Number of retries during SFR register read"
52 Number of retries during SFR register read if CRC fails.
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/
Dmain.c352 uint8_t retries = 3U; in try_to_connect() local
357 while (retries--) { in try_to_connect()
394 int retries = 3; in get_mqtt_broker_addrinfo() local
397 while (retries--) { in get_mqtt_broker_addrinfo()

1234