Home
last modified time | relevance | path

Searched +full:inactive +full:- +full:delay +full:- +full:ms (Results 1 – 25 of 130) sorted by relevance

123456

/Linux-v6.1/Documentation/devicetree/bindings/power/reset/
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
16 is expected to be switched back to inactive. After another
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
[all …]
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 …]
/Linux-v6.1/drivers/power/reset/
Dgpio-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/delay.h>
32 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
36 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff()
40 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
56 dev_err(&pdev->dev, in gpio_poweroff_probe()
59 return -EBUSY; in gpio_poweroff_probe()
62 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe()
68 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe()
69 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dgpio-matrix-keypad.txt6 keypad can sense a key-press and key-release by means of GPIO lines and
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
14 - col-gpios: List of gpios used as column lines. The gpio specifier
17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
21 - linux,no-autorepeat: do no enable autorepeat feature.
22 - wakeup-source: use any event on keypad as wakeup event.
24 - debounce-delay-ms: debounce interval in milliseconds
25 - col-scan-delay-us: delay, measured in microseconds, that is needed
[all …]
Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
28 irq-gpios:
31 Specifies the GPIO connected to the device's active-low RDY output.
33 reset-gpios:
[all …]
/Linux-v6.1/drivers/spi/
Dspi-mt65xx.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <linux/platform_data/spi-mt65xx.h>
20 #include <linux/spi/spi-mem.h>
21 #include <linux/dma-mapping.h>
114 * struct mtk_spi_compatible - device data structure
132 * struct mtk_spi - SPI driver instance
150 * @spimem_done: SPI-MEM operation completion
151 * @use_spimem: Enables SPI-MEM
153 * @tx_dma: DMA start for SPI-MEM TX
154 * @rx_dma: DMA start for SPI-MEM RX
[all …]
/Linux-v6.1/include/linux/amba/
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 …]
/Linux-v6.1/Documentation/scheduler/
Dsched-deadline.rst12 3. Scheduling Real-Time Tasks
18 4.1 System-wide settings
33 system behavior. As for -rt (group) scheduling, it is assumed that root users
50 ------------------
70 with the "traditional" real-time task model (see Section 3) can effectively
76 - Each SCHED_DEADLINE task is characterized by the "runtime",
79 - The state of the task is described by a "scheduling deadline", and
82 - When a SCHED_DEADLINE task wakes up (becomes ready for execution),
86 ---------------------------------- > ---------
87 scheduling deadline - current time period
[all …]
/Linux-v6.1/kernel/time/
Dtimer.c1 // SPDX-License-Identifier: GPL-2.0
7 * 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better.
9 * 1997-09-10 Updated NTP code according to technical memorandum Jan '96
11 * 1998-12-24 Fixed a xtime SMP race (we need the xtime_lock rw spinlock to
14 * 1999-03-10 Improved NTP compatibility by Ulrich Windl
15 * 2002-05-31 Move sys_sysinfo here and make its locking sane, Robert Love
16 * 2000-10-05 Implemented scalable SMP per-CPU timer handling.
33 #include <linux/posix-timers.h>
36 #include <linux/delay.h>
55 #include "tick-internal.h"
[all …]
/Linux-v6.1/include/linux/input/
Dadxl34x.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
71 * factor is 1.25 ms/LSB. A zero value will disable the Double Tap
81 * tap can begin. The scale factor is 1.25 ms/LSB. A zero value will
109 * considered inactive and the inactivity interrupt is triggered.
152 * result in the function appearing un-responsive if the
162 * holds the threshold value for Free-Fall detection.
163 * The data format is unsigned. The root-sum-square(RSS) value
167 * result in undesirable behavior if Free-Fall interrupt is
178 * free_fall_threshold to generate a Free-Fall interrupt. The
179 * scale factor is 5 ms/LSB. A zero value may result in
[all …]
/Linux-v6.1/drivers/input/keyboard/
Dmatrix_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/delay.h>
43 * HiZ when de-activated to cause minmal side effect when scanning other
45 * driven with the inactive value.
50 bool level_on = !pdata->active_low; in __activate_col()
53 gpio_direction_output(pdata->col_gpios[col], level_on); in __activate_col()
55 gpio_set_value_cansleep(pdata->col_gpios[col], !level_on); in __activate_col()
56 if (!pdata->drive_inactive_cols) in __activate_col()
57 gpio_direction_input(pdata->col_gpios[col]); in __activate_col()
66 if (on && pdata->col_scan_delay_us) in activate_col()
[all …]
/Linux-v6.1/drivers/usb/common/
Dusb-conn-gpio.c1 // SPDX-License-Identifier: GPL-2.0
9 * Some code borrowed from drivers/extcon/extcon-usb-gpio.c
24 #define USB_GPIO_DEB_MS 20 /* ms */
50 * so if "HOST" is active (i.e. ID is 0) we keep "DEVICE" inactive
54 * ------------------------------------
61 * - VBUS only - we want to distinguish between [1] and [2], so ID is always 1
62 * - ID only - we want to distinguish between [1] and [4], so VBUS = ID
74 id = info->id_gpiod ? in usb_conn_detect_cable()
75 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable()
76 vbus = info->vbus_gpiod ? in usb_conn_detect_cable()
[all …]
/Linux-v6.1/drivers/net/wireless/ti/wlcore/
Dconf.h1 /* SPDX-License-Identifier: GPL-2.0-only */
117 * Range: 0 - 0xFFFFFFFF
130 * after a PS-poll has been transmitted.
132 * Range: 0 - 200000
139 * Range: 0 - 200000
147 * Range: 0 - 4096
161 * Occupied Rx mem-blocks number which requires interrupting the host
177 * Max time in msec the FW may delay RX-Complete interrupt.
179 * Range: 1 - 100
273 * Range: bit 0: Truncate - when set, FW attempts to send a frame stop
[all …]
/Linux-v6.1/drivers/pci/
Dpci.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter,
6 * David Mosberger-Tang
8 * Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz>
13 #include <linux/delay.h>
69 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep()
73 /* Use a 20% upper bound, 1ms minimum */ in pci_dev_d3_sleep()
82 return dev->reset_methods[0] != 0; in pci_reset_supported()
101 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size,
112 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */
[all …]
/Linux-v6.1/drivers/hid/intel-ish-hid/ipc/
Dipc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2014-2016, Intel Corporation.
10 #include <linux/delay.h>
13 #include "hw-ish.h"
21 * ish_reg_read() - Read register
34 return readl(hw->mem_addr + offset); in ish_reg_read()
38 * ish_reg_write() - Write register
51 writel(value, hw->mem_addr + offset); in ish_reg_write()
55 * _ish_read_fw_sts_reg() - Read FW status register
68 * check_generated_interrupt() - Check if ISH interrupt
[all …]
/Linux-v6.1/Documentation/networking/
Dbonding.rst1 .. SPDX-License-Identifier: GPL-2.0
11 Corrections, HA extensions: 2000/10/03-15:
13 - Willy Tarreau <willy at meta-x.org>
14 - Constantine Gavrilov <const-g at xpert.com>
15 - Chad N. Tindel <ctindel at ieee dot org>
16 - Janice Girouard <girouard at us dot ibm dot com>
17 - Jay Vosburgh <fubar at us dot ibm dot com>
22 - Mitch Williams <mitch.a.williams at intel.com>
35 the original tools from extreme-linux and beowulf sites will not work
119 -----------------------------------------------
[all …]
/Linux-v6.1/drivers/scsi/lpfc/
Dlpfc.h4 * Copyright (C) 2017-2022 Broadcom. All Rights Reserved. The term *
6 * Copyright (C) 2004-2016 Emulex. All rights reserved. *
9 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
64 #define LPFC_IOCB_LIST_CNT 2250 /* list of IOCBs for fast-path usage. */
100 /* Number of MSI-X vectors the driver uses */
132 * Provide for FC4 TYPE x28 - NVME. The
334 u8 delete_inactive; /* Delete if inactive flag 0 = no, 1 = yes */
340 (vport->vmid_priority_tagging ? 1 : 0)
389 LPFC_LINK_UP = 5, /* Link is up - issue READ_LA */
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
5 #include <linux/delay.h>
25 * ixgbe_set_pcie_completion_timeout - set pci-e completion timeout
28 * The defaults for 82598 should be in the range of 50us to 50ms,
29 * however the hardware default for these parts is 500us to 1ms which is less
30 * than the 10ms recommended by the pci-e spec. To address this we need to
31 * increase the value to either 10ms to 250ms for capability version 1 config,
32 * or 16ms to 55ms for version 2.
39 if (ixgbe_removed(hw->hw_addr)) in ixgbe_set_pcie_completion_timeout()
[all …]
/Linux-v6.1/drivers/usb/core/
Dhub.c1 // SPDX-License-Identifier: GPL-2.0
54 /* Protect struct usb_device->state and ->children members
55 * Note: Both are also protected by ->dev.sem, except that ->state can
63 /* synchronize hub-port add/remove and peering operations */
73 * 10 seconds to send reply for the initial 64-byte descriptor request.
75 /* define initial 64-byte descriptor request timeout in milliseconds */
79 "initial 64-byte descriptor request timeout in milliseconds "
80 "(default 5000 - 5.0 seconds)");
125 if (hub_is_superspeedplus(hub->hdev)) in portspeed()
127 if (hub_is_superspeed(hub->hdev)) in portspeed()
[all …]
/Linux-v6.1/drivers/scsi/
DNCR5380.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * +1 (303) 666-5836
19 * 1+ (719) 578-3400
20 * 1+ (800) 334-5454
26 #include <linux/delay.h>
65 * either arbitration is occurring or the phase-indicating signals (
76 #define ICR_TRI_STATE 0x40 /* wo Set to tri-state drivers */
137 #define BASR_BUSY_ERROR 0x04 /* ro Unexpected change to inactive state */
198 #define FLAG_TOSHIBA_DELAY 128 /* Allow for borken CD-ROMs */
201 NCR5380_implementation_fields; /* Board-specific data */
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dam57xx-beagle-x15-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "am57xx-commercial-grade.dtsi"
9 #include "dra74x-mmc-iodelay.dtsi"
10 #include "dra74-ipu-dsp-common.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
25 stdout-path = &uart3;
[all …]
/Linux-v6.1/sound/soc/codecs/
Dtlv320aic3x.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * ---------------------------------------
17 * MONO_LOUT -> N/A | MONO_LOUT -> N/A
18 * | IN1L -> LINE1L
19 * | IN1R -> LINE1R
20 * | IN2L -> LINE2L
21 * | IN2R -> LINE2R
22 * | MIC3L/R -> N/A
25 * ---------------------------------------
34 #include <linux/delay.h>
[all …]
/Linux-v6.1/fs/dlm/
Dlock.c1 // SPDX-License-Identifier: GPL-2.0-only
5 ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved.
52 L: send_xxxx() -> R: receive_xxxx()
54 L: receive_xxxx_reply() <- R: send_xxxx_reply()
89 struct dlm_message *ms);
90 static int receive_extralen(struct dlm_message *ms);
96 * Lock compatibilty matrix - thanks Steve
121 * -1 = nothing happens to the LVB
126 { -1, 1, 1, 1, 1, 1, 1, -1 }, /* UN */
127 { -1, 1, 1, 1, 1, 1, 1, 0 }, /* NL */
[all …]
/Linux-v6.1/drivers/pci/hotplug/
Dpciehp_hpc.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2003-2004 Intel Corporation
36 * assert presence detect--and those will still work, they will
37 * just have a bit of extra delay before being probed.
50 return ctrl->pcie->port; in ctrl_dev()
59 int retval, irq = ctrl->pcie->irq; in pciehp_request_irq()
62 ctrl->poll_thread = kthread_run(&pciehp_poll, ctrl, in pciehp_request_irq()
63 "pciehp_poll-%s", in pciehp_request_irq()
65 return PTR_ERR_OR_ZERO(ctrl->poll_thread); in pciehp_request_irq()
[all …]
/Linux-v6.1/block/
Dblk-iocost.c1 /* SPDX-License-Identifier: GPL-2.0
17 * useless for the purpose of IO capacity distribution. While on-device
19 * non-queued rotational devices, this is no longer viable with modern
27 * implement a reasonable work-conserving proportional IO resource
34 * device time. If a given IO is estimated to cost 10ms, the device should
37 * Currently, there's only one builtin cost model - linear. Each IO is
47 * device-specific coefficients.
54 * 2-1. Vtime Distribution
75 * against the device vtime - an IO which takes 10ms on the underlying
76 * device is considered to take 80ms on A0.
[all …]

123456