| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | microchip,sama7g5-pdmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/microchip,sama7g5-pdmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Codrin Ciubotariu <codrin.ciubotariu@microchip.com> 17 - $ref: dai-common.yaml# 21 const: microchip,sama7g5-pdmc 26 "#sound-dai-cells": 34 - description: Peripheral Bus Clock 35 - description: Generic Clock [all …]
|
| /linux/sound/soc/atmel/ |
| H A D | mchp-pdmc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2019-2022 Microchip Technology Inc. and its subsidiaries 9 #include <dt-bindings/sound/microchip,pdmc.h> 24 * ---- PDMC Register map ---- 37 * ---- Control Register (Write-only) ---- 42 * ---- Mode Register (Read/Write) ---- 66 * ---- Configuration Register (Read/Write) ---- 75 * ---- Interrupt Enable/Disable/Mask/Status Registers ---- 85 * ---- Version Register (Read-only) ---- 94 * ---- DMA chunk size allowed ---- [all …]
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | auth_gss.c | 1 // SPDX-License-Identifier: BSD-3-Clause 53 * This compile-time check verifies that we will not exceed the 70 * using integrity (two 4-byte integers): */ 95 * for the new text-based upcall; dentry[0] is named after the 97 * backwards-compatibility with older gssd's. 116 refcount_inc(&ctx->count); in gss_get_ctx() 123 if (refcount_dec_and_test(&ctx->count)) in gss_put_ctx() 130 * and a new one is protected by the pipe->lock. 137 if (!test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags)) in gss_cred_set_ctx() 140 rcu_assign_pointer(gss_cred->gc_ctx, ctx); in gss_cred_set_ctx() [all …]
|
| H A D | gss_krb5_crypto.c | 4 * Copyright (c) 2000-2008 The Regents of the University of Michigan. 58 * krb5_make_confounder - Generate a confounder string 87 * krb5_encrypt - simple encryption of an RPCSEC GSS payload 94 * @iv may be NULL to force the use of an all-zero IV. 110 u32 ret = -EINVAL; in krb5_encrypt() 146 ahash_request_set_crypt(req, sg, NULL, sg->length); in checksummer() 152 * gss_krb5_checksum - Compute the MAC for a GSS Wrap or MIC token 175 int err = -ENOMEM; in gss_krb5_checksum() 194 err = xdr_process_buf(body, body_offset, body->len - body_offset, in gss_krb5_checksum() 213 memcpy(cksumout->data, checksumdata, in gss_krb5_checksum() [all …]
|
| /linux/sound/mips/ |
| H A D | sgio2audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> 15 #include <linux/dma-mapping.h> 33 MODULE_AUTHOR("Vivien Chappelier <vivien.chappelier@linux-mips.org>"); 37 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 66 #define CHANNEL_RING_MASK (CHANNEL_RING_SIZE - 74 int pos; global() member [all...] |
| /linux/sound/pci/ice1712/ |
| H A D | quartet.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 65 /* GPIO0 - O - DATA0, def. 0 */ 67 /* GPIO1 - I/O - DATA1, Jack Detect Input0 (0:present, 1:missing), def. 1 */ 69 /* GPIO2 - 198 int i, j, pos; get_binary() local [all...] |
| /linux/sound/pci/ |
| H A D | intel8x0.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 36 static int buggy_irq = -1; /* auto-check */ 38 static int spdif_aclink = -1; 39 static int inside_vm = - 2636 unsigned long pos, pos1, t; intel8x0_measure_ac97_clock() local [all...] |
| H A D | es1938.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for ESS Solo-1 (ES1938, ES1946, ES1969) soundcard 7 * Abramo Bagnara <abramo@alsa-project.org>, 18 - Capture data is written unaligned starting from dma_base + 1 so I need to 20 - After several cycle of the following: 21 while : ; do arecord -d 824 snd_es1938_capture_copy(struct snd_pcm_substream * substream,int channel,unsigned long pos,struct iov_iter * dst,unsigned long count) snd_es1938_capture_copy() argument [all...] |
| /linux/sound/soc/intel/catpt/ |
| H A D | pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 81 type = cpu_dai->driver->id; in catpt_get_stream_template() 86 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in catpt_get_stream_template() 90 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in catpt_get_stream_template() 103 struct catpt_stream_runtime *pos, *result = NULL; in catpt_stream_find() local 105 spin_lock(&cdev->list_lock); in catpt_stream_find() 106 list_for_each_entry(pos, &cdev->stream_list, node) { in catpt_stream_find() 107 if (pos->info.stream_hw_id == stream_hw_id) { in catpt_stream_find() 108 result = pos; in catpt_stream_find() 113 spin_unlock(&cdev->list_lock); in catpt_stream_find() [all …]
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | main.c | 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 21 #include "hif-ops.h" 28 struct ath6kl *ar = vif->ar; in ath6kl_find_sta() 35 max_conn = (vif->nw_type == AP_NETWORK) ? AP_MAX_NUM_STA : 0; in ath6kl_find_sta() 38 if (memcmp(node_addr, ar->sta_list[i].mac, ETH_ALEN) == 0) { in ath6kl_find_sta() 39 conn = &ar->sta_list[i]; in ath6kl_find_sta() 53 if (ar->sta_list[ctr].aid == aid) { in ath6kl_find_sta_by_aid() 54 conn = &ar->sta_list[ctr]; in ath6kl_find_sta_by_aid() 65 struct ath6kl *ar = vif->ar; in ath6kl_add_new_sta() [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-sama7g5ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7g5ek.dts - Device Tree file for SAMA7G5-EK board 11 /dts-v1/; 12 #include "sama7g5-pinfunc.h" 14 #include <dt-bindings/mfd/atmel-flexcom.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/pinctrl/at91.h> 17 #include <dt-bindings/sound/microchip,pdmc.h> 20 model = "Microchip SAMA7G5-EK"; 25 stdout-path = "serial0:115200n8"; [all …]
|
| /linux/sound/isa/ |
| H A D | es18xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) by Christian Fischbach <fishbach@pool.informatik.rwth-aachen.de> 5 * Copyright (c) by Abramo Bagnara <abramo@alsa-project.org> 10 * - There are pops (we can't delay in trigger function, cause midlevel 13 * - Support for 16 bit DMA seems to be broken. I've no hardware to tune it. 18 * - Th 786 int pos; snd_es18xx_playback_pointer() local 805 int pos; snd_es18xx_capture_pointer() local [all...] |
| /linux/sound/drivers/ |
| H A D | dummy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 46 #define USE_MIXER_VOLUME_LEVEL_MIN -50 49 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 51 static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0}; 52 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL}; 53 static int pcm_devs[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 323 snd_pcm_uframes_t pos; dummy_systimer_pointer() local 425 u32 pos; dummy_hrtimer_pointer() local 628 dummy_pcm_copy(struct snd_pcm_substream * substream,int channel,unsigned long pos,struct iov_iter * iter,unsigned long bytes) dummy_pcm_copy() argument 635 dummy_pcm_silence(struct snd_pcm_substream * substream,int channel,unsigned long pos,unsigned long bytes) dummy_pcm_silence() argument [all...] |
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-wmi-base.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2014-2015 Pali Rohár <pali@kernel.org> 22 #include <linux/input/sparse-keymap.h> 28 #include "dell-smbios.h" 29 #include "dell-wmi-descriptor.h" 30 #include "dell-wmi-privacy.h" 37 #define DELL_EVENT_GUID "9DBB5994-A997-11DA-B012-B622A1EF5492" 165 * Originally Matthew Garrett created this dell-wmi driver specially for 257 /* Fn-lock switched to function keys */ 260 /* Fn-lock switched to multimedia keys */ [all …]
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1998-2007 Texas Instruments Incorporated 23 data_in_count = wl->data_in_count; in wl1251_tx_double_buffer_busy() 29 used = data_in_count - data_out_count; in wl1251_tx_double_buffer_busy() 45 addr = wl->data_path->tx_control_addr; in wl1251_tx_path_status() 51 return -EBUSY; in wl1251_tx_path_status() 61 if (wl->tx_frames[i] == NULL) { in wl1251_tx_id() 62 wl->tx_frames[i] = skb; in wl1251_tx_id() 66 return -EBUSY; in wl1251_tx_id() 72 *(u16 *)&tx_hdr->control = 0; in wl1251_tx_control() [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | mac80211-ops.c | 1 /*- 2 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 3 * Copyright (c) 2004-2005 Atheros Communications, Inc. 21 * 3. Neither the names of the above-listed copyright holders nor the names 61 struct ath5k_hw *ah = hw->priv; in ath5k_tx() 64 if (WARN_ON(qnum >= ah->ah_capabilities.cap_queues.q_tx_num)) { in ath5k_tx() 69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx() 76 struct ath5k_hw *ah = hw->priv; in ath5k_add_interface() 78 struct ath5k_vif *avf = (void *)vif->drv_priv; in ath5k_add_interface() 80 mutex_lock(&ah->lock); in ath5k_add_interface() [all …]
|
| H A D | debug.c | 2 * Copyright (c) 2007-2008 Bruno Randolf <bruno@thinktube.com> 21 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 22 * Copyright (c) 2004-2005 Atheros Communications, Inc. 39 * 3. Neither the names of the above-listed copyright holders nor the names 139 static void *reg_start(struct seq_file *seq, loff_t *pos) in reg_start() argument 141 return *pos < ARRAY_SIZE(regs) ? (void *)®s[*pos] : NULL; in reg_start() 149 static void *reg_next(struct seq_file *seq, void *p, loff_t *pos) in reg_next() argument 151 ++*pos; in reg_next() 152 return *pos < ARRAY_SIZE(regs) ? (void *)®s[*pos] : NULL; in reg_next() 157 struct ath5k_hw *ah = seq->private; in reg_show() [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 * snd_hda_gen_spec_init - initialize hda_gen_spec struct 39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init() 40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init() 41 snd_array_init(&spec->loopback_list, sizeof(struct hda_amp_list), 8); in snd_hda_gen_spec_init() 42 mutex_init(&spec->pcm_mute in snd_hda_gen_spec_init() 371 char *pos = buf; print_nid_path() local [all...] |
| /linux/include/uapi/linux/ |
| H A D | soundcard.h | 2 * Copyright by Hannu Savolainen 1993-1997 228 #define WAVE_UNSIGNED 0x02 /* bit 1 = Signed - Unsigned data. */ 229 #define WAVE_LOOPING 0x04 /* bit 2 = looping enabled-1. */ 233 #define WAVE_ENVELOPES 0x40 /* bit 6 = Enable envelopes - 1 */ 269 int panning; /* -128=left, 127=right */ 378 /* undefined 0x14 - 0x1f */ 395 /* undefined 0x46 - 0x4f */ 401 /* undefined 0x54 - 0x5a */ 414 /* undefined 0x66 - 0x78 */ 415 /* reserved 0x79 - 0x7f */ [all …]
|
| /linux/net/mac80211/ |
| H A D | rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 6 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright(c) 2015 - 201 314 unsigned char *pos; ieee80211_add_rx_radiotap_header() local [all...] |
| /linux/drivers/media/usb/em28xx/ |
| H A D | em28xx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * em28xx.h - driver for Empia EM2800/EM2820/2840 USB video capture devices 27 #include <media/videobuf2-v4l2.h> 28 #include <media/videobuf2-vmalloc.h> 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-ctrls.h> 31 #include <media/v4l2-fh.h> 32 #include <media/i2c/ir-kbd-i2c.h> 33 #include <media/rc-core.h> 36 #include "em28xx-reg.h" [all …]
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * for Intersil Prism2/2.5/3 - hostap.o module, common routines 6 * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen 8 * Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi> 9 * Copyright (c) 2004-2005, Intel Corporation 36 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in libipw_monitor_rx() 37 u16 fc = le16_to_cpu(hdr->frame_control); in libipw_monitor_rx() 39 skb->dev = ieee->dev; in libipw_monitor_rx() 42 skb->pkt_type = PACKET_OTHERHOST; in libipw_monitor_rx() 43 skb->protocol = htons(ETH_P_80211_RAW); in libipw_monitor_rx() [all …]
|
| /linux/drivers/pci/ |
| H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains work-arounds for many known PCI hardware bugs. 5 * should be handled in arch-specific code. 22 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 41 if (test_bit(PCI_LINK_LBMS_SEEN, &dev->priv_flags)) in pcie_lbms_seen() 102 int ret = -ENOTTY; in pcie_failed_link_retrain() 105 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() 112 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain() 173 if ((f->class == (u32) (dev->class >> f->class_shift) || in pci_do_fixups() 174 f->class == (u32) PCI_ANY_ID) && in pci_do_fixups() [all …]
|
| /linux/Documentation/sound/kernel-api/ |
| H A D | writing-an-alsa-driver.rst | 11 Architecture) <http://www.alsa-project.org/>`__ driver. The document 19 low-level driver implementation details. It only describes the standard 26 ------- 56 -------------- 60 sub-directories contain different modules and are dependent upon the 74 This directory and its sub-directories are for the ALSA sequencer. This 76 as snd-seq-midi, snd-seq-virmidi, etc. They are compiled only when 85 ----------------- 88 to be exported to user-space, or included by several files in different 94 ----------------- [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | debugfs.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 23 /* 0..wil->num_rx_status_rings-1 for Rx, wil->tx_sring_idx for Tx */ 49 if (ring->is_rx) { in wil_print_desc_edma() 52 &ring->va[idx].rx.enhanced; in wil_print_desc_edma() 53 u16 buff_id = le16_to_cpu(rx_d->mac.buff_id); in wil_print_desc_edma() 55 if (wil->rx_buff_mgmt.buff_arr && in wil_print_desc_edma() 56 wil_val_in_range(buff_id, 0, wil->rx_buff_mgmt.size)) in wil_print_desc_edma() 57 has_skb = wil->rx_buff_mgmt.buff_arr[buff_id].skb; in wil_print_desc_edma() [all …]
|