Home
last modified time | relevance | path

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

1234

/linux/Documentation/devicetree/bindings/iio/adc/
H A 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 …]
H A 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/include/sound/sof/
H A Ddai-intel.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
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
112 /* DMIC Configuration Request - SOF_IPC_DAI_DMIC_CONFIG */
[all …]
/linux/net/ipv4/
H A 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.
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)
102 u32 nv_min_rtt; /* active min rtt. Used to determine slope */
[all …]
H A Dtcp_westwood.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TCP Westwood+: end-to-end bandwidth estimation for TCP
10 * - Mascolo S, Casetti, M. Gerla et al.
13 * - A. Grieco, s. Mascolo
17 * - A. Dell'Aera, L. Grieco, S. Mascolo.
18 * "Linux 2.4 Implementation of Westwood+ TCP with Rate-Halving :
21 * Westwood+ employs end-to-end bandwidth measurement to set cwnd and
43 u8 reset_rtt_min; /* Reset RTT min to next RTT sample*/
47 #define TCP_WESTWOOD_RTT_MIN (HZ/20) /* 50ms */
48 #define TCP_WESTWOOD_INIT_RTT (20*HZ) /* maybe too conservative?! */
[all …]
H A Dtcp_bbr.c3 * BBR congestion control computes the sending rate based on the delivery
4 * rate (throughput) estimated from ACKs. In a nutshell:
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 <--+
34 * A BBR flow starts in STARTUP, and ramps up its sending rate quickly.
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A 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)
23 #define min(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/include/sound/
H A 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 */
39 unsigned int channels_min; /* min channels */
42 size_t period_bytes_min; /* min period size */
44 unsigned int periods_min; /* min # of periods */
86 #define SNDRV_PCM_DEVICES (SNDRV_OS_MINORS-2)
[all …]
H A Demu10k1.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 #include <sound/pcm-indirect.h>
25 /* ----
1567 int min; /* minimum range */ global() member
[all...]
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Performance event support for the System z CPU-measurement Sampling Facility
28 #define PERF_EVENT_CPUM_SF 0xB0000UL /* Event: Basic-sampling */
29 #define PERF_EVENT_CPUM_SF_DIAG 0xBD000UL /* Event: Combined-sampling */
30 #define PERF_CPUM_SF_BASIC_MODE 0x0001 /* Basic-sampling flag */
31 #define PERF_CPUM_SF_DIAG_MODE 0x0002 /* Diagnostic-sampling flag */
34 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config)
35 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc)
36 #define TEAR_REG(hwc) ((hwc)->last_tag)
37 #define SAMPL_RATE(hwc) ((hwc)->event_base)
[all …]
/linux/sound/hda/core/
H A Ddevice.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->de in snd_hdac_device_init()
695 unsigned int hz; global() member
788 snd_hdac_stream_format(unsigned int channels,unsigned int bits,unsigned int rate) snd_hdac_stream_format() argument
841 snd_hdac_spdif_stream_format(unsigned int channels,unsigned int bits,unsigned int rate,unsigned short spdif_ctls) snd_hdac_spdif_stream_format() argument
1004 unsigned int val = 0, rate, stream; snd_hdac_is_supported_format() local
[all...]
/linux/include/linux/soundwire/
H A Dsdw.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
83 /* sample packaging for block. It can be per port or per channel */
88 * enum sdw_slave_status - Slave status
106 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
107 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepar
943 unsigned int rate; global() member
[all...]
/linux/net/dccp/ccids/
H A Dccid3.c
/linux/sound/core/
H A Dpcm_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Abramo Bagnara <abramo@alsa-project.org>
43 delta = new_ptr - ptr; in update_silence_vars()
47 delta += runtime->boundary; in update_silence_vars()
48 if ((snd_pcm_uframes_t)delta < runtime->silence_filled) in update_silence_vars()
49 runtime->silence_filled -= delta; in update_silence_vars()
51 runtime->silence_filled = 0; in update_silence_vars()
52 runtime->silence_start = new_ptr; in update_silence_vars()
57 * runtime->silence_start: starting pointer to silence area
58 * runtime->silence_filled: size filled with silence
[all …]
/linux/sound/soc/renesas/rcar/
H A Dadg.c1 // SPDX-License-Identifier: GPL-2.0
3 // Helper routines for R-Car sound ADG.
6 #include <linux/clk-provider.h>
52 (i < adg->clkin_size) && \
53 ((pos) = adg->clkin[i]); \
57 (i < adg->clkout_size) && \
58 ((pos) = adg->clkout[i]); \
60 #define rsnd_priv_to_adg(priv) ((struct rsnd_adg *)(priv)->adg)
87 for (i = 3; i >= 0; i--) { in rsnd_adg_calculate_brgx()
90 return (u32)((i << 8) | ((div / ratio) - 1)); in rsnd_adg_calculate_brgx()
[all …]
/linux/net/dccp/
H A Dinput.c
/linux/drivers/hid/
H A Dhid-nintendo.c1 // SPDX-License-Identifier: GPL-2.0+
3 * HID driver for Nintendo Switch Joy-Cons and Pro Controllers
5 * Copyright (c) 2019-2021 Daniel J. Ogorchock <djogorchock@gmail.com>
12 * https://gitlab.com/pjranki/joycon-linux-kernel (Peter Rankin)
16 * hid-wiimote kernel hid driver
17 * hid-logitech-hidpp driver
18 * hid-sony driver
20 * This driver supports the Nintendo Switch Joy-Cons and Pro Controllers. The
31 #include "hid-ids.h"
120 (JC_CAL_USR_LEFT_DATA_END - JC_CAL_USR_LEFT_DATA_ADDR + 1)
[all …]
/linux/sound/ppc/
H A Dbeep.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <linux/dma-mapping.h>
21 int volume; /* mixer volume: 0-100 */
23 int hz; member
35 struct pmac_beep *beep = chip->beep; in snd_pmac_beep_stop()
36 if (beep && beep->runnin in snd_pmac_beep_stop()
87 snd_pmac_beep_event(struct input_dev * dev,unsigned int type,unsigned int code,int hz) snd_pmac_beep_event() argument
[all...]
/linux/block/
H A Dblk-wbt.c1 // SPDX-License-Identifier: GPL-2.0
6 * - Monitor latencies in a defined window of time.
7 * - If the minimum latency in the above window exceeds some target, increment
10 * - For any window where we don't have solid data on what the latencies
12 * - If latencies look good, decrement scaling step.
13 * - If we're only doing writes, allow the scaling step to go negative. This
25 #include <linux/backing-dev.h>
28 #include "blk-stat.h"
29 #include "blk-wbt.h"
30 #include "blk-rq-qos.h"
[all …]
/linux/sound/pci/rme9652/
H A Dhdspm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Modified 2006-06-01 for AES32 support by Remy Bruno
12 * Modified 2009-04-13 for proper metering by Florian Faber
15 * Modified 2009-0
1220 hdspm_round_frequency(int rate) hdspm_round_frequency() argument
1238 hdspm_rate_multiplier(struct hdspm * hdspm,int rate) hdspm_rate_multiplier() argument
1254 int syncref, rate = 0, rate_bits; hdspm_external_sample_rate() local
1593 hdspm_set_dds_value(struct hdspm * hdspm,int rate) hdspm_set_dds_value() argument
1629 hdspm_set_rate(struct hdspm * hdspm,int rate,int called_internally) hdspm_set_rate() argument
2196 unsigned int period, rate; hdspm_get_pll_freq() local
2210 unsigned int rate; hdspm_get_system_sample_rate() local
2269 int rate = ucontrol->value.integer.value[0]; snd_hdspm_put_system_sample_rate() local
2385 int rate = hdspm_external_sample_rate(hdspm); hdspm_external_rate_to_enum() local
2618 int rate; hdspm_set_clock_source() local
4753 u32 rate; snd_hdspm_proc_read_tco() local
[all...]
/linux/sound/pci/ac97/
H A Dac97_pcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
151 if (pcm->spdif) in get_slot_reg()
153 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg()
154 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3]; in get_slot_reg()
156 return rate_cregs[slot - in get_slot_reg()
159 set_spdif_rate(struct snd_ac97 * ac97,unsigned short rate) set_spdif_rate() argument
243 snd_ac97_set_rate(struct snd_ac97 * ac97,int reg,unsigned int rate) snd_ac97_set_rate() argument
555 snd_ac97_pcm_open(struct ac97_pcm * pcm,unsigned int rate,enum ac97_pcm_cfg cfg,unsigned short slots) snd_ac97_pcm_open() argument
692 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); double_rate_hw_constraint_rate() local
701 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); double_rate_hw_constraint_channels() local
[all...]
/linux/drivers/iio/adc/
H A Dad7944.c1 // SPDX-License-Identifier: GPL-2.0-only
26 #include <linux/iio/buffer-dmaengine.h>
40 /* datasheet calls this "4-wire mode" */
42 /* datasheet calls this "3-wire mode" (not related to SPI_3WIRE!) */
48 /* maps adi,spi-mode property value to enum */
67 /* Chip-specific timing specifications. */
73 /* Indicates TURBO is hard-wired to be always enabled. */
88 } sample __aligned(IIO_DMA_MINALIGN);
118 * AD7944_DEFINE_CHIP_INFO - Define a chip info structure for a specific chip
121 * @_max: The maximum sample rate in Hz
[all …]
/linux/include/net/
H A Dtcp.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
49 #include <linux/bpf-cgroup.h>
74 #define TCP_MIN_GSO_SIZE (TCP_MIN_SND_MSS - MAX_TCP_OPTION_SPACE)
82 /* Minimal accepted MSS. It is (60+60+8) - (20+20). */
97 /* Maximal number of ACKs sent quickly to accelerate slow-start. */
115 * to ~3sec-8min depending on RTO.
122 * 15 is ~13-30min depending on RTO.
141 #define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT
145 * It used to be 3min, new value is 60sec,
146 * to combine FIN-WAIT-2 timeout with
[all …]
/linux/include/xen/interface/io/
H A Dsndif.h1 /* SPDX-License-Identifier: MIT */
5 * Unified sound-device I/O interface for Xen guest OSes.
7 * Copyright (C) 2013-2015 GlobalLogic Inc.
8 * Copyright (C) 2016-2017 EPAM Systems Inc.
34 * Front->back notifications: when enqueuing a new request, sending a
36 * hold-off mechanism provided by the ring macros). Backends must set
39 * Back->front notifications: when enqueuing a new response, sending a
41 * hold-off mechanism provided by the ring macros). Frontends must set
44 * The two halves of a para-virtual sound card driver utilize nodes within
58 * Note: depending on the use-case backend can expose more sound cards and
[all …]
/linux/sound/drivers/
H A Ddummy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
46 #define USE_MIXER_VOLUME_LEVEL_MIN -50
49 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
51 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
52 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL};
53 static int pcm_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS -
239 unsigned int rate; global() member
438 unsigned int period, rate; dummy_hrtimer_prepare() local
[all...]

1234