Home
last modified time | relevance | path

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

12345678910>>...38

/linux-6.6/Documentation/devicetree/bindings/i2c/
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-6.6/drivers/spi/
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-6.6/drivers/input/touchscreen/
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-6.6/drivers/rtc/
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-6.6/drivers/gpu/drm/ci/
Dgitlab-ci.yml2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa
3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha 0dc961645c4f0241f8512cb0ec3ad59635842072
6 TARGET_BRANCH: drm-next
10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/anholt/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 …]
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 …]
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/
21 set -e
29 if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt" ]; then
30 IGT_SKIPS="--skips /install/xfails/$DRIVER_NAME-$GPU_VERSION-skips.txt"
33 if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-flakes.txt" ]; then
34 IGT_FLAKES="--flakes /install/xfails/$DRIVER_NAME-$GPU_VERSION-flakes.txt"
37 if [ -e "/install/xfails/$DRIVER_NAME-$GPU_VERSION-fails.txt" ]; then
[all …]
/linux-6.6/drivers/usb/core/
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-6.6/drivers/gpu/drm/ast/
Dast_dp501.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/delay.h>
15 release_firmware(ast->dp501_fw); in ast_release_firmware()
16 ast->dp501_fw = NULL; in ast_release_firmware()
24 ret = request_firmware(&ast->dp501_fw, "ast_dp501_fw.bin", dev->dev); in ast_load_dp501_microcode()
28 return devm_add_action_or_reset(dev->dev, ast_release_firmware, ast); in ast_load_dp501_microcode()
50 u32 retry = 0; in wait_ack() local
55 } while ((!waitack) && (retry++ < 1000)); in wait_ack()
57 if (retry < 1000) in wait_ack()
66 u32 retry = 0; in wait_nack() local
[all …]
/linux-6.6/arch/arm/boot/dts/qcom/
Dqcom-pm8941.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-6.6/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-qcom-ethqos.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018-19, Linaro Limited
116 return readl(ethqos->rgmii_base + offset); in rgmii_readl()
122 writel(value, ethqos->rgmii_base + offset); in rgmii_writel()
138 struct device *dev = &ethqos->pdev->dev; in rgmii_dump()
171 ethqos->link_clk_rate = RGMII_1000_NOM_CLK_FREQ; in ethqos_update_link_clk()
175 ethqos->link_clk_rate = RGMII_ID_MODE_100_LOW_SVS_CLK_FREQ; in ethqos_update_link_clk()
179 ethqos->link_clk_rate = RGMII_ID_MODE_10_LOW_SVS_CLK_FREQ; in ethqos_update_link_clk()
183 clk_set_rate(ethqos->link_clk, ethqos->link_clk_rate); in ethqos_update_link_clk()
292 struct device *dev = &ethqos->pdev->dev; in ethqos_dll_configure()
[all …]
/linux-6.6/arch/mips/pci/
Dops-rc32434.c28 #include <linux/delay.h>
34 #include <asm/mach-rc32434/rc32434.h>
35 #include <asm/mach-rc32434/pci.h>
42 (rc32434_pci->pcicfga = (0x80000000 | \
54 PCI_CFG_SET(bus->number, slot, func, where); in config_access()
58 rc32434_pci->pcicfgd = *data; in config_access()
60 *data = rc32434_pci->pcicfgd; in config_access()
98 int delay = 1; in read_config_dword() local
104 if (bus->number == 0 && PCI_SLOT(devfn) > 21) in read_config_dword()
107 retry: in read_config_dword()
[all …]
/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dtdls.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
5 * Copyright (C) 2018-2020, 2022 Intel Corporation
9 #include "time-event.h"
10 #include "iwl-io.h"
11 #include "iwl-prph.h"
22 lockdep_assert_held(&mvm->mutex); in iwl_mvm_teardown_tdls_peers()
24 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_teardown_tdls_peers()
25 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers()
26 lockdep_is_held(&mvm->mutex)); in iwl_mvm_teardown_tdls_peers()
27 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_teardown_tdls_peers()
[all …]
/linux-6.6/drivers/gpu/drm/
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-6.6/arch/sparc/kernel/
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-6.6/drivers/mailbox/
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-6.6/drivers/fsi/
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-6.6/drivers/staging/vt6655/
Dmac.c1 // SPDX-License-Identifier: GPL-2.0+
13 * vt6655_mac_is_reg_bits_off - Test if All test Bits Off
14 * vt6655_mac_set_short_retry_limit - Set 802.11 Short Retry limit
15 * MACvSetLongRetryLimit - Set 802.11 Long Retry limit
16 * vt6655_mac_set_loopback_mode - Set MAC Loopback Mode
17 * vt6655_mac_save_context - Save Context of MAC Registers
18 * vt6655_mac_restore_context - Restore Context of MAC Registers
19 * MACbSoftwareReset - Software Reset MAC
20 * vt6655_mac_safe_rx_off - Turn Off MAC Rx
21 * vt6655_mac_safe_tx_off - Turn Off MAC Tx
[all …]
/linux-6.6/sound/soc/au1x/
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-6.6/drivers/input/mouse/
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-6.6/drivers/scsi/lpfc/
Dlpfc_els.c4 * Copyright (C) 2017-2023 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-6.6/Documentation/ABI/stable/
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-6.6/drivers/infiniband/hw/hfi1/
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-6.6/drivers/scsi/bfa/
Dbfa_fcs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
4 * Copyright (c) 2014- QLogic Corporation.
8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter.
52 #define __fcs_min_cfg(__fcs) ((__fcs)->min_cfg)
88 u8 retry_cnt; /* retry count */
100 u8 retry_cnt; /* retry count */
143 u16 num_rports; /* Num of r-ports */
144 struct list_head rport_q; /* queue of discovered r-ports */
154 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa)
[all …]
/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dauxg94.c35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_fini()
36 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00310000, 0x00000000); in g94_i2c_aux_fini()
42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_init()
51 ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); in g94_i2c_aux_init()
53 if (!timeout--) { in g94_i2c_aux_init()
54 AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); in g94_i2c_aux_init()
55 return -EBUSY; in g94_i2c_aux_init()
60 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00300000, ureq); in g94_i2c_aux_init()
63 ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); in g94_i2c_aux_init()
65 if (!timeout--) { in g94_i2c_aux_init()
[all …]

12345678910>>...38