Home
last modified time | relevance | path

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

1234567

/Linux-v5.15/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 - Ludovic Desroches <ludovic.desroches@atmel.com>
11 - Eugen Hristev <eugen.hristev@microchip.com>
16 - atmel,sama5d2-adc
17 - microchip,sam9x60-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@st.com>
27 - st,stm32f4-adc-core
28 - st,stm32h7-adc-core
[all …]
/Linux-v5.15/include/sound/sof/
Ddai-intel.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
52 /* DMIC max. four controllers for eight microphone channels */
55 /* SSP Configuration Request - SOF_IPC_DAI_SSP_CONFIG */
61 uint32_t mclk_rate; /* mclk frequency in Hz */
62 uint32_t fsync_rate; /* fsync frequency in Hz */
63 uint32_t bclk_rate; /* bclk frequency in Hz */
87 /* HDA Configuration Request - SOF_IPC_DAI_HDA_CONFIG */
91 uint32_t rate; member
95 /* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */
99 uint32_t rate; member
[all …]
/Linux-v5.15/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-v5.15/drivers/usb/gadget/function/
Du_audio.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * u_audio.h -- interface to USB gadget "ALSA sound card" utilities
16 * sound/usb/endpoint.c. Value is expressed in per-mil deviation.
30 s16 volume_max; /* max volume in 1/256 dB */
37 int p_srate; /* rate in Hz */
38 int p_ssize; /* sample size */
43 int c_srate; /* rate in Hz */
44 int c_ssize; /* sample size */
48 int fb_max; /* upper frequency drift feedback limit per-mil */
61 /* Max packet size for all in_ep possible speeds */
[all …]
/Linux-v5.15/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.
36 * nv_pad Max number of queued packets allowed in network
47 * slow-start due to congestion
48 * nv_stop_rtt_cnt Only grow cwnd for this many RTTs after non-congestion
52 * How quickly to double growth rate (not rate) of cwnd when not
54 * 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"
35 #define BICTCP_HZ 10 /* BIC HZ 2^10 = 1024 */
62 /* Note parameters that are used for precomputing scale factors are read-only */
77 " 1: packet-train 2: delay 3: both packet-train and delay");
108 ca->found = 0; in bictcp_reset()
113 return tcp_sk(sk)->tcp_mstamp; in bictcp_clock_us()
121 ca->round_start = ca->last_ack = bictcp_clock_us(sk); in bictcp_hystart_reset()
122 ca->end_seq = tp->snd_nxt; in bictcp_hystart_reset()
123 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-v5.15/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-v5.15/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.
24 #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
29 #define BICTCP_HZ 10 /* BIC HZ 2^10 = 1024 */
54 / (BICTCP_BETA_SCALE - beta);
55 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3
56 * so K = cubic_root( (wmax-cwnd)*rtt/c )
57 * the unit of K is bictcp_HZ=2^10, not HZ
65 * HZ < 1,000,00 (corresponding to 10 nano-second)
[all …]
/Linux-v5.15/include/linux/soundwire/
Dsdw.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
66 /* sample packaging for block. It can be per port or per channel */
71 * enum sdw_slave_status - Slave status
89 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
90 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare
100 * enum sdw_command_response - Command response as defined by SDW spec
186 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
197 * enum sdw_dpn_type - Data port types
212 * enum sdw_clk_stop_mode - Clock Stop modes
[all …]
/Linux-v5.15/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-v5.15/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
26 /* Minimum number of sample-data-block-tables:
28 * A single table contains up to 511 pointers to sample-data-blocks.
32 /* Number of sample-data-blocks per sample-data-block-table (SDBT):
33 * A table contains SDB pointers (8 bytes) and one table-link entry
36 #define CPUM_SF_SDB_PER_TABLE ((PAGE_SIZE - 8) / 8)
38 /* Maximum page offset for an SDBT table-link entry:
39 * If this page offset is reached, a table-link entry to the next SDBT
51 * the number of sample-data-block-tables into account. Note that these
[all …]
/Linux-v5.15/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
35 #include <sound/soc-dapm.h>
58 /* Power-up register defaults */
136 "Vcc" /* power amp spply, 10V - 36V */
157 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12700, 50, 1);
158 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
159 static const DECLARE_TLV_DB_SCALE(tone_tlv, -120, 200, 0);
162 "Anti-Clipping", "Dynamic Range Compression" };
169 "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
35 #include <sound/soc-dapm.h>
58 /* Power-up register defaults */
159 "vdd-dig", /* digital supply, 3.3V */
160 "vdd-pll", /* pll supply, 3.3V */
161 "vcc" /* power amp supply, 5V - 26V */
182 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12750, 50, 1);
183 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1);
184 static const DECLARE_TLV_DB_SCALE(tone_tlv, -1200, 200, 0);
[all …]
/Linux-v5.15/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-v5.15/drivers/iio/adc/
Dti-tsc2046.c1 // SPDX-License-Identifier: GPL-2.0
26 * - rate limiting:
28 * - hrtimer:
36 /* This driver doesn't aim at the peak continuous sample rate */
58 * conversion has 12-bit resolution, whereas with this bit high, the next
59 * conversion has 8-bit resolution. This driver is optimized for 12-bit mode.
65 * SER/DFR - The SER/DFR bit controls the reference mode, either single-ended
72 * auto-wake/suspend mode. In most case this bits should stay zero.
86 /* Represents a HW sample */
213 bit_count = DIV_ROUND_UP(time * NSEC_PER_USEC, priv->time_per_bit_ns); in tsc2046_adc_time_to_count()
[all …]
/Linux-v5.15/include/sound/
Dpcm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Abramo Bagnara <abramo@alsa-project.org>
20 #define snd_pcm_substream_chip(substream) ((substream)->private_data)
21 #define snd_pcm_chip(pcm) ((pcm)->private_data)
35 unsigned int rate_min; /* min rate */
36 unsigned int rate_max; /* max rate */
38 unsigned int channels_max; /* max channels */
39 size_t buffer_bytes_max; /* max buffer size */
41 size_t period_bytes_max; /* max period size */
43 unsigned int periods_max; /* max # of periods */
[all …]
/Linux-v5.15/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-2020 Intel Corporation
14 #include "rate.h"
45 * Define group sort order: HT40 -> SGI -> #streams
51 _streams - 1
56 _MAX(0, 16 - __builtin_clz(duration))
58 /* MCS rate information for an MCS group */
91 (_streams) - 1)
204 * To enable sufficiently targeted rate sampling, MCS rates are divided into
[all …]
/Linux-v5.15/drivers/iio/imu/
Dadis16475.c1 // SPDX-License-Identifier: GPL-2.0
64 /* spi max speed in brust mode */
132 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision()
138 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision()
158 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date()
164 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date()
168 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date()
172 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", md >> 8, md & 0xff, in adis16475_show_firmware_date()
191 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number()
208 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_PROD_ID, &prod_id); in adis16475_show_product_id()
[all …]
/Linux-v5.15/sound/synth/emux/
Dsoundfont.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
69 mutex_lock(&sflist->presets_mutex); in lock_preset()
70 spin_lock_irqsave(&sflist->lock, flags); in lock_preset()
71 sflist->presets_locked = 1; in lock_preset()
72 spin_unlock_irqrestore(&sflist->lock, flags); in lock_preset()
83 spin_lock_irqsave(&sflist->lock, flags); in unlock_preset()
84 sflist->presets_locked = 0; in unlock_preset()
85 spin_unlock_irqrestore(&sflist->lock, flags); in unlock_preset()
86 mutex_unlock(&sflist->presets_mutex); in unlock_preset()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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