/Linux-v5.10/sound/soc/sof/intel/ |
D | hda-compress.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 // This file is provided under a dual BSD/GPLv2 license. When using or 6 // Copyright(c) 2019-2020 Intel Corporation. All rights reserved. 13 #include "../sof-priv.h" 19 return cstream->runtime->private_data; in hda_compr_get_stream() 28 stream = hda_dsp_stream_get(sdev, cstream->direction); in hda_probe_compr_assign() 30 return -EBUSY; in hda_probe_compr_assign() 32 hdac_stream(stream)->curr_pos = 0; in hda_probe_compr_assign() 33 hdac_stream(stream)->cstream = cstream; in hda_probe_compr_assign() 34 cstream->runtime->private_data = stream; in hda_probe_compr_assign() [all …]
|
D | hda-ipc.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * This file is provided under a dual BSD/GPLv2 license. When using or 16 * - DIPCTDR (HIPCIDR) in sideband IPC (cAVS 1.8+) 17 * - DIPCT in cAVS 1.5 IPC 20 * - DIPCTDD (HIPCIDD) in sideband IPC (cAVS 1.8+) 21 * - DIPCTE in cAVS 1.5 IPC 28 /* Target, 0 - normal message, 1 - compact message(cAVS compatible) */ 30 /* Direction, 0 - request, 1 - response */ 41 /* Disable DMA tracing (0 - keep tracing, 1 - to disable DMA trace) */ 43 /* Prevent clock gating (0 - cg allowed, 1 - DSP clock always on) */ [all …]
|
D | hda-pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 // This file is provided under a dual BSD/GPLv2 license. When using or 20 #include "../sof-audio.h" 25 #define SDnFMT_MULT(x) (((x) - 1) << 11) 26 #define SDnFMT_DIV(x) (((x) - 1) << 8) 58 dev_warn(sdev->dev, "can't find div rate %d using 48kHz\n", in hda_dsp_get_mult_div() 78 dev_warn(sdev->dev, "can't find %d bits using 16bit\n", in hda_dsp_get_bits() 89 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() 91 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_hw_params() 93 struct sof_ipc_fw_version *v = &sdev->fw_ready.version; in hda_dsp_pcm_hw_params() [all …]
|
D | hda-loader.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 // This file is provided under a dual BSD/GPLv2 license. When using or 30 int direction) in cl_stream_prepare() argument 34 struct pci_dev *pci = to_pci_dev(sdev->dev); in cl_stream_prepare() 37 dsp_stream = hda_dsp_stream_get(sdev, direction); in cl_stream_prepare() 40 dev_err(sdev->dev, "error: no stream available\n"); in cl_stream_prepare() 41 return ERR_PTR(-ENODEV); in cl_stream_prepare() 43 hstream = &dsp_stream->hstream; in cl_stream_prepare() 44 hstream->substream = NULL; in cl_stream_prepare() 47 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, &pci->dev, size, dmab); in cl_stream_prepare() [all …]
|
D | hda-dai.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 // This file is provided under a dual BSD/GPLv2 license. When using or 13 #include "../sof-priv.h" 14 #include "../sof-audio.h" 46 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir); in hda_check_fes() 47 fe_hstream = fe_substream->runtime->private_data; in hda_check_fes() 48 if (fe_hstream->stream_tag == stream_tag) in hda_check_fes() 64 int stream_dir = substream->stream; in hda_link_stream_assign() 66 if (!bus->ppcap) { in hda_link_stream_assign() 67 dev_err(bus->dev, "stream type not supported\n"); in hda_link_stream_assign() [all …]
|
D | hda-stream.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 // This file is provided under a dual BSD/GPLv2 license. When using or 23 #include "../sof-audio.h" 44 if (stream->frags >= HDA_DSP_MAX_BDL_ENTRIES) { in hda_setup_bdle() 45 dev_err(sdev->dev, "error: stream frags exceeded\n"); in hda_setup_bdle() 46 return -EINVAL; in hda_setup_bdle() 51 bdl->addr_l = cpu_to_le32(lower_32_bits(addr)); in hda_setup_bdle() 52 bdl->addr_h = cpu_to_le32(upper_32_bits(addr)); in hda_setup_bdle() 56 if (bus->align_bdle_4k) { in hda_setup_bdle() 57 u32 remain = 0x1000 - (offset & 0xfff); in hda_setup_bdle() [all …]
|
/Linux-v5.10/sound/soc/sof/ |
D | sof-audio.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * This file is provided under a dual BSD/GPLv2 license. When using or 22 #include "sof-priv.h" 24 #define SOF_AUDIO_PCM_DRV_NAME "sof-audio-component" 58 unsigned int direction; member 167 struct snd_sof_pcm *spcm, int direction, 186 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_dai() 187 if (le32_to_cpu(spcm->pcm.dai_id) == rtd->dai_link->id) in snd_sof_find_spcm_dai() 198 int *direction);
|
D | sof-audio.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 // This file is provided under a dual BSD/GPLv2 license. When using or 11 #include "sof-audio.h" 25 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_dsp_only_d0i3_compatible_stream_active() 27 substream = spcm->stream[dir].substream; in snd_sof_dsp_only_d0i3_compatible_stream_active() 28 if (!substream || !substream->runtime) in snd_sof_dsp_only_d0i3_compatible_stream_active() 32 * substream->runtime being not NULL indicates in snd_sof_dsp_only_d0i3_compatible_stream_active() 36 if (!spcm->stream[dir].d0i3_compatible) in snd_sof_dsp_only_d0i3_compatible_stream_active() 51 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_stream_suspend_ignored() 52 if (spcm->stream[SNDRV_PCM_STREAM_PLAYBACK].suspend_ignored || in snd_sof_stream_suspend_ignored() [all …]
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-xilinx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2008 - 2013 Xilinx, Inc. 20 #define XGPIO_TRI_OFFSET (0x4) /* I/O direction register */ 34 * struct xgpio_instance - Stores information about GPIO device 39 * @gpio_dir: GPIO direction shadow register 53 if (gpio >= chip->gpio_width[0]) in xgpio_index() 70 return gpio - chip->gpio_width[0]; in xgpio_offset() 76 * xgpio_get - Read the specified signal of the GPIO device. 83 * 0 if direction of GPIO signals is set as input otherwise it 91 val = xgpio_readreg(chip->regs + XGPIO_DATA_OFFSET + in xgpio_get() [all …]
|
/Linux-v5.10/include/sound/sof/ |
D | stream.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * This file is provided under a dual BSD/GPLv2 license. When using or 36 /* continuous and non-standard rates for flexibility */ 38 #define SOF_RATE_KNOT (1 << 31) /**< non-continuous */ 59 /* stream direction */ 77 uint32_t direction; /**< enum sof_ipc_stream_direction */ member 90 uint16_t chmap[SOF_IPC_MAX_CHANNELS]; /**< channel map - SOF_CHMAP_ */ 93 /* PCM params info - SOF_IPC_STREAM_PCM_PARAMS */ 97 uint32_t flags; /**< generic PCM flags - SOF_PCM_FLAG_ */ 102 /* PCM params info reply - SOF_IPC_STREAM_PCM_PARAMS_REPLY */ [all …]
|
D | topology.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * This file is provided under a dual BSD/GPLv2 license. When using or 52 /* create new generic component - SOF_IPC_TPLG_COMP_NEW */ 93 /* create new component buffer - SOF_IPC_TPLG_BUFFER_NEW */ 102 /* generic component config data - must always be after struct sof_ipc_comp */ 119 uint32_t direction; /**< SOF_IPC_STREAM_ */ member 128 uint32_t direction; /**< SOF_IPC_STREAM_ */ member 130 uint32_t type; /**< DAI type - SOF_DAI_ */ 267 /* new pipeline - SOF_IPC_TPLG_PIPE_NEW */ 282 /* pipeline construction complete - SOF_IPC_TPLG_PIPE_COMPLETE */ [all …]
|
D | control.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * This file is provided under a dual BSD/GPLv2 license. When using or 19 /* channel positions - uses same values as ALSA */ 61 /* control data type and direction */ 63 /* per channel data - uses struct sof_ipc_ctrl_value_chan */ 66 /* component data - uses struct sof_ipc_ctrl_value_comp */ 69 /* bespoke data - uses struct sof_abi_hdr */ 84 uint32_t channel; /**< channel map - enum sof_ipc_chmap */ 107 /* control data - can either be appended or DMAed from host */ 117 /* control data - add new types if needed */ [all …]
|
/Linux-v5.10/drivers/media/pci/ivtv/ |
D | ivtv-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 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-cards.h" 11 #include "ivtv-i2c.h" 13 #include <media/drv-intf/msp3400.h> 17 #include <media/drv-intf/cx25840.h> 56 /* Please add new PCI IDs to: https://pci-ids.ucw.cz/ 61 /* Hauppauge PVR-250 cards */ [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
/Linux-v5.10/Documentation/fb/ |
D | pxafb.rst | 10 modprobe pxafb options=vmem:2M,mode:640x480-8,passive 14 video=pxafb:vmem:2M,mode:640x480-8,passive 21 mode:XRESxYRES[-BPP] 57 single | dual => LCCR0_SDS 59 Single or dual panel passive display 87 PXA27x and later processors support overlay1 and overlay2 on-top of the 88 base framebuffer (although under-neath the base is also possible). They 89 support palette and no-palette RGB formats, as well as YUV formats (only 96 1. overlay can start at a 32-bit word aligned position within the base 98 is encoded into var->nonstd (no, var->xoffset and var->yoffset are [all …]
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | fault.h | 6 * This file is provided under a dual BSD/GPLv2 license. When using or 26 * - Redistributions of source code must retain the above copyright 28 * - Redistributions in binary form must reproduce the above copyright 32 * - Neither the name of Intel Corporation nor the names of its 49 #include <linux/fault-inject.h> 73 u8 direction; member
|
D | fault.c | 4 * This file is provided under a dual BSD/GPLv2 license. When using or 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 30 * - Neither the name of Intel Corporation nor the names of its 66 if (*pos >= ARRAY_SIZE(opstats->stats)) in _fault_stats_seq_start() 76 if (*pos >= ARRAY_SIZE(opstats->stats)) in _fault_stats_seq_next() 90 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _fault_stats_seq_show() 94 for (j = 0; j < dd->first_dyn_alloc_ctxt; j++) { in _fault_stats_seq_show() 97 n_packets += rcd->opstats->stats[i].n_packets; in _fault_stats_seq_show() 98 n_bytes += rcd->opstats->stats[i].n_bytes; in _fault_stats_seq_show() [all …]
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | mac-cfg.h | 3 * This file is provided under a dual BSD/GPLv2 license. When using or 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 11 * Copyright(c) 2018 - 2019 Intel Corporation 27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 33 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 34 * Copyright(c) 2018 - 2019 Intel Corporation [all …]
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | ibmebus.c | 10 * This source code is distributed under a dual license of GPL v2.0 and OpenIB 43 #include <linux/dma-map-ops.h> 91 enum dma_data_direction direction, in ibmebus_map_page() argument 100 enum dma_data_direction direction, in ibmebus_unmap_page() argument 108 int nents, enum dma_data_direction direction, in ibmebus_map_sg() argument 115 sg->dma_address = (dma_addr_t) sg_virt(sg); in ibmebus_map_sg() 116 sg->dma_length = sg->length; in ibmebus_map_sg() 124 int nents, enum dma_data_direction direction, in ibmebus_unmap_sg() argument 153 struct device_node *dn = to_platform_device(dev)->dev.of_node; in ibmebus_match_path() 159 return to_platform_device(dev)->dev.of_node == data; in ibmebus_match_node() [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-bus-usb | 10 This allows to avoid side-effects with drivers 28 drivers, non-authorized one are not. By default, wired 42 A devices's CDID, as 16 space-separated hex octets. 53 space-separated hex octets. 67 Contact: linux-usb@vger.kernel.org 101 What: /sys/bus/usb-serial/drivers/.../new_id 103 Contact: linux-usb@vger.kernel.org 106 extra bus folder "usb-serial" in sysfs; apart from that 131 If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged 147 If CONFIG_PM is set and a USB 3.0 lpm-capable device is plugged [all …]
|
/Linux-v5.10/sound/soc/ux500/ |
D | ux500_msp_i2s.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) ST-Ericsson SA 2012 6 * for ST-Ericsson. 16 #include <linux/platform_data/asoc-ux500-msp.h> 28 /* Direction (Transmit/Receive mode) */ 61 #define MSP_FRAME_SIZE_AUTO -1 257 /* Single or dual phase mode */ 372 MSP_DATA_BITS_DEFAULT = -1, 460 unsigned int direction; member 497 int direction);
|
/Linux-v5.10/Documentation/driver-api/soundwire/ |
D | summary.rst | 10 SoundWire is a 2-pin multi-drop interface with data and clock line. It 15 commands over a single two-pin interface. 18 (Dual Data Rate) data transmission. 23 (4) Device status monitoring, including interrupt-style alerts to the Master. 30 transmit or receiving mode (typically fixed direction but configurable 31 direction is enabled by the specification). Bandwidth restrictions to 38 +---------------+ +---------------+ 40 | Master |-------+-------------------------------| Slave | 42 | |-------|-------+-----------------------| | 43 +---------------+ | | +---------------+ [all …]
|
/Linux-v5.10/Documentation/scsi/ |
D | ChangeLog.ncr53c8xx | 1 Sat May 12 12:00 2001 Gerard Roudier (groudier@club-internet.fr) 2 * version ncr53c8xx-3.4.3b 3 - Ensure LEDC bit in GPCNTL is cleared when reading the NVRAM. 4 Fix sent by Stig Telfer <stig@api-networks.com>. 5 - Define scsi_set_pci_device() as nil for kernel < 2.4.4. 7 Mon Feb 12 22:30 2001 Gerard Roudier (groudier@club-internet.fr) 8 * version ncr53c8xx-3.4.3 9 - Call pci_enable_device() as AC wants this to be done. 10 - Get both the BAR cookies actual and PCI BAR values. 12 - Merge changes for linux-2.4 that declare the host template [all …]
|
D | ChangeLog.sym53c8xx | 1 Sat May 12 12:00 2001 Gerard Roudier (groudier@club-internet.fr) 2 * version sym53c8xx-1.7.3c 3 - Ensure LEDC bit in GPCNTL is cleared when reading the NVRAM. 4 Fix sent by Stig Telfer <stig@api-networks.com>. 5 - Backport from SYM-2 the work-around that allows to support 7 - Check that we received at least 8 bytes of INQUIRY response 9 - Define scsi_set_pci_device() as nil for kernel < 2.4.4. 10 - + A couple of minor changes. 12 Sat Apr 7 19:30 2001 Gerard Roudier (groudier@club-internet.fr) 13 * version sym53c8xx-1.7.3b [all …]
|
/Linux-v5.10/drivers/net/wan/ |
D | wanxlfw.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 0x000 - 0x050 TX#0 0x050 - 0x140 RX#0 15 0x140 - 0x190 TX#1 0x190 - 0x280 RX#1 16 0x280 - 0x2D0 TX#2 0x2D0 - 0x3C0 RX#2 17 0x3C0 - 0x410 TX#3 0x410 - 0x500 RX#3 20 000 5FF 1536 Bytes Dual-Port RAM User Data / BDs 21 600 6FF 256 Bytes Dual-Port RAM User Data / BDs 22 700 7FF 256 Bytes Dual-Port RAM User Data / BDs 23 C00 CBF 192 Bytes Dual-Port RAM Parameter RAM Page 1 24 D00 DBF 192 Bytes Dual-Port RAM Parameter RAM Page 2 [all …]
|