| /kernel/linux/linux-5.10/Documentation/leds/ |
| D | ledtrig-transient.rst | 6 a one shot timer. The current support allows for setting two timers, one for 11 gets deactivated. There is no provision for one time activation to implement 15 Without one shot timer interface, user space can still use timer trigger to 20 Transient trigger addresses the need for one shot timer activation. The 56 non-transient state. When driver gets suspended, irrespective of the transient 71 - duration allows setting timer value in msecs. The initial value is 0. 72 - activate allows activating and deactivating the timer specified by 75 - state allows user to specify a transient state to be held for the specified 79 - one shot timer activate mechanism. 90 - one shot timer value. When activate is set, duration value [all …]
|
| D | ledtrig-oneshot.rst | 2 One-shot LED Trigger 6 no clear trap points to put standard led-on and led-off settings. Using this 16 A one-shot LED only stays in a constant state when there are no events. An 26 Documentation/ABI/testing/sysfs-class-led-trigger-oneshot 28 Example use-case: network devices, initialization:: 36 echo 1 > invert # set led as normally-on, turn the led on 40 echo 1 > shot # led starts blinking, ignored if already blinking 44 echo 0 > invert # set led as normally-off, turn the led off
|
| /kernel/linux/linux-6.6/Documentation/leds/ |
| D | ledtrig-transient.rst | 6 a one shot timer. The current support allows for setting two timers, one for 11 gets deactivated. There is no provision for one time activation to implement 15 Without one shot timer interface, user space can still use timer trigger to 20 Transient trigger addresses the need for one shot timer activation. The 56 non-transient state. When driver gets suspended, irrespective of the transient 71 - duration allows setting timer value in msecs. The initial value is 0. 72 - activate allows activating and deactivating the timer specified by 75 - state allows user to specify a transient state to be held for the specified 79 - one shot timer activate mechanism. 90 - one shot timer value. When activate is set, duration value [all …]
|
| D | ledtrig-oneshot.rst | 2 One-shot LED Trigger 6 no clear trap points to put standard led-on and led-off settings. Using this 16 A one-shot LED only stays in a constant state when there are no events. An 26 Documentation/ABI/testing/sysfs-class-led-trigger-oneshot 28 Example use-case: network devices, initialization:: 36 echo 1 > invert # set led as normally-on, turn the led on 40 echo 1 > shot # led starts blinking, ignored if already blinking 44 echo 0 > invert # set led as normally-off, turn the led off
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/ |
| D | ina3221.txt | 5 - compatible: Must be "ti,ina3221" 6 - reg: I2C address 9 - ti,single-shot: This chip has two power modes: single-shot (chip takes one 13 but the single-shot mode is more power-friendly and useful 14 for battery-powered device which cares power consumptions 16 If this property is present, the single-shot mode will be 17 used, instead of the default continuous one for monitoring. 22 - #address-cells: Required only if a child node is present. Must be 1. 23 - #size-cells: Required only if a child node is present. Must be 0. 27 - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of INA3221 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | ina3221.txt | 5 - compatible: Must be "ti,ina3221" 6 - reg: I2C address 9 - ti,single-shot: This chip has two power modes: single-shot (chip takes one 13 but the single-shot mode is more power-friendly and useful 14 for battery-powered device which cares power consumptions 16 If this property is present, the single-shot mode will be 17 used, instead of the default continuous one for monitoring. 22 - #address-cells: Required only if a child node is present. Must be 1. 23 - #size-cells: Required only if a child node is present. Must be 0. 27 - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of INA3221 [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/pressure/ |
| D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * ZPA2326 hardware supports 2 sampling mode: one shot and continuous. 20 * A complete one shot sampling cycle gets device out of low power mode, 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor 102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency() [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/pressure/ |
| D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * ZPA2326 hardware supports 2 sampling mode: one shot and continuous. 20 * A complete one shot sampling cycle gets device out of low power mode, 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor 102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/light/ |
| D | us5182d.txt | 4 - compatible: must be "upisemi,usd5182" 5 - reg: the I2C address of the device 8 - upisemi,glass-coef: glass attenuation factor - compensation factor of 11 - upisemi,dark-ths: array of 8 elements containing 16-bit thresholds (adc 14 - upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4 15 fractional bits - Q4.4) applied when light > threshold 17 - upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4 18 fractional bits - Q4.4) applied when light < threshold 20 - upisemi,continuous: This chip has two power modes: one-shot (chip takes one 22 chip takes continuous measurements). The one-shot mode is [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/light/ |
| D | upisemi,us5182.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Cameron <jic23@kernel.org> 19 upisemi,glass-coef: 22 glass attenuation factor - compensation factor of resolution 1000 26 upisemi,dark-ths: 27 $ref: /schemas/types.yaml#/definitions/uint16-array 31 16-bit thresholds (adc counts) corresponding to every scale. 33 upisemi,upper-dark-gain: [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | lm75.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm75.c - Part of lm_sensors, Linux kernel modules for hardware 14 #include <linux/hwmon-sysfs.h> 57 * struct lm75_params - lm75 configuration parameters. 74 * than one. 115 /*-----------------------------------------------------------------------*/ 122 * In case of being supported multiple configurations, the default one must 127 .clr_mask = 1 << 5, /* not one-shot mode */ 132 .set_mask = 3 << 5, /* 12-bit mode*/ 141 .set_mask = 2 << 5, /* 11-bit mode */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | tmp108.rst | 19 ----------- 21 The Texas Instruments TMP108 implements one temperature sensor. An alert pin 26 The sensor is accurate to 0.75C over the range of -25 to +85 C, and to 1.0 27 degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The 28 operating temperature has a minimum of -55 C and a maximum of +150 C. 35 the TMP108 has a one-shot mode where the device is normally shut-down. When a 36 one shot is requested the temperature is read, the result can be retrieved, 40 The driver provides the common sysfs-interface for temperatures (see 41 Documentation/hwmon/sysfs-interface.rst under Temperatures).
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | tmp108.rst | 19 ----------- 21 The Texas Instruments TMP108 implements one temperature sensor. An alert pin 26 The sensor is accurate to 0.75C over the range of -25 to +85 C, and to 1.0 27 degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The 28 operating temperature has a minimum of -55 C and a maximum of +150 C. 35 the TMP108 has a one-shot mode where the device is normally shut-down. When a 36 one shot is requested the temperature is read, the result can be retrieved, 40 The driver provides the common sysfs-interface for temperatures (see 41 Documentation/hwmon/sysfs-interface.rst under Temperatures).
|
| D | max31827.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Addresses scanned: I2C 0x40 - 0x5f 20 Addresses scanned: I2C 0x40 - 0x5f 28 Addresses scanned: I2C 0x40 - 0x5f 34 - Daniel Matyas <daniel.matyas@analog.com> 37 ----------- 40 between them is found in the default power-on behaviour of the chips. While the 52 hysteresis value: -40 and -30 degrees for under temperature alarm and +100 and 69 The conversions can be manual with the one-shot functionality and automatic with 76 requested, one-shot is triggered, the device waits for 140 (conversion time) + 1 [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | lm75.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm75.c - Part of lm_sensors, Linux kernel modules for hardware 14 #include <linux/hwmon-sysfs.h> 56 * struct lm75_params - lm75 configuration parameters. 73 * than one. 114 /*-----------------------------------------------------------------------*/ 121 * In case of being supported multiple configurations, the default one must 126 .clr_mask = 1 << 5, /* not one-shot mode */ 132 .set_mask = 2 << 5, /* 11-bit mode */ 141 .set_mask = 2 << 5, /* 11-bit mode */ [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/include/asm/ |
| D | mac_psc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * The first seven DMA channels appear to be "one-shot" and are actually 10 * sets of two channels; one member is active while the other is being 12 * The one-shot channels are grouped together and are: 23 * to be closely tied and share one set of registers. They also seem to run 25 * not understood as there seems to be only one input and one output buffer 30 * machine with easy-to-find patterns and looking for them in the DMA 34 * 1999-05-25 (jmt) 52 * One-shot DMA control registers 69 * You're supposed to use one channel while the other runs and [all …]
|
| /kernel/linux/linux-6.6/arch/m68k/include/asm/ |
| D | mac_psc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * The first seven DMA channels appear to be "one-shot" and are actually 10 * sets of two channels; one member is active while the other is being 12 * The one-shot channels are grouped together and are: 23 * to be closely tied and share one set of registers. They also seem to run 25 * not understood as there seems to be only one input and one output buffer 30 * machine with easy-to-find patterns and looking for them in the DMA 34 * 1999-05-25 (jmt) 52 * One-shot DMA control registers 69 * You're supposed to use one channel while the other runs and [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/trigger/ |
| D | ledtrig-oneshot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * One-shot LED Trigger 7 * Based on ledtrig-timer.c by Richard Purdie <rpurdie@openedhand.com> 32 &led_cdev->blink_delay_on, &led_cdev->blink_delay_off, in led_shot() 33 oneshot_data->invert); in led_shot() 43 return sprintf(buf, "%u\n", oneshot_data->invert); in led_invert_show() 58 oneshot_data->invert = !!state; in led_invert_store() 60 if (oneshot_data->invert) in led_invert_store() 73 return sprintf(buf, "%lu\n", led_cdev->blink_delay_on); in led_delay_on_show() 87 led_cdev->blink_delay_on = state; in led_delay_on_store() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 For more details read Documentation/leds/leds-class.rst. 23 tristate "LED One-shot Trigger" 25 This allows LEDs to blink in one-shot pulses with parameters 53 The flash frequency is a hyperbolic function of the 1-minute 88 from there. One use case is n810's keypad LEDs that could 106 This allows one time activation of a transient state on 144 the audio mute and mic-mute changes.
|
| /kernel/linux/linux-6.6/drivers/leds/trigger/ |
| D | ledtrig-oneshot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * One-shot LED Trigger 7 * Based on ledtrig-timer.c by Richard Purdie <rpurdie@openedhand.com> 32 &led_cdev->blink_delay_on, &led_cdev->blink_delay_off, in led_shot() 33 oneshot_data->invert); in led_shot() 43 return sprintf(buf, "%u\n", oneshot_data->invert); in led_invert_show() 58 oneshot_data->invert = !!state; in led_invert_store() 60 if (oneshot_data->invert) in led_invert_store() 73 return sprintf(buf, "%lu\n", led_cdev->blink_delay_on); in led_delay_on_show() 87 led_cdev->blink_delay_on = state; in led_delay_on_store() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 For more details read Documentation/leds/leds-class.rst. 23 tristate "LED One-shot Trigger" 25 This allows LEDs to blink in one-shot pulses with parameters 53 The flash frequency is a hyperbolic function of the 1-minute 90 from there. One use case is n810's keypad LEDs that could 108 This allows one time activation of a transient state on 146 the audio mute and mic-mute changes. 156 When build as a module this driver will be called ledtrig-tty.
|
| /kernel/linux/linux-6.6/kernel/time/ |
| D | tick-oneshot.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 18 #include "tick-internal.h" 21 * tick_program_event - program the CPU local timer device for the next event 32 dev->next_event = KTIME_MAX; in tick_program_event() 48 * tick_resume_oneshot - resume oneshot mode 59 * tick_setup_oneshot - setup the event device for oneshot mode (hres or nohz) 65 newdev->event_handler = handler; in tick_setup_oneshot() [all …]
|
| /kernel/linux/linux-5.10/kernel/time/ |
| D | tick-oneshot.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 18 #include "tick-internal.h" 32 dev->next_event = KTIME_MAX; in tick_program_event() 48 * tick_resume_onshot - resume oneshot mode 59 * tick_setup_oneshot - setup the event device for oneshot mode (hres or nohz) 65 newdev->event_handler = handler; in tick_setup_oneshot() 71 * tick_switch_to_oneshot - switch to oneshot mode [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/ |
| D | notif-wait.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014 Intel Corporation 4 * Copyright (C) 2015-2017 Intel Deutschland GmbH 11 #include "iwl-trans.h" 22 * struct iwl_notification_wait - notification wait entry 40 * Each notification is one-shot. If at some point we 41 * need to support multi-shot notifications (which 67 wake_up_all(¬if_data->notif_waitq); in iwl_notification_notify()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/ |
| D | nvidia,tegra210-timer.txt | 3 The Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit 5 from the oscillator clock (TMR0-TMR9) or directly at the oscillator clock 6 (TMR10-TMR13). Each TMR can be programmed to generate one-shot, periodic, 10 - compatible : "nvidia,tegra210-timer". 11 - reg : Specifies base physical address and size of the registers. 12 - interrupts : A list of 14 interrupts; one per each timer channels 0 through 14 - clocks : Must contain one entry, for the module clock. 15 See ../clocks/clock-bindings.txt for details. 18 compatible = "nvidia,tegra210-timer"; 35 clock-names = "timer";
|