/openbmc/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-util.c | 6 int retries = 30000; in tw5864_indir_writeb() local 8 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_writeb() 10 if (!retries) in tw5864_indir_writeb() 12 "tw_indir_writel() retries exhausted before writing\n"); in tw5864_indir_writeb() 20 int retries = 30000; in tw5864_indir_readb() local 22 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_readb() 24 if (!retries) in tw5864_indir_readb() 26 "tw_indir_readl() retries exhausted before reading\n"); in tw5864_indir_readb() 30 retries = 30000; in tw5864_indir_readb() 31 while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) in tw5864_indir_readb() [all …]
|
/openbmc/phosphor-power/tools/i2c/ |
H A D | i2c.cpp | 33 int ret = 0, retries = 0; in getFuncs() local 37 } while ((ret < 0) && (++retries <= maxRetries)); in getFuncs() 158 int ret = 0, retries = 0; in processCallSMBus() local 166 } while ((ret < 0) && (++retries <= maxRetries)); in processCallSMBus() 199 int ret = 0, retries = 0; in processCallI2C() local 227 } while ((ret != numMessages) && (++retries <= maxRetries)); in processCallI2C() 255 int retries = 0; in open() local 259 } while ((fd == -1) && (++retries <= maxRetries)); in open() 266 retries = 0; in open() 271 } while ((ret < 0) && (++retries <= maxRetries)); in open() [all …]
|
/openbmc/linux/drivers/w1/slaves/ |
H A D | w1_ds2413.c | 32 unsigned int retries = W1_F3A_RETRIES; in state_read() local 52 while (retries--) { in state_read() 64 "reselecting, retries left: %d\n", retries); in state_read() 71 dev_warn(&sl->dev, "PIO_ACCESS_READ error, retries left: %d\n", retries); in state_read() 76 dev_dbg(&sl->dev, "%s, mutex unlocked, retries: %d\n", in state_read() 77 (bytes_read > 0) ? "succeeded" : "error", retries); in state_read() 89 unsigned int retries = W1_F3A_RETRIES; in output_write() local 108 while (retries--) { in output_write() 121 dev_warn(&sl->dev, "PIO_ACCESS_WRITE error, retries left: %d\n", retries); in output_write() 126 dev_dbg(&sl->dev, "%s, mutex unlocked, retries: %d\n", in output_write() [all …]
|
H A D | w1_ds2438.c | 63 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_page() local 68 while (retries--) { in w1_ds2438_get_page() 95 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_get_temperature() local 103 while (retries--) { in w1_ds2438_get_temperature() 137 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_change_config_bit() local 142 while (retries--) { in w1_ds2438_change_config_bit() 173 retries = W1_DS2438_RETRIES; in w1_ds2438_change_config_bit() 174 while (retries--) { in w1_ds2438_change_config_bit() 196 unsigned int retries = W1_DS2438_RETRIES; in w1_ds2438_change_offset_register() local 204 while (retries--) { in w1_ds2438_change_offset_register() [all …]
|
/openbmc/openpower-vpd-parser/scripts/ |
H A D | wait-vpd-status.sh | 2 retries=100 4 while [ "$retries" -ne 0 ] 14 retries="$((retries - 1))" 15 echo "Waiting for VPD status update. Retries remaining: $retries"
|
/openbmc/estoraged/src/ |
H A D | getConfig.cpp | 32 const std::string& path, const std::string& owner, size_t retries) in getStorageInfo() argument 36 [self, path, owner, retries]( in getStorageInfo() 42 "Error getting properties for {PATH}: {RETRIES} retries left", in getStorageInfo() 43 "PATH", path, "RETRIES", retries - 1, "REDFISH_MESSAGE_ID", in getStorageInfo() 45 if (retries == 0U) in getStorageInfo() 54 retries](boost::system::error_code ec) { in getStorageInfo() 60 self->getStorageInfo(path, owner, retries - 1); in getStorageInfo()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-artpec6.c | 147 unsigned int retries; in artpec6_pcie_wait_for_phy_a6() local 149 retries = 50; in artpec6_pcie_wait_for_phy_a6() 153 retries--; in artpec6_pcie_wait_for_phy_a6() 154 } while (retries && in artpec6_pcie_wait_for_phy_a6() 156 if (!retries) in artpec6_pcie_wait_for_phy_a6() 159 retries = 50; in artpec6_pcie_wait_for_phy_a6() 163 retries--; in artpec6_pcie_wait_for_phy_a6() 164 } while (retries && !(val & PHY_COSPLLLOCK)); in artpec6_pcie_wait_for_phy_a6() 165 if (!retries) in artpec6_pcie_wait_for_phy_a6() 175 unsigned int retries; in artpec6_pcie_wait_for_phy_a7() local [all …]
|
/openbmc/linux/drivers/char/ |
H A D | dtlk.c | 131 int i = 0, retries; in dtlk_read() local 139 for (retries = 0; retries < loops_per_jiffy; retries++) { in dtlk_read() 153 if (retries == loops_per_jiffy) in dtlk_read() 162 int i = 0, retries = 0, ch; in dtlk_write() local 203 for (retries = 0; in dtlk_write() 204 retries < loops_per_jiffy / (4000/HZ); in dtlk_write() 205 retries++) in dtlk_write() 210 retries = 0; in dtlk_write() 219 if (++retries > 10 * HZ) { /* wait no more than 10 sec in dtlk_write() 568 int portval, retries = 0; in dtlk_read_tts() local [all …]
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-networking/mctp/files/ |
H A D | setup-bic-eid | 12 retries=0 14 while [ $retries -lt $maxRetries ]; do 18 retries=$((retries + 1)) 19 echo "Retry $retries/$maxRetries: Command failed. Retrying in $retryInterval seconds..."
|
H A D | setup-local-eid | 12 retries=0 14 while [ $retries -lt $maxRetries ]; do 18 retries=$((retries + 1)) 19 echo "Retry $retries/$maxRetries: Command failed. Retrying in $retryInterval seconds..."
|
/openbmc/linux/drivers/media/common/b2c2/ |
H A D | flexcop-sram.c | 78 int i, retries; 84 retries = 2; 86 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) { 88 retries--; 91 if (retries == 0) 103 int i, retries; 109 retries = 10000; 111 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) { 113 retries--; 116 if (retries == 0) [all …]
|
H A D | flexcop-eeprom.c | 17 u32 len, u8 *wbuf, u8 *rbuf, int retries) 21 for (i = 0; i < retries; i++) { 23 if (eeprom_lrc_read(adapter, addr, len, rbuf, retries) == 1) 108 flexcop_access_op_t op, u16 addr, u8 *buf, u16 len, int retries) in flexcop_eeprom_request() argument 112 for (i = 0; i < retries; i++) { in flexcop_eeprom_request() 122 u8 *buf, u16 len, int retries) in flexcop_eeprom_lrc_read() argument 124 int ret = flexcop_eeprom_request(fc, FC_READ, addr, buf, len, retries); in flexcop_eeprom_lrc_read()
|
/openbmc/dbus-sensors/src/ |
H A D | Utils.hpp | 253 const std::string& owner, size_t retries = 5) in getPath() 255 if (retries > 5) in getPath() 257 retries = 5; in getPath() 262 [self, path, interface, owner, retries]( in getPath() 266 std::cerr << "Error getting " << path << ": retries left" in getPath() 267 << retries - 1 << "\n"; in getPath() 268 if (retries == 0U) in getPath() 276 retries](boost::system::error_code ec) { in getPath() 282 self->getPath(path, interface, owner, retries - 1); in getPath() 294 size_t retries = 0) in getConfiguration() [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_command.cpp | 126 int retries = 1; // Allow a retry if a command fails to get valid response in send() local 134 … "OccCommand::send: write(OCC{INST}, command:{CMD}) failed with errno={ERR} (retries={RETRIES})", in send() 136 writeErrno, "RETRIES", retries); in send() 172 …d::send: read(OCC{INST}, command:{CMD) failed with errno={ERR} (rspSize={LEN}, retries={RETRIES})", in send() 174 readErrno, "LEN", response.size(), "RETRIES", retries); in send() 246 if (retries > 0) in send() 251 } while (retries-- > 0); in send()
|
/openbmc/linux/include/trace/events/ |
H A D | oom.h | 160 int retries, 164 TP_ARGS(order, priority, result, retries, max_retries, ret), 170 __field( int, retries) 179 __entry->retries = retries; 184 TP_printk("order=%d priority=%s compaction_result=%s retries=%d max_retries=%d should_retry=%d", 188 __entry->retries, __entry->max_retries,
|
H A D | fsi_master_ast_cf.h | 71 TP_PROTO(const struct fsi_master_acf *master, int retries), 72 TP_ARGS(master, retries), 75 __field(int, retries) 79 __entry->retries = retries; 82 __entry->master_idx, __entry->retries
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-wm8350.c | 35 int retries = WM8350_GET_TIME_RETRIES, ret; in wm8350_rtc_readtime() local 76 retries, in wm8350_rtc_readtime() 81 } while (retries--); in wm8350_rtc_readtime() 95 int ret, retries = WM8350_SET_TIME_RETRIES; in wm8350_rtc_settime() local 118 } while (--retries && !(rtc_ctrl & WM8350_RTC_STS)); in wm8350_rtc_settime() 120 if (!retries) { in wm8350_rtc_settime() 187 int retries = WM8350_SET_ALM_RETRIES; in wm8350_rtc_stop_alarm() local 201 } while (retries-- && !(rtc_ctrl & WM8350_RTC_ALMSTS)); in wm8350_rtc_stop_alarm() 212 int retries = WM8350_SET_ALM_RETRIES; in wm8350_rtc_start_alarm() local 224 } while (retries-- && rtc_ctrl & WM8350_RTC_ALMSTS); in wm8350_rtc_start_alarm() [all …]
|
/openbmc/phosphor-hwmon/ |
H A D | hwmonio.hpp | 9 static constexpr auto retries = 10; variable 46 const std::string& sensor, size_t retries, 51 size_t retries, 97 * @param[in] retries - The number of times to retry. 103 const std::string& sensor, size_t retries, 119 * @param[in] retries - The number of times to retry. 123 const std::string& sensor, size_t retries,
|
H A D | hwmonio.cpp | 113 const std::string& sensor, size_t retries, in read() argument 149 !retries) in read() 151 // Not a retryable error or out of retries. in read() 161 --retries; in read() 173 size_t retries, std::chrono::milliseconds delay) const in write() argument 203 !retries) in write() 205 // Not a retryable error or out of retries. in write() 212 --retries; in write()
|
/openbmc/u-boot/include/ |
H A D | ata.h | 76 #define ATA_CMD_READ 0x20 /* Read Sectors (with retries) */ 77 #define ATA_CMD_READN 0x21 /* Read Sectors ( no retries) */ 78 #define ATA_CMD_WRITE 0x30 /* Write Sectores (with retries)*/ 79 #define ATA_CMD_WRITEN 0x31 /* Write Sectors ( no retries)*/ 80 #define ATA_CMD_VRFY 0x40 /* Read Verify (with retries) */ 81 #define ATA_CMD_VRFYN 0x41 /* Read verify ( no retries) */ 88 #define ATA_CMD_RD_DMA 0xC8 /* Read DMA (with retries) */ 89 #define ATA_CMD_RD_DMAN 0xC9 /* Read DMS ( no retries) */ 90 #define ATA_CMD_WR_DMA 0xCA /* Write DMA (with retries) */ 96 #define ATA_CMD_READ_EXT 0x24 /* Read Sectors (with retries) with 48bit addressing */ [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet_wol.c | 113 int retries = 0; in bcmgenet_poll_wol_status() local 117 retries++; in bcmgenet_poll_wol_status() 118 if (retries > 5) { in bcmgenet_poll_wol_status() 125 return retries; in bcmgenet_poll_wol_status() 142 int retries = 0; in bcmgenet_wol_power_down_cfg() local 181 retries = bcmgenet_poll_wol_status(priv); in bcmgenet_wol_power_down_cfg() 182 if (retries < 0) { in bcmgenet_wol_power_down_cfg() 187 return retries; in bcmgenet_wol_power_down_cfg() 191 retries); in bcmgenet_wol_power_down_cfg()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | pci_vsc.c | 72 int retries = 0; in mlx5_vsc_gw_lock() local 78 if (retries > VSC_MAX_RETRIES) { in mlx5_vsc_gw_lock() 93 retries++; in mlx5_vsc_gw_lock() 113 retries++; in mlx5_vsc_gw_lock() 182 int retries = 0; in mlx5_vsc_wait_on_flag() local 187 if (retries > VSC_MAX_RETRIES) in mlx5_vsc_wait_on_flag() 194 retries++; in mlx5_vsc_wait_on_flag() 196 if ((retries & 0xf) == 0) in mlx5_vsc_wait_on_flag()
|
/openbmc/linux/Documentation/devicetree/bindings/ipmi/ |
H A D | ipmi-ipmb.yaml | 33 Time between retries of sends, in milliseconds. Defaults to 250. 35 max-retries: 37 description: Number of retries before a failure is declared. Defaults to 1. 65 max-retries = <1>;
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | az.py | 43 # Override download method, include retries 44 def download(self, ud, d, retries=3): argument 81 … logger.debug2('Unable to establish SSL connection: Retries remaining: %s, Retrying...' % retries) 82 self.download(ud, d, retries -1)
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | lm8333.c | 44 int retries = 0, ret; in lm8333_read8() local 48 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); in lm8333_read8() 55 int retries = 0, ret; in lm8333_write8() local 59 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); in lm8333_write8() 66 int retries = 0, ret; in lm8333_read_block() local 71 } while (ret < 0 && retries++ < LM8333_READ_RETRIES); in lm8333_read_block()
|