Home
last modified time | relevance | path

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

1234567

/linux/rust/kernel/sync/
H A 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<Box<Example>>> {
75 /// value <- new_mutex!(0),
76 /// value_changed <- new_condvar!(),
[all …]
/linux/Documentation/devicetree/bindings/input/
H A 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 <robh@kernel.org>
19 - microchip,cap1106
20 - microchip,cap1126
21 - microchip,cap1188
22 - microchip,cap1203
23 - microchip,cap1206
[all …]
/linux/drivers/iio/resolver/
H A 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/drivers/dma/
H A 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/drivers/media/dvb-frontends/
H A 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 */
H A 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 …]
H A 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 <davidtlwong@gmail.com>
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/include/uapi/linux/dvb/
H A 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/tools/testing/selftests/x86/
H A 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/Documentation/admin-guide/media/
H A 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 …]
H A 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/include/vdso/
H A Dgetrandom.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2022-2024 Jason A. Donenfeld <Jason@zx2c4.com>. 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/drivers/iio/adc/
H A Dad7606.c1 // SPDX-License-Identifier: GPL-2.0
54 if (st->gpio_reset) { in ad7606_reset()
55 gpiod_set_value(st->gpio_reset, 1); in ad7606_reset()
57 gpiod_set_value(st->gpio_reset, 0); in ad7606_reset()
61 return -ENODEV; in ad7606_reset()
73 guard(mutex)(&st->lock); in ad7606_reg_access()
76 ret = st->bops->reg_read(st, reg); in ad7606_reg_access()
82 return st->bops->reg_write(st, reg, writeval); in ad7606_reg_access()
88 unsigned int num = st->chip_info->num_channels - 1; in ad7606_read_samples()
89 u16 *data = st->data; in ad7606_read_samples()
[all …]
/linux/Documentation/arch/x86/
H A 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/sound/core/seq/
H A 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 …]
H A 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/drivers/net/wireless/virtual/
H A 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/sound/core/
H A 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 …]
H A Dtimer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include <linux/sched/signal.h>
93 s32 tstamp_sec; /* Timestamp - last update */
105 s64 tstamp_sec; /* Timestamp - last update */
116 /* Internal data structure for keeping the state of the userspace-driven timer */
157 timeri->owner = kstrdup(owner, GFP_KERNEL); in snd_timer_instance_new()
158 if (! timeri->owner) { in snd_timer_instance_new()
162 INIT_LIST_HEAD(&timeri->open_list); in snd_timer_instance_new()
163 INIT_LIST_HEAD(&timeri->active_list); in snd_timer_instance_new()
164 INIT_LIST_HEAD(&timeri->ack_list); in snd_timer_instance_new()
[all …]
H A Drawmidi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/sched/signal.h>
32 static int amidi_map[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1};
47 dev_err((rmidi)->dev, fmt, ##args)
49 dev_warn((rmidi)->dev, fmt, ##args)
51 dev_dbg((rmidi)->de
[all...]
/linux/drivers/net/wireless/mediatek/mt76/
H A 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/drivers/iio/imu/bmi323/
H A 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/drivers/gpu/drm/i915/gem/
H A 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/Documentation/devicetree/bindings/net/
H A Dmicrochip,sparx5-switch.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/microchip,sparx5-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Steen Hegelund <steen.hegelund@microchip.com>
11 - Lars Povlsen <lars.povlsen@microchip.com>
14 The SparX-5 Enterprise Ethernet switch family provides a rich set of
15 Enterprise switching features such as advanced TCAM-based VLAN and
17 security through TCAM-based frame processing using versatile content
24 L3 security features include source guard and reverse path
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_vma_resource.c1 // SPDX-License-Identifier: MIT
20 * We use a per-vm interval tree to keep track of vma_resources
37 #define VMA_RES_START(_node) ((_node)->start - (_node)->guard)
38 #define VMA_RES_LAST(_node) ((_node)->start + (_node)->node_size + (_node)->guard - 1)
43 /* Callbacks for the unbind dma-fence. */
46 * i915_vma_resource_alloc - Allocate a vma resource
49 * a -ENOMEM error pointer if allocation fails.
56 return vma_res ? vma_res : ERR_PTR(-ENOMEM); in i915_vma_resource_alloc()
60 * i915_vma_resource_free - Free a vma resource
92 i915_sw_fence_fini(&vma_res->chain); in unbind_fence_release()
[all …]

1234567