| /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/Documentation/hwmon/ |
| H A D | sht3x.rst | 6 * Sensirion SHT3x-DIS 13 - https://sensirion.com/media/documents/213E6A3B/63A5A569/Datasheet_SHT3x_DIS.pdf 14 …- https://sensirion.com/media/documents/051DF50B/639C8101/Sensirion_Humidity_and_Temperature_Senso… 16 * Sensirion STS3x-DIS 23 …- https://sensirion.com/media/documents/1DA31AFD/61641F76/Sensirion_Temperature_Sensors_STS3x_Data… 24 … - https://sensirion.com/media/documents/292A335C/65537BAF/Sensirion_Datasheet_STS32_STS33.pdf 28 - David Frey <david.frey@sensirion.com> 29 - Pascal Sachs <pascal.sachs@sensirion.com> 32 ----------- 34 This driver implements support for the Sensirion SHT3x-DIS and STS3x-DIS [all …]
|
| /linux/Documentation/leds/ |
| 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 12 first case, the trigger produces a clear single controlled blink for each 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/Documentation/trace/coresight/ |
| H A D | coresight-etm4x-reference.rst | 11 --------------------------- 20 ---- 37 ---- 47 ---- 52 - > 0 : Programs up the hardware with the current values held in the driver 55 - = 0 : disable trace hardware. 60 ---- 72 ---- 77 When FEAT_TRF is implemented, value of TRFCR_ELx.TS used for trace session. Otherwise -1 86 ---- [all …]
|
| /linux/fs/notify/inotify/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 directories via a single open fd. Events are read from the file 10 descriptor, which is also select()- and poll()-able. 12 new features including multiple file events, one-shot support, and
|
| /linux/arch/arm64/boot/dts/marvell/ |
| H A D | armada-8040-mcbin-singleshot.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/leds/common.h> 10 #include "armada-8040-mcbin.dtsi" 13 model = "Marvell 8040 MACCHIATOBin Single-shot"; 14 compatible = "marvell,armada8040-mcbin-singleshot", 15 "marvell,armada8040-mcbin", "marvell,armada8040", 16 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 19 compatible = "gpio-leds"; 20 pinctrl-0 = <&cp0_led18_pins>; 21 pinctrl-names = "default"; [all …]
|
| /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 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). */ 150 * structure in a convenient place, such as in a per-cpu data area. 167 * processor. The physical ID informmation is architecture-specific. 169 * This command returns -EINVAL if it is not a valid operation for this VCPU.
|
| /linux/Documentation/devicetree/bindings/timer/ |
| 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 …]
|
| /linux/drivers/hwmon/ |
| H A D | sht3x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Sensirion SHT3x-DIS humidity and temperature sensor driver. 17 #include <linux/hwmon-sysfs.h> 47 /* delays for single-shot mode i2c commands, both in us */ 58 #define SHT3X_MIN_TEMPERATURE -45000 201 return number_of_modes - 1; in get_mode_from_update_interval() 211 mutex_lock(&data->i2c_lock); in sht3x_read_from_command() 215 ret = ret < 0 ? ret : -EIO; in sht3x_read_from_command() 224 ret = ret < 0 ? ret : -EIO; in sht3x_read_from_command() 230 mutex_unlock(&data->i2c_lock); in sht3x_read_from_command() [all …]
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-etm4x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. 13 #include "coresight-priv.h" 17 * 0x000 - 0x2FC: Trace registers 18 * 0x300 - 0x314: Management registers 19 * 0x318 - 0xEFC: Trace registers 21 * 0xFA0 - 0xFA4: Trace registers 22 * 0xFA8 - 0xFFC: Management registers 24 /* Trace registers (0x000-0x2FC) */ 47 #define TRCSEQEVRn(n) (0x100 + (n * 4)) /* n = 0-2 */ [all …]
|
| /linux/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-p2m.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010-2013 Bluecherry, LLC <https://www.bluecherrydvr.com> 21 "Use multiple P2M DMA channels (default: no, 6010-only)"); 26 "Allow use of descriptor mode DMA (default: no, 6010-only)"); 36 return -EINVAL; in solo_p2m_dma() 38 return -EINVAL; in solo_p2m_dma() 40 dma_addr = dma_map_single(&solo_dev->pdev->dev, sys_addr, size, in solo_p2m_dma() 42 if (dma_mapping_error(&solo_dev->pdev->dev, dma_addr)) in solo_p2m_dma() 43 return -ENOMEM; in solo_p2m_dma() 48 dma_unmap_single(&solo_dev->pdev->dev, dma_addr, size, in solo_p2m_dma() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | hw_breakpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility, 53 * Atomic: we hold the counter->ctx->lock and we only handle variables 71 return -EBUSY; in arch_install_hw_breakpoint() 74 * Do not install DABR values if the instruction must be single-stepped. in arch_install_hw_breakpoint() 77 if (!info->perf_single_step) in arch_install_hw_breakpoint() 89 * Atomic: we hold the counter->ctx->lock and we only handle variables 114 return bp->overflow_handler == ptrace_triggered; in is_ptrace_bp() 122 return is_kernel_addr(hw->address); in arch_check_bp_in_kernelspace() 133 return -EINVAL; in arch_bp_generic_fields() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | arm_global_timer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 60 * 1. Read the upper 32-bit timer counter register 61 * 2. Read the lower 32-bit timer counter register 62 * 3. Read the upper 32-bit timer counter register again. If the value is 63 * different to the 32-bit upper value read previously, go back to step 2. 64 * Otherwise the 64-bit timer counter value is correct. 94 * 2. Write the lower 32-bit Comparator Value Register. 95 * 3. Write the upper 32-bit Comparator Value Register. 155 * the same event in single-shot mode) in gt_clockevent_interrupt() 157 * Either disable single-shot mode. in gt_clockevent_interrupt() [all …]
|
| /linux/arch/x86/xen/ |
| H A D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 30 #include "xen-ops.h" 41 &HYPERVISOR_shared_info->vcpu_info[0].time; in xen_tsc_khz() 53 src = &__this_cpu_read(xen_vcpu)->time; in xen_clocksource_read() 69 src = &__this_cpu_read(xen_vcpu)->time; in xen_sched_clock() 71 ret -= xen_sched_clock_offset; in xen_sched_clock() 79 struct pvclock_wall_clock *wall_clock = &(s->wc); in xen_read_wallclock() 82 vcpu_time = &get_cpu_var(xen_vcpu)->time; in xen_read_wallclock() 94 return -ENODEV; in xen_set_wallclock() 109 now.tv_sec = tk->xtime_sec; in xen_pvclock_gtod_notify() [all …]
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 54 using single or multiple byte access to the I/O ports. There are 6 modes 59 -------------- ---------------- 61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0 [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | quatech_daqp_cs.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * COMEDI - Linux Control and Measurement Device Interface 13 * ftp://ftp.quatech.com/Manuals/daqp-208.pdf 15 * This manual is for both the DAQP-208 and the DAQP-308. 18 * - A/D conversion 19 * - 8 channels 20 * - 4 gain ranges 21 * - ground ref or differential 22 * - single-shot and timed both supported 23 * - D/A conversion, single-shot [all …]
|
| H A D | z8536.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 105 #define Z8536_CT_MODE_CSC BIT(7) /* Continuous/Single Cycle */ 113 #define Z8536_CT_MODE_DCS_ONESHOT Z8536_CT_MODE_DCS(1) /* One-Shot */ 128 #define Z8536_PAB_MODE_SB BIT(4) /* Single Buffered mode */ 134 #define Z8536_PAB_MODE_PMS_OR_PEV Z8536_PAB_MODE_PMS(3)/* "OR-Priority" */ 146 #define Z8536_PAB_HANDSHAKE_HST_3WIRE Z8536_PAB_HANDSHAKE_HST(3)/* 3-Wire */ 162 * 0 = Non-Inverting 193 * -- -- -- ------------------------------------- 196 * 1 0 0 Zero (low-level) 197 * 1 0 1 One (high-level) [all …]
|
| /linux/Documentation/input/joydev/ |
| H A D | joystick.rst | 3 .. _joystick-doc: 14 linux-input@vger.kernel.org 16 send "subscribe linux-input" to majordomo@vger.kernel.org to subscribe to it. 25 --------- 29 usually packaged as ``joystick``, ``input-utils``, ``evtest``, and so on. 35 ------------ 48 ln -s input/js0 js0 49 ln -s input/js1 js1 50 ln -s input/js2 js2 51 ln -s input/js3 js3 [all …]
|
| /linux/fs/ocfs2/cluster/ |
| H A D | tcp_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 32 * - Negotiation of filesystem locking in the dlm join. 35 * - Meta/data locks combined 38 * - All votes removed 41 * - Replace delete inode votes with a cluster lock 44 * - DLM join domain includes the live nodemap 47 * - DLM lockres remote refcount fixes. 50 * - Network timeout checking protocol 53 * - Remove i_generation from lock names for better stat performance. 56 * - Replace dentry votes with a cluster lock [all …]
|
| /linux/lib/crypto/tests/ |
| H A D | hash-test-template.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <kunit/run-in-irq-context.h> 22 * which does not require cryptographically secure random numbers. A hard-coded 29 random_seed = (random_seed * 25214903917 + 11) & ((1ULL << 48) - 1); in rand32() 77 * Allocate the test buffer using vmalloc() with a page-aligned length in hash_suite_init() 85 return -ENOMEM; in hash_suite_init() 87 test_buf = orig_test_buf + alloc_len - TEST_BUF_LEN; in hash_suite_init() 102 * one-shot instead of incremental), since consistency between different ways of 145 * Test that the hash function produces the same result with a one-shot 159 offset = rand_offset(TEST_BUF_LEN - total_len); in test_hash_incremental_updates() [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | stv0288.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 2010-09-01 Josef Pavlik <josef@pavlik.it> 56 .addr = state->config->demod_address, in stv0288_writeregI() 62 ret = i2c_transfer(state->i2c, &msg, 1); in stv0288_writeregI() 68 return (ret != 1) ? -EREMOTEIO : 0; in stv0288_writeregI() 73 struct stv0288_state *state = fe->demodulator_priv; in stv0288_write() 76 return -EINVAL; in stv0288_write() 88 .addr = state->config->demod_address, in stv0288_readreg() 93 .addr = state->config->demod_address, in stv0288_readreg() 100 ret = i2c_transfer(state->i2c, msg, 2); in stv0288_readreg() [all …]
|
| /linux/include/uapi/sound/ |
| H A D | sfnt_info.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 8 * Copyright (C) 1999-2000 Takashi Iwai 93 unsigned char filterQ; /* initial filter Q [0-15] (0x0) */ 157 #define SNDRV_SFNT_SAMPLE_SINGLESHOT 8 /* single-shot w/o loop */ 171 int map_bank, map_instr, map_key; /* key = -1 means all keys */ 185 int port; /* -1 = all */
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2500pci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 36 * Default offset is required for RSSI <-> dBm conversion. 218 * KICK_DECRYPT: Kick decryption engine, self-clear. 219 * ONE_SHOT: 0: ring mode, 1: One shot only mode. 228 * CSR11: Back-off control register. 229 * CWMIN: CWmin. Default cwmin is 31 (2^5 - 1). 230 * CWMAX: CWmax. Default cwmax is 1023 (2^10 - 1). 267 * TSF_SYNC: Tsf sync, 0: disable, 1: infra, 2: ad-hoc/master mode. 287 * CFP: ASIC is in contention-free period. [all …]
|
| H A D | rt2400pci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 25 * Default offset is required for RSSI <-> dBm conversion. 153 * CSR11: Back-off control register. 154 * CWMIN: CWmin. Default cwmin is 31 (2^5 - 1). 155 * CWMAX: CWmax. Default cwmax is 1023 (2^10 - 1). 190 * TSF_SYNC: Tsf sync, 0: disable, 1: infra, 2: ad-hoc/master mode. 210 * CFP: ASIC is in contention-free period. 459 * ENABLE_CLK: Enable clk_run, pci clock can't going down to non-operational. 544 * KICK_RX: Kick one-shot rx in one-shot rx mode. [all …]
|
| /linux/drivers/usb/host/ |
| H A D | ehci-mem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /* this file is part of ehci-hcd.c */ 8 /*-------------------------------------------------------------------------*/ 12 * - data used only by the HCD ... kmalloc is fine 13 * - async and periodic schedules, shared by HC and HCD ... these 15 * - driver buffers, read/written by HC ... single shot DMA mapped 21 /*-------------------------------------------------------------------------*/ 29 qtd->qtd_dma = dma; in ehci_qtd_init() 30 qtd->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); in ehci_qtd_init() 31 qtd->hw_next = EHCI_LIST_END(ehci); in ehci_qtd_init() [all …]
|