Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/device-tree/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 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 …]
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 …]
/freebsd/usr.bin/gprof/
H A Dgprof.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
53 --argc; in main()
57 while ( *argv != 0 && **argv == '-' ) { in main()
78 printf("gprof: -d ignored\n"); in main()
148 if ((Kflag && kernel_getnfile(a_outname, &defaultEs) == -1) || in main()
149 (!Kflag && elf_getnfile(a_outname, &defaultEs) == -1)) in main()
177 if (hz == 0) { in main()
178 hz = 1; in main()
252 int rate; in openpfile() local
[all …]
/freebsd/contrib/file/magic/scripts/
H A Dcreate_filemagic_flac5 ## below "#some common sample rates" (line 471), ie:
12 ## construct static list of sample rates based on standard crystal
25 declare -a a_ground_fs=(16384000 22579200 24576000)
29 ## DAT/video: 24.576 MHz * 1000000 / 512 = 48000Hz
30 ## Redbook/CD: 22.5792 MHz * 1000000 / 512 = 44100Hz
32 declare -a samplerates
37 ## add each derived sample rate to the array
40 ## max multiplier: fs*n*min_fs
43 while [[ ${n} -ge 1 ]]; do
50 declare -a stripped_rates
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_irig.c2 * refclock_irig - audio IRIG-B/E demodulator/decoder
26 * Audio IRIG-B/E demodulator/decoder
29 * IRIG-B/E signals commonly produced by GPS receivers and other timing
30 * devices. The IRIG signal is an amplitude-modulated carrier with
31 * pulse-width modulated data bits. For IRIG-B, the carrier frequency is
32 * 1000 Hz and bit rate 100 b/s; for IRIG-
417 double sample; /* codec sample */ irig_receive() local
508 irig_rf(struct peer * peer,double sample) irig_rf() argument
587 irig_base(struct peer * peer,double sample) irig_base() argument
[all...]
H A Drefclock_wwv.c2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station
42 * The driver requires an audio codec or sound card with sampling rate 8
43 * kHz and mu-law companding. This is the same standard as used by the
53 * Report 97-8-1, University of Delaware, August 1997, 25 pp., available
61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the
68 * port, where 0 is the mike port (default) and 1 is the line-in port.
74 * CEVNT_PROP propagation failure - no stations heard
82 #define PRECISION (-10) /* precision assumed (about 1 ms) */
84 #define WWV_SEC 8000 /* second epoch (sample rat
797 double sample; /* codec sample */ wwv_receive() local
[all...]
H A Drefclock_chu.c2 * refclock_chu - clock driver for Canadian CHU time/frequency station
43 * The driver requires an audio codec or sound card with sampling rate 8
44 * kHz and mu-law companding. This is the same standard as used by the
57 * maximum-likelihood technique which exploits the considerable degree
61 * Bell 103 modem standard (mark = 2225 Hz, space = 2025 Hz). The signal
62 * consists of nine, ten-character bursts transmitted at 300 bps between
87 * the DUT1 (d in deciseconds), Gregorian year (yyyy), difference TAI -
101 * coincides with 0.5 - 9 * 11/300 = 0.170 second. Depending on the
110 * connections. With debugging enabled (-d on the ntpd command line),
113 * chuA or chuB followed by the status code and signal level (0-9999).
[all …]
/freebsd/sys/dev/ath/ath_rate/sample/
H A Dsample.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
17 * 3. Neither the names of the above-listed copyright holders nor the names
80 #include <dev/ath/ath_rate/sample/sample.h>
82 #include <dev/ath/ath_rate/sample/tx_schedules.h>
86 * in "Bit-rate Selection in Wireless Networks"
87 * (http://www.pdos.lcs.mit.edu/papers/jbicket-ms.ps)
89 * SampleRate chooses the bit-rate it predicts will provide the most
90 * throughput based on estimates of the expected per-packet
91 * transmission time for each bit-rate. SampleRate periodically sends
[all …]
/freebsd/sys/net80211/
H A Dieee80211_ht.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
36 #define IEEE80211_AGGR_BAWMAX 64 /* max block ack window size */
37 /* threshold for aging overlapping non-HT bss */
50 #define IEEE80211_AGGR_AMSDU 0x0080 /* A-MSDU in A-MPDU TX allowed */
53 int txa_lastsample; /* ticks @ last traffic sample */
54 int txa_pkts; /* packets over last sample interval */
64 void *txa_private; /* driver-private storage */
68 /* return non-zero if AMPDU tx for the TID is running */
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/bridge/
H A 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 …]
/freebsd/share/man/man3/
H A Dstats.32 .\" Copyright (c) 2016-2018 Netflix, Inc.
212 framework facilitates real-time kernel and user space statistics gathering.
238 .Bd -literal -offset indent
239 ---------------------------------------------------------
242 ---------------------------------------------------------
245 The publicly visible 8-byte header is defined as:
246 .Bd -literal -offset indent
289 .Bd -literal -offset indent
310 .Bl -tag -width ".Dv VS_STYPE_TDGST"
319 .Dq out-of-band/bucket
[all …]
/freebsd/sys/dev/sound/usb/
H A Duaudio.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
95 static int uaudio_default_rate = 0; /* use rate list */
96 static int uaudio_default_bits = 0; /* use default sample size */
106 &uaudio_default_rate, 0, "uaudio default sample rate");
108 &uaudio_default_bits, 0, "uaudio default sample bits");
110 &uaudio_default_channels, 0, "uaudio default sample channels");
123 if (err != 0 || req->newptr == NULL || val == uaudio_buffer_ms) in uaudio_buffer_ms_sysctl()
149 #define UAUDIO_NFRAMES 64 /* must be factor of 8 due HS-USB */
152 #define UAUDIO_BITS_MAX 32 /* maximum sample size in bits */
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dvorbis2 #------------------------------------------------------------------------------
23 # --- Ogg Framing ---
30 # non-Vorbis content: FLAC (Free Lossless Audio Codec, http://flac.sourceforge.net)
32 # non-Vorbis content: Theora
36 # non-Vorbis content: Kate
47 # non-Vorbis content: Skeleton
52 # non-Vorbis content: Speex
55 # non-Vorbis content: OGM
62 # --- First vorbis packet - general header ---
71 >>>>40 lelong x %u Hz
[all …]
/freebsd/sys/dev/wpi/
H A Dif_wpi.c1 /*-
317 for (ident = wpi_ident_table; ident->name != NULL; ident++) { in wpi_probe()
318 if (pci_get_vendor(dev) == ident->vendor && in wpi_probe()
319 pci_get_device(dev) == ident->device) { in wpi_probe()
320 device_set_desc(dev, ident->name); in wpi_probe()
339 sc->sc_dev = dev; in wpi_attach()
342 error = resource_int_value(device_get_name(sc->sc_dev), in wpi_attach()
343 device_get_unit(sc->sc_dev), "debug", &(sc->sc_debug)); in wpi_attach()
345 sc->sc_debug = 0; in wpi_attach()
347 sc->sc_debug = 0; in wpi_attach()
[all …]
/freebsd/sys/contrib/xen/io/
H A Dsndif.h4 * Unified sound-device I/O interface for Xen guest OSes.
24 * Copyright (C) 2013-2015 GlobalLogic Inc.
25 * Copyright (C) 2016-2017 EPAM Systems Inc.
51 * Front->back notifications: when enqueuing a new request, sending a
53 * hold-off mechanism provided by the ring macros). Backends must set
56 * Back->front notifications: when enqueuing a new response, sending a
58 * hold-off mechanism provided by the ring macros). Frontends must set
61 * The two halves of a para-virtual sound card driver utilize nodes within
75 * Note: depending on the use-case backend can expose more sound cards and
81 *--------------------------------- Backend -----------------------------------
[all …]
/freebsd/sys/contrib/device-tree/src/arm/microchip/
H A Dsama7g5.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama7g5.dtsi - Device Tree Include file for SAMA7G5 family SoC
12 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/clock/at91.h>
16 #include <dt-bindings/dma/at91.h>
17 #include <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/mfd/at91-usart.h>
19 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
[all …]
H A Dsama5d2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama5d2.dtsi - Device Tree Include file for SAMA5D2 family SoC
9 #include <dt-bindings/dma/at91.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/clock/at91.h>
12 #include <dt-bindings/mfd/at91-usar
[all...]
/freebsd/sys/dev/sound/macio/
H A Di2s.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause
27 /*-
137 int detect_active; /* for extint-gpio */
138 int level; /* for extint-gpio */
139 struct i2s_softc *i2s; /* for extint-gpio */
195 sc->aoa.sc_dev = self; in i2s_attach()
196 sc->node = ofw_bus_get_node(self); in i2s_attach()
198 port = of_find_firstchild_byname(sc->node, "i2s-a"); in i2s_attach()
199 if (port == -1) in i2s_attach()
[all …]
/freebsd/sys/dev/spibus/controller/allwinner/
H A Daw_spi.c1 /*-
57 #define AW_SPI_TCR_SDM (1 << 13) /* Master Sample Data Mode */
59 #define AW_SPI_TCR_SDC (1 << 11) /* Master Sample Data Control */
108 #define AW_SPI_CCR 0x24 /* Clock Rate Control Register */
126 { "allwinner,sun8i-h3-spi", 1 },
133 { -1, 0 }
156 #define AW_SPI_LOCK(sc) mtx_lock(&(sc)->mtx)
157 #define AW_SPI_UNLOCK(sc) mtx_unlock(&(sc)->mtx)
158 #define AW_SPI_ASSERT_LOCKED(sc) mtx_assert(&(sc)->mtx, MA_OWNED)
159 #define AW_SPI_READ_1(sc, reg) bus_read_1((sc)->res[0], (reg))
[all …]
/freebsd/sys/sys/
H A Dsoundcard.h5 /*-
6 * SPDX-License-Identifier: BSD-2-Clause
8 * Copyright by Hannu Savolainen 1993 / 4Front Technologies 1993-2006
55 * snd-sdk-doc-0.1.ps.gz (gzipped postscript). It contains
121 * interface. AIONWRITE is the dual of FIONREAD, i.e. returns the max
122 * number of bytes for a write operation to be non-blocking.
131 * will always be ready by the next sample time (which is often only a
146 * format. We extend it by using bit 31 (RO) to indicate full-duplex
151 * The number of bits required to store the sample is:
153 * o 8 bits for 8-bit formats, mu-law and A-law,
[all …]
/freebsd/sys/kern/
H A Dkern_ntptime.c1 /*-
4 * Copyright (c) David L. Mills 1993-2001 *
22 * Poul-Henning Kamp <phk@FreeBSD.org>.
57 * Single-precision macros for 64-bit machines
61 #define L_SUB(v, u) ((v) -= (u))
63 #define L_NEG(v) ((v) = -(v))
67 (v) = -(-(v) >> (n)); \
77 ((v) = -((int64_t)(-(a)) << 32)); \
81 #define L_GINT(v) ((v) < 0 ? -(-(v) >> 32) : (v) >> 32)
104 * architecture-specific module. The interpolation can use either a
[all …]
/freebsd/sys/dev/sound/pcm/
H A Dchannel.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org>
5 * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006
7 * Portions Copyright (c) Luigi Rizzo <luigi@FreeBSD.org> - 1997-99
9 * Copyright (c) 2024-2025 The FreeBSD Foundation
47 &report_soft_formats, 0, "report software-emulated formats");
51 &report_soft_matrix, 0, "report software-emulated channel matrixing");
62 if (err != 0 || req->newptr == NULL) in sysctl_hw_snd_latency()
85 if (err != 0 || req->newptr == NULL) in sysctl_hw_snd_latency_profile()
[all …]
/freebsd/sys/dev/iwn/
H A Dif_iwn.c1 /*-
2 * Copyright (c) 2007-2009 Damien Bergamini <damien.bergamini@free.fr>
6 * Copyright (c) 2013 Cedric GROSS <c.gross@kreiz-it.fr>
84 { 0x8086, IWN_DID_6x05_1, "Intel Centrino Advanced-N 6205" },
85 { 0x8086, IWN_DID_1000_1, "Intel Centrino Wireless-N 1000" },
86 { 0x8086, IWN_DID_1000_2, "Intel Centrino Wireless-N 1000" },
87 { 0x8086, IWN_DID_6x05_2, "Intel Centrino Advanced-N 6205" },
88 { 0x8086, IWN_DID_6050_1, "Intel Centrino Advanced-N + WiMAX 6250" },
89 { 0x8086, IWN_DID_6050_2, "Intel Centrino Advanced-N + WiMAX 6250" },
90 { 0x8086, IWN_DID_x030_1, "Intel Centrino Wireless-N 1030" },
[all …]
/freebsd/usr.sbin/virtual_oss/virtual_oss/
H A Dmain.c1 /*-
2 * Copyright (c) 2012-2022 Hans Petter Selasky
68 uint32_t fmt = pvc->format; in vclient_sample_bytes()
89 if (pvc->tx_busy == 0) in vclient_output_delay()
92 mod = pvc->channels * vclient_sample_bytes(pvc); in vclient_output_delay()
94 size = vring_total_read_len(&pvc->tx_ring[0]); in vclient_output_delay()
97 size = (size * (uint64_t)pvc->sample_rate) / in vclient_output_delay()
99 size += vring_total_read_len(&pvc->tx_ring[1]); in vclient_output_delay()
100 size -= size % mod; in vclient_output_delay()
108 if (pvc->rx_busy == 0) in vclient_input_delay()
[all …]

12