| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | atmel,sama5d2-pdmic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/sound/atmel,sama5d2-pdmic.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Claudiu Beznea <claudiu.beznea@microchip.com> 20 const: atmel,sama5d2-pdmic 30 - description: peripheral clock 31 - description: generated clock 33 clock-names: 35 - const: pclk [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | atmel-pdmic.txt | 4 - compatible 5 Should be "atmel,sama5d2-pdmic". 6 - reg 8 - interrupts 10 - dmas 11 One DMA specifiers as described in atmel-dma.txt and dma.txt files. 12 - dma-names 14 - clock-names 16 - "pclk" peripheral clock 17 - "gclk" generated clock [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | tlv320adcx140.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 41 "ti,gpo-config-1", 42 "ti,gpo-config-2", 43 "ti,gpo-config-3", 44 "ti,gpo-config-4", 163 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 164 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0); 169 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ 170 static DECLARE_TLV_DB_SCALE(dre_thresh_tlv, -6600, 100, 0); [all …]
|
| D | wm8753.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8753.c -- WM8753 ALSA Soc Audio driver 5 * Copyright 2003-11 Wolfson Microelectronics PLC. 12 * Dual DAI:- 23 * Fast DAI switching:- 166 static const char *wm8753_line_mix[] = {"Line 1 + 2", "Line 1 - 2", 171 static const char *wm8753_rxmsel[] = {"RXP - RXN", "RXP + RXN", "RXP", "RXN"}; 172 static const char *wm8753_sidetone_mux[] = {"Left PGA", "Mic 1", "Mic 2", 178 static const char *wm8753_radcsel[] = {"PGA", "Line or RXP-RXN", "Sidetone"}; 179 static const char *wm8753_ladcsel[] = {"PGA", "Line or RXP-RXN", "Line"}; [all …]
|
| D | rt5677-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677-spi.c -- RT5677 ALSA SoC audio codec driver 30 #include "rt5677-spi.h" 39 * DataPhase word size of 16-bit commands is 2 bytes. 40 * DataPhase word size of 32-bit commands is 4 bytes. 42 * The DSP CPU is little-endian. 54 #define RT5677_MIC_BUF_BYTES ((u32)(RT5677_BUF_BYTES_TOTAL - \ 66 size_t dma_offset; /* zero-based offset into runtime->dma_area */ 68 u32 mic_read_offset; /* zero-based offset into DSP's mic buffer */ 87 /* The DAI name "rt5677-dsp-cpu-dai" is not used. The actual DAI name [all …]
|
| D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 /* -54dB */ 34 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 35 /* -52.5dB to 15dB */ 36 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 41 /* -78dB to 12dB */ 42 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 51 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 52 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 53 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | wm8753.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8753.c -- WM8753 ALSA Soc Audio driver 5 * Copyright 2003-11 Wolfson Microelectronics PLC. 12 * Dual DAI:- 23 * Fast DAI switching:- 166 static const char *wm8753_line_mix[] = {"Line 1 + 2", "Line 1 - 2", 171 static const char *wm8753_rxmsel[] = {"RXP - RXN", "RXP + RXN", "RXP", "RXN"}; 172 static const char *wm8753_sidetone_mux[] = {"Left PGA", "Mic 1", "Mic 2", 178 static const char *wm8753_radcsel[] = {"PGA", "Line or RXP-RXN", "Sidetone"}; 179 static const char *wm8753_ladcsel[] = {"PGA", "Line or RXP-RXN", "Line"}; [all …]
|
| D | tlv320adcx140.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 41 "ti,gpo-config-1", 42 "ti,gpo-config-2", 43 "ti,gpo-config-3", 44 "ti,gpo-config-4", 163 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 164 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0); 169 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ 170 static DECLARE_TLV_DB_SCALE(dre_thresh_tlv, -6600, 100, 0); [all …]
|
| D | rt5677-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677-spi.c -- RT5677 ALSA SoC audio codec driver 30 #include "rt5677-spi.h" 39 * DataPhase word size of 16-bit commands is 2 bytes. 40 * DataPhase word size of 32-bit commands is 4 bytes. 42 * The DSP CPU is little-endian. 54 #define RT5677_MIC_BUF_BYTES ((u32)(RT5677_BUF_BYTES_TOTAL - \ 66 size_t dma_offset; /* zero-based offset into runtime->dma_area */ 68 u32 mic_read_offset; /* zero-based offset into DSP's mic buffer */ 87 /* The DAI name "rt5677-dsp-cpu-dai" is not used. The actual DAI name [all …]
|
| D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 /* -54dB */ 34 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 35 /* -52.5dB to 15dB */ 36 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 41 /* -78dB to 12dB */ 42 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 51 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 52 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 53 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
| D | da7219.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219.c - DA7219 ALSA SoC Codec Driver 13 #include <linux/clk-provider.h> 26 #include <sound/soc-dapm.h> 33 #include "da7219-aad.h" 41 static const DECLARE_TLV_DB_SCALE(da7219_mic_gain_tlv, -600, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7219_mixin_gain_tlv, -450, 150, 0); 43 static const DECLARE_TLV_DB_SCALE(da7219_adc_dig_gain_tlv, -8325, 75, 0); 44 static const DECLARE_TLV_DB_SCALE(da7219_alc_threshold_tlv, -9450, 150, 0); 47 static const DECLARE_TLV_DB_SCALE(da7219_sidetone_gain_tlv, -4200, 300, 0); [all …]
|
| /kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
| 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 …]
|
| /kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
| D | auth_gss.c | 1 // SPDX-License-Identifier: BSD-3-Clause 54 * using integrity (two 4-byte integers): */ 78 * for the new text-based upcall; dentry[0] is named after the 80 * backwards-compatibility with older gssd's. 99 refcount_inc(&ctx->count); in gss_get_ctx() 106 if (refcount_dec_and_test(&ctx->count)) in gss_put_ctx() 113 * and a new one is protected by the pipe->lock. 120 if (!test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags)) in gss_cred_set_ctx() 123 rcu_assign_pointer(gss_cred->gc_ctx, ctx); in gss_cred_set_ctx() 124 set_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags); in gss_cred_set_ctx() [all …]
|
| D | svcauth_gss.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * Context creation is handled largely by upcalls to user-space. 20 * In particular, GSS_GetMIC, GSS_VerifyMIC, GSS_Seal, GSS_Unseal are in-kernel. 21 * Context destruction is handled in-kernel 22 * GSS_Delete_sec_context is in-kernel 32 * When user-space is happy that a context is established, it places an entry 35 * uid/gidlist - for determining access rights 68 return a->len == b->len && 0 == memcmp(a->data, b->data, a->len); in netobj_equal() 87 kfree(rsii->in_handle.data); in rsi_free() 88 kfree(rsii->in_token.data); in rsi_free() [all …]
|
| /kernel/linux/linux-6.6/sound/pci/vx222/ |
| D | vx222.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 unsigned int regSELMIC; /* current SELMIC reg. (for VX222 Mic) */ 25 int input_level[2]; /* input level for vx222 mic */ 26 int mic_level; /* mic level for vx222 mic */ 37 /* Offset of registers with base equal to portDSP. */
|
| /kernel/linux/linux-5.10/sound/pci/vx222/ |
| D | vx222.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 unsigned int regSELMIC; /* current SELMIC reg. (for VX222 Mic) */ 25 int input_level[2]; /* input level for vx222 mic */ 26 int mic_level; /* mic level for vx222 mic */ 37 /* Offset of registers with base equal to portDSP. */
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
| D | mon.c | 1 // SPDX-License-Identifier: GPL-2.0 18 * unprotect_frame() - unset Protected flag and strip off IV and ICV/MIC 25 hdr = (struct ieee80211_hdr *)skb->data; in unprotect_frame() 26 hdr_len = ieee80211_hdrlen(hdr->frame_control); in unprotect_frame() 28 if (skb->len < hdr_len + iv_len + icv_len) in unprotect_frame() 30 if (!ieee80211_has_protected(hdr->frame_control)) in unprotect_frame() 33 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_PROTECTED); in unprotect_frame() 35 memmove(skb->data + iv_len, skb->data, hdr_len); in unprotect_frame() 37 skb_trim(skb, skb->len - icv_len); in unprotect_frame() 56 skb->ip_summed = CHECKSUM_UNNECESSARY; in mon_recv_decrypted() [all …]
|
| /kernel/linux/linux-5.10/drivers/edac/ |
| D | cell_edac.c | 2 * Cell MIC driver for ECC counting 20 #include <asm/cell-regs.h> 36 struct cell_edac_priv *priv = mci->pvt_info; in cell_edac_count_ce() 37 struct csrow_info *csrow = mci->csrows[0]; in cell_edac_count_ce() 38 unsigned long address, pfn, offset, syndrome; in cell_edac_count_ce() local 40 dev_dbg(mci->pdev, "ECC CE err on node %d, channel %d, ar = 0x%016llx\n", in cell_edac_count_ce() 41 priv->node, chan, ar); in cell_edac_count_ce() 45 if (priv->chanmask == 0x3) in cell_edac_count_ce() 48 offset = address & ~PAGE_MASK; in cell_edac_count_ce() 53 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce() [all …]
|
| /kernel/linux/linux-6.6/drivers/edac/ |
| D | cell_edac.c | 2 * Cell MIC driver for ECC counting 20 #include <asm/cell-regs.h> 36 struct cell_edac_priv *priv = mci->pvt_info; in cell_edac_count_ce() 37 struct csrow_info *csrow = mci->csrows[0]; in cell_edac_count_ce() 38 unsigned long address, pfn, offset, syndrome; in cell_edac_count_ce() local 40 dev_dbg(mci->pdev, "ECC CE err on node %d, channel %d, ar = 0x%016llx\n", in cell_edac_count_ce() 41 priv->node, chan, ar); in cell_edac_count_ce() 45 if (priv->chanmask == 0x3) in cell_edac_count_ce() 48 offset = address & ~PAGE_MASK; in cell_edac_count_ce() 53 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-pnx.txt | 5 - reg: Offset and length of the register set for the device 6 - compatible: should be "nxp,pnx-i2c" 7 - interrupts: configure one interrupt line 8 - #address-cells: always 1 (for i2c addresses) 9 - #size-cells: always 0 13 - clock-frequency: desired I2C bus clock frequency in Hz, Default: 100000 Hz 18 compatible = "nxp,pnx-i2c"; 20 interrupt-parent = <&mic>; 22 #address-cells = <1>; 23 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | i2c-pnx.txt | 5 - reg: Offset and length of the register set for the device 6 - compatible: should be "nxp,pnx-i2c" 7 - interrupts: configure one interrupt line 8 - #address-cells: always 1 (for i2c addresses) 9 - #size-cells: always 0 13 - clock-frequency: desired I2C bus clock frequency in Hz, Default: 100000 Hz 18 compatible = "nxp,pnx-i2c"; 20 interrupt-parent = <&mic>; 22 #address-cells = <1>; 23 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/ti/ |
| D | omap-abe-twl6040.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap-abe-twl6040.c -- SoC audio for TI OMAP based boards with ABE and 20 #include "omap-dmic.h" 21 #include "omap-mcpdm.h" 26 DAILINK_COMP_ARRAY(COMP_CODEC("twl6040-codec", 27 "twl6040-legacy")), 32 DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec", 33 "dmic-hifi")), 50 struct snd_soc_card *card = rtd->card; in omap_abe_hw_params() 55 clk_id = twl6040_get_clk_id(codec_dai->component); in omap_abe_hw_params() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/ti/ |
| D | omap-abe-twl6040.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap-abe-twl6040.c -- SoC audio for TI OMAP based boards with ABE and 20 #include "omap-dmic.h" 21 #include "omap-mcpdm.h" 26 DAILINK_COMP_ARRAY(COMP_CODEC("twl6040-codec", 27 "twl6040-legacy")), 32 DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec", 33 "dmic-hifi")), 50 struct snd_soc_card *card = rtd->card; in omap_abe_hw_params() 55 clk_id = twl6040_get_clk_id(codec_dai->component); in omap_abe_hw_params() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | patch_conexant.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Tobin Davis <tdavis@dsl-only.net> 38 unsigned int dc_input_bias; /* offset into olpc_xo_dc_bias */ 63 spec->gen.beep_nid = nid; in set_beep_amp() 65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp() 68 return -ENOMEM; in set_beep_amp() 69 knew->private_value = beep_amp; in set_beep_amp() 76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() 95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd() 103 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd() [all …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | patch_conexant.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Tobin Davis <tdavis@dsl-only.net> 38 unsigned int dc_input_bias; /* offset into olpc_xo_dc_bias */ 63 spec->gen.beep_nid = nid; in set_beep_amp() 65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp() 68 return -ENOMEM; in set_beep_amp() 69 knew->private_value = beep_amp; in set_beep_amp() 76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() 95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd() 103 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd() [all …]
|