/Linux-v5.10/Documentation/devicetree/bindings/input/ |
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>;
|
/Linux-v5.10/include/linux/input/ |
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 */
|
/Linux-v5.10/include/linux/ |
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 …]
|
/Linux-v5.10/drivers/scsi/aic7xxx/ |
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
|
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
|
/Linux-v5.10/Documentation/devicetree/bindings/mmc/ |
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 …]
|
/Linux-v5.10/Documentation/watchdog/ |
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 …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/ |
D | tsc2005.txt | 4 - compatible : "ti,tsc2004" or "ti,tsc2005" 5 - reg : Device address 6 - interrupts : IRQ specifier 7 - spi-max-frequency : Maximum SPI clocking speed of the device 11 - vio-supply : Regulator specifier 12 - reset-gpios : GPIO specifier for the controller reset line 13 - ti,x-plate-ohms : integer, resistance of the touchscreen's X plates 15 - ti,esd-recovery-timeout-ms : integer, if the touchscreen does not respond after 16 the configured time (in milli seconds), the driver 18 - properties defined in touchscreen.txt [all …]
|
/Linux-v5.10/include/linux/extcon/ |
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.
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
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()
|
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/ |
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 - Dan Murphy <dmurphy@ti.com> 12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com> 16 for use in high-power density portable electronics. These inductorless 21 - $ref: power-supply.yaml# 26 - ti,bq25980 27 - ti,bq25975 28 - ti,bq25960 [all …]
|
/Linux-v5.10/Documentation/admin-guide/ |
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 …]
|
/Linux-v5.10/drivers/input/misc/ |
D | palmas-pwrbutton.c | 4 * Copyright (C) 2012-2014 Texas Instruments Incorporated - http://www.ti.com/ 33 * struct palmas_pwron - Palmas power on data 47 * struct palmas_pwron_config - configuration of palmas power on 57 * palmas_power_button_work() - Detects the button release event 65 struct input_dev *input_dev = pwron->input_dev; in palmas_power_button_work() 69 error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE, in palmas_power_button_work() 72 dev_err(input_dev->dev.parent, in palmas_power_button_work() 80 schedule_delayed_work(&pwron->input_work, in palmas_power_button_work() 86 * pwron_irq() - button press isr 95 struct input_dev *input_dev = pwron->input_dev; in pwron_irq() [all …]
|
/Linux-v5.10/arch/mips/cavium-octeon/ |
D | oct_ilm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <asm/octeon/cvmx-ciu-defs.h> 76 /* interval in milli seconds after which the interrupt will in init_latency_info() 85 li->io_interval = (octeon_get_io_clock_rate() * interval) / 1000; in init_latency_info() 86 li->cpu_interval = (octeon_get_clock_rate() * interval) / 1000; in init_latency_info() 88 li->timer_start1 = 0; in init_latency_info() 89 li->timer_start2 = 0; in init_latency_info() 90 li->max_latency = 0; in init_latency_info() 91 li->min_latency = (u64)-1; in init_latency_info() 92 li->latency_sum = 0; in init_latency_info() [all …]
|
/Linux-v5.10/drivers/hwmon/ |
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 …]
|
D | tmp108.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/hwmon-sysfs.h> 28 #define TMP108_TEMP_MIN_MC -50000 /* Minimum millicelcius. */ 37 #define TMP108_CONF_FL 0x0800 /* Watchdog flag - TLOW */ 38 #define TMP108_CONF_FH 0x1000 /* Watchdog flag - THIGH */ 49 /* These bits are read-only. */ 71 #define TMP108_CONVERSION_TIME_MS 30 /* in milli-seconds */ 79 /* convert 12-bit TMP108 register value to milliCelsius */ 85 /* convert milliCelsius to left adjusted 12-bit TMP108 register value */ 100 err = regmap_read(tmp108->regmap, TMP108_REG_CONF, in tmp108_read() [all …]
|
D | lm95241.c | 1 // 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 …]
|
/Linux-v5.10/Documentation/hwmon/ |
D | dell-smm-hwmon.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 5 Kernel driver dell-smm-hwmon 8 :Copyright: |copy| 2002-2005 Massimo Dal Zotto <dz@debian.org> 12 ----------- 24 ------------------- 35 fan[1-3]_input RO Fan speed in RPM. 36 fan[1-3]_label RO Fan label. 37 pwm[1-3] RW Control the fan PWM duty-cycle. 41 temp[1-10]_input RO Temperature reading in milli-degrees 43 temp[1-10]_label RO Temperature sensor label. [all …]
|
/Linux-v5.10/sound/soc/intel/skylake/ |
D | skl-topology.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * skl_topology.h - Intel HDA Platform topology header file 5 * Copyright (C) 2014-15 Intel Corp 19 #include <uapi/sound/skl-tplg-interface.h> 399 u32 dma_buffer_size; /* in milli seconds */
|
/Linux-v5.10/Documentation/ABI/testing/ |
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 48 Contact: linux-iio@vger.kernel.org 65 Contact: linux-iio@vger.kernel.org 70 - a small discrete set of values like "0 2 4 6 8" 71 - a range with minimum, step and maximum frequencies like 76 Contact: linux-iio@vger.kernel.org [all …]
|
/Linux-v5.10/drivers/thermal/intel/ |
D | x86_pkg_temp_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * every 5 seconds under load will give us a significant 37 "User space notification delay in milli seconds."); 91 * - cpu hotplug: Read serialized by cpu hotplug lock 94 * - Other callsites: Must hold pkg_temp_lock 106 * tj-max is is interesting because threshold is set relative to this 121 return val ? 0 : -EINVAL; in get_tj_max() 126 struct zone_device *zonedev = tzd->devdata; in sys_get_curr_temp() 129 rdmsr_on_cpu(zonedev->cpu, MSR_IA32_PACKAGE_THERM_STATUS, in sys_get_curr_temp() 132 *temp = zonedev->tj_max - ((eax >> 16) & 0x7f) * 1000; in sys_get_curr_temp() [all …]
|
/Linux-v5.10/drivers/media/rc/ |
D | sir_ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * sir_ir - Device driver for use with SIR (serial infra red) 19 #include <media/rc-core.h> 24 /* 9bit * 1s/115200bit in milli seconds = 78.125ms*/ 50 /* Communication with user-space */ 70 /* SECTION: Communication with user-space */ 106 val -= TIME_CONST / 2; in add_read_queue() 140 dev_dbg(&sir_ir_dev->dev, "timeout add %d for %lu usec\n", in sir_timeout() 162 dev_err(&sir_ir_dev->dev, "Trapped in interrupt"); in sir_interrupt() 188 dev_dbg(&sir_ir_dev->dev, "t %lu, d %d\n", in sir_interrupt() [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | rt5651.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5651.c -- RT5651 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 287 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 288 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 289 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 290 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 369 * set_dmic_clk - Set parameter of dmic. 379 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 383 rate = rt5651->sysclk / rl6231_get_pre_div(rt5651->regmap, in set_dmic_clk() [all …]
|
/Linux-v5.10/drivers/thermal/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 37 int "Emergency poweroff delay in milli-seconds" 130 bool "Fair-share thermal governor" 132 Enable this to manage platform thermals using fair-share governor. 226 memory-mapped reads to get the temperature. Any HW/System that 227 allows temperature reading by a single memory-mapped reading, be it 281 - AM654 327 module will be called sun8i-thermal. 336 ADC (TS-ADC) found on Rockchip SoCs. It supports one critical 341 tristate "Renesas R-Car thermal driver" [all …]
|
/Linux-v5.10/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. 9 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 202 #define IPW2100_RSSI_TO_DBM (-98) 232 #define IPW_MAX_VAR_IE_LEN ((HOST_COMMAND_PARAMS_REG_LEN - 4) * sizeof(u32)) 250 * @struct _tx_cmd - HWCommand 280 u8 wep_index; // 0 no key, 1-4 key index, 0xff immediate key 389 (x)->value = (x)->hi = 0; \ 390 (x)->lo = 0x7fffffff; \ 393 (x)->value = y; \ [all …]
|