| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | tas2770.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | tas2770.c | 1 // 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 …]
|
| D | tas2764.c | 1 // 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 …]
|
| D | tas2562.c | 1 // 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| D | head_32.S | 1 /* 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 …]
|
| D | prom_64.c | 1 // 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 …]
|
| D | ptrace_64.c | 1 // 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 …]
|
| D | chmc.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/arch/sparc/kernel/ |
| D | head_32.S | 1 /* 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 …]
|
| D | prom_64.c | 5 * Copyright (C) 1996-2005 Paul Mackerras. 29 #include <asm/asi.h> 60 * format and how it is constructed. 83 regs = rprop->value; in sun4v_path_component() 84 if (!of_node_is_root(dp->parent)) { in sun4v_path_component() 86 dp->name, in sun4v_path_component() 87 (unsigned int) (regs->phys_addr >> 32UL), in sun4v_path_component() 88 (unsigned int) (regs->phys_addr & 0xffffffffUL)); in sun4v_path_component() 92 type = regs->phys_addr >> 60UL; in sun4v_path_component() 93 high_bits = (regs->phys_addr >> 32UL) & 0x0fffffffUL; in sun4v_path_component() [all …]
|
| D | ptrace_64.c | 9 * Added Linux support -miguel (weird, eh?, the original code was meant 33 #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() 186 return -EFAULT; in set_to_target() [all …]
|
| D | chmc.c | 1 /* chmc.c: Driver for UltraSPARC-III memory controller. 32 MODULE_DESCRIPTION("UltraSPARC-III memory controller driver"); 47 /* OBP memory-layout property format. */ 56 /* One max 8-byte string label per DIMM. Usually 146 /* One max 8-byte string label per DIMM. Usually 197 #define SYNDROME_MIN -1 208 syndrome_code -= (128 - 7); in syndrome_to_qword_code() 210 syndrome_code -= (128 + 9 - 4); in syndrome_to_qword_code() 212 syndrome_code -= (128 + 9 + 3); in syndrome_to_qword_code() 217 * on Safari and JBUS. A 64-bit line comes over in 1 or more quadword [all …]
|
| /kernel/linux/linux-4.19/Documentation/sparc/oradax/ |
| D | oracle-dax.txt | 2 --------------------------------------- 23 the accompanying document, dax-hv-api.txt, which is a plain text 25 Specification" version 3.0.20+15, dated 2017-09-25. 29 ------------------- 55 ----------------- 80 -------------- 84 made accessible via mmap(), and are read-only for the application. 107 equal to the number of bytes given in the call. Otherwise -1 is 137 pwrite() system call. If -1 is returned then errno is set to indicate 156 ----------------------- [all …]
|
| /kernel/linux/linux-5.10/sound/pci/asihpi/ |
| D | hpi_internal.h | 1 /* 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 …]
|
| D | hpicmn.c | 1 // 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 …]
|
| D | asihpi.c | 1 // 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 …]
|
| D | hpi.h | 1 /* 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 …]
|
| /kernel/linux/linux-4.19/sound/pci/asihpi/ |
| D | hpi_internal.h | 4 Copyright (C) 1997-2012 AudioScience Inc. <support@audioscience.com> 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 (C) Copyright AudioScience Inc. 1996-2009 40 On error *pLockedMemHandle marked invalid, non-zero returned. 92 typedef char ASSERT_##msg[(cond) ? 1 : -1] 130 /* Get the sub-index of the attribute for a control type */ 251 /*------------------------------------------------------------ 252 Cobranet Chip Bridge - copied from HMI.H 253 ------------------------------------------------------------*/ 279 /*------------------------------------------------------------ [all …]
|
| D | hpicmn.c | 4 Copyright (C) 1997-2014 AudioScience Inc. <support@audioscience.com> 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 (C) Copyright AudioScience Inc. 1998-2003 48 if (phr->type != HPI_TYPE_RESPONSE) { in hpi_validate_response() 49 HPI_DEBUG_LOG(ERROR, "header type %d invalid\n", phr->type); in hpi_validate_response() 53 if (phr->object != phm->object) { in hpi_validate_response() 55 phr->object); in hpi_validate_response() 59 if (phr->function != phm->function) { in hpi_validate_response() 61 phr->function); in hpi_validate_response() 71 /*HPI_ASSERT(pao->type); */ in hpi_add_adapter() [all …]
|
| D | asihpi.c | 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 54 * snd_printddd - very verbose debug printk 55 * @format: format string 61 #define snd_printddd(format, args...) \ argument 62 __snd_printk(3, __FILE__, __LINE__, format, ##args) 64 #define snd_printddd(format, args...) do { } while (0) argument 67 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* index 0-MAX */ 164 struct hpi_format format; member 302 snd_printdd(" samplerate=%dHz channels=%d format=%d subformat=%d\n", in print_hwparams() 314 #define INVALID_FORMAT (__force snd_pcm_format_t)(-1) [all …]
|
| D | hpi.h | 4 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com> 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 25 The HPI is a low-level hardware abstraction layer to all 28 (C) Copyright AudioScience Inc. 1998-2010 42 /** Audio format types 48 /** 8-bit unsigned PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 50 /** 16-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 52 /** MPEG-1 Layer-1. */ 54 /** MPEG-1 Layer-2. 78 <tr><td>256<td>-<td>X [all …]
|
| /kernel/linux/linux-5.10/Documentation/sparc/oradax/ |
| D | oracle-dax.rst | 25 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 …]
|
| /kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
| D | aic94xx_hwi.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/scsi/aic94xx/ |
| D | aic94xx_hwi.c | 23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 41 /* ---------- Initialization ---------- */ 46 if (asd_ha->hw_prof.sas_addr[0]) in asd_get_user_sas_addr() 49 return sas_request_addr(asd_ha->sas_ha.core.shost, in asd_get_user_sas_addr() 50 asd_ha->hw_prof.sas_addr); in asd_get_user_sas_addr() 58 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr() 63 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_propagate_sas_addr() 64 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr() 65 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_propagate_sas_addr() 69 /* ---------- PHY initialization ---------- */ [all …]
|