Home
last modified time | relevance | path

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

12345678910>>...40

/linux-6.14.4/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 <[email protected]>
11 - Peter Rosin <[email protected]>
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.14.4/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.14.4/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.14.4/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.14.4/arch/arm/boot/dts/qcom/
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-6.14.4/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.14.4/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.14.4/drivers/gpu/drm/ci/
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/
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 …]
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 …]
/linux-6.14.4/drivers/gpu/drm/ast/
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-6.14.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dtdls.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
5 * Copyright (C) 2018-2020, 2022-2024 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 (IS_ERR_OR_NULL(sta) || !sta->tdls) in iwl_mvm_teardown_tdls_peers()
[all …]
/linux-6.14.4/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-qcom-ethqos.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018-19, Linaro Limited
127 return readl(ethqos->rgmii_base + offset); in rgmii_readl()
133 writel(value, ethqos->rgmii_base + offset); in rgmii_writel()
149 struct device *dev = &ethqos->pdev->dev; in rgmii_dump()
180 if (!phy_interface_mode_is_rgmii(ethqos->phy_mode)) in ethqos_update_link_clk()
185 ethqos->link_clk_rate = RGMII_1000_NOM_CLK_FREQ; in ethqos_update_link_clk()
189 ethqos->link_clk_rate = RGMII_ID_MODE_100_LOW_SVS_CLK_FREQ; in ethqos_update_link_clk()
193 ethqos->link_clk_rate = RGMII_ID_MODE_10_LOW_SVS_CLK_FREQ; in ethqos_update_link_clk()
197 clk_set_rate(ethqos->link_clk, ethqos->link_clk_rate); in ethqos_update_link_clk()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/mediatek/
Dmt8186-corsola-starmie.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
7 #include "mt8186-corsola.dtsi"
10 en_pp6000_mipi_disp_150ma: en-pp6000-mipi-disp-150ma {
11 compatible = "regulator-fixed";
12 regulator-name = "en_pp6000_mipi_disp_150ma";
14 enable-active-high;
15 pinctrl-names = "default";
16 pinctrl-0 = <&en_pp6000_mipi_disp_150ma_fixed_pins>;
21 * with 6V module for enabling panel, re-using eDP GPIOs.
[all …]
/linux-6.14.4/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.14.4/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.14.4/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.14.4/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.14.4/drivers/scsi/fnic/
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-6.14.4/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.14.4/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.
36 #define __fcs_min_cfg(__fcs) ((__fcs)->min_cfg)
125 u8 retry_cnt; /* retry count */
151 u8 retry_cnt; /* retry count */
209 u16 num_rports; /* Num of r-ports */
210 struct list_head rport_q; /* queue of discovered r-ports */
220 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa)
[all …]
/linux-6.14.4/drivers/scsi/lpfc/
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-6.14.4/drivers/gpu/drm/i915/gt/uc/
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-6.14.4/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.14.4/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-[email protected]

12345678910>>...40