/Zephyr-latest/scripts/west_commands/runners/ |
D | dediprog.py | 19 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/ |
D | usleep.c | 66 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/ |
D | test_spsc.c | 147 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/ |
D | mpr.c | 50 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/ |
D | sd_utils.h | 52 int retries) in sd_retry() argument 56 while (retries-- >= 0) { in sd_retry()
|
D | sdmmc.c | 78 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()
|
D | sd_ops.c | 31 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()
|
D | sdio.c | 32 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()
|
D | sd.c | 30 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/ |
D | phy_gecko.c | 39 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()
|
D | phy_xlnx_gem.c | 202 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/ |
D | Kconfig | 48 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/ |
D | Kconfig.ws | 22 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"
|
D | Kconfig.rtt | 66 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/ |
D | Kconfig | 15 int "Number of read retries" 19 Number of retries when reading failed or device not ready.
|
/Zephyr-latest/drivers/usb/uhc/ |
D | Kconfig.max3421e | 24 int "Maximum retries for oscillator ready event" 27 Specify the number of retries for oscillator ready event.
|
/Zephyr-latest/modules/thrift/src/thrift/transport/ |
D | TSSLServerSocket.cpp | 113 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/ |
D | Kconfig.tcpc_tcpci | 17 int "I2C communication retries" 22 to the i2c address immediately. If device won't respond after retries, it means that
|
D | Kconfig.tcpc_ps8xxx | 23 int "PS8xxx init retries"
|
/Zephyr-latest/drivers/sdhc/ |
D | sdhc_spi.c | 431 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()
|
D | sdhc_renesas_ra.c | 141 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/ |
D | main.c | 61 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/ |
D | main.c | 226 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/ |
D | Kconfig.mcp251xfd | 49 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/ |
D | main.c | 352 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()
|