/openbmc/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
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/docs/interop/ |
H A D | prl-xml.rst | 5 Copyright (c) 2015-2017, Virtuozzo, Inc. 8 2015 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> 9 2016-2017 Klim Kireev <klim.kireev@virtuozzo.com> 10 2016-2017 Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com> 13 See the COPYING file in the top-level directory. 28 ----------- 46 there is more than one storage in a Parallels disk then that 66 a 512-byte data chunk. 69 ---------------- 73 The element has only one attribute, ``Version``, which must be ``1.0``. [all …]
|
/openbmc/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 …]
|
/openbmc/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 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 …]
|
/openbmc/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 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 …]
|
/openbmc/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 …]
|
/openbmc/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 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.
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_events.c | 1 // SPDX-License-Identifier: GPL-2.0+ 38 * One with EVT_NOTIFY_SIGNAL, the other with EVT_NOTIFY_WAIT. 49 boottime = systable->boottime; in setup() 51 ret = boottime->create_event(EVT_TIMER | EVT_NOTIFY_SIGNAL, in setup() 58 ret = boottime->create_event(EVT_TIMER | EVT_NOTIFY_WAIT, in setup() 79 ret = boottime->close_event(event_notify); in teardown() 87 ret = boottime->close_event(event_wait); in teardown() 101 * while waiting for 100 ms single shot timer. 103 * Run a 100 ms single shot timer and check that it is called once 115 ret = boottime->set_timer(event_notify, EFI_TIMER_PERIODIC, 100000); in execute() [all …]
|
/openbmc/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 …]
|
/openbmc/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 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()
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | debuginfod.py | 4 # SPDX-License-Identifier: MIT 61 countdown -= 1 66 # We assume that the caller has already bitbake'd elfutils-native:do_addto_recipe_sysroot 69 native_sysroot = pathlib.Path(get_bb_var("RECIPE_SYSROOT_NATIVE", "elfutils-native")) 72 self.debuginfod_find = native_bindir / "debuginfod-find" 76 "--verbose", 77 # In-memory database, this is a one-shot test 78 "--database=:memory:", 80 "--concurrency=8", 81 "--connection-pool=8", [all …]
|
/openbmc/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
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | spreadtrum,sprd-timer.txt | 3 The Spreadtrum SC9860 platform provides 3 general-purpose timers. 5 period mode or one-shot mode, and they are can be wakeup source 9 - compatible: should be "sprd,sc9860-timer" for SC9860 platform. 10 - reg: The register address of the timer device. 11 - interrupts: Should contain the interrupt for the timer device. 12 - clocks: The phandle to the source clock (usually a 32.768 KHz fixed clock). 16 compatible = "sprd,sc9860-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 …]
|
/openbmc/qemu/include/hw/xen/interface/ |
H A D | vcpu.h | 1 /* SPDX-License-Identifier: MIT */ 20 * @extra_args == Operation-specific extra arguments (NULL if none). 25 * newly-initialised VCPU will not run until it is brought up by VCPUOP_up. 41 * Bring down a VCPU (i.e., make it non-runnable). 45 * idea to ensure that the VCPU has entered a non-critical loop before 108 * 2. Only one shared area may be registered per VCPU. The shared area is 127 * Set or stop a VCPU's periodic timer. Every VCPU has one periodic timer 128 * which can be set via these commands. Periods smaller than one millisecond 140 * Set or stop a VCPU's single-shot timer. Every VCPU has one single-shot 153 /* Require the timeout to be in the future (return -ETIME if it's passed). */ [all …]
|
/openbmc/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
|
/openbmc/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*/
|
/openbmc/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 …]
|