| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | gpio-restart.yaml | 1 # 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 D | gpio-poweroff.yaml | 1 # 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). 22 - $ref: restart-handler.yaml# 26 const: gpio-poweroff [all …]
|
| /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 …]
|
| H A D | arm,pl172.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/arm,pl172.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 18 - arm,pl172 19 - arm,pl175 20 - arm,pl176 22 - compatible 27 - enum: [all …]
|
| /linux/drivers/staging/sm750fb/ |
| H A D | ddk750_display.c | 1 // SPDX-License-Identifier: GPL-2.0 36 * until a few delay. Need to write and read it a in set_display_control() 51 * find out if it is necessary to wait for 1 vsync in set_display_control() 62 static void primary_wait_vertical_sync(int delay) in primary_wait_vertical_sync() argument 67 * Do not wait when the Primary PLL is off or display control is in primary_wait_vertical_sync() 68 * already off. This will prevent the software to wait forever. in primary_wait_vertical_sync() 74 while (delay-- > 0) { in primary_wait_vertical_sync() 75 /* Wait for end of vsync. */ in primary_wait_vertical_sync() 80 /* Wait for start of vsync. */ in primary_wait_vertical_sync() 87 static void sw_panel_power_sequence(int disp, int delay) in sw_panel_power_sequence() argument [all …]
|
| /linux/arch/sh/include/mach-common/mach/ |
| H A D | sh2007.h | 1 /* 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 …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | syna,rmi4.yaml | 1 # 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 …]
|
| /linux/drivers/scsi/fnic/ |
| H A D | vnic_dev.c | 1 // 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 …]
|
| /linux/include/linux/amba/ |
| H A D | pl022.h | 1 /* 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 31 * enum ssp_interface - interfaces allowed for this SSP Controller 48 * enum ssp_hierarchy - whether SSP is configured as Master or Slave 56 * enum ssp_clock_params - clock parameters, to set SSP clock at a 65 * enum ssp_rx_endian - endianess of Rx FIFO Data 74 * enum ssp_tx_endian - endianess of Tx FIFO Data 82 * enum ssp_data_size - number of bits in one data element 98 * enum ssp_mode - SSP mode of operation (Communication modes) [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | rng.c | 27 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 …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_legacy.c | 1 // 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 …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | psp_v11_0_8.c | 35 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() 51 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_stop() 53 /* Wait for response flag (bit 31) */ in psp_v11_0_8_ring_stop() 67 struct psp_ring *ring = &psp->km_ring; in psp_v11_0_8_ring_create() 68 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_create() 78 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 81 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create() 88 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_create() [all …]
|
| H A D | psp_v13_0_4.c | 37 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_init_microcode() 61 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_is_sos_alive() 71 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_wait_for_bootloader() 77 /* Wait for bootloader to signify that is in psp_v13_0_4_wait_for_bootloader() 96 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_bootloader_load_component() 108 memset(psp->fw_pri_buf, 0, PSP_1_MEG); in psp_v13_0_4_bootloader_load_component() 111 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v13_0_4_bootloader_load_component() 115 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_4_bootloader_load_component() 127 return psp_v13_0_4_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_KEY_DATABASE); in psp_v13_0_4_bootloader_load_kdb() 132 return psp_v13_0_4_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_TOS_SPL_TABLE); in psp_v13_0_4_bootloader_load_spl() [all …]
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | vnic_dev.c | 1 // 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 …]
|
| /linux/lib/ |
| H A D | test_objpool.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/delay.h> 37 struct completion wait; member 53 int delay; /* ms */ member 61 /* per-cpu worker */ 73 int delay; member 90 atomic_long_add(size, &test->data.kmalloc.alloc); in ot_kzalloc() 98 atomic_long_add(size, &test->data.kmalloc.free); in ot_kfree() 106 pr_info("memory allocation summary for %s\n", test->name); in ot_mem_report() 108 alloc = atomic_long_read(&test->data.kmalloc.alloc); in ot_mem_report() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | map_btf.c | 1 // SPDX-License-Identifier: GPL-2.0 11 int i, err, new_fd = -1; in do_test_normal_map_btf() 22 skel->bss->pid = getpid(); in do_test_normal_map_btf() 24 ASSERT_TRUE(skel->bss->done, "done"); in do_test_normal_map_btf() 33 new_fd = dup(bpf_map__fd(skel->maps.array)); in do_test_normal_map_btf() 38 /* Use kern_sync_rcu() to wait for the start of the free of the bpf in do_test_normal_map_btf() 39 * program and use an assumed delay to wait for the release of the map in do_test_normal_map_btf() 45 /* Spawn multiple kworkers to delay the invocation of in do_test_normal_map_btf() 58 int err, zero = 0, new_fd = -1; in do_test_map_in_map_btf() 69 skel->bss->pid = getpid(); in do_test_map_in_map_btf() [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | nvidia,tegra20-usb-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra20-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 17 - items: 18 - enum: 19 - nvidia,tegra124-usb-phy [all …]
|
| /linux/drivers/soc/bcm/brcmstb/pm/ |
| H A D | s2-mips.S | 1 /* 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 …]
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2s.h> 30 stdout-path = "serial3:115200n8"; 33 gpio-keys { 34 compatible = "gpio-keys"; 35 pinctrl-names = "default"; [all …]
|
| /linux/drivers/scsi/snic/ |
| H A D | vnic_dev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/delay.h> 55 int wait); 65 return vdev->priv; in svnic_dev_priv() 76 return -EINVAL; in vnic_dev_discover_res() 78 if (bar->len < VNIC_MAX_RES_HDR_SIZE) { in vnic_dev_discover_res() 81 return -EINVAL; in vnic_dev_discover_res() 84 rh = bar->vaddr; in vnic_dev_discover_res() 86 pr_err("vNIC BAR0 res hdr not mem-mapped\n"); in vnic_dev_discover_res() 88 return -EINVAL; in vnic_dev_discover_res() [all …]
|
| /linux/arch/parisc/lib/ |
| H A D | delay.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Precise Delay Loops for parisc 19 #include <asm/delay.h> 23 /* CR16 based delay: */ 40 if ((now - bclock) >= loops) in __cr16_delay() 51 * since CR16's are per-cpu we need to calculate in __cr16_delay() 52 * that. The delay must guarantee that we wait "at in __cr16_delay() 54 * CPU could make the wait longer but we just need to in __cr16_delay() 59 loops -= (now - bclock); in __cr16_delay()
|
| /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 */ 58 u32 page_burst_access; /* Multiple access word delay */ 59 u32 access; /* Start-cycle to first data valid delay */ 105 u32 t_bacc; /* burst access valid clock to output delay */ 113 u32 t_ce_avd; /* CS on to ADV on delay */ 134 #define GPMC_DEVWIDTH_8BIT 1 /* 8-bit device width */ 135 #define GPMC_DEVWIDTH_16BIT 2 /* 16-bit device width */ 136 #define GPMC_MUX_AAD 1 /* Addr-Addr-Data multiplex */ [all …]
|
| /linux/Documentation/devicetree/bindings/i2c/ |
| H A 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 45 4. Otherwise, wait for a few milliseconds and see if THEIR_CLAIMS are released. [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | Kconfig.profile | 28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 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 59 How long to wait (in milliseconds) for a preemption event to occur 77 How long to wait (in milliseconds) for a preemption event to occur 98 take a non-negligible time to setup, we do a short spin first to 110 int "How long to wait for an engine to quiesce gracefully before reset (ms)"
|
| /linux/Documentation/accounting/ |
| H A D | delay-accounting.rst | 2 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 …]
|