Home
last modified time | relevance | path

Searched +full:pcm +full:- +full:interface +full:- +full:rate (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/share/man/man4/
H A Dpcm.42 .\" Copyright (c) 2009-2011 Joel Dahl <joel@FreeBSD.org>
31 .Nm pcm ,
35 PCM audio device infrastructure
39 .Bd -ragged -offset indent
49 and provides PCM audio record and playback once it attaches.
60 driver are: multichannel audio, per-application
62 duplex operation, bit perfect audio, rate conversion and low latency
74 .Bl -bullet -compac
[all...]
H A Dsnd_uaudio.439 .Bd -ragged -offset indent
48 .Bd -literal -offset indent
61 user-supplied values specified through the
63 interface, the driver will select the best matching configuration supported by
66 sample rate and sample size.
79 For a change to take effect during runtime, the device has to be re-attached.
80 .Bl -tag -widt
[all...]
H A Dsnd_emu10kx.42 .\" Copyright (c) 2003-2007 Yuriy Tsibizov
35 .Bd -ragged -offset indent
43 .Bd -literal -offset indent
56 sound cards have a PCM part, which is accessible through one to five
57 .Xr pcm 4
60 for details), and MPU401-compatible MIDI I/O controller, which is accessible
68 .Bl -bullet -compact
71 Both PCM and MIDI interfaces are available.
94 .Bl -bullet -compact
96 Creative Sound Blaster Live!\& 24-Bit, identified by
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dbroadcom-bluetooth.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/broadcom-bluetooth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 This binding describes Broadcom UART-attached bluetooth chips.
18 - brcm,bcm20702a1
19 - brcm,bcm4329-bt
20 - brcm,bcm4330-bt
21 - brcm,bcm4334-bt
[all …]
H A Dbroadcom-bluetooth.txt2 ---------------------
12 - compatible: should contain one of the following:
14 * "brcm,bcm4329-bt"
15 * "brcm,bcm4330-bt"
16 * "brcm,bcm43438-bt"
18 * "brcm,bcm43540-bt"
23 - max-speed: see Documentation/devicetree/bindings/serial/serial.yaml
24 - shutdown-gpios: GPIO specifier, used to enable the BT module
25 - device-wakeup-gpios: GPIO specifier, used to wakeup the controller
26 - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor.
[all …]
/freebsd/sys/dev/sound/fdt/
H A Daudio_dai_if.m1 #-
30 #include <dev/sound/pcm/sound.h>
33 INTERFACE audio_dai;
57 uint32_t rate;
76 # Set PCM channel format
82 # Set PCM channel sampling rate
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dmax98504.txt3 This device supports I2C control interface and an IRQ output signal. It features
4 a PCM and PDM digital audio interface (DAI) and a differential analog input.
8 - compatible : "maxim,max98504"
9 - reg : should contain the I2C slave device address
10 - DVDD-supply, DIOVDD-supply, PVDD-supply: power supplies for the device,
12 - interrupts : should specify the interrupt line the device is connected to,
13 as described in ../interrupt-controller/interrupts.txt
17 - maxim,brownout-threshold - the PVDD brownout threshold, the value must be
19 - maxim,brownout-attenuation - the brownout attenuation to the speaker gain
22 - maxim,brownout-attack-hold-ms - the brownout attack hold phase time in ms,
[all …]
H A Dmaxim,max98504.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
13 Maxim Integrated MAX98504 speaker amplifier supports I2C control interface
14 with an IRQ output signal, PCM and PDM digital audio interface (DAI) and a
27 DIOVDD-supply: true
28 DVDD-supply: true
29 PVDD-supply: true
31 maxim,brownout-threshold:
[all …]
H A Dnvidia,tegra186-dspk.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-dspk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 Density Modulation (PDM) transmitter that up-samples the input to
12 the desired sampling rate by interpolation and then converts the
13 over sampled Pulse Code Modulation (PCM) input to the desired 1-bit
17 - Jon Hunter <jonathanh@nvidia.com>
18 - Sameer Pujar <spujar@nvidia.com>
21 - $ref: dai-common.yaml#
[all …]
/freebsd/sys/dev/sound/pci/
H A Demu10kx.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2003-2007 Yuriy Tsibizov <yuriy.tsibizov@gfk.ru>
52 #include <dev/sound/pcm/sound.h>
53 #include <dev/sound/pcm/ac97.h>
96 #define GPR(i) (sc->gpr_base+(i))
97 #define INP(i) (sc->input_base+(i))
98 #define OUTP(i) (sc->output_base+(i))
100 #define FX2(i) (sc->efxc_base+(i))
101 #define DSP_CONST(i) (sc->dsp_zero+(i))
[all …]
H A Des137x.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause AND BSD-4-Clause
30 /*-
82 #include <dev/sound/pcm/sound.h>
83 #include <dev/sound/pcm/ac97.h>
128 #define ES_BLK_ALIGN (~(ES_BLK_MIN - 1))
148 * 32bit Ensoniq Configuration (es->escfg).
149 * ----------------------------------------
151 * +-------+--------+------+------+---------+--------+---------+---------+
153 * +-------+--------+------+------+---------+--------+---------+---------+
[all …]
H A Dfm801.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
33 #include <dev/sound/pcm/sound.h>
34 #include <dev/sound/pcm/ac97.h>
176 return (bus_space_read_1(fm801->st, fm801->sh, regno)); in fm801_rd()
178 return (bus_space_read_2(fm801->st, fm801->sh, regno)); in fm801_rd()
180 return (bus_space_read_4(fm801->st, fm801->sh, regno)); in fm801_rd()
192 bus_space_write_1(fm801->st, fm801->sh, regno, data); in fm801_wr()
195 bus_space_write_2(fm801->st, fm801->sh, regno, data); in fm801_wr()
198 bus_space_write_4(fm801->st, fm801->sh, regno, data); in fm801_wr()
[all …]
H A Dcsapcm.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * Copyright (c) 1996-1998 Crystal Semiconductor Corp.
37 #include <dev/sound/pcm/sound.h>
38 #include <dev/sound/pcm/ac97.h>
80 /* -------------------------------------------------------------------- */
118 /* -------------------------------------------------------------------- */
125 old = csa->active; in csa_active()
126 csa->active += run; in csa_active()
128 if ((csa->active > 1) || (csa->active < -1)) in csa_active()
[all …]
H A Dvia82c686.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
33 #include <dev/sound/pcm/sound.h>
34 #include <dev/sound/pcm/ac97.h>
112 return bus_space_read_1(via->st, via->sh, regno); in via_rd()
114 return bus_space_read_2(via->st, via->sh, regno); in via_rd()
116 return bus_space_read_4(via->st, via->sh, regno); in via_rd()
128 bus_space_write_1(via->st, via->sh, regno, data); in via_wr()
131 bus_space_write_2(via->st, via->sh, regno, data); in via_wr()
134 bus_space_write_4(via->st, via->sh, regno, data); in via_wr()
[all …]
H A Demu10kx-pcm.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2003-2007 Yuriy Tsibizov <yuriy.tsibizov@gfk.ru>
46 #include <dev/sound/pcm/sound.h>
47 #include <dev/sound/pcm/ac97.h>
63 struct emu_pcm_info *pcm; member
81 struct emu_pcm_info *pcm; member
166 static uint32_t emu_pcm_intr(void *pcm, uint32_t stat);
177 [SOUND_MIXER_LINE2] = {1, 1, 4}, /* in4 Line-In2 */
178 [SOUND_MIXER_DIGITAL3] = {1, 1, 5}, /* in5 on-card SPDIF */
[all …]
H A Dhdsp-pcm.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2012-2021 Ruslan Bukin <br@bsdpad.com>
5 * Copyright (c) 2023-2024 Florian Walpen <dev@submerge.ch>
31 * RME HDSP driver for FreeBSD (pcm-part).
37 #include <dev/sound/pcm/sound.h>
88 /* ADAT slot bitmap depends on sample rate. */ in hdsp_adat_slot_map()
130 return (slots & (~(slots - 1))); /* Extract first bit set. */ in hdsp_slot_first()
141 return (slots & (ends ^ (ends - 1))); in hdsp_slot_first_row()
150 --n; in hdsp_slot_first_n()
[all …]
H A Dich.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 #include <dev/sound/pcm/sound.h>
35 #include <dev/sound/pcm/ac97.h>
41 /* -------------------------------------------------------------------- */
80 #define ICH_LOCK(sc) snd_mtxlock((sc)->ich_lock)
81 #define ICH_UNLOCK(sc) snd_mtxunlock((sc)->ich_lock)
82 #define ICH_LOCK_ASSERT(sc) snd_mtxassert((sc)->ich_lock)
145 "AMD-768" },
147 "AMD-8111" }
[all …]
H A Dsolo.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
32 #include <dev/sound/pcm/sound.h>
42 #define ABS(x) (((x) < 0)? -(x) : (x))
64 * Recording output is byte-swapped
103 #define ess_lock(_ess) snd_mtxlock((_ess)->lock)
104 #define ess_unlock(_ess) snd_mtxunlock((_ess)->lock)
105 #define ess_lock_assert(_ess) snd_mtxassert((_ess)->lock)
130 * Common code for the midi and pcm functions
181 return port_rd(sc->sb, reg, 1); in ess_rd()
[all …]
H A Dcs4281.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
40 #include <dev/sound/pcm/sound.h>
41 #include <dev/sound/pcm/ac97.h>
65 /* ------------------------------------------------------------------------- */
101 /* -------------------------------------------------------------------- */
122 /* -------------------------------------------------------------------- */
143 /* -------------------------------------------------------------------- */
149 return bus_space_read_4(sc->st, sc->sh, regno); in cs4281_rd()
155 bus_space_write_4(sc->st, sc->sh, regno, data); in cs4281_wr()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dspear1340-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1340-evb", "st,spear1340";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-name
[all...]
/freebsd/sys/dev/sound/pcm/
H A Dchannel_if.m1 #-
4 # Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org>
5 # Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006
32 #include <dev/sound/pcm/sound.h>
34 INTERFACE channel;
71 return -1;
183 * @param obj standard kobj object (usually @c channel->methods)
184 * @param data driver-specific data (usually @c channel->devinfo)
188 * @retval -1 Error; usually operation isn't supported.
202 * those rates primarily for when in-kernel rate adjustment is undesirable
[all …]
H A Dvchan.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2006-2009 Ariff Abdullah <ariff@FreeBSD.org>
34 /* Almost entirely rewritten to add multi-format/channels mixing support. */
40 #include <dev/sound/pcm/sound.h>
41 #include <dev/sound/pcm/vchan.h>
76 KASSERT(c != NULL && c->parentchannel != NULL, in vchan_init()
80 info->channel = c; in vchan_init()
81 info->trigger = PCMTRIG_STOP; in vchan_init()
82 p = c->parentchannel; in vchan_init()
[all …]
/freebsd/sys/dev/sound/usb/
H A Duaudio.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
90 #include <dev/sound/pcm/sound.h>
95 static int uaudio_default_rate = 0; /* use rate list */
106 &uaudio_default_rate, 0, "uaudio default sample rate");
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 */
157 #define BIT_TEST(bm,bno) (((bm)[(bno) / 8] >> (7 - ((bno) % 8))) & 1)
159 #define MIX(sc) ((sc)->sc_mixer_node)
352 #define UAUDIO_SPDIF_OUT_48K 0x02 /* Out sample rate = 48K */
[all …]
/freebsd/sys/dev/sound/macio/
H A Di2s.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause
27 /*-
80 #include <dev/sound/pcm/sound.h>
109 /* Device interface. */
116 "pcm",
128 /* Device interface. */
137 int detect_active; /* for extint-gpio */
138 int level; /* for extint-gpio */
139 struct i2s_softc *i2s; /* for extint-gpio */
[all …]
/freebsd/contrib/ntp/libntp/
H A Daudio.c2 * audio.c - audio interface for reference clock audio drivers
51 * 4.4BSD-Lite switched to an unsigned long ioctl arg. Detect common
102 ? -1 in mixer_name()
124 * util/audio-pcm program.
165 i > 0 && isascii((unsigned char)line[i - 1]) && isspace((unsigned char)line[i - 1]); in audio_config_read()
167 line[-- in audio_config_read()
[all...]

123