/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
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 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 …]
|
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 …]
|
/openbmc/linux/drivers/power/reset/ |
H A D | gpio-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/delay.h> 33 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 37 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff() 41 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 57 dev_err(&pdev->dev, in gpio_poweroff_probe() 60 return -EBUSY; in gpio_poweroff_probe() 63 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe() 69 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe() 70 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-matrix-keypad.txt | 6 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 …]
|
H A D | azoteq,iqs7222.yaml | 1 # 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 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
/openbmc/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 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/drivers/spi/ |
H A D | spi-mt65xx.c | 1 // 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 …]
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-deadline.rst | 12 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 …]
|
/openbmc/linux/drivers/video/backlight/ |
H A D | pwm_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/delay.h> 45 if (pb->enabled) in pwm_backlight_power_on() 48 if (pb->power_supply) { in pwm_backlight_power_on() 49 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on() 51 dev_err(pb->dev, "failed to enable power supply\n"); in pwm_backlight_power_on() 54 if (pb->post_pwm_on_delay) in pwm_backlight_power_on() 55 msleep(pb->post_pwm_on_delay); in pwm_backlight_power_on() 57 gpiod_set_value_cansleep(pb->enable_gpio, 1); in pwm_backlight_power_on() 59 pb->enabled = true; in pwm_backlight_power_on() [all …]
|
/openbmc/linux/kernel/time/ |
H A D | timer.c | 1 // 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 …]
|
/openbmc/linux/include/linux/input/ |
H A D | adxl34x.h | 1 /* 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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | mac-cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2019, 2021-2022 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 84 * struct iwl_p2p_noa_attr - NOA attr contained in probe resp FW notification 107 * struct iwl_probe_resp_data_notif - notification with NOA and CSA counter 124 * struct iwl_missed_vap_notif - notification of missing vap detection 139 * struct iwl_channel_switch_start_notif - Channel switch start notification 148 * struct iwl_channel_switch_start_notif - Channel switch start notification [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | matrix_keypad.c | 1 // 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 …]
|
/openbmc/linux/drivers/usb/common/ |
H A D | usb-conn-gpio.c | 1 // 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 */ 51 * so if "HOST" is active (i.e. ID is 0) we keep "DEVICE" inactive 55 * ------------------------------------ 62 * - VBUS only - we want to distinguish between [1] and [2], so ID is always 1 63 * - ID only - we want to distinguish between [1] and [4], so VBUS = ID 75 id = info->id_gpiod ? in usb_conn_detect_cable() 76 gpiod_get_value_cansleep(info->id_gpiod) : 1; in usb_conn_detect_cable() 77 vbus = info->vbus_gpiod ? in usb_conn_detect_cable() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | conf.h | 1 /* 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 …]
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rockchip.c | 1 // 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 …]
|
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 1 // 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 …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 64 * The SET_ADDRESS request timeout will be 500 ms when 67 #define USB_SHORT_SET_ADDRESS_REQ_TIMEOUT 500 /* ms */ 69 /* Protect struct usb_device->state and ->children members 70 * Note: Both are also protected by ->dev.sem, except that ->state can 78 /* synchronize hub-port add/remove and peering operations */ 88 * 10 seconds to send reply for the initial 64-byte descriptor request. 90 /* define initial 64-byte descriptor request timeout in milliseconds */ 94 "initial 64-byte descriptor request timeout in milliseconds " 95 "(default 5000 - 5.0 seconds)"); [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | pci.c | 1 // 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> 84 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep() 88 /* Use a 20% upper bound, 1ms minimum */ in pci_dev_d3_sleep() 97 return dev->reset_methods[0] != 0; in pci_reset_supported() 116 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size, 127 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */ [all …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc.h | 4 * Copyright (C) 2017-2023 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 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 …]
|
/openbmc/linux/Documentation/networking/ |
H A D | bonding.rst | 1 .. 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 …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_82598.c | 1 // 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 …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tlv320aic3x.c | 1 // 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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am57xx-beagle-x15-common.dtsi | 2 * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ 8 /dts-v1/; 11 #include "am57xx-commercial-grade.dtsi" 12 #include "dra74x-mmc-iodelay.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interrupt-controller/irq.h> 17 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; 27 stdout-path = &uart3; 35 vdd_3v3: fixedregulator-vdd_3v3 { 36 compatible = "regulator-fixed"; [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | NCR5380.h | 1 /* 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 …]
|