| /linux/sound/usb/line6/ |
| H A D | pcm.h | 1 /* 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/sound/usb/6fire/ |
| H A D | pcm.c | 1 // 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 streamin 195 int frame; usb6fire_pcm_capture() local 243 int frame; usb6fire_pcm_playback() local 295 int frame; usb6fire_pcm_in_urb_handler() local 601 struct snd_pcm *pcm; usb6fire_pcm_init() local [all...] |
| /linux/sound/soc/sti/ |
| H A D | sti_uniperif.c | 1 // 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 D | uniperif_player.c | 1 // 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/drivers/net/fddi/skfp/h/ |
| H A D | supern_2.h | 1 /* 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 D | cmtdef.h | 1 /* 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 D | smc.h | 1 /* 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/include/sound/ |
| H A D | pcm.h | 1 /* 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 …]
|
| H A D | soc-dai.h | 1 /* 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 dat [all...] |
| /linux/Documentation/devicetree/bindings/net/bluetooth/ |
| H A D | brcm,bluetooth.yaml | 1 # 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/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 1 // 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 107 unsigned char chmap[8]; /* ALSA API channel-map */ 140 #define hdev_to_hdmi_priv(_hdev) dev_get_drvdata(&(_hdev)->dev) 146 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_get_pcm_from_cvt() local 148 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm_from_cvt() 149 if (pcm->cvt == cvt) in hdac_hdmi_get_pcm_from_cvt() 150 return pcm; in hdac_hdmi_get_pcm_from_cvt() 156 static void hdac_hdmi_jack_report(struct hdac_hdmi_pcm *pcm, in hdac_hdmi_jack_report() argument [all …]
|
| /linux/include/uapi/linux/ |
| H A D | virtio_snd.h | 1 /* 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/sound/pci/emu10k1/ |
| H A D | emupcm.c | 1 // 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->substrea in snd_emu10k1_pcm_interrupt() 87 snd_emu10k1_pcm_channel_alloc(struct snd_emu10k1_pcm * epcm,int type,int count,int channels) snd_emu10k1_pcm_channel_alloc() argument 356 int type, channels, count; snd_emu10k1_playback_hw_params() local 1413 struct snd_pcm *pcm; snd_emu10k1_pcm() local 1446 struct snd_pcm *pcm; snd_emu10k1_pcm_multi() local 1482 struct snd_pcm *pcm; snd_emu10k1_pcm_mic() local 1608 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; fx8010_pb_trans_copy() local 1636 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; snd_emu10k1_fx8010_playback_transfer() local 1645 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; snd_emu10k1_fx8010_playback_hw_free() local 1657 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; snd_emu10k1_fx8010_playback_prepare() local 1687 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; snd_emu10k1_fx8010_playback_trigger() local 1734 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; snd_emu10k1_fx8010_playback_pointer() local 1767 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; snd_emu10k1_fx8010_playback_open() local 1785 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; snd_emu10k1_fx8010_playback_close() local 1805 struct snd_pcm *pcm; snd_emu10k1_pcm_efx() local [all...] |
| /linux/sound/usb/ |
| H A D | card.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 unsigned int fmt_type; /* USB audio format type (1-3) */ 18 unsigned int fmt_sz; /* overall audio sub frame/slot size */ 19 unsigned int frame_size; /* samples per frame for non-audio */ 69 int opened; /* open refcount; protect with chip->mutex */ 72 int type; /* SND_USB_ENDPOINT_TYPE_* */ member 132 bool lowlatency_playback; /* low-latency playback mode */ 133 bool need_setup; /* (re-)need for hw_params? */ 134 bool need_prepare; /* (re-)need for prepare? */ 162 unsigned int txfr_quirk:1; /* allow sub-frame alignment */ [all …]
|
| /linux/Documentation/sound/designs/ |
| H A D | compress-offload.rst | 2 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/Documentation/devicetree/bindings/sound/ |
| H A D | adi,max98396.yaml | 1 # 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/Documentation/devicetree/bindings/net/ |
| H A D | lantiq,pef2256.yaml | 1 # 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/Documentation/userspace-api/media/mediactl/ |
| H A D | media-types.rst | 1 .. 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/sound/soc/generic/ |
| H A D | test-component.c | 1 // 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->nam 291 test_component_pcm_destruct(struct snd_soc_component * component,struct snd_pcm * pcm) test_component_pcm_destruct() argument 321 test_component_seq_notifier(struct snd_soc_component * component,enum snd_soc_dapm_type type,int subseq) test_component_seq_notifier() argument [all...] |
| /linux/drivers/soundwire/ |
| H A D | intel_ace2x.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 16 #include <sound/hda-mlink.h> 17 #include <sound/hda-sdw-bpt.h> 35 sconfig.type = SDW_STREAM_BPT; in sdw_slave_bpt_stream_add() 42 dev_err(&slave->dev, "%s: failed: %d\n", __func__, ret); in sdw_slave_bpt_stream_add() 50 struct sdw_cdns *cdns = &sdw->cdns; in intel_ace2x_bpt_open_stream() 51 struct sdw_bus *bus = &cdns->bus; in intel_ace2x_bpt_open_stream() 52 struct sdw_master_prop *prop = &bus->prop; in intel_ace2x_bpt_open_stream() 73 return -ENOMEM; in intel_ace2x_bpt_open_stream() 75 cdns->bus.bpt_stream = stream; in intel_ace2x_bpt_open_stream() [all …]
|
| /linux/arch/x86/mm/pat/ |
| H A D | memtype.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * the kernel to set one of a handful of 'caching type' attributes for physical 14 * memory ranges: uncached, write-combining, write-through, write-protected, 15 * and the most commonly used and default attribute: write-back caching. 20 * Even modern CPUs have MTRRs enabled - but these are typically not touched 21 * by the kernel or by user-space (such as the X server), we rely on PAT for any 71 * various user-requested or hardware-forced reasons: 109 * memory type of pages that have backing page struct. 112 * - _PAGE_CACHE_MODE_WB 113 * - _PAGE_CACHE_MODE_WC [all …]
|
| /linux/drivers/isdn/hardware/mISDN/ |
| H A D | hfcmulti.c | 1 // 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/include/uapi/sound/ |
| H A D | asoc.h | 1 /* 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 D | snd_sst_tokens.h | 1 /* 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/drivers/media/pci/tw5864/ |
| H A D | tw5864-reg.h | 1 /* 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 …]
|