/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.txt | 5 - 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 …]
|
/linux/drivers/staging/sm750fb/ |
H A D | ddk750_display.c | 1 // 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 …]
|
/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/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/arch/x86/lib/ |
H A D | delay.c | 1 // 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 …]
|
/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/input/touchscreen/ |
H A D | wm9712.c | 1 // 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 …]
|
H A D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- Codec touch driver for Wolfson WM9713 AC97 Codec. 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 = 4; 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 …]
|
/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/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/include/linux/ |
H A D | delayacct.h | 1 /* 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 tim [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() 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 …]
|
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() 98 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_bootloader_load_component() 110 memset(psp->fw_pri_buf, 0, PSP_1_MEG); in psp_v13_0_4_bootloader_load_component() 113 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v13_0_4_bootloader_load_component() 117 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_4_bootloader_load_component() 129 return psp_v13_0_4_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_KEY_DATABASE); in psp_v13_0_4_bootloader_load_kdb() 134 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/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 - [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/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
H A D | dcn32_clk_mgr_smu_msg.c | 46 * Function to be used instead of REG_WAIT macro because the wait ends when 64 } while (max_retries--); in dcn32_smu_wait_for_response() 66 TRACE_SMU_DELAY(delay_us * (initial_max_retries - max_retries), clk_mgr->base.ctx); in dcn32_smu_wait_for_response() 73 /* Wait for response register to be ready */ in dcn32_smu_send_msg_with_param() 85 TRACE_SMU_MSG(msg_id, param_in, clk_mgr->base.ctx); in dcn32_smu_send_msg_with_param() 87 /* Wait for response */ in dcn32_smu_send_msg_with_param() 99 * Use these functions to return back delay information so we can aggregate the total 100 * delay when requesting hardmin clk 121 } while (max_retries--); in dcn32_smu_wait_for_response_delay() 123 TRACE_SMU_DELAY(*total_delay_us, clk_mgr->base.ctx); in dcn32_smu_wait_for_response_delay() [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 …]
|