Home
last modified time | relevance | path

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

123456

/linux-6.15/sound/usb/line6/
Dpcm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2004-2010 Markus Grabner (line6@grabner-graz.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 …]
/linux-6.15/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 …]
/linux-6.15/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 …]
Duniperif_player.c1 // SPDX-License-Identifier: GPL-2.0-only
17 * Some hardware-related definitions
27 #define UNIPERIF_PLAYER_CLK_ADJ_MIN -999999
58 * In case of error audio stream is stopped; stop action is protected via PCM
68 spin_lock(&player->irq_lock); in uni_player_irq_handler()
69 if (!player->substream) in uni_player_irq_handler()
72 snd_pcm_stream_lock(player->substream); in uni_player_irq_handler()
73 if (player->state == UNIPERIF_STATE_STOPPED) in uni_player_irq_handler()
82 dev_err(player->dev, "FIFO underflow error detected\n"); in uni_player_irq_handler()
85 if (player->underflow_enabled) { in uni_player_irq_handler()
[all …]
/linux-6.15/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 …]
Dsmc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
55 * class is addressee, e.g. RMT, PCM etc.
80 * ECM - Entity Coordination Management
86 u_char DisconnectFlag ; /* jd 05-Aug-1999 Bug #10419
100 * RMT - Ring Management
129 * CFM - Configuration Management
139 * CEM - Configuration Element Management
179 * PCM connect states
202 u_char pc_mode ; /* Holds the negotiated mode of the PCM */
205 u_char scrub ; /* CFM flag Scrub -> PCM */
[all …]
/linux-6.15/Documentation/devicetree/bindings/net/bluetooth/
Dbrcm,bluetooth.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
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 - items:
19 - enum:
20 - infineon,cyw43439-bt
21 - const: brcm,bcm4329-bt
22 - enum:
[all …]
/linux-6.15/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
86 #define SNDRV_PCM_DEVICES (SNDRV_OS_MINORS-2)
106 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1)
132 #define SNDRV_PCM_RATE_KNOT (1U<<31) /* supports more non-continuous rates */
160 // available bit count in most significant bit. It's for the case of so-called 'left-justified' or
161 // `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 …]
/linux-6.15/Documentation/devicetree/bindings/sound/
Dfsl-asoc-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl-asoc-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
23 and PCM DAI formats. However, it'll be also possible to support those non
24 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as
28 - Shengjiu Wang <shengjiu.wang@nxp.com>
33 - items:
34 - enum:
35 - fsl,imx-sgtl5000
[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 …]
/linux-6.15/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 …]
/linux-6.15/include/uapi/linux/
Dvirtio_snd.h1 /* SPDX-License-Identifier: BSD-3-Clause */
24 /* # of available PCM streams */
57 /* PCM control request types */
81 /* PCM event types */
132 /* 0 ... virtio_snd_config::jacks - 1 */
167 * PCM CONTROL MESSAGES
172 /* 0 ... virtio_snd_config::streams - 1 */
176 /* supported PCM stream features */
185 /* supported PCM sample formats */
216 /* supported PCM frame rates */
[all …]
/linux-6.15/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
109 unsigned char chmap[8]; /* ALSA API channel-map */
142 #define hdev_to_hdmi_priv(_hdev) dev_get_drvdata(&(_hdev)->dev)
148 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_get_pcm_from_cvt() local
150 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm_from_cvt()
151 if (pcm->cvt == cvt) in hdac_hdmi_get_pcm_from_cvt()
152 return pcm; in hdac_hdmi_get_pcm_from_cvt()
158 static void hdac_hdmi_jack_report(struct hdac_hdmi_pcm *pcm, in hdac_hdmi_jack_report() argument
[all …]
/linux-6.15/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 …]
/linux-6.15/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 …]
/linux-6.15/Documentation/devicetree/bindings/net/
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>
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
31 clock-names:
[all …]
/linux-6.15/Documentation/userspace-api/media/mediactl/
Dmedia-types.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _media-controller-types:
10 .. _media-entity-functions:
11 .. _MEDIA-ENT-F-UNKNOWN:
12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN:
13 .. _MEDIA-ENT-F-IO-V4L:
14 .. _MEDIA-ENT-F-IO-VBI:
15 .. _MEDIA-ENT-F-IO-SWRADIO:
16 .. _MEDIA-ENT-F-IO-DTV:
17 .. _MEDIA-ENT-F-DTV-DEMOD:
[all …]
/linux-6.15/sound/soc/generic/
Dtest-component.c1 // SPDX-License-Identifier: GPL-2.0
3 // test-component.c -- Test Audio Component driver
13 #include <sound/pcm.h>
38 #define mile_stone(d) dev_info((d)->dev, "%s() : %s", __func__, (d)->driver->name)
72 dev_info(dai->dev, "name : %s", dai->name); in test_dai_set_fmt()
98 dev_info(dai->dev, "format : %s", str); in test_dai_set_fmt()
104 dev_info(dai->dev, "clock : %s", str); in test_dai_set_fmt()
109 str = "clk provider, frame provider"; in test_dai_set_fmt()
112 str = "clk consumer, frame provider"; in test_dai_set_fmt()
115 str = "clk provider, frame consumer"; in test_dai_set_fmt()
[all …]
/linux-6.15/drivers/soundwire/
Dintel_ace2x.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
15 #include <sound/hda-mlink.h>
16 #include <sound/hda-sdw-bpt.h>
34 sconfig.type = SDW_STREAM_BPT; in sdw_slave_bpt_stream_add()
41 dev_err(&slave->dev, "%s: failed: %d\n", __func__, ret); in sdw_slave_bpt_stream_add()
49 struct sdw_cdns *cdns = &sdw->cdns; in intel_ace2x_bpt_open_stream()
50 struct sdw_bus *bus = &cdns->bus; in intel_ace2x_bpt_open_stream()
51 struct sdw_master_prop *prop = &bus->prop; in intel_ace2x_bpt_open_stream()
72 return -ENOMEM; in intel_ace2x_bpt_open_stream()
74 cdns->bus.bpt_stream = stream; in intel_ace2x_bpt_open_stream()
[all …]
/linux-6.15/include/uapi/sound/
Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
24 * Maximum number of PCM formats capability
29 * Maximum number of PCM stream configs
38 /* individual kcontrol info types - can be mixed with other types */
49 /* individual widget kcontrol info types - can be mixed with other types */
56 /* DAPM widget types - add new items to the end */
116 /* vendor block IDs - please add new vendor types to end */
147 /* DAI physical PCM data formats.
194 __le32 type; /* SND_SOC_TPLG_TYPE_ */ member
[all …]
Dsnd_sst_tokens.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * snd_sst_tokens.h - Intel SST tokens definition
14 * %SKL_TKN_U8_BLOCK_TYPE: Type of the private data block.Can be:
17 * %SKL_TKN_U8_IN_PIN_TYPE: Input pin type,
20 * %SKL_TKN_U8_OUT_PIN_TYPE: Output pin type,
40 * %SKL_TKN_U8_MOD_TYPE: Module type value.
42 * %SKL_TKN_U8_CONN_TYPE: Module connection type can be a FE,
48 * %SKL_TKN_U8_DEV_TYPE: Type of device to which the module is
59 * %SKL_TKN_U8_HW_CONN_TYPE: Connection type of the HW to which the
86 * %SKL_TKN_U32_PIPE_CONN_TYPE: Type of the token to which the pipe is
[all …]
/linux-6.15/drivers/isdn/hardware/mISDN/
Dhfcmulti.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * hfcmulti.c low level driver for hfc-4s/hfc-8s/hfc-e1 based cards
7 * Peter Sprenger (sprengermoving-bytes.de)
9 * inspired by existing hfc-pci driver:
10 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de)
19 * type:
22 * Bit 0-7 = 0x00001 = HFC-E1 (1 port)
23 * or Bit 0-7 = 0x00004 = HFC-4S (4 ports)
24 * or Bit 0-7 = 0x00008 = HFC-8S (8 ports)
26 * Bit 9 = 0x00200 = Disable DTMF detect on all B-channels via hardware
[all …]
/linux-6.15/drivers/media/pci/tw5864/
Dtw5864-reg.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * TW5864 driver - registers description
8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */
10 /* Register Description - Direct Map Space */
11 /* 0x0000 ~ 0x1ffc - H264 Register Map */
30 * Video Frame mapping in DDR
53 * pointer for the last encoded frame of the corresponding channel.
76 * 0->3 4 VLC data buffer in DDR (1M each)
77 * 0->7 8 VLC data buffer in DDR (512k each)
106 * Original Frame D1 or HD1 switch
[all …]

123456