/linux/Documentation/leds/ |
H A 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 …]
|
H A 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
|
/linux/drivers/iio/pressure/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/iio/light/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | ti,ina3221.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jean Delvare <jdelvare@suse.com> 11 - Guenter Roeck <linux@roeck-us.net> 20 ti,single-shot: 22 This chip has two power modes: single-shot (chip takes one measurement 25 hardware monitor type device, but the single-shot mode is more power- 26 friendly and useful for battery-powered device which cares power 29 If this property is present, the single-shot mode will be used, instead [all …]
|
/linux/drivers/hwmon/ |
H A D | lm75.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm75.c - Part of lm_sensors, Linux kernel modules for hardware 58 * struct lm75_params - lm75 configuration parameters. 76 * than one. 120 /*-----------------------------------------------------------------------*/ 127 * In case of being supported multiple configurations, the default one must 132 .clr_mask = 1 << 5, /* not one-shot mode */ 146 .set_mask = 3 << 5, /* 12-bit mode*/ 155 .set_mask = 2 << 5, /* 11-bit mode */ 164 .set_mask = 2 << 5, /* 11-bit mode */ [all …]
|
/linux/Documentation/hwmon/ |
H A 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).
|
H A 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 77 The conversions can be manual with the one-shot functionality and automatic with 83 - 64000 (ms) = 1 conv/64 sec [all …]
|
/linux/arch/m68k/include/asm/ |
H A 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 …]
|
/linux/drivers/leds/trigger/ |
H A 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 …]
|
H A 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 105 This allows one time activation of a transient state on 146 When build as a module this driver will be called ledtrig-tty. 156 capacitive touch-buttons, such as e.g. the menu / home / back buttons 162 When build as a module this driver will be called ledtrig-input-events.
|
/linux/kernel/time/ |
H A 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 …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | notif-wait.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2023 Intel Corporation 4 * Copyright (C) 2015-2017 Intel Deutschland GmbH 11 #include "iwl-trans.h" 22 * struct iwl_notification_wait - notification wait entry 41 * Each notification is one-shot. If at some point we 42 * need to support multi-shot notifications (which 68 wake_up_all(¬if_data->notif_waitq); in iwl_notification_notify()
|
/linux/include/xen/interface/ |
H A D | vcpu.h | 1 /* SPDX-License-Identifier: MIT */ 18 * @extra_args == Operation-specific extra arguments (NULL if none). 23 * newly-initialised VCPU will not run until it is brought up by VCPUOP_up. 37 * Bring down a VCPU (i.e., make it non-runnable). 41 * idea to ensure that the VCPU has entered a non-critical loop before 102 * 2. Only one shared area may be registered per VCPU. The shared area is 119 * Set or stop a VCPU's periodic timer. Every VCPU has one periodic timer 120 * which can be set via these commands. Periods smaller than one millisecond 131 * Set or stop a VCPU's single-shot timer. Every VCPU has one single-shot 143 /* Require the timeout to be in the future (return -ETIME if it's passed). */ [all …]
|
/linux/drivers/net/can/ |
H A D | grcan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * See "Documentation/ABI/testing/sysfs-class-net-grcan" for information on the 19 * See "Documentation/admin-guide/kernel-parameters.rst" for information on the module 38 #include <linux/dma-mapping.h> 44 #define GRCAN_RESERVE_SIZE(slot1, slot2) (((slot2) - (slot1)) / 4 - 1) 51 u32 smask; /* 0x18 - CanMASK */ 52 u32 scode; /* 0x1c - CanCODE */ 202 #define GRCAN_MSG_DATA_SHIFT(i) ((3 - (i) % 4) * 8) 264 * handling"-comment for grcan_start_xmit for more details. 371 return sum - size; in grcan_ring_add() [all …]
|
/linux/Documentation/filesystems/xfs/ |
H A D | xfs-delayed-logging-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 details logged are made up of the changes to in-core structures rather than 34 on-disk structures. Other objects - typically buffers - have their physical 58 reservation they take. These are known as "one shot" and "permanent" 60 commit boundaries, whilst "one shot" transactions are for a single atomic 64 place. This means that permanent transactions can be used for one-shot 65 modifications, but one-shot reservations cannot be used for permanent 68 In the code, a one-shot transaction pattern looks somewhat like this:: 97 While this might look similar to a one-shot transaction, there is an important 123 the on-disk journal. [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-tps6594.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/ 26 #define NUM_TIME_REGS (TPS6594_REG_RTC_WEEKS - TPS6594_REG_RTC_SECONDS + 1) 29 #define NUM_TIME_ALARM_REGS (NUM_TIME_REGS - 1) 33 * After conversion, the values do not exceed the range [-32767, 33767] 36 #define MIN_OFFSET (-277774) 53 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_alarm_irq_enable() 58 return regmap_update_bits(tps->regmap, TPS6594_REG_RTC_INTERRUPTS, in tps6594_rtc_alarm_irq_enable() 69 * an up-to-date timestamp. in tps6594_rtc_shadow_timestamp() 71 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_RTC_CTRL_1, in tps6594_rtc_shadow_timestamp() [all …]
|
H A D | rtc-tps65910.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * rtc-tps65910.c -- TPS65910 Real Time Clock interface 8 * Based on original TI driver rtc-twl.c 32 #define NUM_TIME_REGS (TPS65910_YEARS - TPS65910_SECONDS + 1) 35 #define NUM_COMP_REGS (TPS65910_RTC_COMP_MSB - TPS65910_RTC_COMP_LSB + 1) 38 #define MIN_OFFSET (-277761) 50 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_alarm_irq_enable() 56 return regmap_write(tps->regmap, TPS65910_RTC_INTERRUPTS, val); in tps65910_rtc_alarm_irq_enable() 65 * - Months are 1..12 vs Linux 0-11 66 * - Years are 0..99 vs Linux 1900..N (we assume 21st century) [all …]
|
/linux/fs/notify/inotify/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 descriptor, which is also select()- and poll()-able. 12 new features including multiple file events, one-shot support, and
|
/linux/sound/ppc/ |
H A D | snd_ps3.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 46 * there should be only ONE hardware. 94 /* one stage (stereo) of audio FIFO in bytes */ 102 /* PS3 audio DMAC max block count in one dma shot = 128 (0x80) blocks*/
|
/linux/kernel/trace/ |
H A D | trace_stat.h | 1 // SPDX-License-Identifier: GPL-2.0 8 * If you want to provide a stat file (one-shot statistics), fill
|
/linux/Documentation/devicetree/bindings/timer/ |
H A D | nvidia,tegra186-timer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/nvidia,tegra186-timer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <treding@nvidia.com> 13 The Tegra timer provides 29-bit timer counters and a 32-bit timestamp 16 programmed to generate one-shot, periodic, or watchdog interrupts. 22 - const: nvidia,tegra186-timer 24 The Tegra186 timer provides ten 29-bit timer counters. 25 - const: nvidia,tegra234-timer [all …]
|
H A D | arm,sp804.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Haojian Zhuang <haojian.zhuang@linaro.org> 14 16 or 32 bit operation and capable of running in one-shot, periodic, or 15 free-running mode. The input clock is shared, but can be gated and prescaled 18 There is a viriant of Arm SP804: Hisilicon 64-bit SP804 timer. Some Hisilicon 27 - arm,sp804 28 - hisilicon,sp804 30 - compatible [all …]
|
H A D | sprd,sc9860-timer.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/timer/sprd,sc9860-timer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 15 The Spreadtrum SC9860 platform provides 3 general-purpose timers. 17 period mode or one-shot mode, and they can be a wakeup source 23 - sprd,sc9860-timer [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | dmx-set-filter.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 ---- 16 -------- 23 --------- 33 ----------- 39 state whether a section should be CRC-checked, whether the filter should 40 be a "one-shot" filter, i.e. if the filtering operation should be 43 :ref:`DMX_START` ioctl call). If a filter was previously set-up, this 47 ------------ 51 On error -1 is returned, and the ``errno`` variable is set [all …]
|