Home
last modified time | relevance | path

Searched +full:signal +full:- +full:guard (Results 1 – 25 of 211) sorted by relevance

123456789

/linux-6.14.4/rust/kernel/sync/
Dcondvar.rs1 // SPDX-License-Identifier: GPL-2.0
8 use super::{lock::Backend, lock::Guard, LockClassKey};
22 /// Creates a [`CondVar`] initialiser with the given name and a newly-created lock class.
36 /// [`CondVar::notify_all`]) or because the thread received a signal. It may also wake up
60 /// let mut guard = e.value.lock();
61 /// while *guard != v {
62 /// e.value_changed.wait(&mut guard);
73 /// fn new_example() -> Result<Pin<KBox<Example>>> {
75 /// value <- new_mutex!(0),
76 /// value_changed <- new_condvar!(),
[all …]
/linux-6.14.4/tools/testing/selftests/mm/
Dguard-pages.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #include <asm-generic/mman.h> /* Force the import of the tools version. */
11 #include <signal.h>
25 * "If the signal occurs other than as the result of calling the abort or raise
26 * function, the behavior is undefined if the signal handler refers to any
65 * Enable our signal catcher and try to read/write the specified buffer. The
67 * signal.
73 /* Tell signal handler to jump back here on fatal signal. */ in try_access_buf()
75 /* If a fatal signal arose, we will jump back here and failed is set. */ in try_access_buf()
89 /* Try and read from a buffer, return true if no fatal signal. */
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/input/
Dmicrochip,cap11xx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 The Microchip CAP1xxx Family of RightTouchTM multiple-channel capacitive
14 - Rob Herring <[email protected]>
19 - microchip,cap1106
20 - microchip,cap1126
21 - microchip,cap1188
22 - microchip,cap1203
23 - microchip,cap1206
[all …]
/linux-6.14.4/drivers/iio/resolver/
Dad2s1210.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2010-2010 Analog Devices Inc.
11 * ----------------------------|------|-------------------------------------------
23 * Resolution | D1:0 | *device tree: assigned-resolution-bits*
34 * ----------------------------------------|----|---------------------------------
152 /* adi,fixed-mode property - only valid when mode_gpios == NULL. */
177 struct gpio_descs *gpios = st->mode_gpios; in ad2s1210_set_mode()
181 return mode == st->fixed_mode ? 0 : -EOPNOTSUPP; in ad2s1210_set_mode()
185 return gpiod_set_array_value(gpios->ndescs, gpios->desc, gpios->info, in ad2s1210_set_mode()
202 .rx_buf = &st->rx[0], in ad2s1210_regmap_reg_write()
[all …]
/linux-6.14.4/drivers/dma/
Dlpc32xx-dmamux.c1 // SPDX-License-Identifier: GPL-2.0-only
6 // Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com
23 int signal; member
41 .signal = 3,
42 .name_sel0 = "spi2-rx-tx",
43 .name_sel1 = "ssp1-rx",
48 .signal = 10,
49 .name_sel0 = "uart7-rx",
50 .name_sel1 = "i2s1-dma1",
55 .signal = 11,
[all …]
/linux-6.14.4/drivers/media/dvb-frontends/
Das102_fe_types.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Abilis Systems Single DVB-T Receiver
50 /* guard interval available values */
127 /* guard interval */
136 /* signal strength */
138 /* packet error rate 10^-4 */
140 /* bit error rate 10^-4 */
149 /* Number of wrong bytes fixed by Reed-Solomon */
Ddib3000mb_priv.h1 /* SPDX-License-Identifier: GPL-2.0-only */
17 { pr_err("while sending 0x%04x to 0x%04x.", val, reg); return -EREMOTEIO; }
113 /* Guard time */
159 * Dual Automatic-Gain-Control
160 * - gains RF in tuner (AGC1)
161 * - gains IF after filtering (AGC2)
214 * changes when, inversion, guard time and fft is
297 * data diversity when having more than one chip on-board
313 /* time frame for Bit-Error-Rate calculation */
320 /* 142 - 152 FIFO parameters
[all …]
Dlgs8gxx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for Legend Silicon GB20600 (a.k.a DMB-TH) demodulator
7 * Copyright (C) 2007-2009 David T.L. Wong <[email protected]>
35 MODULE_PARM_DESC(fake_signal_str, "fake signal strength for LGS8913."
36 "Signal strength calculation is slow.(default:on).");
46 msg.addr = priv->config->demod_address; in lgs8gxx_write_reg()
47 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_write_reg()
53 ret = i2c_transfer(priv->i2c, &msg, 1); in lgs8gxx_write_reg()
59 return (ret != 1) ? -1 : 0; in lgs8gxx_write_reg()
74 dev_addr = priv->config->demod_address; in lgs8gxx_read_reg()
[all …]
/linux-6.14.4/net/wireless/
Dwext-compat.c1 // SPDX-License-Identifier: GPL-2.0
3 * cfg80211 - wext compat code
9 * Copyright 2008-2009 Johannes Berg <[email protected]>
10 * Copyright (C) 2019-2023 Intel Corporation
21 #include <net/cfg80211-wext.h>
22 #include "wext-compat.h"
24 #include "rdev-ops.h"
30 strcpy(wrqu->name, "IEEE 802.11"); in cfg80211_wext_giwname()
37 __u32 *mode = &wrqu->mode; in cfg80211_wext_siwmode()
38 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_wext_siwmode()
[all …]
/linux-6.14.4/tools/testing/selftests/x86/
Dtest_shadow_stack.c1 // SPDX-License-Identifier: GPL-2.0
29 #include <signal.h>
35 #include <sys/signal.h>
148 ssp -= 8; in try_shstk()
161 try_shstk((unsigned long)shstk + SS_SIZE - 8); in test_shstk_pivot()
236 signal(SIGSEGV, SIG_DFL); in test_shstk_violation()
330 if (fd == -1) in test_gup()
338 printf("[INFO]\tGup read -> shstk access success\n"); in test_gup()
345 printf("[INFO]\tGup write -> shstk access success\n"); in test_gup()
352 printf("[INFO]\tGup read -> write access success\n"); in test_gup()
[all …]
/linux-6.14.4/include/uapi/linux/dvb/
Dfrontend.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
18 * enum fe_caps - Frontend capabilities
23 * @FE_CAN_INVERSION_AUTO: Can auto-detect frequency spectral
33 * @FE_CAN_FEC_AUTO: Can auto-detect FEC
35 * @FE_CAN_QAM_16: Supports 16-QAM modulation
36 * @FE_CAN_QAM_32: Supports 32-QAM modulation
37 * @FE_CAN_QAM_64: Supports 64-QAM modulation
38 * @FE_CAN_QAM_128: Supports 128-QAM modulation
39 * @FE_CAN_QAM_256: Supports 256-QAM modulation
40 * @FE_CAN_QAM_AUTO: Can auto-detect QAM modulation
[all …]
/linux-6.14.4/Documentation/admin-guide/media/
Dvivid.rst1 .. SPDX-License-Identifier: GPL-2.0
13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI
14 capture device. Each output can be an S-Video output device or an HDMI output
23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O.
24 - A large list of test patterns and variations thereof
25 - Working brightness, contrast, saturation and hue controls
26 - Support for the alpha color component
27 - Full colorspace support, including limited/full RGB range
28 - All possible control types are present
29 - Support for various pixel aspect ratios and video aspect ratios
[all …]
Ddvb_intro.rst1 .. SPDX-License-Identifier: GPL-2.0
12 structure of DVB-T cards are substantially similar to Analogue TV cards,
16 Television signal. An Analogue TV signal (otherwise known as composite
22 * Tune the receiver to receive a broadcast signal
23 * demodulate the broadcast signal
24 * demultiplex the analogue video signal and analogue audio
25 signal.
29 some countries employ a digital audio signal
30 embedded within the modulated composite analogue signal -
33 * digitize the analogue video signal and make the resulting datastream
[all …]
/linux-6.14.4/net/mac80211/
Dethtool.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copied from cfg.c - originally
6 * Copyright 2006-2010 Johannes Berg <[email protected]>
8 * Copyright (C) 2018, 2022-2023 Intel Corporation
14 #include "driver-ops.h"
21 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); in ieee80211_set_ringparam()
23 if (rp->rx_mini_pending != 0 || rp->rx_jumbo_pending != 0) in ieee80211_set_ringparam()
24 return -EINVAL; in ieee80211_set_ringparam()
26 guard(wiphy)(local->hw.wiphy); in ieee80211_set_ringparam()
28 return drv_set_ringparam(local, rp->tx_pending, rp->rx_pending); in ieee80211_set_ringparam()
[all …]
/linux-6.14.4/include/vdso/
Dgetrandom.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2022-2024 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
15 * struct vgetrandom_state - State used by vDSO getrandom().
25 * @generation: Snapshot of @rng_info->generation in the vDSO data page at
30 * @in_use: Reentrancy guard for reusing a state within the same thread
31 * due to signal handlers.
47 * __arch_chacha20_blocks_nostack - Generate ChaCha20 stream without using the stack.
49 * @key: 32-byte input key.
50 * @counter: 8-byte counter, read on input and updated on return.
60 * __vdso_getrandom - Architecture-specific vDSO implementation of getrandom() syscall.
/linux-6.14.4/Documentation/arch/x86/
Dsgx.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Software Guard eXtensions (SGX)
10 Software Guard eXtensions (SGX) hardware enables for user space applications
13 * Privileged (ring-0) ENCLS functions orchestrate the construction of the
15 * Unprivileged (ring-3) ENCLU functions allow an application to enter and
38 with an enclave. It is contained in a BIOS-reserved region of physical memory.
49 ------------------
67 ----------------------
76 remain read-only. EPCM permissions may only impose additional restrictions on
88 -----------------------
[all …]
/linux-6.14.4/sound/core/seq/
Dseq_fifo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/sched/signal.h>
26 f->pool = snd_seq_pool_new(poolsize); in snd_seq_fifo_new()
27 if (f->pool == NULL) { in snd_seq_fifo_new()
31 if (snd_seq_pool_init(f->pool) < 0) { in snd_seq_fifo_new()
32 snd_seq_pool_delete(&f->pool); in snd_seq_fifo_new()
37 spin_lock_init(&f->lock); in snd_seq_fifo_new()
38 snd_use_lock_init(&f->use_lock); in snd_seq_fifo_new()
39 init_waitqueue_head(&f->input_sleep); in snd_seq_fifo_new()
40 atomic_set(&f->overflow, 0); in snd_seq_fifo_new()
[all …]
Dseq_memory.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #include <linux/sched/signal.h>
24 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()
29 return snd_seq_pool_available(pool) >= pool->room; in snd_seq_output_ok()
50 * -> cell.next -> cell.next -> ..
60 if ((event->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) != SNDRV_SEQ_EVENT_LENGTH_VARIABLE) in get_var_len()
61 return -EINVAL; in get_var_len()
63 return event->data.ext.len & ~SNDRV_SEQ_EXT_MASK; in get_var_len()
81 if (event->data.ext.len & SNDRV_SEQ_EXT_USRPTR) { in dump_var_event()
83 char __user *curptr = (char __force __user *)event->data.ext.ptr; in dump_var_event()
[all …]
/linux-6.14.4/drivers/net/wireless/virtual/
Dmac80211_hwsim.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211
6 * Copyright (C) 2020, 2022-2024 Intel Corporation
13 * enum hwsim_tx_control_flags - flags to describe transmission info/status
51 * enum hwsim_commands - supported hwsim commands
106 #define HWSIM_CMD_MAX (_HWSIM_CMD_MAX - 1)
112 * enum hwsim_attrs - hwsim netlink attributes
125 * @HWSIM_ATTR_SIGNAL: estimated RX signal for this frame at user
145 * @HWSIM_ATTR_PAD: padding attribute for 64-bit values, ignore
198 #define HWSIM_ATTR_MAX (__HWSIM_ATTR_MAX - 1)
[all …]
/linux-6.14.4/sound/core/
Dhwdep.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/sched/signal.h>
37 if (hwdep->card == card && hwdep->device == device) in snd_hwdep_search()
44 struct snd_hwdep *hw = file->private_data; in snd_hwdep_llseek()
45 if (hw->ops.llseek) in snd_hwdep_llseek()
46 return hw->ops.llseek(hw, file, offset, orig); in snd_hwdep_llseek()
47 return -ENXIO; in snd_hwdep_llseek()
53 struct snd_hwdep *hw = file->private_data; in snd_hwdep_read()
54 if (hw->ops.read) in snd_hwdep_read()
55 return hw->ops.read(hw, buf, count, offset); in snd_hwdep_read()
[all …]
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/
Dtestmode.h1 /* SPDX-License-Identifier: ISC */
13 * enum mt76_testmode_attr - testmode attributes inside NL80211_ATTR_TESTDATA
30 * @MT76_TM_ATTR_TX_RATE_SGI: packet tx use short guard interval (u8)
37 * @MT76_TM_ATTR_TX_POWER: per-antenna tx power array (nested, u8 attrs)
46 * @MT76_TM_ATTR_TX_IPG: tx inter-packet gap, in unit of us (u32)
92 MT76_TM_ATTR_MAX = NUM_MT76_TM_ATTRS - 1,
96 * enum mt76_testmode_state - statistics attributes
121 MT76_TM_STATS_ATTR_MAX = NUM_MT76_TM_STATS_ATTRS - 1,
126 * enum mt76_testmode_rx_attr - packet rx information
132 * @MT76_TM_RX_ATTR_SNR: signal-to-noise ratio (u8)
[all …]
/linux-6.14.4/drivers/iio/imu/bmi323/
Dbmi323_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * IIO core driver for Bosch BMI323 6-Axis IMU.
7 …* Datasheet: https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi323-
83 * The accelerometer supports +-2G/4G/8G/16G ranges, and the resolution of
85 * At +-8G the scale can calculated by
86 * ((8 + 8) * 9.80665 / (2^16 - 1)) * 10^6 = 2394.23819 scale in micro
188 return &data->orientation; in bmi323_get_mount_matrix()
295 .scan_index = -1,
301 .scan_index = -1,
345 return -EINVAL; in bmi323_iio_to_sensor()
[all …]
/linux-6.14.4/drivers/input/keyboard/
Dlpc32xx-keys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
73 struct input_dev *input = kscandat->input; in lpc32xx_mod_states()
77 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states()
78 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states()
79 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states()
83 /* Key state changed, signal an event */ in lpc32xx_mod_states()
85 kscandat->row_shift); in lpc32xx_mod_states()
86 keycode = kscandat->keymap[scancode]; in lpc32xx_mod_states()
98 for (i = 0; i < kscandat->matrix_sz; i++) in lpc32xx_kscan_irq()
101 writel(1, LPC32XX_KS_IRQ(kscandat->kscan_base)); in lpc32xx_kscan_irq()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gem/
Di915_gem_wait.c2 * SPDX-License-Identifier: MIT
7 #include <linux/dma-fence-array.h>
8 #include <linux/dma-fence-chain.h>
24 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in i915_gem_object_wait_fence()
45 * dma-resv contains a sequence such as 1:1, 1:2 instead of a reduced in i915_gem_object_boost()
102 engine = rq->engine; in fence_set_priority()
104 rcu_read_lock(); /* RCU serialisation for set-wedged protection */ in fence_set_priority()
105 if (engine->sched_engine->schedule) in fence_set_priority()
106 engine->sched_engine->schedule(rq, attr); in fence_set_priority()
112 return fence->ops == &dma_fence_chain_ops; in __dma_fence_is_chain()
[all …]
/linux-6.14.4/drivers/irqchip/
Dirq-renesas-rzv2h.c1 // SPDX-License-Identifier: GPL-2.0
5 * Based on irq-renesas-rzg2l.c
84 * struct rzv2h_icu_priv - Interrupt Control Unit controller private data structure.
99 return data->domain->host_data; in irq_data_to_priv()
109 scoped_guard(raw_spinlock, &priv->lock) { in rzv2h_icu_eoi()
111 tintirq_nr = hw_irq - ICU_TINT_START; in rzv2h_icu_eoi()
114 writel_relaxed(bit, priv->base + ICU_TSCLR); in rzv2h_icu_eoi()
116 tintirq_nr = hw_irq - ICU_IRQ_START; in rzv2h_icu_eoi()
119 writel_relaxed(bit, priv->base + ICU_ISCLR); in rzv2h_icu_eoi()
121 writel_relaxed(ICU_NSCLR_NCLR, priv->base + ICU_NSCLR); in rzv2h_icu_eoi()
[all …]

123456789