| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | i2c-arb-gpio-challenge.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-dw-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/dma-mapping.h> 14 #include <linux/platform_data/dma-dw.h> 18 #include "spi-dw.h" 29 if (s->dma_dev != chan->device->dev) in dw_spi_dma_chan_filter() 32 chan->private = s; in dw_spi_dma_chan_filter() 42 def_burst = dws->fifo_len / 2; in dw_spi_dma_maxburst_init() 44 ret = dma_get_slave_caps(dws->rxchan, &caps); in dw_spi_dma_maxburst_init() 50 dws->rxburst = min(max_burst, def_burst); in dw_spi_dma_maxburst_init() 51 dw_writel(dws, DW_SPI_DMARDLR, dws->rxburst - 1); in dw_spi_dma_maxburst_init() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-arb-gpio-challenge.txt | 1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 7 the standard I2C multi-master rules. Using GPIOs is generally useful in 21 others can see. These are all active low with pull-ups enabled. We'll 24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus 25 - THEIR_CLAIMS: output from others signaling that they want the bus 39 6. Go back to 1 (until retry time has expired). 43 - compatible: i2c-arb-gpio-challenge 44 - our-claim-gpio: The GPIO that we use to claim the bus. 45 - their-claim-gpios: The GPIOs that the other sides use to claim the bus. 47 - I2C arbitration bus node. See i2c-arb.txt in this directory. [all …]
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-sun4v.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-sun4v.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-dw-dma.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| D | hynitron_cstxxx.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/usb/core/ |
| D | Kconfig | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/core/ |
| D | Kconfig | 1 # 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ci/ |
| D | gitlab-ci.yml | 2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa 3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha edfbf74df1d4d6ce54ffe24566108be0e1a98c3d 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 …]
|
| D | lava-submit.sh | 2 # 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 …]
|
| D | igt_runner.sh | 2 # 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ast/ |
| D | ast_dp501.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | pm8941.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/rockchip/ |
| D | rockchip_i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * ALSA SoC Audio Layer - Rockchip I2S Controller driver 7 * Author: Jianqun <jay.xu@rock-chips.com> 12 #include <linux/delay.h> 24 #define DRV_NAME "rockchip-i2s" 58 regcache_cache_only(i2s->regmap, true); in i2s_runtime_suspend() 59 clk_disable_unprepare(i2s->mclk); in i2s_runtime_suspend() 69 ret = clk_prepare_enable(i2s->mclk); in i2s_runtime_resume() 71 dev_err(i2s->dev, "clock enable failed %d\n", ret); in i2s_runtime_resume() 75 regcache_cache_only(i2s->regmap, false); in i2s_runtime_resume() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | qcom-pm8941.dtsi | 1 // 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> 9 compatible = "qcom,pm8941", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; 18 reg-names = "rtc", "alarm"; 23 compatible = "qcom,pm8941-pwrkey"; [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ast/ |
| D | ast_dp501.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/pci/ |
| D | ops-rc32434.c | 28 #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 …]
|
| /kernel/linux/linux-6.6/arch/mips/pci/ |
| D | ops-rc32434.c | 28 #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 …]
|
| /kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
| D | lpfc_els.c | 4 * Copyright (C) 2017-2020 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 */ 55 struct lpfc_nodelist *ndlp, uint8_t retry); 62 * lpfc_els_chk_latt - Check host link attention event for a vport 80 * 0 - no host link attention event happened 81 * 1 - host link attention event happened 87 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
| D | dwmac-qcom-ethqos.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2018-19, Linaro Limited 126 return readl(ethqos->rgmii_base + offset); in rgmii_readl() 132 writel(value, ethqos->rgmii_base + offset); in rgmii_writel() 148 struct device *dev = ðqos->pdev->dev; in rgmii_dump() 181 ethqos->link_clk_rate = RGMII_1000_NOM_CLK_FREQ; in ethqos_update_link_clk() 185 ethqos->link_clk_rate = RGMII_ID_MODE_100_LOW_SVS_CLK_FREQ; in ethqos_update_link_clk() 189 ethqos->link_clk_rate = RGMII_ID_MODE_10_LOW_SVS_CLK_FREQ; in ethqos_update_link_clk() 193 clk_set_rate(ethqos->link_clk, ethqos->link_clk_rate); in ethqos_update_link_clk() 199 if (!ethqos->needs_sgmii_loopback || in qcom_ethqos_set_sgmii_loopback() [all …]
|
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| D | itlb_miss.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 srlx %g6, 22, %g6 ! Delay slot 18 nop ! Delay slot, fill me 20 retry ! Trap done
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| D | itlb_miss.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 srlx %g6, 22, %g6 ! Delay slot 18 nop ! Delay slot, fill me 20 retry ! Trap done
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | tdls.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_self_refresh_helper.c | 1 // 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 …]
|