Home
last modified time | relevance | path

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

123

/freebsd-src/share/man/man4/
H A Dsndstat.42 .\" SPDX-License-Identifier: BSD-2-Clause
30 .\" Note: The date here should be updated whenever a non-trivial
37 .Nd "nvlist-based PCM audio device enumeration interface"
42 .Bd -ragged -offse
[all...]
H A Dpcm.42 .\" Copyright (c) 2009-2011 Joel Dahl <joel@FreeBSD.org>
31 .Nm pcm ,
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 -compact
118 .Xr snd_uaudio 4 (auto-loaded on device plug)
145 .Bl -tag -width ".Va snd_driver_load" -offset indent
166 .Va hint.pcm.0.line Ns = Ns Qq Li 0 .
[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 -width indent
101 Preferred sample rate in Hz (default is 0).
102 If set to 0, the device's highest supported sample rate will be used.
104 Note that if VCHANs are enabled, the sample rate will be overridden by
[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-src/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-schema
[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 …]
H A Dlantiq,pef2256.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <herve.codina@bootlin.com>
14 line interface component designed to fulfill all required interfacing between
15 an analog E1/T1/J1 line and the digital PCM system highway/H.100 bus.
20 - const: lantiq,pef2256
27 - description: Master Clock
28 - description: System Clock Receive
29 - description: System Clock Transmit
[all …]
/freebsd-src/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-src/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-src/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_bas
314 device_t pcm[RT_COUNT]; global() member
1183 emu_rate_to_pitch(uint32_t rate) emu_rate_to_pitch() argument
1240 emu_rate_to_linearpitch(uint32_t rate) emu_rate_to_linearpitch() argument
[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/ac9
1225 es1371_adc_rate(struct es_info * es,unsigned int rate,int set) es1371_adc_rate() argument
1265 es1371_dac_rate(struct es_info * es,unsigned int rate,int set) es1371_dac_rate() argument
[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->s in fm801_rd()
374 u_int32_t rate; global() member
[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 /* --
[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->s in via_rd()
[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/soun
459 buffer_mux_write(uint32_t * dma,uint32_t * pcm,unsigned int pos,unsigned int pos_end,unsigned int width,unsigned int channels) buffer_mux_write() argument
473 buffer_mux_port(uint32_t * dma,uint32_t * pcm,uint32_t subset,uint32_t slots,unsigned int pos,unsigned int samples,unsigned int channels) buffer_mux_port() argument
504 buffer_demux_read(uint32_t * dma,uint32_t * pcm,unsigned int pos,unsigned int pos_end,unsigned int width,unsigned int channels) buffer_demux_read() argument
518 buffer_demux_port(uint32_t * dma,uint32_t * pcm,uint32_t subset,uint32_t slots,unsigned int pos,unsigned int samples,unsigned int channels) buffer_demux_port() argument
[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
1227 emu_pcm_intr(void * pcm,uint32_t stat) emu_pcm_intr() argument
[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 /* ---
[all...]
/freebsd-src/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-names = "default";
24 pinctrl-0 = <&state_default>;
47 spdif-in {
51 spdif-out {
59 smi-pmx {
[all …]
/freebsd-src/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->parentchanne in vchan_init()
[all...]
/freebsd-src/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-US
1628 uaudio20_check_rate(struct usb_device * udev,uint8_t iface_no,uint8_t clockid,uint32_t rate) uaudio20_check_rate() argument
1743 uaudio_chan_fill_info_sub(struct uaudio_softc * sc,struct usb_device * udev,uint32_t rate,uint8_t channels,uint8_t bit_resolution) uaudio_chan_fill_info_sub() argument
2183 uint32_t rate = uaudio_default_rate; uaudio_chan_fill_info() local
[all...]
/freebsd-src/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
445 i2s_setup(struct i2s_softc * sc,u_int rate,u_int wordsize,u_int sclk_fs) i2s_setup() argument
[all...]
/freebsd-src/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[--i] = '\0'; in audio_config_read()
206 printf("monitor <%s> %d\n", ab, mixer_name(ab, -1)); in audio_config_read()
215 * audio_init - open and initialize audio device
217 * This code works with SunOS 4.x, Solaris 2.x, and PCM; however, it is
221 * codec sample rate (8000 Hz), precision (8 bits), number of channels
[all …]

123