Home
last modified time | relevance | path

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

12345678910>>...31

/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-arb-gpio-challenge.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO-based I2C Arbitration Using a Challenge & Response Mechanism
10 - Doug Anderson <dianders@chromium.org>
11 - Peter Rosin <peda@axentia.se>
18 standard I2C multi-master rules. Using GPIOs is generally useful in the case
30 others can see. These are all active low with pull-ups enabled. We'll
47 6. Go back to 1 (until retry time has expired).
[all …]
/linux/drivers/spi/
H A Dspi-dw-dma.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/dma-mapping.h>
15 #include <linux/platform_data/dma-dw.h>
19 #include "spi-dw.h"
30 if (s->dma_dev != chan->device->dev) in dw_spi_dma_chan_filter()
33 chan->private = s; in dw_spi_dma_chan_filter()
43 def_burst = dws->fifo_len / 2; in dw_spi_dma_maxburst_init()
45 ret = dma_get_slave_caps(dws->rxchan, &caps); in dw_spi_dma_maxburst_init()
51 dws->rxburst = min(max_burst, def_burst); in dw_spi_dma_maxburst_init()
52 dw_writel(dws, DW_SPI_DMARDLR, dws->rxburst - 1); in dw_spi_dma_maxburst_init()
[all …]
/linux/drivers/input/touchscreen/
H A Dhynitron_cstxxx.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * are undocumented. This is essentially a cleaned-up version of the
11 * device-specific functions replated with generic functions wherever
15 #include <linux/delay.h>
37 /* Data generic to all (supported and non-supported) controllers. */
69 * Hard coded reset delay value of 20ms not IC dependent in
72 static void hyn_reset_proc(struct i2c_client *client, int delay) in hyn_reset_proc() argument
76 gpiod_set_value_cansleep(ts_data->reset_gpio, 1); in hyn_reset_proc()
78 gpiod_set_value_cansleep(ts_data->reset_gpio, 0); in hyn_reset_proc()
79 if (delay) in hyn_reset_proc()
[all …]
/linux/drivers/rtc/
H A Drtc-sun4v.c1 // SPDX-License-Identifier: GPL-2.0
2 /* rtc-sun4v.c: Hypervisor based RTC for SUN4V systems.
12 #include <linux/delay.h>
24 retry: in hypervisor_get_time()
29 if (--retries > 0) { in hypervisor_get_time()
31 goto retry; in hypervisor_get_time()
51 retry: in hypervisor_set_time()
56 if (--retries > 0) { in hypervisor_set_time()
58 goto retry; in hypervisor_set_time()
61 return -EAGAIN; in hypervisor_set_time()
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dpm8941.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
8 thermal-zones {
9 pm8941-thermal {
10 polling-delay-passive = <100>;
11 polling-delay = <0>;
12 thermal-sensors = <&pm8941_temp>;
40 compatible = "qcom,pm8941", "qcom,spmi-pmic";
[all …]
/linux/drivers/usb/core/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
30 Documentation/driver-api/usb/persist.rst for more info.
39 to initialize and enumerate it, with lots of nested retry loops.
41 This option tells the kernel to make only a few retry attempts,
45 Say N here unless you require new-device enumeration failure to
64 "Dual-Role" device, which can act as either a device
69 Select this only if your board has Mini-AB/Micro-AB
97 Implements OTG Finite State Machine as specified in On-The-Go
109 int "Default autosuspend delay"
113 The default autosuspend delay in seconds. Can be overridden
[all …]
/linux/drivers/gpu/drm/ast/
H A Dast_dp501.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/delay.h>
20 release_firmware(ast->dp501_fw); in ast_release_firmware()
21 ast->dp501_fw = NULL; in ast_release_firmware()
26 struct drm_device *dev = &ast->base; in ast_load_dp501_microcode()
29 ret = request_firmware(&ast->dp501_fw, "ast_dp501_fw.bin", dev->dev); in ast_load_dp501_microcode()
33 return devm_add_action_or_reset(dev->dev, ast_release_firmware, ast); in ast_load_dp501_microcode()
55 u32 retry = 0; in wait_ack() local
60 } while ((!waitack) && (retry++ < 1000)); in wait_ack()
62 if (retry < 1000) in wait_ack()
[all …]
/linux/drivers/gpu/drm/ci/
H A Dlava-submit.sh2 # SPDX-License-Identifier: MIT
4 set -e
5 set -x
9 if curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s "https://${BASE_SYSTEM_MAINLINE_HOST…
15 rm -rf results
16 mkdir -p results/job-rootfs-overlay/
18 cp artifacts/ci-common/capture-devcoredump.sh results/job-rootfs-overlay/
19 cp artifacts/ci-common/init-*.sh results/job-rootfs-overlay/
20 cp artifacts/ci-common/intel-gpu-freq.sh results/job-rootfs-overlay/
21 cp "$SCRIPTS_DIR"/setup-test-env.sh results/job-rootfs-overlay/
[all …]
H A Dgitlab-ci.yml2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa
3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha c6a9a9c3bce90923f7700219354e0b6e5a3c9ba6
6 TARGET_BRANCH: drm-next
10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/mesa/deqp-runner.git
13 FDO_UPSTREAM_REPO: helen.fornazier/linux # The repo where the git-archive daily runs
14 MESA_TEMPLATES_COMMIT: &ci-templates-commit d5aa3941aa03c2f716595116354fb81eb8012acb
16 CI_PRE_CLONE_SCRIPT: |-
17 set -o xtrace
18-L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT…
19 bash download-git-cache.sh
[all …]
H A Digt_runner.sh2 # SPDX-License-Identifier: MIT
4 set -ex
8 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib/aarch64-linux-gnu/:/igt/lib/x86_64-linux-gnu:/igt/…
12 ls -l /dev/dri/
20 set -e
26 modprobe --first-time $DRIVER_NAME
30 if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt" ]; then
31 IGT_SKIPS="--skips /install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt"
34 if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-flakes.txt" ]; then
35 IGT_FLAKES="--flakes /install/xfails/$DRIVER_NAME-$GPU_VERSION-flakes.txt"
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_self_refresh_helper.c1 // SPDX-License-Identifier: MIT
31 * &drm_connector_state.self_refresh_aware to true at runtime if it is SR-aware
38 * that tells you to disable/enable SR on the panel instead of power-cycling it.
72 struct drm_crtc *crtc = sr_data->crtc; in drm_self_refresh_helper_entry_work()
73 struct drm_device *dev = crtc->dev; in drm_self_refresh_helper_entry_work()
85 ret = -ENOMEM; in drm_self_refresh_helper_entry_work()
89 retry: in drm_self_refresh_helper_entry_work()
90 state->acquire_ctx = &ctx; in drm_self_refresh_helper_entry_work()
98 if (!crtc_state->enable) in drm_self_refresh_helper_entry_work()
106 if (!conn_state->self_refresh_aware) in drm_self_refresh_helper_entry_work()
[all …]
/linux/drivers/fsi/
H A Dfsi-master.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * FSI master definitions. These comprise the core <--> master interface,
4 * to allow the core to interact with the (hardware-specific) masters.
24 #define FSI_MDLYR 0x4 /* R/W: delay */
77 * These are used by low level masters that bit-bang out the protocol
81 #define FSI_ECHO_DELAY_CLOCKS 16 /* Number clocks for echo delay */
82 #define FSI_SEND_DELAY_CLOCKS 16 /* Number clocks for send delay */
88 #define FSI_MASTER_EPOLL_CLOCKS 50 /* Number of clocks for E_POLL retry */
90 /* Various retry maximums */
101 #define FSI_CMD_SAME_AR 0x3 /* but only a 2-bit opcode... */
[all …]
/linux/drivers/mailbox/
H A Dhi3660-mailbox.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2017-2018 HiSilicon Limited.
3 // Copyright (c) 2017-2018 Linaro Limited.
6 #include <linux/delay.h>
25 #define MBOX_BASE(mbox, ch) ((mbox)->base + ((ch) * 0x40))
48 * struct hi3660_chan_info - Hi3660 mailbox channel information
62 * struct hi3660_mbox - Hi3660 mailbox controller data
87 unsigned long ch = (unsigned long)chan->con_priv; in hi3660_mbox_check_state()
88 struct hi3660_mbox *mbox = to_hi3660_mbox(chan->mbox); in hi3660_mbox_check_state()
89 struct hi3660_chan_info *mchan = &mbox->mchan[ch]; in hi3660_mbox_check_state()
[all …]
/linux/arch/sparc/kernel/
H A Ditlb_miss.S1 /* SPDX-License-Identifier: GPL-2.0 */
8 srlx %g6, 22, %g6 ! Delay slot
18 nop ! Delay slot, fill me
20 retry ! Trap done
/linux/drivers/scsi/fnic/
H A Dfnic_fdls.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 /* FDLS - Fabric discovery and login services
14 * -> VLAN discovery
15 * -> retry every retry delay seconds until it succeeds.
16 * <- List of VLANs
18 * -> Solicitation
19 * <- Solicitation response (Advertisement)
21 * -> FCF selection & FLOGI ( FLOGI timeout - 2 * E_D_TOV)
22 * <- FLOGI response
24 * -> FCF keep alive
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_els.c4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term *
6 * Copyright (C) 2004-2016 Emulex. All rights reserved. *
9 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
23 /* See Fibre Channel protocol T11 FC-LS for details */
28 #include <linux/delay.h>
56 struct lpfc_nodelist *ndlp, uint8_t retry);
72 * lpfc_els_chk_latt - Check host link attention event for a vport
90 * 0 - no host link attention event happened
91 * 1 - host link attention event happened
[all …]
/linux/sound/soc/au1x/
H A Dac97c.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Charles Eidsness <charles@cooper-street.com>
15 #include <linux/delay.h>
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()
[all …]
/linux/drivers/input/mouse/
H A Dbyd.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/delay.h>
38 * Absolute coordinate packets are in the range 0-255 for both X and Y
59 * Swipe gesture from off-pad to on-pad
65 * Tap and drag delay time
67 * 1 - 8 : least to most delay
114 * 1 - 7 : least to most sensitive
135 * 1 - 5 : slowest to fastest
147 * 0 - 7 : smallest to largest width
152 * 0 - 9 : smallest to largest height
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dfirmware.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright(c) 2015 - 2017 Intel Corporation.
8 #include <linux/delay.h>
103 #define AUGMENT_SIZE (sizeof(struct augmented_firmware_file) - \
217 * Read a single 64-bit value from 8051 data memory.
224 * ignored - i.e. the hardware will always do aligned 8-byte reads as if
227 * Return 0 on success, -ENXIO on a read error (timeout).
250 return -ENXIO; in __read_8051_data()
262 * Read 8051 data starting at addr, for len bytes. Will read in 8-byte chunks.
263 * Return 0 on success, -errno on error.
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_gsc_uc_heci_cmd_submit.c1 // SPDX-License-Identifier: MIT
29 *cs++ = lower_32_bits(pkt->addr_in); in emit_gsc_heci_pkt()
30 *cs++ = upper_32_bits(pkt->addr_in); in emit_gsc_heci_pkt()
31 *cs++ = pkt->size_in; in emit_gsc_heci_pkt()
32 *cs++ = lower_32_bits(pkt->addr_out); in emit_gsc_heci_pkt()
33 *cs++ = upper_32_bits(pkt->addr_out); in emit_gsc_heci_pkt()
34 *cs++ = pkt->size_out; in emit_gsc_heci_pkt()
46 struct intel_context *ce = gsc->ce; in intel_gsc_uc_heci_cmd_submit_packet()
57 return -ENODEV; in intel_gsc_uc_heci_cmd_submit_packet()
63 if (ce->engine->emit_init_breadcrumb) { in intel_gsc_uc_heci_cmd_submit_packet()
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-devices-system-xen_memory9 A value of zero means retry forever and is the default one.
28 to retry with a 'schedule_delay' delay.
82 Contact: xen-devel@lists.xenproject.org
/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c1 // SPDX-License-Identifier: GPL-2.0
31 #include <linux/delay.h>
118 * CFI Primary Vendor-Specific Extended Query table 1.5
122 struct cfi_pri_amdstd *extp = cfi->cmdset_priv; in cfi_use_status_reg()
125 return extp && extp->MinorVersion >= '5' && in cfi_use_status_reg()
126 (extp->SoftwareFeatures & poll_mask) == CFI_POLL_STATUS_REG; in cfi_use_status_reg()
132 struct cfi_private *cfi = map->fldrv_priv; in cfi_check_err_status()
138 cfi_send_gen_cmd(0x70, cfi->addr_unlock1, chip->start, map, cfi, in cfi_check_err_status()
139 cfi->device_type, NULL); in cfi_check_err_status()
151 map->name, chipstatus); in cfi_check_err_status()
[all …]
/linux/drivers/mtd/lpddr/
H A Dlpddr_cmds.c1 // SPDX-License-Identifier: GPL-2.0-or-later
37 struct lpddr_private *lpddr = map->fldrv_priv; in lpddr_cmdset()
47 mtd->priv = map; in lpddr_cmdset()
48 mtd->type = MTD_NORFLASH; in lpddr_cmdset()
51 mtd->_read = lpddr_read; in lpddr_cmdset()
52 mtd->type = MTD_NORFLASH; in lpddr_cmdset()
53 mtd->flags = MTD_CAP_NORFLASH; in lpddr_cmdset()
54 mtd->flags &= ~MTD_BIT_WRITEABLE; in lpddr_cmdset()
55 mtd->_erase = lpddr_erase; in lpddr_cmdset()
56 mtd->_write = lpddr_write_buffers; in lpddr_cmdset()
[all …]
/linux/drivers/misc/mei/pxp/
H A Dmei_pxp.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright © 2020 - 2021 Intel Corporation
14 #include <linux/delay.h>
46 * mei_pxp_send_message() - Sends a PXP message to ME FW.
53 * -ENODEV: Client was not connected.
55 * -ENOMEM: Internal memory allocation failure experienced.
57 * -EINTR : Calling thread received a signal. Caller may choose
59 * -ETIME : Request is timed out.
70 return -EINVAL; in mei_pxp_send_message()
78 case -ENOMEM: in mei_pxp_send_message()
[all …]
/linux/drivers/cpufreq/
H A Dspeedstep-smi.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * (C) 2003 Hiroshi Miura <miura@da-cha.org>
10 * SPEEDSTEP - DEFINITIONS *
20 #include <linux/delay.h>
25 #include "speedstep-lib.h"
29 * These parameters are got from IST-SMI BIOS call.
92 * speedstep_smi_get_freqs - get SpeedStep preferred & current freq.
96 * Only available on later SpeedStep-enabled systems, returns false results or
107 pr_debug("bug #1422 -- can't read freqs from BIOS\n"); in speedstep_smi_get_freqs()
108 return -ENODEV; in speedstep_smi_get_freqs()
[all …]

12345678910>>...31