Home
last modified time | relevance | path

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

123456

/openbmc/linux/sound/usb/line6/
H A 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 …]
/openbmc/linux/sound/usb/6fire/
H A 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 …]
/openbmc/linux/sound/soc/sti/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/net/fddi/skfp/h/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/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 …]
/openbmc/linux/include/sound/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
H A 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 …]
H A Dadi,max98388.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 MAX98388 is a mono Class-D speaker amplifier with I/V feedback.
14 The device provides a PCM interface for audio data and a standard
18 - $ref: dai-common.yaml#
23 - adi,max98388
28 '#sound-dai-cells':
31 adi,vmon-slot-no:
[all …]
/openbmc/linux/sound/pci/emu10k1/
H A 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 …]
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_snd.h1 /* SPDX-License-Identifier: BSD-3-Clause */
8 #include "standard-headers/linux/virtio_types.h"
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 */
[all …]
/openbmc/linux/sound/soc/codecs/
H A 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 …]
/openbmc/linux/Documentation/sound/designs/
H A 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 …]
/openbmc/linux/drivers/media/pci/ivtv/
H A 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 …]
/openbmc/linux/include/uapi/sound/
H A 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 …]
H A 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 …]
/openbmc/linux/sound/soc/ti/
H A Ddavinci-i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * based on davinci-mcasp.c DT support
25 #include <sound/pcm.h>
31 #include "edma-pcm.h"
32 #include "davinci-i2s.h"
34 #define DRV_NAME "davinci-i2s"
39 * - This driver supports the "Audio Serial Port" (ASP),
42 * - But it labels it a "Multi-channel Buffered Serial Port"
44 * backward-compatible, possibly explaining that confusion.
46 * - OMAP chips have a controller called McBSP, which is
[all …]
/openbmc/linux/Documentation/userspace-api/media/mediactl/
H A 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 …]
/openbmc/qemu/ui/
H A Ddbus-display1.xml1 <?xml version="1.0" encoding="utf-8"?>
3 <!--
7 -->
9 <!--
13 -->
14 <property name="Name" type="s" access="read"/>
16 <!--
20 -->
21 <property name="UUID" type="s" access="read"/>
23 <!--
[all …]
/openbmc/linux/sound/soc/generic/
H A 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 …]
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A 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 …]

123456