Home
last modified time | relevance | path

Searched +full:asi +full:- +full:format (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dtas2770.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019-20 Texas Instruments Incorporated
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Shi Fu <shifu0704@thundersoft.com>
14 The TAS2770 is a mono, digital input Class-D audio amplifier optimized for
22 - ti,tas2770
29 reset-gpio:
32 shutdown-gpios:
38 ti,imon-slot-no:
[all …]
/Linux-v5.10/sound/soc/codecs/
Dtas2770.c1 // SPDX-License-Identifier: GPL-2.0
3 // ALSA SoC Texas Instruments TAS2770 20-W Digital Input Mono Class-D
6 // Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
7 // Author: Tracy Yi <tracy-yi@ti.com>
37 if (tas2770->reset_gpio) { in tas2770_reset()
38 gpiod_set_value_cansleep(tas2770->reset_gpio, 0); in tas2770_reset()
40 gpiod_set_value_cansleep(tas2770->reset_gpio, 1); in tas2770_reset()
43 snd_soc_component_write(tas2770->component, TAS2770_SW_RST, in tas2770_reset()
72 dev_err(tas2770->dev, "wrong power level setting %d\n", level); in tas2770_set_bias_level()
73 return -EINVAL; in tas2770_set_bias_level()
[all …]
Dtas2764.c1 // SPDX-License-Identifier: GPL-2.0
41 if (tas2764->reset_gpio) { in tas2764_reset()
42 gpiod_set_value_cansleep(tas2764->reset_gpio, 0); in tas2764_reset()
44 gpiod_set_value_cansleep(tas2764->reset_gpio, 1); in tas2764_reset()
47 snd_soc_component_write(tas2764->component, TAS2764_SW_RST, in tas2764_reset()
75 dev_err(tas2764->dev, in tas2764_set_bias_level()
77 return -EINVAL; in tas2764_set_bias_level()
96 if (tas2764->sdz_gpio) in tas2764_codec_suspend()
97 gpiod_set_value_cansleep(tas2764->sdz_gpio, 0); in tas2764_codec_suspend()
99 regcache_cache_only(tas2764->regmap, true); in tas2764_codec_suspend()
[all …]
Dtas2562.c1 // SPDX-License-Identifier: GPL-2.0
21 #include <sound/soc-dapm.h>
91 dev_err(tas2562->dev, in tas2562_set_bias_level()
93 return -EINVAL; in tas2562_set_bias_level()
162 dev_info(tas2562->dev, "%s, unsupported sample rate, %d\n", in tas2562_set_samplerate()
164 return -EINVAL; in tas2562_set_samplerate()
167 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
169 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
179 struct snd_soc_component *component = dai->component; in tas2562_set_dai_tdm_slot()
186 dev_err(component->dev, "tx masks must not be 0\n"); in tas2562_set_dai_tdm_slot()
[all …]
Dtlv320adcx140.c1 // 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 …]
/Linux-v5.10/arch/sparc/kernel/
Dhead_32.S1 /* SPDX-License-Identifier: GPL-2.0 */
18 #include <asm/asi.h>
31 /* The following are used with the prom_vector node-ops to figure out
32 * the cpu-type
40 /* Tested on SS-5, SS-10 */
48 .asciz "Sparc-Linux sun4/sun4c or MMU-less not supported\n\n"
52 .asciz "Sparc-Linux sun4e support does not exist\n\n"
55 /* The trap-table - located in the __HEAD section */
61 * these page-table data structures.
101 * memory. The Solaris /boot elf format bootloader
[all …]
Dprom_64.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 1996-2005 Paul Mackerras.
25 #include <asm/asi.h>
53 * format and how it is constructed.
77 regs = rprop->value; in sun4v_path_component()
78 if (!of_node_is_root(dp->parent)) { in sun4v_path_component()
81 (unsigned int) (regs->phys_addr >> 32UL), in sun4v_path_component()
82 (unsigned int) (regs->phys_addr & 0xffffffffUL)); in sun4v_path_component()
86 type = regs->phys_addr >> 60UL; in sun4v_path_component()
87 high_bits = (regs->phys_addr >> 32UL) & 0x0fffffffUL; in sun4v_path_component()
[all …]
Dptrace_64.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Added Linux support -miguel (weird, eh?, the original code was meant
34 #include <asm/asi.h>
103 * 1) flush the D-cache if it's possible than an illegal alias
105 * 2) flush the I-cache if this is pre-cheetah and we did a write
122 * D-cache flush. in flush_ptrace_access()
135 start &= ~(dcache_line_size - 1); in flush_ptrace_access()
166 return -EFAULT; in get_from_target()
171 return -EFAULT; in get_from_target()
181 return -EFAULT; in set_to_target()
[all …]
Dchmc.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* chmc.c: Driver for UltraSPARC-III memory controller.
33 MODULE_DESCRIPTION("UltraSPARC-III memory controller driver");
48 /* OBP memory-layout property format. */
57 /* One max 8-byte string label per DIMM. Usually
147 /* One max 8-byte string label per DIMM. Usually
198 #define SYNDROME_MIN -1
209 syndrome_code -= (128 - 7); in syndrome_to_qword_code()
211 syndrome_code -= (128 + 9 - 4); in syndrome_to_qword_code()
213 syndrome_code -= (128 + 9 + 3); in syndrome_to_qword_code()
[all …]
/Linux-v5.10/sound/pci/asihpi/
Dhpi_internal.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Copyright (C) 1997-2012 AudioScience Inc. <support@audioscience.com>
10 (C) Copyright AudioScience Inc. 1996-2009
29 On error *pLockedMemHandle marked invalid, non-zero returned.
81 typedef char ASSERT_##msg[(cond) ? 1 : -1]
119 /* Get the sub-index of the attribute for a control type */
240 /*------------------------------------------------------------
241 Cobranet Chip Bridge - copied from HMI.H
242 ------------------------------------------------------------*/
268 /*------------------------------------------------------------
[all …]
Dhpicmn.c1 // SPDX-License-Identifier: GPL-2.0-only
5 Copyright (C) 1997-2014 AudioScience Inc. <support@audioscience.com>
12 (C) Copyright AudioScience Inc. 1998-2003
31 * hpi_validate_response - Given an HPI Message that was sent out and
39 if (phr->type != HPI_TYPE_RESPONSE) { in hpi_validate_response()
40 HPI_DEBUG_LOG(ERROR, "header type %d invalid\n", phr->type); in hpi_validate_response()
44 if (phr->object != phm->object) { in hpi_validate_response()
46 phr->object); in hpi_validate_response()
50 if (phr->function != phm->function) { in hpi_validate_response()
52 phr->function); in hpi_validate_response()
[all …]
Dasihpi.c1 // SPDX-License-Identifier: GPL-2.0-only
41 * snd_printddd - very verbose debug printk
42 * @format: format string
48 #define snd_printddd(format, args...) \ argument
49 __snd_printk(3, __FILE__, __LINE__, format, ##args)
51 #define snd_printddd(format, args...) do { } while (0) argument
54 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* index 0-MAX */
150 struct hpi_format format; member
279 snd_printdd(" samplerate=%dHz channels=%d format=%d subformat=%d\n", in print_hwparams()
291 #define INVALID_FORMAT (__force snd_pcm_format_t)(-1)
[all …]
Dhpi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com>
14 The HPI is a low-level hardware abstraction layer to all
17 (C) Copyright AudioScience Inc. 1998-2010
31 /** Audio format types
37 /** 8-bit unsigned PCM. Windows equivalent is WAVE_FORMAT_PCM. */
39 /** 16-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM. */
41 /** MPEG-1 Layer-1. */
43 /** MPEG-1 Layer-2.
67 <tr><td>256<td>-<td>X
[all …]
/Linux-v5.10/Documentation/sparc/oradax/
Doracle-dax.rst25 the accompanying document, dax-hv-api.txt, which is a plain text
27 Specification" version 3.0.20+15, dated 2017-09-25.
86 made accessible via mmap(), and are read-only for the application.
109 equal to the number of bytes given in the call. Otherwise -1 is
113 -----------
122 --------
129 --------
138 ---------------------------------------------
143 pwrite() system call. If -1 is returned then errno is set to indicate
155 ----
[all …]
/Linux-v5.10/drivers/scsi/aic94xx/
Daic94xx_hwi.c1 // SPDX-License-Identifier: GPL-2.0-only
23 /* ---------- Initialization ---------- */
28 if (asd_ha->hw_prof.sas_addr[0]) in asd_get_user_sas_addr()
31 return sas_request_addr(asd_ha->sas_ha.core.shost, in asd_get_user_sas_addr()
32 asd_ha->hw_prof.sas_addr); in asd_get_user_sas_addr()
40 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr()
45 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_propagate_sas_addr()
46 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr()
47 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_propagate_sas_addr()
51 /* ---------- PHY initialization ---------- */
[all …]
/Linux-v5.10/arch/sparc/include/asm/
Dpgtable_64.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 #include <asm-generic/pgtable-nop4d.h>
21 #include <asm/asi.h>
26 /* The kernel image occupies 0x4000000 to 0x6000000 (4MB --> 96MB).
32 * Since modules need to be in the lowest 32-bits of the address space,
48 /* PMD_SHIFT determines the size of the area a second-level page
51 #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-3))
53 #define PMD_MASK (~(PMD_SIZE-1))
54 #define PMD_BITS (PAGE_SHIFT - 3)
56 /* PUD_SHIFT determines the size of the area a third-level page
[all …]
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de>
50 /* n-mode support capability */
82 #define EDCF_ECW2CW(exp) ((1 << (exp)) - 1)
133 /* Per-AC retry limit register definitions; uses defs.h bitfield macros */
167 #define BRCMS_PLCP_AUTO -1
172 #define BRCMS_PROTECTION_AUTO -1
199 /* MSC in use,indicates b0-6 holds an mcs */
361 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate()
363 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate()
376 return band->bandtype == BRCM_BAND_5G ? APHY_SIFS_TIME : in get_sifs()
[all …]
/Linux-v5.10/sound/pci/hda/
Dpatch_ca0132.c1 // SPDX-License-Identifier: GPL-2.0-or-later
74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin"
75 #define R3DI_EFX_FILE "ctefx-r3di.bin"
115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID)
126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID)
134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID)
154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID)
163 * X-bass.
182 int params; /* number of default non-on/off params */
223 { .name = "X-Bass",
[all …]