Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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
20 - $ref: dai-common.yaml#
25 - ti,tas2770
32 reset-gpio:
36 shutdown-gpios:
[all …]
/kernel/linux/linux-5.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()
44 snd_soc_component_write(tas2770->component, TAS2770_SW_RST, in tas2770_reset()
51 struct snd_soc_component *component = tas2770->component; in tas2770_update_pwr_ctrl()
55 if (tas2770->dac_powered) in tas2770_update_pwr_ctrl()
[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 …]
/kernel/linux/linux-6.6/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()
44 snd_soc_component_write(tas2770->component, TAS2770_SW_RST, in tas2770_reset()
51 struct snd_soc_component *component = tas2770->component; in tas2770_update_pwr_ctrl()
55 if (tas2770->dac_powered) in tas2770_update_pwr_ctrl()
[all …]
Dtas2552.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tas2552.c - ALSA SoC Texas Instruments TAS2552 Mono Audio Amplifier
5 * Copyright (C) 2014 - 2024 Texas Instruments Incorporated -
27 #include <sound/soc-dapm.h>
29 #include <sound/tas2552-plat.h>
30 #include <dt-bindings/sound/tas2552.h>
84 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas2552_post_event()
123 SND_SOC_DAPM_AIF_OUT("ASI OUT", "DAC Capture", 0, SND_SOC_NOPM, 0, 0),
140 {"ASI OUT", NULL, "DMIC"}
148 if (!tas2552->component) in tas2552_sw_shutdown()
[all …]
Dtas2562.c1 // SPDX-License-Identifier: GPL-2.0
20 #include <sound/soc-dapm.h>
130 dev_info(tas2562->dev, "%s, unsupported sample rate, %d\n", in tas2562_set_samplerate()
132 return -EINVAL; in tas2562_set_samplerate()
135 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
137 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
147 struct snd_soc_component *component = dai->component; in tas2562_set_dai_tdm_slot()
154 dev_err(component->dev, "tx masks must not be 0\n"); in tas2562_set_dai_tdm_slot()
155 return -EINVAL; in tas2562_set_dai_tdm_slot()
160 return -EINVAL; in tas2562_set_dai_tdm_slot()
[all …]
Dtas2780.c1 // SPDX-License-Identifier: GPL-2.0
35 if (tas2780->reset_gpio) { in tas2780_reset()
36 gpiod_set_value_cansleep(tas2780->reset_gpio, 0); in tas2780_reset()
38 gpiod_set_value_cansleep(tas2780->reset_gpio, 1); in tas2780_reset()
42 ret = snd_soc_component_write(tas2780->component, TAS2780_SW_RST, in tas2780_reset()
45 dev_err(tas2780->dev, "%s:errCode:0x%x Reset error!\n", in tas2780_reset()
59 dev_err(tas2780->dev, "%s:errCode:0x%0x:power down error\n", in tas2780_codec_suspend()
64 regcache_cache_only(tas2780->regmap, true); in tas2780_codec_suspend()
65 regcache_mark_dirty(tas2780->regmap); in tas2780_codec_suspend()
80 dev_err(tas2780->dev, "%s:errCode:0x%0x:power down error\n", in tas2780_codec_resume()
[all …]
/kernel/linux/linux-6.6/arch/sparc/kernel/
Dhead_32.S1 /* SPDX-License-Identifier: GPL-2.0 */
19 #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
33 #include <asm/asi.h>
102 * 1) flush the D-cache if it's possible than an illegal alias
104 * 2) flush the I-cache if this is pre-cheetah and we did a write
121 * D-cache flush. in flush_ptrace_access()
134 start &= ~(dcache_line_size - 1); in flush_ptrace_access()
165 return -EFAULT; in get_from_target()
170 return -EFAULT; in get_from_target()
180 return -EFAULT; in set_to_target()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/Documentation/arch/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 …]
/kernel/linux/linux-5.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 …]

12