Home
last modified time | relevance | path

Searched refs:maxRetries (Results 1 – 8 of 8) sorted by relevance

/openbmc/openbmc/meta-facebook/meta-harma/recipes-networking/mctp/files/
H A Dsetup-local-eid5 maxRetries=5
15 while [ $retries -lt $maxRetries ]; do
20 echo "Retry $retries/$maxRetries: Command failed. Retrying in $retryInterval seconds..."
30 echo "Failed to set mctp link after $maxRetries attempts."
35 echo "Failed to set mctp link after $maxRetries attempts."
47 echo "Failed to add mctp address after $maxRetries attempts."
58 echo "Failed to add mctp address after $maxRetries attempts."
H A Dsetup-devices-eid8 maxRetries=10
13 local maxRetries=${2:-10}
18 while [ "$retries" -lt "$maxRetries" ]; do
31 echo "[Error] Command failed after $maxRetries retries." >&2
49 if ! retry_command "$learn_endpoint_cmd" "$maxRetries" 1; then
50 echo "[Error] Failed to learn BIC EID after $maxRetries attempts."
61 if ! retry_command "$assign_endpoint_cmd" "$maxRetries" 1; then
62 echo "[Error] Failed to assign NIC EID after $maxRetries attempts."
/openbmc/phosphor-power/tools/i2c/
H A Di2c.cpp37 } while ((ret < 0) && (++retries <= maxRetries)); in getFuncs()
166 } while ((ret < 0) && (++retries <= maxRetries)); in processCallSMBus()
227 } while ((ret != numMessages) && (++retries <= maxRetries)); in processCallI2C()
259 } while ((fd == -1) && (++retries <= maxRetries)); in open()
271 } while ((ret < 0) && (++retries <= maxRetries)); in open()
290 } while ((ret == -1) && (++retries <= maxRetries)); in close()
310 } while ((ret < 0) && (++retries <= maxRetries)); in read()
329 } while ((ret < 0) && (++retries <= maxRetries)); in read()
348 } while ((ret < 0) && (++retries <= maxRetries)); in read()
370 } while ((ret < 0) && (++retries <= maxRetries)); in read()
[all …]
H A Di2c.hpp26 int maxRetries = 0) : in I2CDevice() argument
27 devAddr(devAddr), maxRetries(maxRetries), in I2CDevice()
46 int maxRetries = 0; member in i2c::I2CDevice
232 InitialState initialState = InitialState::OPEN, int maxRetries = 0);
H A Di2c_interface.hpp241 int maxRetries = 0);
/openbmc/phosphor-bmc-code-mgmt/eeprom-device/
H A Deeprom_device.cpp278 constexpr int maxRetries = 15; in processHostStateChange() local
305 for (int i = 0; i < maxRetries; ++i) in processHostStateChange()
/openbmc/phosphor-bmc-code-mgmt/i2c-vr/mps/
H A Dmp297x.cpp250 constexpr size_t maxRetries = 3; in programPageRegisters() local
253 for (size_t i = 1; i <= maxRetries; ++i) in programPageRegisters()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dconfig_file_parser.cpp587 int maxRetries{3}; in parseI2CInterface() local
589 maxRetries); in parseI2CInterface()