Home
last modified time | relevance | path

Searched +full:milli +full:- +full:seconds (Results 1 – 25 of 32) sorted by relevance

12

/linux/Documentation/devicetree/bindings/input/
H A Dti,palmas-pwrbutton.txt10 - 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>;
/linux/include/linux/
H A Dwatchdog.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 /** struct watchdog_ops - The watchdog-devices operations
36 * @set_timeout:The routine for setting the watchdog devices timeout value (in seconds).
38 * @get_timeleft:The routine that gets the time left before a reset (in seconds).
42 * The watchdog_ops structure contains a list of low-level operations
62 /** struct watchdog_device - The structure that defines a watchdog device
72 * @timeout: The watchdog devices timeout value (in seconds).
74 * @min_timeout:The watchdog devices minimum timeout value (in seconds).
75 * @max_timeout:The watchdog devices maximum timeout value (in seconds)
80 * in milli-seconds.
[all …]
/linux/include/linux/input/
H A Dkxtj9.h1 /* 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 */
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-intel-xe-hwmon4 Contact: intel-xe@lists.freedesktop.org
8 if the power averaged over a window (typically seconds)
18 Contact: intel-xe@lists.freedesktop.org
27 Contact: intel-xe@lists.freedesktop.org
35 Contact: intel-xe@lists.freedesktop.org
44 Contact: intel-xe@lists.freedesktop.org
48 if the power averaged over a window (typically seconds)
58 Contact: intel-xe@lists.freedesktop.org
66 Contact: intel-xe@lists.freedesktop.org
79 Contact: intel-xe@lists.freedesktop.org
[all …]
/linux/tools/thermal/thermometer/
H A Dthermometer.82 # 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 …]
/linux/drivers/scsi/aic7xxx/
H A DKconfig.aic79xx1 # 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
39 int "Initial bus reset delay in milli-seconds"
47 Default: 5000 (5 seconds)
76 are defined in the drivers/scsi/aic7xxx/aic79xx.h - search for the
H A DKconfig.aic7xxx1 # 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
44 int "Initial bus reset delay in milli-seconds"
52 Default: 5000 (5 seconds)
81 are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the
/linux/Documentation/watchdog/
H A Dwatchdog-kernel-api.rst5 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 …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dsynopsys-dw-mshc-common.yaml1 # 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 …]
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dcommon_baco.c29 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()
/linux/include/linux/extcon/
H A Dextcon-adc-jack.h1 /* 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.
/linux/Documentation/devicetree/bindings/power/supply/
H A Dbq25980.yaml1 # 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 …]
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dti,tsc2005.yaml1 # 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 …]
/linux/Documentation/admin-guide/
H A Dbtmrvl.rst14 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 …]
/linux/tools/testing/selftests/thermal/intel/workload_hint/
H A Dworkload_hint_test.c1 // SPDX-License-Identifier: GPL-2.0
57 printf("Usage: workload_hint_test [notification delay in milli seconds]\n"); in main()
129 ret = poll(&ufd, 1, -1); in main()
/linux/drivers/input/misc/
H A Dpalmas-pwrbutton.c1 // 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 …]
/linux/arch/mips/cavium-octeon/
H A Doct_ilm.c1 // 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 …]
/linux/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_wt_hint.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * - Use mailbox to:
12 * - The predicted workload type can be read from MMIO:
19 * - proc_thermal_check_wt_intr():
23 * - proc_thermal_wt_intr_callback():
64 return -ENODATA; in workload_type_index_show()
69 status = readq(proc_priv->mmio_base + SOC_WT_RES_INT_STATUS_OFFSET); in workload_type_index_show()
96 return -EINVAL; in workload_hint_enable_store()
143 * The result will be in milli seconds. in notification_delay_ms_store()
153 return -EINVAL; in notification_delay_ms_store()
[all …]
/linux/drivers/watchdog/
H A Dxilinx_wwdt.c1 // 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 …]
/linux/drivers/thermal/intel/
H A Dx86_pkg_temp_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
34 * every 5 seconds under load will give us a significant
41 "User space notification delay in milli seconds.");
94 * - cpu hotplug: Read serialized by cpu hotplug lock
97 * - Other callsites: Must hold pkg_temp_lock
113 ret = intel_tcc_get_temp(zonedev->cpu, &val, true); in sys_get_curr_temp()
127 unsigned int trip_index = THERMAL_TRIP_PRIV_TO_INT(trip->priv); in sys_set_trip_temp()
131 tj_max = intel_tcc_get_tjmax(zonedev->cpu); in sys_set_trip_temp()
136 val = (tj_max - temp)/1000; in sys_set_trip_temp()
139 return -EINVAL; in sys_set_trip_temp()
[all …]
/linux/drivers/hwmon/
H A Dlm95241.c1 // SPDX-License-Identifier: GPL-2.0-or-later
80 unsigned long interval; /* in milli-seconds */
103 struct i2c_client *client = data->client; in lm95241_update_device()
105 mutex_lock(&data->update_lock); in lm95241_update_device()
107 if (time_after(jiffies, data->last_updated in lm95241_update_device()
108 + msecs_to_jiffies(data->interval)) || in lm95241_update_device()
109 !data->valid) { in lm95241_update_device()
114 data->temp[i] in lm95241_update_device()
118 data->status = i2c_smbus_read_byte_data(client, in lm95241_update_device()
120 data->last_updated = jiffies; in lm95241_update_device()
[all …]
H A Dtmp464.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #define TMP464_NUM_CHANNELS 5 /* chan 0 is internal, 1-4 are remote */
25 #define TMP468_NUM_CHANNELS 9 /* chan 0 is internal, 1-8 are remote */
30 #define TMP464_TEMP_OFFSET_REG(channel) (0x40 + ((channel) - 1) * 8)
31 #define TMP464_N_FACTOR_REG(channel) (0x41 + ((channel) - 1) * 8)
122 struct regmap *regmap = data->regmap; in tmp464_enable_channels()
126 for (i = 0; i < data->channels; i++) in tmp464_enable_channels()
127 if (data->channel[i].enabled) in tmp464_enable_channels()
139 *val = data->update_interval; in tmp464_chip_read()
142 return -EOPNOTSUPP; in tmp464_chip_read()
[all …]
/linux/drivers/thermal/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 Say Y to add a debugfs-based thermal core testing facility.
53 int "Emergency poweroff delay in milli-seconds"
145 bool "Fair-share thermal governor"
147 Enable this to manage platform thermals using fair-share governor.
250 memory-mapped reads to get the temperature. Any HW/System that
251 allows temperature reading by a single memory-mapped reading, be it
305 - AM654
360 module will be called sun8i-thermal.
369 ADC (TS-ADC) found on Rockchip SoCs. It supports one critical
[all …]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h7 * Copyright (c) 2003-2016 Cavium, Inc.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
28 #define LIO_MAX_MTU_SIZE (OCTNET_MAX_FRM_SIZE - OCTNET_FRM_HEADER_SIZE)
31 /* Bit mask values for lio->ifstate */
44 #define LIO_IFCFG_WAIT_TIME 3000 /* In milli seconds */
57 /* Number of bytes that sg was adjusted to make it 8B-aligned. */
94 /** LiquidIO per-interface network private data */
256 #define MIN_SKB_SIZE 256 /* 8 bytes and more - 8 bytes for PTP */
274 pg_info->page = NULL; in recv_buffer_alloc()
278 if ((unsigned long)skb->data & SKB_ADJ_MASK) { in recv_buffer_alloc()
[all …]
/linux/sound/soc/codecs/
H A Drt5640.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
27 #include <sound/soc-dapm.h>
340 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
341 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0);
342 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
343 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000);
451 * set_dmic_clk - Set parameter of dmic.
461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk()
465 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk()
[all …]

12