Home
last modified time | relevance | path

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

12345678910>>...43

/openbmc/linux/Documentation/devicetree/bindings/power/reset/
H A Dgpio-restart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its
22 This will also cause an inactive->active edge condition, triggering positive edge triggered
23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an
24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by
25 inactive-delay, the GPIO is driven active again. After a delay specified by wait-delay, the
[all …]
H A Dgpio-poweroff.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/gpio-poweroff.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
15 from inactive to active. After a delay (active-delay-ms) it
17 delay (inactive-delay-ms) it is configured as active again.
19 the system is still running after waiting some time (timeout-ms).
23 const: gpio-poweroff
32 it to an output when the power-off sequence is initiated. If this optional
[all …]
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dti,gpmc-child.yaml1 # 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 …]
H A Darm,pl172.txt5 - compatible: Must be "arm,primecell" and exactly one from
8 - reg: Must contains offset/length value for controller.
10 - #address-cells: Must be 2. The partition number has to be encoded in the
11 first address cell and it may accept values 0..N-1
12 (N - total number of partitions). The second cell is the
15 - #size-cells: Must be set to 1.
17 - ranges: Must contain one or more chip select memory regions.
19 - clocks: Must contain references to controller clocks.
21 - clock-names: Must contain "mpmcclk" and "apb_pclk".
23 - clock-ranges: Empty property indicating that child nodes can inherit
[all …]
/openbmc/linux/drivers/staging/sm750fb/
H A Dddk750_display.c1 // SPDX-License-Identifier: GPL-2.0
37 * until a few delay. Need to write and read it a in set_display_control()
52 * find out if it is necessary to wait for 1 vsync in set_display_control()
63 static void primary_wait_vertical_sync(int delay) in primary_wait_vertical_sync() argument
68 * Do not wait when the Primary PLL is off or display control is in primary_wait_vertical_sync()
69 * already off. This will prevent the software to wait forever. in primary_wait_vertical_sync()
75 while (delay-- > 0) { in primary_wait_vertical_sync()
76 /* Wait for end of vsync. */ in primary_wait_vertical_sync()
81 /* Wait for start of vsync. */ in primary_wait_vertical_sync()
88 static void sw_panel_power_sequence(int disp, int delay) in sw_panel_power_sequence() argument
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dsyna,rmi4.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jason A. Donenfeld <Jason@zx2c4.com>
11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com
12 - Vincent Huang <vincent.huang@tw.synaptics.com>
22 - syna,rmi4-i2c
23 - syna,rmi4-spi
28 '#address-cells':
31 '#size-cells':
[all …]
/openbmc/linux/arch/sh/include/mach-common/mach/
H A Dsh2007.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 /* write-read/write-write delay (0-7:0,1,2,3,4,5,6,7) */
28 /* different area, read-write delay (0-7:0,1,2,3,4,5,6,7) */
31 /* same area, read-write delay (0-7:0,1,2,3,4,5,6,7) */
34 /* different area, read-read delay (0-7:0,1,2,3,4,5,6,7) */
37 /* same area, read-read delay (0-7:0,1,2,3,4,5,6,7) */
40 /* burst count (0-3:4,8,16,32) */
46 /* RD hold for SRAM (0-1:0,1) */
49 /* Burst pitch (0-7:0,1,2,3,4,5,6,7) */
52 /* Multiplex (0-1:0,1) */
[all …]
/openbmc/linux/arch/x86/lib/
H A Ddelay.c1 // SPDX-License-Identifier: GPL-2.0
3 * Precise Delay Loops for i386
19 #include <linux/delay.h>
22 #include <asm/delay.h>
33 * Calibration and selection of the delay mechanism happens only once
39 /* simple loop based delay: */
62 /* TSC based delay: */
73 if ((now - bclock) >= cycles) in delay_tsc()
83 * since TSC's are per-cpu we need to calculate in delay_tsc()
84 * that. The delay must guarantee that we wait "at in delay_tsc()
[all …]
/openbmc/linux/include/linux/amba/
H A Dpl022.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2008-2009 ST-Ericsson AB
11 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c
30 * enum ssp_interface - interfaces allowed for this SSP Controller
47 * enum ssp_hierarchy - whether SSP is configured as Master or Slave
55 * enum ssp_clock_params - clock parameters, to set SSP clock at a
64 * enum ssp_rx_endian - endianess of Rx FIFO Data
73 * enum ssp_tx_endian - endianess of Tx FIFO Data
81 * enum ssp_data_size - number of bits in one data element
97 * enum ssp_mode - SSP mode of operation (Communication modes)
[all …]
/openbmc/linux/tools/testing/selftests/net/hsr/
H A Dhsr_ping.sh2 # SPDX-License-Identifier: GPL-2.0
11 echo -e "\t-4: IPv4 only: disable IPv6 tests (default: test both IPv4 and IPv6)"
31 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX)
32 ns1="ns1-$rndh"
33 ns2="ns2-$rndh"
34 ns3="ns3-$rndh"
47 [ -z "${1##*:*}" ]
54 local ping_args="-q -c 2"
58 ping_args="${ping_args} -6"
62 if [ $? -ne 0 ] ; then
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A Dvnic_dev.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/delay.h>
62 int wait);
72 return vdev->priv; in vnic_dev_priv()
82 if (bar->len < VNIC_MAX_RES_HDR_SIZE) { in vnic_dev_discover_res()
84 return -EINVAL; in vnic_dev_discover_res()
87 rh = bar->vaddr; in vnic_dev_discover_res()
89 printk(KERN_ERR "vNIC BAR0 res hdr not mem-mapped\n"); in vnic_dev_discover_res()
90 return -EINVAL; in vnic_dev_discover_res()
93 if (ioread32(&rh->magic) != VNIC_RES_MAGIC || in vnic_dev_discover_res()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Drng.c27 u32 v1, v2, rng_last = sc->rng_last; in ath9k_rng_data_read()
28 struct ath_hw *ah = sc->sc_ah; in ath9k_rng_data_read()
40 /* wait for data ready */ in ath9k_rng_data_read()
50 sc->rng_last = rng_last; in ath9k_rng_data_read()
57 u32 delay; in ath9k_rng_delay_get() local
60 delay = 10; in ath9k_rng_delay_get()
62 delay = 1000; in ath9k_rng_delay_get()
64 delay = 10000; in ath9k_rng_delay_get()
66 return delay; in ath9k_rng_delay_get()
69 static int ath9k_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in ath9k_rng_read() argument
[all …]
/openbmc/phosphor-fan-presence/monitor/
H A Dpower_off_action.hpp27 * there is a delay before the power off.
30 * the D-Bus call to do the power off, so it can be mocked
48 * @param[in] name - The action name. Used for tracing.
49 * @param[in] powerInterface - The object used to invoke the power off.
50 * @param[in] powerOffFunc - A function to call right before the power
80 * @param[in] force - If the cancel should be forced
82 * @return bool - If the cancel was allowed/successful
89 * @return const std::string& - The name
147 * and will execute a hard power off after some delay.
162 * @param[in] delay - The amount of time in seconds to wait before
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/operations_menu/
H A Dtest_server_power_operations_sub_menu.robot3 Documentation Test OpenBMC GUI "Server power operations" sub-menu of "Operations".
16 ${xpath_enable_onetime_boot_checkbox} //*[contains(@class,'custom-checkbox')]
17 ${xpath_boot_option_select} //*[@id='boot-option']
18 ${xpath_shutdown_button} //*[@data-test-id='serverPowerOperations-button-shutDown…
19 ${xpath_reboot_button} //*[@data-test-id='serverPowerOperations-button-reboot']
20 ${xpath_poweron_button} //*[@data-test-id='serverPowerOperations-button-powerOn']
22 ${xpath_shutdown_orderly_radio} //*[@data-test-id='serverPowerOperations-radio-shutdownO…
23 ${xpath_shutdown_immediate_radio} //*[@data-test-id='serverPowerOperations-radio-shutdownI…
25 ${xpath_current_power_state} //*[@data-test-id='powerServerOps-text-hostStatus']
26 ${xpath_reboot_immediate_radio} //*[@data-test-id='serverPowerOperations-radio-rebootImm…
[all …]
H A Dtest_reboot_bmc_sub_menu.robot3 Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Operation" menu.
50 # Delay added for cancel button to appear.
54 Wait Until Element Is Not Visible ${xpath_reboot_cancel_button} timeout=15
63 # Delay added for confirm button to appear.
68 Wait Until Keyword Succeeds 1 min 5 sec Is BMC Unpingable
69 Wait For Host To Ping ${OPENBMC_HOST} 1 min
71 Wait Until Keyword Succeeds 3 min 10 sec Is BMC Operational
74 Wait Until Element Is Visible ${xpath_reboot_bmc_button} timeout=10
84 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain reboot-bmc
85 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30
/openbmc/linux/drivers/input/touchscreen/
H A Dwm9712.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs.
16 #include <linux/delay.h>
65 * Set adc sample delay.
71 * This delay can be set by setting delay = n, where n is the array
72 * position of the delay in the array delay_table below.
76 static int delay = 3; variable
77 module_param(delay, int, 0);
78 MODULE_PARM_DESC(delay, "Set adc sample delay.");
87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen.");
[all …]
/openbmc/linux/Documentation/accounting/
H A Ddelay-accounting.rst2 Delay accounting
5 Tasks encounter delays in execution when they wait
7 runnable task may wait for a free CPU to run on.
9 The per-task delay accounting functionality measures
18 g) write-protect copy
29 delay statistics aggregated for all tasks (or threads) belonging to a
34 aggregate delay statistics into arbitrary groups. To enable this, delay
40 ---------
42 Delay accounting uses the taskstats interface which is described
44 generic data structure to userspace corresponding to per-pid and per-tgid
[all …]
/openbmc/linux/include/linux/
H A Ddelayacct.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* delayacct.h - per-task delay accounting
27 * XXX_count is incremented on every XXX operation, the delay
29 * XXX_delay contains the accumulated delay time in nanoseconds.
32 u64 blkio_delay; /* wait for sync block io completion */
34 u64 swapin_delay; /* wait for swapin */
40 u64 freepages_delay; /* wait for memory reclaim */
43 u64 thrashing_delay; /* wait for thrashing page */
46 u64 compact_delay; /* wait for memory compact */
49 u64 wpcopy_delay; /* wait for write-protect copy */
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_v11_0_8.c35 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_stop()
41 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_stop()
43 /* Wait for response flag (bit 31) */ in psp_v11_0_8_ring_stop()
50 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_stop()
52 /* Wait for response flag (bit 31) */ in psp_v11_0_8_ring_stop()
65 struct psp_ring *ring = &psp->km_ring; in psp_v11_0_8_ring_create()
66 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_create()
76 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create()
79 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create()
86 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_create()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c1 // SPDX-License-Identifier: GPL-2.0
4 * 2002-2006 Thomas Gleixner (tglx@linutronix.de)
16 #include <linux/delay.h>
23 * nand_read_byte - [DEFAULT] read one byte from the chip
30 return readb(chip->legacy.IO_ADDR_R); in nand_read_byte()
34 * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
42 return (uint8_t) cpu_to_le16(readw(chip->legacy.IO_ADDR_R)); in nand_read_byte16()
46 * nand_select_chip - [DEFAULT] control CE line
48 * @chipnr: chipnumber to select, -1 for deselect
55 case -1: in nand_select_chip()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dehci-omap.c1 // SPDX-License-Identifier: GPL-2.0+
4 * (C) Copyright 2004-2008
20 #include <asm/ehci-omap.h>
33 rev = readl(&uhh->rev); in omap_uhh_reset()
36 writel(OMAP_UHH_SYSCONFIG_SOFTRESET, &uhh->sysc); in omap_uhh_reset()
40 /* Wait for soft RESET to complete */ in omap_uhh_reset()
41 while (!(readl(&uhh->syss) & 0x1)) { in omap_uhh_reset()
44 return -1; in omap_uhh_reset()
50 /* Set No-Idle, No-Standby */ in omap_uhh_reset()
51 writel(OMAP_UHH_SYSCONFIG_VAL, &uhh->sysc); in omap_uhh_reset()
[all …]
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_dev.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2008-2010 Cisco Systems, Inc. All rights reserved.
11 #include <linux/delay.h>
28 return vdev->priv; in vnic_dev_priv()
40 return -EINVAL; in vnic_dev_discover_res()
42 if (bar->len < VNIC_MAX_RES_HDR_SIZE) { in vnic_dev_discover_res()
44 return -EINVAL; in vnic_dev_discover_res()
47 rh = bar->vaddr; in vnic_dev_discover_res()
48 mrh = bar->vaddr; in vnic_dev_discover_res()
50 vdev_err(vdev, "vNIC BAR0 res hdr not mem-mapped\n"); in vnic_dev_discover_res()
[all …]
/openbmc/openbmc/meta-security/recipes-core/initrdscripts/initramfs-framework-dm/
H A Ddmverity13 . /usr/share/misc/dm-verity.env
16 delay=${bootparam_rootdelay:-1}
17 timeout=${bootparam_roottimeout:-5}
20 if [ "${SEPARATE_HASH}" -eq "1" ]; then
21 while [ ! -b "/dev/disk/by-partuuid/${ROOT_UUID}" ]; do
22 if [ $(( $C * $delay )) -gt $timeout ]; then
26 debug "Sleeping for $delay second(s) to wait for root data to settle..."
27 sleep $delay
32 --data-block-size=${DATA_BLOCK_SIZE} \
34 /dev/disk/by-partuuid/${ROOT_UUID} \
[all …]
/openbmc/linux/drivers/soc/bcm/brcmstb/pm/
H A Ds2-mips.S1 /* SPDX-License-Identifier: GPL-2.0-only */
38 * s3: I-Cache line size
51 /* Lock this asm section into the I-cache */
52 addiu t1, s3, -1
65 /* Lock the interrupt vector into the I-cache */
84 /* Enable CP0 interrupt 2 and wait for interrupt */
99 /* Wait for interrupt */
100 wait
103 /* Wait for memc0 */
109 /* 1ms delay needed for stable recovery */
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_wakeref.h2 * SPDX-License-Identifier: MIT
71 * the runtime pm wakeref and then call the intel_wakeref_ops->get()
74 * Note that intel_wakeref_ops->get() is allowed to fail, in which case
75 * the runtime-pm wakeref will be released and the acquisition unwound,
85 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get()
103 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_get()
104 atomic_inc(&wf->count); in __intel_wakeref_get()
119 return atomic_inc_not_zero(&wf->count); in intel_wakeref_get_if_active()
130 might_lock(&wf->mutex); in intel_wakeref_might_get()
139 * the runtime pm wakeref will be released after the intel_wakeref_ops->put()
[all …]

12345678910>>...43