Home
last modified time | relevance | path

Searched +full:pcm +full:- +full:frame +full:- +full:type (Results 1 – 25 of 271) sorted by relevance

1234567891011

/kernel/linux/linux-6.6/sound/usb/line6/
Dpcm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
9 PCM interface to POD series devices.
15 #include <sound/pcm.h>
23 with only one frame per packet.
35 Get substream from Line 6 PCM data structure
38 (line6pcm->pcm->streams[stream].substream)
41 PCM mode bits.
43 There are several features of the Line 6 USB driver which require PCM
45 *) PCM playback and capture via ALSA
[all …]
/kernel/linux/linux-5.10/sound/usb/line6/
Dpcm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
9 PCM interface to POD series devices.
15 #include <sound/pcm.h>
23 with only one frame per packet.
35 Get substream from Line 6 PCM data structure
38 (line6pcm->pcm->streams[stream].substream)
41 PCM mode bits.
43 There are several features of the Line 6 USB driver which require PCM
45 *) PCM playback and capture via ALSA
[all …]
/kernel/linux/linux-6.6/sound/usb/6fire/
Dpcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * PCM driver
12 #include "pcm.h"
32 enum { /* settings for pcm */
36 enum { /* pcm streaming states */
37 STREAM_DISABLED, /* no pcm streaming */
38 STREAM_STARTING, /* pcm streaming requested, waiting to become ready */
39 STREAM_RUNNING, /* pcm streaming running */
64 .period_bytes_min = PCM_N_PACKETS_PER_URB * (PCM_MAX_PACKET_SIZE - 4),
73 struct control_runtime *ctrl_rt = rt->chip->control; in usb6fire_pcm_set_rate()
[all …]
/kernel/linux/linux-5.10/sound/usb/6fire/
Dpcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * PCM driver
12 #include "pcm.h"
32 enum { /* settings for pcm */
36 enum { /* pcm streaming states */
37 STREAM_DISABLED, /* no pcm streaming */
38 STREAM_STARTING, /* pcm streaming requested, waiting to become ready */
39 STREAM_RUNNING, /* pcm streaming running */
64 .period_bytes_min = PCM_N_PACKETS_PER_URB * (PCM_MAX_PACKET_SIZE - 4),
73 struct control_runtime *ctrl_rt = rt->chip->control; in usb6fire_pcm_set_rate()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
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 …]
/kernel/linux/linux-5.10/sound/soc/sti/
Dsti_uniperif.c1 // SPDX-License-Identifier: GPL-2.0-only
15 * User frame size shall be 2, 4, 6 or 8 32-bits words length
28 enum uniperif_type type; member
36 .type = SND_ST_UNIPERIF_TYPE_HDMI
43 .dai_names = "Uni Player #1 (PCM OUT)",
44 .type = SND_ST_UNIPERIF_TYPE_PCM | SND_ST_UNIPERIF_TYPE_TDM,
52 .type = SND_ST_UNIPERIF_TYPE_PCM,
60 .type = SND_ST_UNIPERIF_TYPE_SPDIF
67 .dai_names = "Uni Reader #0 (PCM IN)",
68 .type = SND_ST_UNIPERIF_TYPE_PCM | SND_ST_UNIPERIF_TYPE_TDM,
[all …]
/kernel/linux/linux-6.6/sound/soc/sti/
Dsti_uniperif.c1 // SPDX-License-Identifier: GPL-2.0-only
15 * User frame size shall be 2, 4, 6 or 8 32-bits words length
28 enum uniperif_type type; member
36 .type = SND_ST_UNIPERIF_TYPE_HDMI
43 .dai_names = "Uni Player #1 (PCM OUT)",
44 .type = SND_ST_UNIPERIF_TYPE_PCM | SND_ST_UNIPERIF_TYPE_TDM,
52 .type = SND_ST_UNIPERIF_TYPE_PCM,
60 .type = SND_ST_UNIPERIF_TYPE_SPDIF
67 .dai_names = "Uni Reader #0 (PCM IN)",
68 .type = SND_ST_UNIPERIF_TYPE_PCM | SND_ST_UNIPERIF_TYPE_TDM,
[all …]
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/h/
Dsupern_2.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
40 * FORMAC frame status (rx_msext)
47 #define FS_MSRABT (1<<14) /* frame was aborted during reception*/
48 #define FS_SSRCRTG (1<<12) /* if SA has set MSB (source-routing)*/
54 #define FS_SFRMTY2 (1<<6) /* frame-class bit */
55 #define FS_SFRMTY1 (1<<5) /* frame-type bit (impementor) */
56 #define FS_SFRMTY0 (1<<4) /* frame-type bit (LLC) */
58 #define FS_ERFBB0 (1<<0) /* - " - */
61 * status frame type
71 * bits in rx_descr.i (receive frame status word)
[all …]
Dcmtdef.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
61 #define DB_TEST (smc->debug)
96 #define SK_LOC_DECL(type,var) type var argument
98 #define SK_LOC_DECL(type,var) static type var argument
117 #define PM 2 /* PM .. PA+NUM_PHYS-1 */
120 * PHY types - as in path descriptor 'fddiPHYType'
169 #define EVENT_PCM 5 /* event class PCM */
175 * if more than two ports are used, EVENT_PCM .. EVENT_PCMA+NUM_PHYS-1
199 #define CF_LOOP 1 /* cf_loop flag from PCM */
200 #define CF_LOOP_A 1 /* cf_loop flag from PCM */
[all …]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dsupern_2.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
40 * FORMAC frame status (rx_msext)
47 #define FS_MSRABT (1<<14) /* frame was aborted during reception*/
48 #define FS_SSRCRTG (1<<12) /* if SA has set MSB (source-routing)*/
54 #define FS_SFRMTY2 (1<<6) /* frame-class bit */
55 #define FS_SFRMTY1 (1<<5) /* frame-type bit (impementor) */
56 #define FS_SFRMTY0 (1<<4) /* frame-type bit (LLC) */
58 #define FS_ERFBB0 (1<<0) /* - " - */
61 * status frame type
71 * bits in rx_descr.i (receive frame status word)
[all …]
Dcmtdef.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
61 #define DB_TEST (smc->debug)
96 #define SK_LOC_DECL(type,var) type var argument
98 #define SK_LOC_DECL(type,var) static type var argument
117 #define PM 2 /* PM .. PA+NUM_PHYS-1 */
120 * PHY types - as in path descriptor 'fddiPHYType'
169 #define EVENT_PCM 5 /* event class PCM */
175 * if more than two ports are used, EVENT_PCM .. EVENT_PCMA+NUM_PHYS-1
199 #define CF_LOOP 1 /* cf_loop flag from PCM */
200 #define CF_LOOP_A 1 /* cf_loop flag from PCM */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
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 …]
/kernel/linux/linux-6.6/include/sound/
Dpcm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Digital Audio (PCM) abstract layer
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) argument
85 #define SNDRV_PCM_DEVICES (SNDRV_OS_MINORS-2)
104 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1)
124 #define SNDRV_PCM_RATE_KNOT (1U<<31) /* supports more non-continuos rates */
149 // available bit count in most significant bit. It's for the case of so-called 'left-justified' or
150 // `right-padding` sample which has less width than 32 bit.
[all …]
Dsoc-dai.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dai.h -- ALSA SoC Layer
5 * Copyright: 2005-2008 Wolfson Microelectronics. PLC.
24 * Describes the physical PCM data formating and clocking. Add new formats
39 /* Describes the possible PCM format */
59 * sending or receiving PCM data in a frame. This can be used to save power.
64 /* Describes the possible PCM format */
66 * define GATED -> CONT. GATED will be selected if both are selected.
82 * - "normal" polarity means signal is available at rising edge of BCLK
83 * - "inverted" polarity means signal is available at falling edge of BCLK
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dfsl-asoc-card.txt17 and PCM DAI formats. However, it'll be also possible to support those non
18 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as
23 "fsl,imx-audio-ac97"
25 "fsl,imx-audio-cs42888"
27 "fsl,imx-audio-cs427x"
30 "fsl,imx-audio-wm8962"
32 "fsl,imx-audio-sgtl5000"
33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt)
35 "fsl,imx-audio-wm8960"
37 "fsl,imx-audio-mqs"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dfsl-asoc-card.txt17 and PCM DAI formats. However, it'll be also possible to support those non
18 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as
23 "fsl,imx-audio-ac97"
25 "fsl,imx-audio-cs42888"
27 "fsl,imx-audio-cs427x"
30 "fsl,imx-audio-wm8962"
32 "fsl,imx-audio-sgtl5000"
33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt)
35 "fsl,imx-audio-wm8960"
37 "fsl,imx-audio-mqs"
[all …]
Dadi,max98396.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ryan Lee <ryans.lee@analog.com>
13 The MAX98396 is a mono Class-DG speaker amplifier with I/V sense.
14 The device provides a PCM interface for audio data and a standard
21 - adi,max98396
22 - adi,max98397
27 avdd-supply:
30 dvdd-supply:
[all …]
/kernel/linux/linux-6.6/sound/pci/emu10k1/
Demupcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Lee Revell <rlrevell@joe-job.com>
5 * James Courtier-Dutton <James@superbug.co.uk>
9 * Routines for control of EMU10K1 chips / PCM routines
25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt()
28 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt()
31 dev_dbg(emu->card->dev, in snd_emu10k1_pcm_interrupt()
33 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt()
34 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt()
35 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dsoc-dai.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dai.h -- ALSA SoC Layer
5 * Copyright: 2005-2008 Wolfson Microelectronics. PLC.
24 * Describes the physical PCM data formating and clocking. Add new formats
43 * sending or receiving PCM data in a frame. This can be used to save power.
55 * - "normal" polarity means signal is available at rising edge of BCLK
56 * - "inverted" polarity means signal is available at falling edge of BCLK
58 * FSYNC "normal" polarity depends on the frame format:
59 * - I2S: frame consists of left then right channel data. Left channel starts
61 * - Left/Right Justified: frame consists of left then right channel data.
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dhdac_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * hdac_hdmi.c - ASoc HDA-HDMI codec driver for Intel platforms
5 * Copyright (C) 2014-2015 Intel Corp
108 unsigned char chmap[8]; /* ALSA API channel-map */
141 #define hdev_to_hdmi_priv(_hdev) dev_get_drvdata(&(_hdev)->dev)
147 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_get_pcm_from_cvt() local
149 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm_from_cvt()
150 if (pcm->cvt == cvt) in hdac_hdmi_get_pcm_from_cvt()
151 return pcm; in hdac_hdmi_get_pcm_from_cvt()
157 static void hdac_hdmi_jack_report(struct hdac_hdmi_pcm *pcm, in hdac_hdmi_jack_report() argument
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dhdac_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * hdac_hdmi.c - ASoc HDA-HDMI codec driver for Intel platforms
5 * Copyright (C) 2014-2015 Intel Corp
108 unsigned char chmap[8]; /* ALSA API channel-map */
141 #define hdev_to_hdmi_priv(_hdev) dev_get_drvdata(&(_hdev)->dev)
147 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_get_pcm_from_cvt() local
149 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm_from_cvt()
150 if (pcm->cvt == cvt) in hdac_hdmi_get_pcm_from_cvt()
151 return pcm; in hdac_hdmi_get_pcm_from_cvt()
157 static void hdac_hdmi_jack_report(struct hdac_hdmi_pcm *pcm, in hdac_hdmi_jack_report() argument
[all …]
/kernel/linux/linux-6.6/Documentation/sound/designs/
Dcompress-offload.rst2 ALSA Compress-Offload API
5 Pierre-Louis.Bossart <pierre-louis.bossart@linux.intel.com>
12 Since its early days, the ALSA API was defined with PCM support or
18 in system-on-chip designs, and DSPs are also integrated in audio
20 reduction of power consumption compared to host-based
26 ALSA PCM interface, a new 'Compressed Data' API is introduced to
27 provide a control and data-streaming interface for audio DSPs.
29 The design of this API was inspired by the 2-year experience with the
39 - separation between byte counts and time. Compressed formats may have
40 a header per file, per frame, or no header at all. The payload size
[all …]
/kernel/linux/linux-5.10/Documentation/sound/designs/
Dcompress-offload.rst2 ALSA Compress-Offload API
5 Pierre-Louis.Bossart <pierre-louis.bossart@linux.intel.com>
12 Since its early days, the ALSA API was defined with PCM support or
18 in system-on-chip designs, and DSPs are also integrated in audio
20 reduction of power consumption compared to host-based
26 ALSA PCM interface, a new 'Compressed Data' API is introduced to
27 provide a control and data-streaming interface for audio DSPs.
29 The design of this API was inspired by the 2-year experience with the
39 - separation between byte counts and time. Compressed formats may have
40 a header per file, per frame, or no header at all. The payload size
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-irq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
9 #include "ivtv-driver.h"
10 #include "ivtv-queue.h"
11 #include "ivtv-udma.h"
12 #include "ivtv-irq.h"
13 #include "ivtv-mailbox.h"
14 #include "ivtv-vbi.h"
15 #include "ivtv-yuv.h"
[all …]
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/
Divtv-irq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
9 #include "ivtv-driver.h"
10 #include "ivtv-queue.h"
11 #include "ivtv-udma.h"
12 #include "ivtv-irq.h"
13 #include "ivtv-mailbox.h"
14 #include "ivtv-vbi.h"
15 #include "ivtv-yuv.h"
[all …]

1234567891011