Home
last modified time | relevance | path

Searched +full:max +full:- +full:sample +full:- +full:rate +full:- +full:hz (Results 1 – 25 of 173) sorted by relevance

1234567

/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Datmel,sama5d2-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama5d2-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eugen Hristev <eugen.hristev@microchip.com>
15 - atmel,sama5d2-adc
16 - microchip,sam9x60-adc
17 - microchip,sama7g5-adc
28 clock-names:
31 vref-supply: true
[all …]
Dst,stm32-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 STM32 ADC is a successive approximation analog-to-digital converter.
13 stored in a left-aligned or right-aligned 32-bit data register.
17 voltage goes beyond the user-defined, higher or lower thresholds.
22 - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
27 - st,stm32f4-adc-core
28 - st,stm32h7-adc-core
[all …]
/linux-6.12.1/include/sound/sof/
Ddai-intel.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
58 /* DMIC max. four controllers for eight microphone channels */
61 /* SSP Configuration Request - SOF_IPC_DAI_SSP_CONFIG */
67 uint32_t mclk_rate; /* mclk frequency in Hz */
68 uint32_t fsync_rate; /* fsync frequency in Hz */
69 uint32_t bclk_rate; /* bclk frequency in Hz */
93 /* HDA Configuration Request - SOF_IPC_DAI_HDA_CONFIG */
97 uint32_t rate; member
101 /* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */
105 uint32_t rate; member
[all …]
/linux-6.12.1/tools/perf/util/
Drecord.c1 // SPDX-License-Identifier: GPL-2.0
6 #include "parse-events.h"
11 #include <subcmd/parse-options.h>
16 #include "../perf-sys.h"
19 #include "mem-events.h"
23 * However, if the leader is an AUX area event, then assume the event to sample
44 struct list_head *config_terms = &evsel->config_terms; in evsel__config_term_mask()
48 term_types |= 1 << term->type; in evsel__config_term_mask()
55 struct perf_event_attr *attr = &evsel->core.attr; in evsel__config_leader_sampling()
60 if (!leader->sample_read) in evsel__config_leader_sampling()
[all …]
/linux-6.12.1/net/ipv4/
Dtcp_nv.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * TCP-NV is a successor of TCP-Vegas that has been developed to
7 * Like TCP-Vegas, TCP-NV supports true congestion avoidance,
9 * When congestion (queue buildup) starts to occur, TCP-NV
22 * seen issues with rx-frames values greater than 8.
35 * nv_pad Max number of queued packets allowed in network
46 * slow-start due to congestion
47 * nv_stop_rtt_cnt Only grow cwnd for this many RTTs after non-congestion
51 * How quickly to double growth rate (not rate) of cwnd when not
53 * rate < 1 pkt/RTT (after losses). The other (nv_cwnd_growth_rate_pos)
[all …]
Dtcp_cubic.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * "CUBIC: A New TCP-Friendly High-Speed TCP Variant"
37 #define BICTCP_HZ 10 /* BIC HZ 2^10 = 1024 */
64 /* Note parameters that are used for precomputing scale factors are read-only */
79 " 1: packet-train 2: delay 3: both packet-train and delay");
110 ca->found = 0; in bictcp_reset()
115 return tcp_sk(sk)->tcp_mstamp; in bictcp_clock_us()
123 ca->round_start = ca->last_ack = bictcp_clock_us(sk); in bictcp_hystart_reset()
124 ca->end_seq = tp->snd_nxt; in bictcp_hystart_reset()
125 ca->curr_rtt = ~0U; in bictcp_hystart_reset()
[all …]
Dtcp_bbr.c3 * BBR congestion control computes the sending rate based on the delivery
4 * rate (throughput) estimated from ACKs. In a nutshell:
10 * cwnd = max(cwnd_gain * bottleneck_bandwidth * min_rtt, 4)
14 * observed, or adjust the sending rate if it estimates there is a
15 * traffic policer, in order to keep the drop rate reasonable.
21 * +---> STARTUP ----+
24 * | DRAIN ----+
27 * +---> PROBE_BW ----+
30 * | +----+ |
32 * +---- PROBE_RTT <--+
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * "while (ca->ack_cnt > delta)" loop is changed to the equivalent
14 * "ca->ack_cnt / delta" operation.
22 #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
24 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
27 return (__s32)(seq1-seq2) < 0; in before()
37 #define BICTCP_HZ 10 /* BIC HZ 2^10 = 1024 */
62 / (BICTCP_BETA_SCALE - beta);
63 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3
64 * so K = cubic_root( (wmax-cwnd)*rtt/c )
[all …]
/linux-6.12.1/drivers/input/touchscreen/
Dlpc32xx_ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * LPC32xx built-in touchscreen driver
43 #define LPC32XX_TSC_ADCCON_X_SAMPLE_SIZE(s) ((10 - (s)) << 7)
44 #define LPC32XX_TSC_ADCCON_Y_SAMPLE_SIZE(s) ((10 - (s)) << 4)
57 #define MOD_NAME "ts-lpc32xx"
60 __raw_readl((dev)->tsc_base + (reg))
62 __raw_writel((val), (dev)->tsc_base + (reg))
83 struct input_dev *input = tsc->dev; in lpc32xx_ts_interrupt()
88 /* FIFO overflow - throw away samples */ in lpc32xx_ts_interrupt()
94 * Gather and normalize 4 samples. Pen-up events may have less in lpc32xx_ts_interrupt()
[all …]
/linux-6.12.1/include/sound/
Dpcm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Abramo Bagnara <abramo@alsa-project.org>
21 #define snd_pcm_substream_chip(substream) ((substream)->private_data)
22 #define snd_pcm_chip(pcm) ((pcm)->private_data)
37 unsigned int rate_min; /* min rate */
38 unsigned int rate_max; /* max rate */
40 unsigned int channels_max; /* max channels */
41 size_t buffer_bytes_max; /* max buffer size */
43 size_t period_bytes_max; /* max period size */
45 unsigned int periods_max; /* max # of periods */
[all …]
/linux-6.12.1/sound/pci/ca0106/
Dca0106.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
40 * Implement 192000 sample rate.
50 * Implement support for Line-in capture on SB Live 24bit.
73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
85 #define IPR_TIMER2 0x00000010 /* 192000Hz Timer */
86 #define IPR_TIMER1 0x00000008 /* 44100Hz Timer */
87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */
[all …]
/linux-6.12.1/include/linux/soundwire/
Dsdw.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
70 /* sample packaging for block. It can be per port or per channel */
75 * enum sdw_slave_status - Slave status
93 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
94 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare
104 * enum sdw_command_response - Command response as defined by SDW spec
190 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
201 * enum sdw_dpn_type - Data port types
216 * enum sdw_clk_stop_mode - Clock Stop modes
[all …]
/linux-6.12.1/sound/soc/codecs/
Dsta32x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA32x 2.1-channel high-efficiency digital audio system
34 #include <sound/soc-dapm.h>
54 /* Power-up register defaults */
132 "Vcc" /* power amp spply, 10V - 36V */
153 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12700, 50, 1);
154 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
155 static const DECLARE_TLV_DB_SCALE(tone_tlv, -120, 200, 0);
158 "Anti-Clipping", "Dynamic Range Compression" };
165 "User", "80Hz", "100Hz", "120Hz", "140Hz", "160Hz", "180Hz", "200Hz",
[all …]
Dsta350.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Codec driver for ST STA350 2.1-channel high-efficiency digital audio system
34 #include <sound/soc-dapm.h>
54 /* Power-up register defaults */
155 "vdd-dig", /* digital supply, 3.3V */
156 "vdd-pll", /* pll supply, 3.3V */
157 "vcc" /* power amp supply, 5V - 26V */
178 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12750, 50, 1);
179 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
180 static const DECLARE_TLV_DB_SCALE(tone_tlv, -1200, 200, 0);
[all …]
/linux-6.12.1/arch/s390/kernel/
Dperf_cpum_sf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Performance event support for the System z CPU-measurement Sampling Facility
29 #define PERF_EVENT_CPUM_SF 0xB0000UL /* Event: Basic-sampling */
30 #define PERF_EVENT_CPUM_SF_DIAG 0xBD000UL /* Event: Combined-sampling */
31 #define PERF_CPUM_SF_BASIC_MODE 0x0001 /* Basic-sampling flag */
32 #define PERF_CPUM_SF_DIAG_MODE 0x0002 /* Diagnostic-sampling flag */
35 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config)
36 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc)
37 #define TEAR_REG(hwc) ((hwc)->last_tag)
38 #define SAMPL_RATE(hwc) ((hwc)->event_base)
[all …]
/linux-6.12.1/net/dccp/ccids/
Dccid3.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 2005-7 The University of Waikato, Hamilton, New Zealand.
5 * Copyright (c) 2005-7 Ian McDonald <ian.mcdonald@jandi.co.nz>
14 * Copyright (c) 2003 Nils-Erik Mattsson, Joacim Haggmark, Magnus Erixzon
35 * Transmitter Half-Connection Routines
54 enum ccid3_hc_tx_states oldstate = hc->tx_state; in ccid3_hc_tx_set_state()
56 ccid3_pr_debug("%s(%p) %-8.8s -> %s\n", in ccid3_hc_tx_set_state()
60 hc->tx_state = state; in ccid3_hc_tx_set_state()
64 * Compute the initial sending rate X_init in the manner of RFC 3390:
66 * X_init = min(4 * s, max(2 * s, 4380 bytes)) / RTT
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/display/bridge/
Dite,it6505.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Allen Chen <allen.chen@ite.com.tw>
13 - $ref: /schemas/sound/dai-common.yaml#
16 The IT6505 is a high-performance DisplayPort 1.1a transmitter,
19 and ensures robust transmission of high-quality uncompressed video
24 with sampling rate up to 192kHz and sample size up to 24 bits.
26 192kHz frame rate.
30 transmission of high-definition content. Users of the IT6505 need not
[all …]
/linux-6.12.1/sound/hda/
Dhdac_device.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HD-audio codec core device
28 * snd_hdac_device_init - initialize the HD-audio codec base device
48 dev = &codec->dev; in snd_hdac_device_init()
50 dev->parent = bus->dev; in snd_hdac_device_init()
51 dev->bus = &snd_hda_bus_type; in snd_hdac_device_init()
52 dev->release = default_release; in snd_hdac_device_init()
53 dev->groups = hdac_dev_attr_groups; in snd_hdac_device_init()
57 codec->bus = bus; in snd_hdac_device_init()
58 codec->addr = addr; in snd_hdac_device_init()
[all …]
/linux-6.12.1/drivers/iio/adc/
Dti-tsc2046.c1 // SPDX-License-Identifier: GPL-2.0
29 * - rate limiting:
31 * - hrtimer:
39 /* This driver doesn't aim at the peak continuous sample rate */
61 * conversion has 12-bit resolution, whereas with this bit high, the next
62 * conversion has 8-bit resolution. This driver is optimized for 12-bit mode.
68 * SER/DFR - The SER/DFR bit controls the reference mode, either single-ended
75 * auto-wake/suspend mode. In most case this bits should stay zero.
94 /* Represents a HW sample */
231 bit_count = DIV_ROUND_UP(time * NSEC_PER_USEC, priv->time_per_bit_ns); in tsc2046_adc_time_to_count()
[all …]
/linux-6.12.1/sound/soc/
Dsoc-dai.c1 // SPDX-License-Identifier: GPL-2.0
3 // soc-dai.c
10 #include <sound/soc-dai.h>
11 #include <sound/soc-link.h>
23 case -EPROBE_DEFER: in _soc_dai_ret()
24 case -ENOTSUPP: in _soc_dai_ret()
27 dev_err(dai->dev, in _soc_dai_ret()
29 func, dai->name, ret); in _soc_dai_ret()
39 #define soc_dai_mark_push(dai, substream, tgt) ((dai)->mark_##tgt = substream)
40 #define soc_dai_mark_pop(dai, substream, tgt) ((dai)->mark_##tgt = NULL)
[all …]
/linux-6.12.1/sound/pci/echoaudio/
Dechoaudio_dsp.h3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 MA 02111-1307, USA.
26 Translation from C++ and adaptation for use in ALSA-Driver
41 /**** Echo24: Gina24, Layla24, Mona, Mia, Mia-midi ****/
70 * Max inputs and outputs
74 #define DSP_MAXAUDIOINPUTS 16 /* Max audio input channels */
75 #define DSP_MAXAUDIOOUTPUTS 16 /* Max audio output channels */
76 #define DSP_MAXPIPES 32 /* Max total pipes (input + output) */
81 * These are the offsets for the memory-mapped DSP registers; the DSP base
[all …]
/linux-6.12.1/net/mac80211/
Drc80211_minstrel_ht.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2010-2013 Felix Fietkau <nbd@openwrt.org>
4 * Copyright (C) 2019-2022 Intel Corporation
15 #include "rate.h"
44 * Define group sort order: HT40 -> SGI -> #streams
50 _streams - 1
55 _MAX(0, 16 - __builtin_clz(duration))
57 /* MCS rate information for an MCS group */
90 (_streams) - 1)
203 * To enable sufficiently targeted rate sampling, MCS rates are divided into
[all …]
/linux-6.12.1/sound/synth/emux/
Dsoundfont.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
70 mutex_lock(&sflist->presets_mutex); in lock_preset()
71 spin_lock_irqsave(&sflist->lock, flags); in lock_preset()
72 sflist->presets_locked = 1; in lock_preset()
73 spin_unlock_irqrestore(&sflist->lock, flags); in lock_preset()
84 spin_lock_irqsave(&sflist->lock, flags); in unlock_preset()
85 sflist->presets_locked = 0; in unlock_preset()
86 spin_unlock_irqrestore(&sflist->lock, flags); in unlock_preset()
87 mutex_unlock(&sflist->presets_mutex); in unlock_preset()
[all …]
/linux-6.12.1/include/uapi/linux/
Dultrasound.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * ultrasound.h - Macros for programming the Gravis Ultrasound
10 * Copyright (C) by Hannu Savolainen 1993-1997
22 * byte 0 - SEQ_PRIVATE (0xfe)
23 * byte 1 - Synthesizer device number (0-N)
24 * byte 2 - Command (see below)
25 * byte 3 - Voice number (0-31)
26 * bytes 4 and 5 - parameter P1 (unsigned short)
27 * bytes 6 and 7 - parameter P2 (unsigned short)
32 * _GUS_NUMVOICES - Sets max. number of concurrent voices (P1=14-31, default 16)
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Ddynack.c21 #define COMPUTE_TO (5 * HZ)
22 #define LATEACK_DELAY (10 * HZ)
27 * ath_dynack_get_max_to - set max timeout according to channel width
33 const struct ath9k_channel *chan = ah->curchan; in ath_dynack_get_max_to()
48 * ath_dynack_ewma - EWMA (Exponentially Weighted Moving Average) calculation
53 return (new * (EWMA_DIV - EWMA_LEVEL) + in ath_dynack_ewma()
60 * ath_dynack_get_sifs - get sifs time based on phy used
70 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath_dynack_get_sifs()
72 else if (IS_CHAN_HALF_RATE(ah->curchan)) in ath_dynack_get_sifs()
81 * ath_dynack_bssidmask - filter out ACK frames based on BSSID mask
[all …]

1234567