/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/clk/rockchip/ |
H A D | clk-mmc-phase.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/clk-provider.h> 41 * Each fine delay is between 44ps-77ps. Assume each fine delay is 60ps to 58 raw_value = readl(mmc_clock->reg) >> (mmc_clock->shift); in rockchip_mmc_get_phase() 82 u32 delay; in rockchip_mmc_set_phase() local 93 * most likely problem we often face and which makes it difficult in rockchip_mmc_set_phase() 98 return -EINVAL; in rockchip_mmc_set_phase() 105 * Due to the inexact nature of the "fine" delay, we might in rockchip_mmc_set_phase() 106 * actually go non-monotonic. We don't go _too_ monotonic in rockchip_mmc_set_phase() 107 * though, so we should be OK. Here are options of how we may in rockchip_mmc_set_phase() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-of-dwcmshc.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/dma-mapping.h> 22 #include "sdhci-pltfm.h" 76 ((addr | (SZ_128M - 1)) == ((addr + len - 1) | (SZ_128M - 1))) 98 * If DMA addr spans 128MB boundary, we split the DMA transfer into two 111 offset = addr & (SZ_128M - 1); in dwcmshc_adma_write_desc() 112 tmplen = SZ_128M - offset; in dwcmshc_adma_write_desc() 116 len -= tmplen; in dwcmshc_adma_write_desc() 124 if (pltfm_host->clk) in dwcmshc_get_max_clock() 127 return pltfm_host->clock; in dwcmshc_get_max_clock() [all …]
|
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 …]
|
/openbmc/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 37 if [ $tc_loss -eq 100 ];then 39 elif [ $tc_loss -ge 10 ]; then 41 elif [ $tc_loss -ge 1 ]; then 48 echo "Usage: $0 [ -a ]" 49 echo -e "\t-d: tc/netem delay in milliseconds, e.g. \"-d 10\" (default random)" 50 echo -e "\t-l: tc/netem loss percentage, e.g. \"-l 0.02\" (default random)" 51 …echo -e "\t-r: tc/netem reorder mode, e.g. \"-r 25% 50% gap 5\", use "-r 0" to disable reordering … 52 …echo -e "\t-e: ethtool features to disable, e.g.: \"-e tso -e gso\" (default: randomly disable any… [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | miiphybb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> 11 * This provides a bit-banged interface to the ethernet MII management 27 * If CONFIG_BITBANGMII_MULTI is not defined we use a 100 .delay = bb_delay_wrap, 115 BB_MII_RELOCATE(bb_miiphy_buses[i].init, gd->reloc_off); in bb_miiphy_init() 116 BB_MII_RELOCATE(bb_miiphy_buses[i].mdio_active, gd->reloc_off); in bb_miiphy_init() 117 BB_MII_RELOCATE(bb_miiphy_buses[i].mdio_tristate, gd->reloc_off); in bb_miiphy_init() 118 BB_MII_RELOCATE(bb_miiphy_buses[i].set_mdio, gd->reloc_off); in bb_miiphy_init() 119 BB_MII_RELOCATE(bb_miiphy_buses[i].get_mdio, gd->reloc_off); in bb_miiphy_init() [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | virt-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/virtio-uml.h> 15 #include <linux/delay.h> 24 /* for MSI-X we have a 32-bit payload */ 74 const void *extra, unsigned int extra_size, in um_pci_send_cmd() argument 80 [1] = extra ? &extra_sg : &in_sg, in um_pci_send_cmd() 81 [2] = extra ? &in_sg : NULL, in um_pci_send_cmd() 89 return -EINVAL; in um_pci_send_cmd() 91 switch (cmd->op) { in um_pci_send_cmd() 113 if (extra) in um_pci_send_cmd() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/util/ |
H A D | throttle.c | 4 * Copyright (C) Nodalink, EURL. 2013-2014 41 leak = (bkt->avg * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket() 44 bkt->level = MAX(bkt->level - leak, 0); in throttle_leak_bucket() 46 /* if we allow bursts for more than one second we also need to in throttle_leak_bucket() 47 * keep track of bkt->burst_level so the bkt->max goal per second in throttle_leak_bucket() 49 if (bkt->burst_length > 1) { in throttle_leak_bucket() 50 leak = (bkt->max * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket() 51 bkt->burst_level = MAX(bkt->burst_level - leak, 0); in throttle_leak_bucket() 62 int64_t delta_ns = now - ts->previous_leak; in throttle_do_leak() 65 ts->previous_leak = now; in throttle_do_leak() [all …]
|
/openbmc/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. */
|
/openbmc/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 …]
|
/openbmc/u-boot/include/configs/ |
H A D | sbc8548.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 49 #define CONFIG_SYS_PCI_64BIT 1 /* enable 64-bit PCI resources */ 60 * Below assumes that CCB:SYSCLK remains unchanged at 6:1 via SW2:[1-4] 110 * SPD at 0x53, but if we are running on an older board w/o the 111 * fix, it will still be at 0x51. We check 0x53 1st. 180 * ACS = half cycle delay = OR0[21:22] = 11 183 * EAD = use external address latch delay = OR0[31] = 1 201 * ACS = half cycle delay = OR6[21:22] = 11 204 * EAD = use external address latch delay = OR6[31] = 1 275 * port-size = 32-bits = BR2[19:20] = 11 [all …]
|