| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # code but we accept it, especially because there were too many before having 36 port=$((10000 - 1)) 38 if [ $tc_loss -eq 100 ];then 40 elif [ $tc_loss -ge 10 ]; then 42 elif [ $tc_loss -ge 1 ]; then 49 echo "Usage: $0 [ -a ]" 50 echo -e "\t-d: tc/netem delay in milliseconds, e.g. \"-d 10\" (default random)" 51 echo -e "\t-l: tc/netem loss percentage, e.g. \"-l 0.02\" (default random)" 52 …echo -e "\t-r: tc/netem reorder mode, e.g. \"-r 25% 50% gap 5\", use "-r 0" to disable reordering … [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | atkbd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1999-2002 Vojtech Pavlik 12 * input-only controllers and AT keyboards connected over a one way RS232 16 #include <linux/delay.h> 22 #include <linux/input/vivaldi-fmap.h> 58 MODULE_PARM_DESC(scroll, "Enable scroll-wheel on MS Office and similar keyboards"); 61 module_param_named(extra, atkbd_extra, bool, 0); 62 MODULE_PARM_DESC(extra, "Enable extra LEDs and keys on IBM RapidAcces, EzKey and similar keyboards"… 216 bool extra; member 236 /* Serializes reconnect(), attr->set() and event work */ [all …]
|
| /linux/arch/um/drivers/ |
| H A D | virtio_pcidev.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/virtio-uml.h> 15 #include <linux/delay.h> 20 #include "virt-pci.h" 25 /* for MSI-X we have a 32-bit payload */ 59 if (!test_and_set_bit(i, dev->used_bufs)) in virtio_pcidev_get_buf() 71 if (buf == &dev->bufs[VIRTIO_PCIDEV_WRITE_BUFS]) { in virtio_pcidev_free_buf() 72 kfree(dev->extra_ptrs[VIRTIO_PCIDEV_WRITE_BUFS]); in virtio_pcidev_free_buf() 73 dev->extra_ptrs[VIRTIO_PCIDEV_WRITE_BUFS] = NULL; in virtio_pcidev_free_buf() 78 if (buf == &dev->bufs[i]) { in virtio_pcidev_free_buf() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | Kconfig.profile | 19 When listening to a foreign fence, we install a supplementary timer 20 to ensure that we are always signaled and our userspace is able to 28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 31 On runtime suspend, as we suspend the device, we have to revoke 34 the GGTT mmap can be very slow and so we impose a small hysteris 35 that complements the runtime-pm autosuspend and provides a lower 36 floor on the autosuspend delay. 38 May be 0 to disable the extra delay and solely use the device level 39 runtime pm autosuspend delay tunable. 46 check the health of the GPU and undertake regular house-keeping of [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-of-sparx5.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/mmc/host/sdhci-of-sparx5.c 13 #include <linux/delay.h> 17 #include <linux/dma-mapping.h> 20 #include "sdhci-pltfm.h" 46 ((addr | (SZ_128M - 1)) == ((addr + len - 1) | (SZ_128M - 1))) 49 * If DMA addr spans 128MB boundary, we split the DMA transfer into two 64 mmc_hostname(host->mmc), len, &addr); in sdhci_sparx5_adma_write_desc() 66 offset = addr & (SZ_128M - 1); in sdhci_sparx5_adma_write_desc() 67 tmplen = SZ_128M - offset; in sdhci_sparx5_adma_write_desc() [all …]
|
| H A D | sdhci-of-ma35d1.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Author: Shan-Chun Hung <shanchun1218@gmail.com> 13 #include <linux/delay.h> 16 #include <linux/dma-mapping.h> 32 #include "sdhci-pltfm.h" 69 * If DMA addr spans 128MB boundary, we split the DMA transfer into two 77 if (likely(!len || (ALIGN(addr, SZ_128M) == ALIGN(addr + len - 1, SZ_128M)))) { in ma35_adma_write_desc() 82 offset = addr & (SZ_128M - 1); in ma35_adma_write_desc() 83 tmplen = SZ_128M - offset; in ma35_adma_write_desc() 87 len -= tmplen; in ma35_adma_write_desc() [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | sermouse.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999-2001 Vojtech Pavlik 10 #include <linux/delay.h> 44 struct input_dev *dev = sermouse->dev; in sermouse_process_msc() 45 signed char *buf = sermouse->buf; in sermouse_process_msc() 47 switch (sermouse->count) { in sermouse_process_msc() 60 input_report_rel(dev, REL_Y, -buf[1]); in sermouse_process_msc() 61 buf[0] = data - data / 2; in sermouse_process_msc() 67 input_report_rel(dev, REL_Y, buf[1] - data); in sermouse_process_msc() 74 if (++sermouse->count == 5) in sermouse_process_msc() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | ad4695.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/delay.h> 22 #include <linux/iio/buffer-dmaengine.h> 38 #include <dt-bindings/iio/adc/adi,ad4695.h> 157 * to control CS and add a delay between the last SCLK and next 208 .name = "ad4695-8", 237 .name = "ad4695-16", 254 .tx_buf = st->regmap_bus_data, in ad4695_regmap_bus_reg_write() 257 if (count > ARRAY_SIZE(st->regmap_bus_data)) in ad4695_regmap_bus_reg_write() 258 return -EINVAL; in ad4695_regmap_bus_reg_write() [all …]
|
| /linux/fs/ocfs2/dlm/ |
| H A D | dlmthread.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 #include <linux/delay.h> 40 /* will exit holding res->spinlock, but may drop in function */ 41 /* waits until flags are cleared on res->state */ 46 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags() 48 add_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 51 if (res->state & flags) { in __dlm_wait_on_lockres_flags() 52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags() 54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags() 57 remove_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | gpmc-omap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2014 Texas Instruments, Inc. - https://www.ti.com 34 /* Chip-select signal timings corresponding to GPMC_CS_CONFIG2 */ 47 /* WE signals timings corresponding to GPMC_CONFIG4 */ 48 u32 we_on; /* WE assertion time */ 49 u32 we_off; /* WE deassertion time */ 58 u32 page_burst_access; /* Multiple access word delay */ 59 u32 access; /* Start-cycle to first data valid delay */ 99 u32 t_weasu; /* address setup to WE valid */ 105 u32 t_bacc; /* burst access valid clock to output delay */ [all …]
|
| /linux/drivers/parport/ |
| H A D | daisy.c | 11 * ??-12-1998: Initial implementation. 12 * 31-01-1999: Make port-cloning transparent. 13 * 13-02-1999: Move DeviceID technique from parport_probe. 14 * 13-03-1999: Get DeviceID from non-IEEE 1284.3 devices too. 15 * 22-02-2000: Count devices that are actually detected. 24 #include <linux/delay.h> 44 /* Forward-declaration of lower-level functions. */ 56 newdev->port = port; in add_dev() 57 newdev->daisy = daisy; in add_dev() 58 newdev->devnum = devnum; in add_dev() [all …]
|
| /linux/drivers/phy/intel/ |
| H A D | phy-intel-keembay-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/delay.h> 66 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power() 69 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in keembay_emmc_phy_power() 73 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, DLL_EN_MASK, in keembay_emmc_phy_power() 76 dev_err(&phy->dev, "turn off the dll failed: %d\n", ret); in keembay_emmc_phy_power() 84 mhz = DIV_ROUND_CLOSEST(clk_get_rate(priv->emmcclk), 1000000); in keembay_emmc_phy_power() 100 dev_warn(&phy->dev, "Unsupported rate: %d MHz\n", mhz); in keembay_emmc_phy_power() 105 * value, so we may need a little margin here in keembay_emmc_phy_power() 109 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power() [all …]
|
| H A D | phy-intel-lgm-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/delay.h> 64 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL1_REG, PDB_MASK, in intel_emmc_phy_power() 67 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in intel_emmc_phy_power() 75 rate = clk_get_rate(priv->emmcclk); in intel_emmc_phy_power() 78 dev_warn(&phy->dev, "Unsupported rate: %lu\n", rate); in intel_emmc_phy_power() 84 * value, so we may need a little margin here in intel_emmc_phy_power() 88 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL1_REG, PDB_MASK, in intel_emmc_phy_power() 91 dev_err(&phy->dev, "CALIO power down bar failed: %d\n", ret); in intel_emmc_phy_power() 99 * failure cases are found which indicates we should be more tolerant in intel_emmc_phy_power() [all …]
|
| /linux/net/ipv4/ |
| H A D | tcp_vegas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * IEEE Journal on Selected Areas in Communication, 13(8):1465--1480, 15 * o We do not change the loss detection or recovery mechanisms of 17 * using fine-grained timers, NewReno, and FACK. 19 * only every-other RTT during slow start, we increase during 22 * we use the rate at which ACKs come back as the "actual" 24 * o To speed convergence to the right rate, we set the cwnd 25 * to achieve the right ("actual") rate when we exit slow start. 26 * o To filter out the noise caused by delayed ACKs, we use the 29 * o When the sender re-starts from idle, it waits until it has [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sc7180-trogdor-parade-ps8640.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 11 pp3300_brij_ps8640: pp3300-brij-ps8640-regulator { 12 compatible = "regulator-fixed"; 14 regulator-name = "pp3300_brij_ps8640"; 16 regulator-min-microvolt = <3300000>; 17 regulator-max-microvolt = <3300000>; 20 enable-active-high; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&en_pp3300_edp_brij_ps8640>; [all …]
|
| H A D | sc7180-trogdor-ti-sn65dsi86.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 17 off-on-delay-us = <500000>; 22 * extra power cycle of the touchscreen and eDP panel at bootup. 23 * This should help speed bootup because we have off-on-delay-us. 25 regulator-boot-on; 32 clock-frequency = <400000>; 37 pinctrl-names = "default"; 38 pinctrl-0 = <&edp_brij_en>, <&edp_brij_irq>; 39 gpio-controller; [all …]
|
| H A D | sc7280-herobrine-crd.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "sc7280-herobrine.dtsi" 11 #include "sc7280-herobrine-audio-wcd9385.dtsi" 12 #include "sc7280-herobrine-lte-sku.dtsi" 22 * However, on CRD there's an extra regulator in the way. Since this 23 * is expected to be uncommon, we'll leave the "vreg_edp_bl" label 27 vreg_edp_bl_crd: vreg-edp-bl-crd-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_edp_bl_crd"; [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | smp_32.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include <linux/delay.h> 65 "clock-frequency", 0); in smp_store_cpu_info() 130 sparc32_ipi_ops->resched(cpu); in arch_smp_send_reschedule() 140 sparc32_ipi_ops->single(cpu); in arch_send_call_function_single_ipi() 149 sparc32_ipi_ops->mask_one(cpu); in arch_send_call_function_ipi_mask() 158 /* re-schedule routine called by interrupt return code. */ in smp_resched_interrupt() 179 int i, cpuid, extra; in smp_prepare_cpus() local 183 extra = 0; in smp_prepare_cpus() 186 extra++; in smp_prepare_cpus() [all …]
|
| /linux/drivers/reset/ |
| H A D | reset-brcmstb.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/delay.h> 14 #include <linux/reset-controller.h> 29 /* A full bank contains extra registers that we are not utilizing but still 46 writel_relaxed(SW_INIT_BIT(id), priv->base + off + SW_INIT_SET); in brcmstb_reset_assert() 57 writel_relaxed(SW_INIT_BIT(id), priv->base + off + SW_INIT_CLEAR); in brcmstb_reset_deassert() 58 /* Maximum reset delay after de-asserting a line and seeing block in brcmstb_reset_deassert() 73 return readl_relaxed(priv->base + off + SW_INIT_STATUS) & in brcmstb_reset_status() 85 struct device *kdev = &pdev->dev; in brcmstb_reset_probe() 91 return -ENOMEM; in brcmstb_reset_probe() [all …]
|
| /linux/include/linux/usb/ |
| H A D | quirks.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 /* string descriptors must not be fetched using a 255-byte read */ 17 /* device can't handle Set-Interface requests */ 30 /* device needs a pause during initialization, after we read the device 38 * interval = 2 ^ (bInterval-1). 69 /* Hub needs extra delay after resetting its port. */
|
| /linux/tools/kvm/kvm_stat/ |
| H A D | kvm_stat | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # top-like utility for displaying kvm statistics 6 # Copyright 2006-2008 Qumranet Technologies 7 # Copyright 2008-2011 Red Hat, Inc. 15 - as a top-like text ui 16 - in a key -> value format 17 - in an all keys, all values format 484 close it itself automatically, so we do it. 493 Used to set up performance events, returns a file descriptor or -1 497 - syscall number [all …]
|
| /linux/sound/pci/emu10k1/ |
| H A D | emupcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Lee Revell <rlrevell@joe-job.com> 5 * James Courtier-Dutton <James@superbug.co.uk> 13 #include <linux/delay.h> 25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt() 28 if (epcm->substrea in snd_emu10k1_pcm_interrupt() [all...] |
| /linux/arch/powerpc/kernel/ |
| H A D | eeh_pe.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/delay.h> 20 #include <asm/pci-bridge.h> 21 #include <asm/ppc-pci.h> 27 * eeh_set_pe_aux_size - Set PE auxiliary data size 41 * eeh_pe_alloc - Allocate PE 63 pe->type = type; in eeh_pe_alloc() 64 pe->phb = phb; in eeh_pe_alloc() 65 INIT_LIST_HEAD(&pe->child_list); in eeh_pe_alloc() 66 INIT_LIST_HEAD(&pe->edevs); in eeh_pe_alloc() [all …]
|
| /linux/arch/m68k/atari/ |
| H A D | debug.c | 6 * Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek 17 #include <linux/delay.h> 31 .index = -1, 45 while (count--) { in atari_mfp_console_write() 64 while (count--) { in atari_scc_console_write() 81 while (count--) { in atari_midi_console_write() 91 /* This a some-seconds timeout in case no printer is connected */ in ata_par_out() 94 while ((st_mfp.par_dt_reg & 1) && --i) /* wait for BUSY == L */ in ata_par_out() 117 while (count--) { in atari_par_console_write() 175 baud = B9600; /* use default 9600bps for non-implemented rates */ in atari_init_mfp_port() [all …]
|