Home
last modified time | relevance | path

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

12345678910>>...13

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dat91-sama5d2_adc.txt4 - compatible: Should be "atmel,sama5d2-adc" or "microchip,sam9x60-adc".
5 - reg: Should contain ADC registers location and length.
6 - interrupts: Should contain the IRQ line for the ADC.
7 - clocks: phandle to device clock.
8 - clock-names: Must be "adc_clk".
9 - vref-supply: Supply used as reference for conversions.
10 - vddana-supply: Supply for the adc device.
11 - atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC.
12 - atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC.
13 - atmel,startup-time-ms: Startup time expressed in ms, it depends on SoC.
[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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
17 int p_srate; /* rate in Hz */
18 int p_ssize; /* sample size */
22 int c_srate; /* rate in Hz */
23 int c_ssize; /* sample size */
35 /* Max packet size for all in_ep possible speeds */
37 /* Max packet size for all out_ep possible speeds */
40 /* The ALSA Sound Card it represents on the USB-Client side */
64 * g_audio_setup - initialize one virtual ALSA sound card
/kernel/linux/linux-5.10/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"
21 * However, if the leader is an AUX area event, then assume the event to sample
26 struct evsel *leader = evsel->leader; in evsel__read_sampler()
30 if (evsel->leader == leader && evsel != evsel->leader) in evsel__read_sampler()
41 struct list_head *config_terms = &evsel->config_terms; in evsel__config_term_mask()
45 term_types |= 1 << term->type; in evsel__config_term_mask()
52 struct perf_event_attr *attr = &evsel->core.attr; in evsel__config_leader_sampling()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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");
107 ca->cnt = 0; in bictcp_reset()
108 ca->last_max_cwnd = 0; in bictcp_reset()
109 ca->last_cwnd = 0; in bictcp_reset()
110 ca->last_time = 0; in bictcp_reset()
111 ca->bic_origin_point = 0; in bictcp_reset()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/
Dadi,adis16475.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nuno Sá <nuno.sa@analog.com>
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16475.pdf
19 - adi,adis16475-1
20 - adi,adis16475-2
21 - adi,adis16475-3
22 - adi,adis16477-1
23 - adi,adis16477-2
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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
180 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
191 * enum sdw_dpn_type - Data port types
206 * enum sdw_clk_stop_mode - Clock Stop modes
[all …]
/kernel/linux/linux-6.6/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)
36 unsigned int rate_min; /* min rate */
37 unsigned int rate_max; /* max rate */
39 unsigned int channels_max; /* max channels */
40 size_t buffer_bytes_max; /* max buffer size */
42 size_t period_bytes_max; /* max period size */
44 unsigned int periods_max; /* max # of periods */
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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
27 /* Minimum number of sample-data-block-tables:
29 * A single table contains up to 511 pointers to sample-data-blocks.
33 /* Number of sample-data-blocks per sample-data-block-table (SDBT):
34 * A table contains SDB pointers (8 bytes) and one table-link entry
37 #define CPUM_SF_SDB_PER_TABLE ((PAGE_SIZE - 8) / 8)
39 /* Maximum page offset for an SDBT table-link entry:
40 * If this page offset is reached, a table-link entry to the next SDBT
52 * the number of sample-data-block-tables into account. Note that these
[all …]
/kernel/linux/linux-5.10/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 …]

12345678910>>...13