Home
last modified time | relevance | path

Searched +full:one +full:- +full:shot (Results 1 – 25 of 231) sorted by relevance

12345678910

/Linux-v5.10/Documentation/leds/
Dledtrig-transient.rst6 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 …]
Dledtrig-oneshot.rst2 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-v5.10/Documentation/devicetree/bindings/hwmon/
Dina3221.txt5 - 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 …]
/Linux-v5.10/drivers/iio/pressure/
Dzpa2326.c1 // 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-v5.10/Documentation/devicetree/bindings/iio/light/
Dus5182d.txt4 - 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 …]
/Linux-v5.10/Documentation/hwmon/
Dtmp108.rst19 -----------
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).
/Linux-v5.10/drivers/hwmon/
Dlm75.c1 // 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 …]
/Linux-v5.10/arch/m68k/include/asm/
Dmac_psc.h1 /* 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-v5.10/drivers/leds/trigger/
Dledtrig-oneshot.c1 // 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 …]
DKconfig1 # 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.
/Linux-v5.10/kernel/time/
Dtick-oneshot.c1 // 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 …]
/Linux-v5.10/Documentation/devicetree/bindings/timer/
Dnvidia,tegra210-timer.txt3 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";
Dspreadtrum,sprd-timer.txt3 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";
Darm,sp804.yaml1 # 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 - const: arm,sp804
28 - const: hisilicon,sp804
30 - compatible
[all …]
/Linux-v5.10/fs/notify/inotify/
DKconfig1 # 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-v5.10/include/xen/interface/
Dvcpu.h35 * @extra_args == Operation-specific extra arguments (NULL if none).
40 * newly-initialised VCPU will not run until it is brought up by VCPUOP_up.
54 * Bring down a VCPU (i.e., make it non-runnable).
58 * idea to ensure that the VCPU has entered a non-critical loop before
119 * 2. Only one shared area may be registered per VCPU. The shared area is
136 * Set or stop a VCPU's periodic timer. Every VCPU has one periodic timer
137 * which can be set via these commands. Periods smaller than one millisecond
148 * Set or stop a VCPU's single-shot timer. Every VCPU has one single-shot
160 /* Require the timeout to be in the future (return -ETIME if it's passed). */
167 * structure in a convenient place, such as in a per-cpu data area.
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
DHalPhyRf_8723B.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
14 /*---------------------------Define Local Constant---------------------------*/
18 /* MACRO definition for pRFCalibrateInfo->TxIQC_8723B[0] */
28 /* MACRO definition for pRFCalibrateInfo->TxIQC_8723B[1] */
37 /*---------------------------Define Local Constant---------------------------*/
67 OFDM_index = OFDM_TABLE_SIZE-1; in setIqkMatrix_8723B()
72 if ((IqkResult_X != 0) && (*(pDM_Odm->pBandType) == ODM_BAND_2_4G)) { in setIqkMatrix_8723B()
89 PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, bMaskDWord, value32); in setIqkMatrix_8723B()
92 PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XCTxAFE, bMaskH4Bits, value32); in setIqkMatrix_8723B()
[all …]
/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-etm4x.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
11 #include "coresight-priv.h"
15 * 0x000 - 0x2FC: Trace registers
16 * 0x300 - 0x314: Management registers
17 * 0x318 - 0xEFC: Trace registers
19 * 0xFA0 - 0xFA4: Trace registers
20 * 0xFA8 - 0xFFC: Management registers
22 /* Trace registers (0x000-0x2FC) */
73 /* Single-shot comparator registers */
[all …]
/Linux-v5.10/kernel/trace/
Dtrace_stat.h1 // SPDX-License-Identifier: GPL-2.0
8 * If you want to provide a stat file (one-shot statistics), fill
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dnotif-wait.h8 * Copyright(c) 2007 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH
25 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
29 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
30 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH
64 #include "iwl-trans.h"
75 * struct iwl_notification_wait - notification wait entry
93 * Each notification is one-shot. If at some point we
94 * need to support multi-shot notifications (which
120 wake_up_all(&notif_data->notif_waitq); in iwl_notification_notify()
/Linux-v5.10/sound/ppc/
Dsnd_ps3.h1 /* 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-v5.10/drivers/rtc/
Drtc-tps65910.c1 // 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
31 #define NUM_TIME_REGS (TPS65910_YEARS - TPS65910_SECONDS + 1)
34 #define NUM_COMP_REGS (TPS65910_RTC_COMP_MSB - TPS65910_RTC_COMP_LSB + 1)
37 #define MIN_OFFSET (-277761)
49 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_alarm_irq_enable()
55 return regmap_write(tps->regmap, TPS65910_RTC_INTERRUPTS, val); in tps65910_rtc_alarm_irq_enable()
64 * - Months are 1..12 vs Linux 0-11
65 * - Years are 0..99 vs Linux 1900..N (we assume 21st century)
[all …]
/Linux-v5.10/Documentation/userspace-api/media/dvb/
Ddmx-set-filter.rst1 .. 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 …]
/Linux-v5.10/arch/x86/kernel/
Dapb_timer.c1 // SPDX-License-Identifier: GPL-2.0-only
15 * Unlike HPET, there is no master counter, therefore one of the timers are
17 * - timer 0 - NR_CPUs for per cpu timer
18 * - one timer for clocksource
19 * - one timer for watchdog driver.
20 * It is also worth notice that APB timer does not support true one-shot mode,
21 * free-running mode will be used here to emulate one-shot mode.
39 #include <asm/intel-mid.h>
69 return apbt_virt_address + adev->num * APBTMRS_REG_SIZE; in adev_virt_addr()
93 apbt_address = (phys_addr_t)mtmr->phys_addr; in apbt_set_mapping()
[all …]
/Linux-v5.10/drivers/net/can/
Dgrcan.c1 // 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
36 #include <linux/dma-mapping.h>
42 #define GRCAN_RESERVE_SIZE(slot1, slot2) (((slot2) - (slot1)) / 4 - 1)
49 u32 smask; /* 0x18 - CanMASK */
50 u32 scode; /* 0x1c - CanCODE */
200 #define GRCAN_MSG_DATA_SHIFT(i) ((3 - (i) % 4) * 8)
262 * handling"-comment for grcan_start_xmit for more details.
369 return sum - size; in grcan_ring_add()
[all …]

12345678910