/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | ti,palmas-pwrbutton.txt | 10 - compatible: should be one of the following 11 - "ti,palmas-pwrbutton": For Palmas compatible power on button 12 - interrupts: Interrupt number of power button submodule on device. 16 - ti,palmas-long-press-seconds: Duration in seconds which the power 20 - ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds 29 compatible = "ti,palmas-pwrbutton"; 30 interrupt-parent = <&tps659038>; 32 ti,palmas-long-press-seconds = <12>; 33 ti,palmas-pwron-debounce-milli-seconds = <15>;
|
/openbmc/linux/include/linux/input/ |
H A D | kxtj9.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 unsigned int min_interval; /* minimum poll interval (in milli-seconds) */ 14 unsigned int init_interval; /* initial poll interval (in milli-seconds) */ 32 /* CTRL_REG1: set resolution, g-range, data ready enable */ 33 /* Output resolution: 8-bit valid or 12-bit valid */ 37 /* Output g-range: +/-2g, 4g, or 8g */
|
/openbmc/linux/include/linux/ |
H A D | watchdog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 /** struct watchdog_ops - The watchdog-devices operations 32 * @set_timeout:The routine for setting the watchdog devices timeout value (in seconds). 34 * @get_timeleft:The routine that gets the time left before a reset (in seconds). 38 * The watchdog_ops structure contains a list of low-level operations 58 /** struct watchdog_device - The structure that defines a watchdog device 68 * @timeout: The watchdog devices timeout value (in seconds). 70 * @min_timeout:The watchdog devices minimum timeout value (in seconds). 71 * @max_timeout:The watchdog devices maximum timeout value (in seconds) 76 * in milli-seconds. [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | time_utils.hpp | 38 Seconds, in fromDurationString() enumerator 72 size_t charactersRead = static_cast<size_t>(ptr - v.data()); in fromDurationString() 104 if (stage > ProcessingStage::Seconds) in fromDurationString() 108 out += std::chrono::seconds(ticks); in fromDurationString() 113 // We could be seeing seconds for the first time, (as is the case in in fromDurationString() 115 if (stage <= ProcessingStage::Seconds) in fromDurationString() 117 out += std::chrono::seconds(ticks); in fromDurationString() 127 // Seconds could be any form of (1S, 1.1S, 1.11S, 1.111S); in fromDurationString() 166 ms -= days; in toDurationString() 169 ms -= hours; in toDurationString() [all …]
|
/openbmc/linux/tools/thermal/thermometer/ |
H A D | thermometer.8 | 2 # SPDX-License-Identifier: GPL-2.0 4 \fBthermometer\fP - A thermal profiling tool 44 The \fB-h, --help\fP option shows a short usage help 46 The \fB-o <dir>, --output <dir>\fP option defines the output directory to put the 49 The \fB-c <config>, --config <config>\fP option specifies the configuration file to use 51 The \fB-d <seconds>, --duration <seconds>\fP option specifies the duration of the capture 53 The \fB-l <loglevel>, --loglevel <loglevel>\fP option sets the loglevel [DEBUG,INFO,NOTICE,WARN,ERR… 55 The \fB-p <string>, --postfix <string>\fP option appends \fBstring\fP at the end of the capture fil… 57 The \fB-s, --syslog\fP option sets the output to syslog, default is \fBstdout\fP 59 The \fB-w, --overwrite\fP overwrites the output files if they exist [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | Kconfig.aic79xx | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic79xx#4 $ 11 This driver supports all of Adaptec's Ultra 320 PCI-X 28 Due to resource allocation issues in the Linux SCSI mid-layer, using 38 int "Initial bus reset delay in milli-seconds" 46 Default: 5000 (5 seconds) 75 are defined in the drivers/scsi/aic7xxx/aic79xx.h - search for the
|
H A D | Kconfig.aic7xxx | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic7xxx#7 $ 7 tristate "Adaptec AIC7xxx Fast -> U160 support" 33 Due to resource allocation issues in the Linux SCSI mid-layer, using 43 int "Initial bus reset delay in milli-seconds" 51 Default: 5000 (5 seconds) 80 are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the
|
/openbmc/linux/drivers/power/supply/ |
H A D | ug3105_battery.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead it is 7 * its coulomb-counter before it can wrap (must be read every 400 seconds!). 9 * Since Linux does not monitor coulomb-counter changes while the device 25 * readings, esp. in the 30-70% range and allow userspace to estimate time 28 * capacity during run-time ? 32 * in a total_coulomb_count increase of 3277 units with a 5 milli-ohm sense R. 37 #include <linux/devm-helpers.h> 75 int ocv[UG3105_MOV_AVG_WINDOW]; /* micro-volt */ 76 int intern_res[UG3105_MOV_AVG_WINDOW]; /* milli-ohm */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | synopsys-dw-mshc-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: mmc-controller.yaml# 13 - Ulf Hansson <ulf.hansson@linaro.org> 20 reset-names: 23 clock-frequency: 29 fifo-depth: 36 card-detect-delay: [all …]
|
/openbmc/linux/Documentation/watchdog/ |
H A D | watchdog-kernel-api.rst | 5 Last reviewed: 12-Feb-2013 10 ------------ 14 file: Documentation/watchdog/watchdog-api.rst . 24 ------- 83 * timeout: the watchdog timer's timeout value (in seconds). 86 * pretimeout: the watchdog timer's pretimeout value (in seconds). 87 * min_timeout: the watchdog timer's minimum timeout value (in seconds). 89 * max_timeout: the watchdog timer's maximum timeout value (in seconds), 91 'timeout'. Not used if max_hw_heartbeat_ms is non-zero. 93 in milli-seconds. This value is normally 0; it should only be provided [all …]
|
/openbmc/linux/include/linux/extcon/ |
H A D | extcon-adc-jack.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * include/linux/extcon/extcon-adc-jack.h 5 * Analog Jack extcon driver with ADC-based detection capability. 18 * struct adc_jack_cond - condition to use an extcon state 38 * struct adc_jack_pdata - platform data for adc jack device. 39 * @name: name of the extcon device. If null, "adc-jack" is used. 49 * milli-seconds after the interrupt occurs. You may 51 * is rounded-off by jiffies.
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | common_baco.c | 29 struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev); in baco_wait_register() 35 timeout--; in baco_wait_register() 47 struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev); in baco_cmd_handler() 65 /* Delay in milli Seconds */ in baco_cmd_handler() 70 /* Delay in micro Seconds */ in baco_cmd_handler() 75 dev_warn(adev->dev, "Invalid BACO command.\n"); in baco_cmd_handler() 105 struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev); in soc15_baco_program_registers() 112 reg = adev->reg_offset[entry[i].hwip][entry[i].inst][entry[i].seg] in soc15_baco_program_registers()
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 15 for use in high-power density portable electronics. These inductorless 20 - $ref: power-supply.yaml# 25 - ti,bq25980 26 - ti,bq25975 27 - ti,bq25960 32 ti,watchdog-timeout-ms: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ti,tsc2005.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 11 - Michael Welling <mwelling@ieee.org> 19 - ti,tsc2004 20 - ti,tsc2005 31 reset-gpios: 35 spi-max-frequency: 39 ti,x-plate-ohms: [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7m/ |
H A D | systick-timer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Based on arch/arm/mach-stm32/stm32f1/timer.c 13 * The SysTick timer is a 24-bit count down timer. The clock can be either the 29 /* SysTick Base Address - fixed for all Cortex M3, M4 and M7 devices */ 47 /* read the 24-bit timer */ 53 return TIMER_MAX_VAL - readl(&systick->current_val); in read_timer() 61 writel(TIMER_MAX_VAL, &systick->reload_val); in timer_init() 63 writel(0, &systick->current_val); in timer_init() 65 cal = readl(&systick->calibration); in timer_init() 68 writel(SYSTICK_CTRL_EN | SYSTICK_CTRL_CPU_CLK, &systick->ctrl); in timer_init() [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | btmrvl.rst | 14 bit 8:0 -- Gap 15 bit 16:8 -- GPIO 18 It could be any valid GPIO pin# (e.g. 0-7) or 0xff (SDIO interface 21 where Gap is the gap in milli seconds between wakeup signal and 39 1 -- Enable auto sleep mode 40 0 -- Disable auto sleep mode 58 1 -- Enable host sleep 59 0 -- Wake up firmware 106 hcitool cmd 0x3f 0x5b 0xf5 0x01 0x00 --Enable All interface 107 hcitool cmd 0x3f 0x5b 0xf5 0x01 0x01 --Enable Wlan interface [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | palmas-pwrbutton.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012-2014 Texas Instruments Incorporated - http://www.ti.com/ 26 * struct palmas_pwron - Palmas power on data 40 * struct palmas_pwron_config - configuration of palmas power on 50 * palmas_power_button_work() - Detects the button release event 58 struct input_dev *input_dev = pwron->input_dev; in palmas_power_button_work() 62 error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE, in palmas_power_button_work() 65 dev_err(input_dev->dev.parent, in palmas_power_button_work() 73 schedule_delayed_work(&pwron->input_work, in palmas_power_button_work() 79 * pwron_irq() - button press isr [all …]
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | oct_ilm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <asm/octeon/cvmx-ciu-defs.h> 65 /* interval in milli seconds after which the interrupt will in init_latency_info() 74 li->io_interval = (octeon_get_io_clock_rate() * interval) / 1000; in init_latency_info() 75 li->cpu_interval = (octeon_get_clock_rate() * interval) / 1000; in init_latency_info() 77 li->timer_start1 = 0; in init_latency_info() 78 li->timer_start2 = 0; in init_latency_info() 79 li->max_latency = 0; in init_latency_info() 80 li->min_latency = (u64)-1; in init_latency_info() 81 li->latency_sum = 0; in init_latency_info() [all …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen4_hw_data.h | 1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ 108 * value should be a few milli-seconds.
|
H A D | adf_gen2_hw_data.h | 1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ 130 * value should be a few milli-seconds.
|
/openbmc/phosphor-host-ipmid/app/ |
H A D | watchdog.cpp | 8 #include <phosphor-logging/elog-errors.hpp> 9 #include <phosphor-logging/elog.hpp> 10 #include <phosphor-logging/lg2.hpp> 36 // for the commit to finish. commit<>() can take at least 5 seconds in reportError() 184 * - timerUse 185 * - dontStopTimer 186 * - dontLog 187 * - timerAction 188 * - pretimeout 189 * - expireFlags [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | xilinx_wwdt.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2022 - 2024, Advanced Micro Devices, Inc. 50 "Watchdog time in seconds. (default=" 57 * struct xwwdt_device - Watchdog device structure 79 struct watchdog_device *xilinx_wwdt_wdd = &xdev->xilinx_wwdt_wdd; in xilinx_wwdt_start() 82 spin_lock(&xdev->spinlock); in xilinx_wwdt_start() 84 iowrite32(XWWDT_MWR_MASK, xdev->base + XWWDT_MWR_OFFSET); in xilinx_wwdt_start() 85 iowrite32(~(u32)XWWDT_ESR_WEN_MASK, xdev->base + XWWDT_ESR_OFFSET); in xilinx_wwdt_start() 86 iowrite32((u32)xdev->closed_timeout, xdev->base + XWWDT_FWR_OFFSET); in xilinx_wwdt_start() 87 iowrite32((u32)xdev->open_timeout, xdev->base + XWWDT_SWR_OFFSET); in xilinx_wwdt_start() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | tmp102.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/hwmon-sysfs.h> 52 #define CONVERSION_TIME_MS 35 /* in milli-seconds */ 60 /* convert left adjusted 13-bit TMP102 register value to milliCelsius */ 66 /* convert milliCelsius to left adjusted 13-bit TMP102 register value */ 82 if (time_before(jiffies, tmp102->ready_time)) { in tmp102_read() 84 return -EAGAIN; in tmp102_read() 95 return -EOPNOTSUPP; in tmp102_read() 98 err = regmap_read(tmp102->regmap, reg, ®val); in tmp102_read() 120 return -EOPNOTSUPP; in tmp102_write() [all …]
|
H A D | sht4x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * sht4x.c - Linux hwmon driver for SHT4x Temperature and Humidity sensor 41 #define SHT4X_MIN_TEMPERATURE -45000 49 * struct sht4x_data - All the data required to operate an SHT4X chip 61 long update_interval; /* in milli-seconds */ 68 * sht4x_read_values() - read and parse the raw data from the SHT4X 70 * Return: 0 if successful, -ERRNO if not 77 struct i2c_client *client = data->client; in sht4x_read_values() 82 mutex_lock(&data->lock); in sht4x_read_values() 83 next_update = data->last_updated + in sht4x_read_values() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio | 3 Contact: linux-iio@vger.kernel.org 11 Contact: linux-iio@vger.kernel.org 25 Contact: linux-iio@vger.kernel.org 31 Contact: linux-iio@vger.kernel.org 38 Contact: linux-iio@vger.kernel.org 44 The contents of the label are free-form, but there are some 51 * "proximity-wifi" 52 * "proximity-lte" 53 * "proximity-wifi-lte" 54 * "proximity-wifi-left" [all …]
|