Home
last modified time | relevance | path

Searched +full:- +full:- +full:retry (Results 1 – 25 of 1062) sorted by relevance

12345678910>>...43

/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dpower-cmd3 # shellcheck source=meta-facebook/meta-yosemite4/recipes-yosemite4/plat-tool/files/yosemite4-common
4 source /usr/libexec/yosemite4-common-functions
8 export STATE_UNKNOWN=-1
34 RETRY=3
35 while [ $RETRY -gt 0 ]
41 RETRY=$((RETRY-1))
49 RETRY=3
50 while [ $RETRY -gt 0 ]
56 RETRY=$((RETRY-1))
74 RETRY=20
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_sol.robot20 @{setinprogress} set-complete set-in-progress commit-write
67 Set SOL Setting privilege-level ${item}
74 [Documentation] Verify invalid SOL's retry count via IPMI.
79 ... sol set privilege-level ${value}
83 Set Invalid SOL Retry Count
84 [Documentation] Verify invalid SOL's retry count via IPMI.
87 # Any integer above 7 is invalid for SOL retry count.
91 ... sol set retry-count ${value}
95 Set Invalid SOL Retry Interval
96 [Documentation] Verify invalid SOL's retry interval via IPMI.
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommonring.c1 // SPDX-License-Identifier: ISC
22 commonring->cr_ring_bell = cr_ring_bell; in brcmf_commonring_register_cb()
23 commonring->cr_update_rptr = cr_update_rptr; in brcmf_commonring_register_cb()
24 commonring->cr_update_wptr = cr_update_wptr; in brcmf_commonring_register_cb()
25 commonring->cr_write_rptr = cr_write_rptr; in brcmf_commonring_register_cb()
26 commonring->cr_write_wptr = cr_write_wptr; in brcmf_commonring_register_cb()
27 commonring->cr_ctx = ctx; in brcmf_commonring_register_cb()
34 commonring->depth = depth; in brcmf_commonring_config()
35 commonring->item_len = item_len; in brcmf_commonring_config()
36 commonring->buf_addr = buf_addr; in brcmf_commonring_config()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/ata/
H A Dceva,ahci-1v84.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/ceva,ahci-1v84.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Piyush Mehta <piyush.mehta@amd.com>
14 special extensions to add functionality, is a high-performance dual-port
21 const: ceva,ahci-1v84
29 dma-coherent: true
37 power-domains:
40 ceva,p0-cominit-params:
[all …]
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-net-common/
H A Dgbmc-net-lib.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 [ -n "${gbmc_net_lib_init-}" ] && return
19 local retry=0
21 (( retry = retry + 1 ))
22 (( retry <= 3 )) || return 1
24 (( retry == 1 )) || sleep 3
25 if [ "$(systemctl is-active systemd-networkd)" != 'inactive' ]; then
26 echo "Reloading networkd + reconfiguring ($*) from $(caller 0), time $retry" >&2
/openbmc/linux/drivers/iio/imu/bno055/
H A Dbno055_ser_trace.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 __entry->len = len;
21 data, __entry->len);
24 __entry->len, __entry->len, __get_dynamic_array(chunk)
29 TP_PROTO(bool read, int addr, int retry),
30 TP_ARGS(read, addr, retry),
34 __field(int, retry)
37 __entry->read = read;
38 __entry->addr = addr;
39 __entry->retry = retry;
[all …]
/openbmc/linux/drivers/clk/ti/
H A Dclk.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Tero Kristo <t-kristo@ti.com>
11 #include <linux/clk-provider.h>
43 struct clk_iomap *io = clk_memmaps[reg->index]; in clk_memmap_writel()
45 if (reg->ptr) in clk_memmap_writel()
46 writel_relaxed(val, reg->ptr); in clk_memmap_writel()
47 else if (io->regmap) in clk_memmap_writel()
48 regmap_write(io->regmap, reg->offset, val); in clk_memmap_writel()
50 writel_relaxed(val, io->mem + reg->offset); in clk_memmap_writel()
65 struct clk_iomap *io = clk_memmaps[reg->index]; in clk_memmap_rmw()
[all …]
/openbmc/phosphor-power/tools/power-utils/
H A Daei_updater.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
27 #include <phosphor-logging/lg2.hpp>
35 constexpr uint8_t MAX_RETRIES = 0x02; // Constants for retry limits
62 constexpr uint8_t CMD_BOOT_ISP = 0x02; // Boot the In-System Programming System.
106 if (retryProcessTwo == (MAX_RETRIES - 1)) in doUpdate()
138 // One of the block write commands failed, retry download in doUpdate()
139 // procedure one time starting with re-writing initial ISP in doUpdate()
172 // Retry the whole download process starting with the key and in doUpdate()
174 if ((retryProcessOne < (MAX_RETRIES - 1)) && in doUpdate()
175 (retryProcessTwo < (MAX_RETRIES - 1))) in doUpdate()
[all …]
/openbmc/linux/include/scsi/
H A Dscsi_status.h1 /* SPDX-License-Identifier: GPL-2.0 */
26 INITIATE_RECOVERY = 0x0f, /* SCSI-II only */
27 RELEASE_RECOVERY = 0x10, /* SCSI-II only */
28 TERMINATE_IO_PROC = 0x11, /* SCSI-II only */
55 DID_PASSTHROUGH = 0x0a, /* Force command past mid-layer */
56 DID_SOFT_ERROR = 0x0b, /* The low level driver just wish a retry */
57 DID_IMM_RETRY = 0x0c, /* Retry without decrementing retry count */
58 DID_REQUEUE = 0x0d, /* Requeue command (no immediate retry) also
59 * without decrementing the retry count */
63 * retry or fail IO */
[all …]
/openbmc/u-boot/cmd/aspeed/
H A Dpeci.c90 * 4. set 32-byte mode in ast2600_peci_init()
122 unsigned long retry = 10; in do_ast_peci_ping() local
140 while (retry) { in do_ast_peci_ping()
144 printf("Retry ... "); in do_ast_peci_ping()
146 --retry; in do_ast_peci_ping()
149 if (retry == 0) { in do_ast_peci_ping()
175 unsigned long retry = 10; in do_ast_peci_getdib() local
215 while (retry) { in do_ast_peci_getdib()
219 printf("Retry ... "); in do_ast_peci_getdib()
221 --retry; in do_ast_peci_getdib()
[all …]
/openbmc/estoraged/src/erase/
H A Dzero.cpp7 #include <phosphor-logging/lg2.hpp>
32 : driveSize - currentIndex; in writeZero()
36 size_t retry = 0; in writeZero() local
40 writeSize - written}) in writeZero()
50 retry++; in writeZero()
51 if (retry > maxRetry) in writeZero()
82 : driveSize - currentIndex; in verifyZero()
86 size_t retry = 0; in verifyZero() local
90 fd.read({readArr.data() + read, readSize - read}).size(); in verifyZero()
99 retry++; in verifyZero()
[all …]
H A Dpattern.cpp7 #include <phosphor-logging/lg2.hpp>
49 : driveSize - currentIndex; in writePattern()
51 size_t retry = 0; in writePattern() local
54 written += fd.write({randArr.data() + written, writeSize - written}) in writePattern()
64 retry++; in writePattern()
65 if (retry > maxRetry) in writePattern()
90 : driveSize - currentIndex; in verifyPattern()
101 size_t retry = 0; in verifyPattern() local
105 fd.read({readArr.data() + read, readSize - read}).size(); in verifyPattern()
114 retry++; in verifyPattern()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_trace.h1 /* SPDX-License-Identifier: ISC */
17 #define DEV_ASSIGN strscpy(__entry->wiphy_name, \
18 wiphy_name(mt76_hw(dev)->wiphy), MAXNAME)
20 #define DEV_PR_ARG __entry->wiphy_name
24 #define TXID_PR_ARG __entry->wcid, __entry->pktid
56 __field(u8, retry)
61 __entry->success = stat->success;
62 __entry->aggr = stat->aggr;
63 __entry->ack_req = stat->ack_req;
64 __entry->wcid = stat->wcid;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dsbs,sbs-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
16 - $ref: power-supply.yaml#
21 - items:
22 - enum:
23 - ti,bq20z45
24 - ti,bq20z65
[all …]
/openbmc/openbmc/meta-google/recipes-phosphor/flash/gbmc-update/
H A D40-gbmc-upgrade.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 [ -z "${gbmc_upgrade-}" ] || exit
24 if machine="$(source /etc/os-release && echo "$GBMC_TARGET_MACHINE")"; then
25 GBMC_UPGRADE_UNPACK_FILES+=("*/firmware-gbmc/$machine")
27 echo 'Failed to find GBMC machine type from /etc/os-release' >&2
31 if [ -z "${bootfile_url-}" ]; then
43 [ "$t" = '_GZIP' ] && tflags+=('-z')
53 ulimit -f $((max_mb * 1024 * 1024 / 512)) || return
56 local retry=0
61 # give a chance to retry the curl if it stuck until the maximum timeout
[all …]
/openbmc/linux/include/uapi/linux/
H A Datmmpc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
44 __u16 mpc_p1; /* Shortcut-Setup Frame Count */
45 __u16 mpc_p2; /* Shortcut-Setup Frame Time */
46 __u8 mpc_p3[8]; /* Flow-detection Protocols */
47 __u16 mpc_p4; /* MPC Initial Retry Time */
48 __u16 mpc_p5; /* MPC Retry Time Maximum */
85 #define MPC_P1 10 /* Shortcut-Setup Frame Count */
86 #define MPC_P2 1 /* Shortcut-Setup Frame Time */
87 #define MPC_P3 0 /* Flow-detection Protocols */
88 #define MPC_P4 5 /* MPC Initial Retry Time */
[all …]
/openbmc/qemu/io/
H A Dchannel-file.c22 #include "io/channel-file.h"
23 #include "io/channel-util.h"
24 #include "io/channel-watch.h"
37 ioc->fd = fd; in qio_channel_file_new_fd()
39 if (lseek(fd, 0, SEEK_CUR) != (off_t)-1) { in qio_channel_file_new_fd()
72 ioc->fd = qemu_create(path, flags & ~O_CREAT, mode, errp); in qio_channel_file_new_path()
74 ioc->fd = qemu_open(path, flags, errp); in qio_channel_file_new_path()
76 if (ioc->fd < 0) { in qio_channel_file_new_path()
81 if (lseek(ioc->fd, 0, SEEK_CUR) != (off_t)-1) { in qio_channel_file_new_path()
85 trace_qio_channel_file_new_path(ioc, path, flags, mode, ioc->fd); in qio_channel_file_new_path()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-csky-apb-intc.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
44 * IFR_offset is NEN_offset - 8.
50 unsigned long ifr = ct->regs.mask - 8; in irq_ck_mask_set_bit()
51 u32 mask = d->mask; in irq_ck_mask_set_bit()
54 *ct->mask_cache |= mask; in irq_ck_mask_set_bit()
55 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_ck_mask_set_bit()
66 gc->reg_base = reg_base; in ck_set_gc()
67 gc->chip_types[0].regs.mask = mask_reg; in ck_set_gc()
68 gc->chip_types[0].chip.irq_mask = irq_gc_mask_clr_bit; in ck_set_gc()
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/
13 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
31 /* Not really a debug register, more a low-level control register */
58 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
69 if (msg.len > CEC_MAX_MSG_SIZE - 2) in hdmi_cec_received_msg()
70 msg.len = CEC_MAX_MSG_SIZE - 2; in hdmi_cec_received_msg()
71 msg.msg[0] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
73 msg.msg[1] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
79 hdmi_read_reg(core->base, reg); in hdmi_cec_received_msg()
[all …]
/openbmc/linux/sound/soc/au1x/
H A Dac97c.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Charles Eidsness <charles@cooper-street.com>
23 #include <asm/mach-au1x00/au1000.h>
57 /* how often to retry failed codec register reads/writes */
74 return __raw_readl(ctx->mmio + reg); in RD()
79 __raw_writel(v, ctx->mmio + reg); in WR()
87 unsigned int tmo, retry; in au1xac97c_ac97_read() local
91 retry = AC97_RW_RETRIES; in au1xac97c_ac97_read()
93 mutex_lock(&ctx->lock); in au1xac97c_ac97_read()
96 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read()
[all …]
/openbmc/phosphor-objmgr/libmapper/
H A Dmapper.c8 * http://www.apache.org/licenses/LICENSE-2.0
27 #include <systemd/sd-bus.h>
28 #include <systemd/sd-event.h>
73 int retry; member
88 int retry; member
162 mapper_async_wait* wait = data->wait; in async_wait_timeout_callback()
164 sd_event_source_unref(data->event_source); in async_wait_timeout_callback()
166 wait->conn, NULL, "xyz.openbmc_project.ObjectMapper", in async_wait_timeout_callback()
169 async_wait_getobject_callback, data, "sas", data->path, 0, NULL); in async_wait_timeout_callback()
185 mapper_async_wait* wait = data->wait; in async_wait_getobject_callback()
[all …]
/openbmc/phosphor-hwmon/
H A Dhwmonio.hpp38 * however, could in theory support non-sysfs handling of hwmon IO.
78 * @param[in] path - hwmon instance root - eg:
91 * For possibly transient errors will retry up to
94 * @param[in] type - The hwmon type (ex. temp).
95 * @param[in] id - The hwmon id (ex. 1).
96 * @param[in] sensor - The hwmon sensor (ex. input).
97 * @param[in] retries - The number of times to retry.
98 * @param[in] delay - The time to sleep between retry attempts.
100 * @return val - The read value.
113 * For possibly transient errors will retry up to
[all …]
/openbmc/linux/drivers/mfd/
H A Dgateworks-gsc.c1 // SPDX-License-Identifier: GPL-2.0
3 * The Gateworks System Controller (GSC) is a multi-function
6 * system functions such as push-button monitoring, multiple ADC's for
35 int retry, ret; in gsc_write() local
37 for (retry = 0; retry < I2C_RETRIES; retry++) { in gsc_write()
40 * -EAGAIN returned when the i2c host controller is busy in gsc_write()
41 * -EIO returned when i2c device is busy in gsc_write()
43 if (ret != -EAGAIN && ret != -EIO) in gsc_write()
54 int retry, ret; in gsc_read() local
56 for (retry = 0; retry < I2C_RETRIES; retry++) { in gsc_read()
[all …]
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dclock_manager.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2013-2017 Altera Corporation <www.altera.com>
19 u32 retry = 0; in cm_wait_for_lock() local
22 inter_val = readl(&clock_manager_base->inter) & mask; in cm_wait_for_lock()
24 inter_val = readl(&clock_manager_base->stat) & mask; in cm_wait_for_lock()
28 retry++; in cm_wait_for_lock()
30 retry = 0; in cm_wait_for_lock()
31 if (retry >= 10) in cm_wait_for_lock()
39 return wait_for_bit_le32(&clock_manager_base->stat, in cm_wait_for_fsm()
51 gd->bd->bi_arm_freq = cm_get_mpu_clk_hz() / 1000000; in set_cpu_clk_info()
[all …]
/openbmc/linux/drivers/staging/rtl8192u/
H A Dr8192U_wx.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) Andrea Merello 2004-2005 <andrea.merello@gmail.com>
43 return ieee80211_wx_get_freq(priv->ieee80211, a, wrqu, b); in r8192_wx_get_freq()
51 return ieee80211_wx_get_mode(priv->ieee80211, a, wrqu, b); in r8192_wx_get_mode()
60 return ieee80211_wx_get_rate(priv->ieee80211, info, wrqu, extra); in r8192_wx_get_rate()
70 mutex_lock(&priv->wx_mutex); in r8192_wx_set_rate()
72 ret = ieee80211_wx_set_rate(priv->ieee80211, info, wrqu, extra); in r8192_wx_set_rate()
74 mutex_unlock(&priv->wx_mutex); in r8192_wx_set_rate()
86 mutex_lock(&priv->wx_mutex); in r8192_wx_set_rts()
88 ret = ieee80211_wx_set_rts(priv->ieee80211, info, wrqu, extra); in r8192_wx_set_rts()
[all …]

12345678910>>...43