Home
last modified time | relevance | path

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

/hardware/st/secure_element/ese-spi-driver/
DSpiLayerDriver.cc89 int retries = 0; in SpiLayerDriver_read() local
108 while (retries < 3) { in SpiLayerDriver_read()
120 int delay = delayTab[retries]; in SpiLayerDriver_read()
122 retries++; in SpiLayerDriver_read()
124 STLOG_HAL_W("## SpiRead retry %d/3 in %d milliseconds.", retries, delay); in SpiLayerDriver_read()
131 retries++; in SpiLayerDriver_read()
157 int retries = 0; in SpiLayerDriver_write() local
178 while (retries < 3) { in SpiLayerDriver_write()
190 int delay = delayTab[retries]; in SpiLayerDriver_write()
192 retries++; in SpiLayerDriver_write()
[all …]
/hardware/st/nfc/1.0/adaptation/
Di2clayer.c348 int retries = 0; in i2cWrite() local
351 while (retries < 3) { in i2cWrite()
360 retries++; in i2cWrite()
367 retries++; in i2cWrite()
384 int retries = 0; in i2cRead() local
387 while ((retries < 3) && (result < 0)) { in i2cRead()
407 if (retries < 3) { in i2cRead()
410 int delay = delayTab[retries]; in i2cRead()
412 retries++; in i2cRead()
413 STLOG_HAL_W("## i2cRead retry %d/3 in %d milliseconds.", retries, delay); in i2cRead()
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc359 int retries = 0; in i2cWrite() local
364 while (retries < 3) { in i2cWrite()
373 retries++; in i2cWrite()
380 retries++; in i2cWrite()
403 int retries = 0; in i2cRead() local
406 while ((retries < 3) && (result < 0)) { in i2cRead()
427 if (retries < 3) { in i2cRead()
430 int delay = delayTab[retries]; in i2cRead()
432 retries++; in i2cRead()
433 STLOG_HAL_W("## i2cRead retry %d/3 in %d milliseconds.", retries, in i2cRead()
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Diso7816_t1.c254 t1->retries = MAX_RETRIES; in parse_rblock()
257 t1->retries--; in parse_rblock()
258 if (t1->retries <= 0) r = -ETIMEDOUT; in parse_rblock()
263 t1->retries--; in parse_rblock()
275 t1->retries--; in parse_rblock()
331 t1->retries = 0; in parse_request()
489 while (!t1->state.halt && t1->retries) { in t1_loop()
524 t1->retries--; in t1_loop()
545 t1->retries = 0; in t1_loop()
555 t1->retries--; in t1_loop()
[all …]
Diso7816_t1.h50 uint8_t retries; /* Remaining retries in case of incorrect block */ member
/hardware/interfaces/wifi/1.3/default/tests/
Dhidl_struct_util_unit_tests.cpp140 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].retries = rand(); in TEST_F()
145 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BK].retries = rand(); in TEST_F()
150 legacy_stats.iface.ac[legacy_hal::WIFI_AC_VI].retries = rand(); in TEST_F()
155 legacy_stats.iface.ac[legacy_hal::WIFI_AC_VO].retries = rand(); in TEST_F()
196 EXPECT_EQ(legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].retries, in TEST_F()
197 converted.iface.wmeBePktStats.retries); in TEST_F()
205 EXPECT_EQ(legacy_stats.iface.ac[legacy_hal::WIFI_AC_BK].retries, in TEST_F()
206 converted.iface.wmeBkPktStats.retries); in TEST_F()
214 EXPECT_EQ(legacy_stats.iface.ac[legacy_hal::WIFI_AC_VI].retries, in TEST_F()
215 converted.iface.wmeViPktStats.retries); in TEST_F()
[all …]
/hardware/qcom/sdm845/gps/msm8960/utils/
Dloc_timer.c48 unsigned char retries=0; in timer_thread() local
72 while(retries < MAX_DELAY_RETRIES) { in timer_thread()
97 retries++; in timer_thread()
/hardware/qcom/gps/msm8960/utils/
Dloc_timer.c48 unsigned char retries=0; in timer_thread() local
72 while(retries < MAX_DELAY_RETRIES) { in timer_thread()
97 retries++; in timer_thread()
/hardware/libhardware_legacy/include/hardware_legacy/
Dlink_layer_stats.h134 u32 retries; // total number of data pkt retries member
180 u32 retries; // total number of data pkt retries member
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp301 int retries = MAX_WRITE_RETRIES; in write() local
302 while (remaining > 0 && retries) { in write()
309 retries--; in write()
/hardware/interfaces/radio/1.5/
DIRadioResponse.hal266 * no retries needed, such as illegal SIM or ME.
304 * @param remainingRetries postiive values indicates number of retries remaining,
305 * must be equal to -1 if number of retries is infinite.
/hardware/qcom/audio/hal/audio_extn/
Dcirrus_playback.c463 uint32_t retries = 5; in audio_extn_cirrus_calibration_thread() local
467 while (!adev->platform && retries) { in audio_extn_cirrus_calibration_thread()
470 retries--; in audio_extn_cirrus_calibration_thread()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dllstats.cpp279 …stats->retries = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_WMM_AC_RETRIES… in get_wifi_wmm_ac_stat()
335 stats->retries, in get_wifi_wmm_ac_stat()
411 … stats->retries = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_RATE_RETRIES]); in get_wifi_rate_stat()
436 stats->retries, in get_wifi_rate_stat()
/hardware/interfaces/wifi/1.3/default/
Dhidl_struct_util.cpp871 hidl_stats->iface.wmeBePktStats.retries = in convertLegacyLinkLayerStatsToHidl()
872 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].retries; in convertLegacyLinkLayerStatsToHidl()
879 hidl_stats->iface.wmeBkPktStats.retries = in convertLegacyLinkLayerStatsToHidl()
880 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BK].retries; in convertLegacyLinkLayerStatsToHidl()
887 hidl_stats->iface.wmeViPktStats.retries = in convertLegacyLinkLayerStatsToHidl()
888 legacy_stats.iface.ac[legacy_hal::WIFI_AC_VI].retries; in convertLegacyLinkLayerStatsToHidl()
895 hidl_stats->iface.wmeVoPktStats.retries = in convertLegacyLinkLayerStatsToHidl()
896 legacy_stats.iface.ac[legacy_hal::WIFI_AC_VO].retries; in convertLegacyLinkLayerStatsToHidl()
/hardware/interfaces/radio/1.0/
DIRadioResponse.hal42 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
60 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
78 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
97 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
114 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
132 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
151 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
899 * @param retry 0 is the number of retries remaining, or -1 if unknown
978 * no retries needed, such as illegal SIM or ME.
1001 * no retries needed, such as illegal SIM or ME.
Dtypes.hal444 // retries.
/hardware/interfaces/radio/1.4/
Dtypes.hal973 * Expiration of the PDP establish timer with a maximum of five retries.
977 * Expiration of the PDP modify timer with a maximum of four retries.
981 * Expiration of the PDP deactivate timer with a maximum of four retries.
/hardware/interfaces/wifi/1.0/
Dtypes.hal417 uint64_t retries;
1753 * Number of retries for a failed RTT frame.
1759 * Maximum number of retries that the initiator can