Home
last modified time | relevance | path

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

123456

/linux-6.14.4/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 <[email protected]>
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).
22 - $ref: restart-handler.yaml#
[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 <[email protected]>
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-6.14.4/drivers/power/reset/
Dgpio-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/delay.h>
31 struct gpio_poweroff *gpio_poweroff = data->cb_data; in gpio_poweroff_do_poweroff()
33 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
34 gpiod_direction_output(gpio_poweroff->reset_gpio, 1); in gpio_poweroff_do_poweroff()
35 mdelay(gpio_poweroff->active_delay_ms); in gpio_poweroff_do_poweroff()
37 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff()
38 gpiod_set_value_cansleep(gpio_poweroff->reset_gpio, 0); in gpio_poweroff_do_poweroff()
39 mdelay(gpio_poweroff->inactive_delay_ms); in gpio_poweroff_do_poweroff()
41 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
[all …]
/linux-6.14.4/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 <[email protected]>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/linux-6.14.4/drivers/spi/
Dspi-mt65xx.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <linux/platform_data/spi-mt65xx.h>
21 #include <linux/spi/spi-mem.h>
22 #include <linux/dma-mapping.h>
115 * struct mtk_spi_compatible - device data structure
133 * struct mtk_spi - SPI driver instance
151 * @spimem_done: SPI-MEM operation completion
152 * @use_spimem: Enables SPI-MEM
154 * @tx_dma: DMA start for SPI-MEM TX
155 * @rx_dma: DMA start for SPI-MEM RX
[all …]
Dspi-apple.c1 // SPDX-License-Identifier: GPL-2.0
7 // Based on spi-sifive.c, Copyright 2018 SiFive, Inc.
114 * intra-word delay is 0xffff refclocks. So the maximum time a transfer
117 * (0x7ff * 32 + 0xffff) * 16 / 24e6 Hz ~= 87ms
119 * Double it and round it up to 200ms for good measure.
126 struct completion done; /* wake-up from interrupt */
131 writel_relaxed(value, spi->regs + offset); in reg_write()
136 return readl_relaxed(spi->regs + offset); in reg_read()
150 /* Set CS high (inactive) and disable override and auto-CS */ in apple_spi_init()
176 struct spi_device *device = msg->spi; in apple_spi_prepare_message()
[all …]
/linux-6.14.4/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
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-6.14.4/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-6.14.4/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <[email protected]>
11 - Pavel Machek <[email protected]>
25 led-sources:
30 $ref: /schemas/types.yaml#/definitions/uint32-array
35 from the header include/dt-bindings/leds/common.h. If there is no
42 the header include/dt-bindings/leds/common.h. If there is no matching
48 function-enumerator:
[all …]
/linux-6.14.4/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>
54 #include "tick-internal.h"
[all …]
/linux-6.14.4/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 const struct dlm_message *ms, bool local);
90 static int receive_extralen(const struct dlm_message *ms);
95 * Lock compatibilty matrix - thanks Steve
120 * -1 = nothing happens to the LVB
125 { -1, 1, 1, 1, 1, 1, 1, -1 }, /* UN */
126 { -1, 1, 1, 1, 1, 1, 1, 0 }, /* NL */
[all …]
/linux-6.14.4/drivers/video/backlight/
Dpwm_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/delay.h>
43 if (pb->enabled) in pwm_backlight_power_on()
46 if (pb->power_supply) { in pwm_backlight_power_on()
47 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on()
49 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on()
52 if (pb->post_pwm_on_delay) in pwm_backlight_power_on()
53 msleep(pb->post_pwm_on_delay); in pwm_backlight_power_on()
55 gpiod_set_value_cansleep(pb->enable_gpio, 1); in pwm_backlight_power_on()
57 pb->enabled = true; in pwm_backlight_power_on()
[all …]
/linux-6.14.4/drivers/input/keyboard/
Dmatrix_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/delay.h>
29 /* key debounce interval in milli-second */
51 * HiZ when de-activated to cause minmal side effect when scanning other
53 * driven with the inactive value.
58 gpiod_direction_output(keypad->col_gpios[col], 1); in __activate_col()
60 gpiod_set_value_cansleep(keypad->col_gpios[col], 0); in __activate_col()
61 if (!keypad->drive_inactive_cols) in __activate_col()
62 gpiod_direction_input(keypad->col_gpios[col]); in __activate_col()
70 if (on && keypad->col_scan_delay_us) in activate_col()
[all …]
/linux-6.14.4/drivers/pci/controller/
Dpcie-rockchip.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Author: Shawn Lin <shawn.lin@rock-chips.com>
8 * Wenrui Li <wenrui.li@rock-chips.com>
15 #include <linux/delay.h>
25 #include "pcie-rockchip.h"
29 struct device *dev = rockchip->dev; in rockchip_pcie_parse_dt()
31 struct device_node *node = dev->of_node; in rockchip_pcie_parse_dt()
35 if (rockchip->is_rc) { in rockchip_pcie_parse_dt()
38 "axi-base"); in rockchip_pcie_parse_dt()
39 rockchip->reg_base = devm_pci_remap_cfg_resource(dev, regs); in rockchip_pcie_parse_dt()
[all …]
/linux-6.14.4/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-6.14.4/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac-cfg.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2019, 2021-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
13 * enum iwl_mac_conf_subcmd_ids - mac configuration command IDs
100 * struct iwl_p2p_noa_attr - NOA attr contained in probe resp FW notification
123 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter
140 * struct iwl_missed_vap_notif - notification of missing vap detection
155 * struct iwl_channel_switch_start_notif_v1 - Channel switch start notification
164 * struct iwl_channel_switch_start_notif - Channel switch start notification
[all …]
/linux-6.14.4/drivers/usb/common/
Dusb-conn-gpio.c1 // SPDX-License-Identifier: GPL-2.0
9 * Some code borrowed from drivers/extcon/extcon-usb-gpio.c
25 #define USB_GPIO_DEB_MS 20 /* ms */
52 * so if "HOST" is active (i.e. ID is 0) we keep "DEVICE" inactive
56 * ------------------------------------
63 * - VBUS only - we want to distinguish between [1] and [2], so ID is always 1
64 * - ID only - we want to distinguish between [1] and [4], so VBUS = ID
76 id = info->id_gpiod ? in usb_conn_detect_cable()
77 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable()
78 vbus = info->vbus_gpiod ? in usb_conn_detect_cable()
[all …]
/linux-6.14.4/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 <[email protected]>
13 #include <linux/delay.h>
82 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep()
86 /* Use a 20% upper bound, 1ms minimum */ in pci_dev_d3_sleep()
95 return dev->reset_methods[0] != 0; in pci_reset_supported()
114 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size,
125 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */
[all …]
/linux-6.14.4/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-6.14.4/drivers/hid/intel-ish-hid/ipc/
Dipc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2014-2016, Intel Corporation.
8 #include <linux/devm-helpers.h>
11 #include <linux/delay.h>
14 #include "hw-ish.h"
22 * ish_reg_read() - Read register
35 return readl(hw->mem_addr + offset); in ish_reg_read()
39 * ish_reg_write() - Write register
52 writel(value, hw->mem_addr + offset); in ish_reg_write()
56 * _ish_read_fw_sts_reg() - Read FW status register
[all …]
/linux-6.14.4/drivers/usb/core/
Dhub.c1 // SPDX-License-Identifier: GPL-2.0
66 * The SET_ADDRESS request timeout will be 500 ms when
69 #define USB_SHORT_SET_ADDRESS_REQ_TIMEOUT 500 /* ms */
71 /* Protect struct usb_device->state and ->children members
72 * Note: Both are also protected by ->dev.sem, except that ->state can
80 /* synchronize hub-port add/remove and peering operations */
90 * 10 seconds to send reply for the initial 64-byte descriptor request.
92 /* define initial 64-byte descriptor request timeout in milliseconds */
96 "initial 64-byte descriptor request timeout in milliseconds "
97 "(default 5000 - 5.0 seconds)");
[all …]
/linux-6.14.4/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-6.14.4/drivers/scsi/lpfc/
Dlpfc.h4 * Copyright (C) 2017-2024 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 *
65 #define LPFC_IOCB_LIST_CNT 2250 /* list of IOCBs for fast-path usage. */
101 /* Number of MSI-X vectors the driver uses */
133 * Provide for FC4 TYPE x28 - NVME. The
342 u8 delete_inactive; /* Delete if inactive flag 0 = no, 1 = yes */
348 (vport->vmid_priority_tagging ? 1 : 0)
397 LPFC_LINK_UP = 5, /* Link is up - issue READ_LA */
[all …]
/linux-6.14.4/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>
26 * ixgbe_set_pcie_completion_timeout - set pci-e completion timeout
29 * The defaults for 82598 should be in the range of 50us to 50ms,
30 * however the hardware default for these parts is 500us to 1ms which is less
31 * than the 10ms recommended by the pci-e spec. To address this we need to
32 * increase the value to either 10ms to 250ms for capability version 1 config,
33 * or 16ms to 55ms for version 2.
40 if (ixgbe_removed(hw->hw_addr)) in ixgbe_set_pcie_completion_timeout()
[all …]

123456