Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/sound/
H A Dti,tas2770.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 …]
/linux/sound/soc/codecs/
H A 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>
35 if (tas2770->reset_gpio) { in tas2770_reset()
36 gpiod_set_value_cansleep(tas2770->reset_gpio, 0); in tas2770_reset()
38 gpiod_set_value_cansleep(tas2770->reset_gpio, 1); in tas2770_reset()
42 snd_soc_component_write(tas2770->component, TAS2770_SW_RST, in tas2770_reset()
49 struct snd_soc_component *component = tas2770->component; in tas2770_update_pwr_ctrl()
53 if (tas2770->dac_powered) in tas2770_update_pwr_ctrl()
[all …]
H A 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 -
25 #include <sound/soc-dapm.h>
27 #include <sound/tas2552-plat.h>
28 #include <dt-bindings/sound/tas2552.h>
82 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas2552_post_event()
121 SND_SOC_DAPM_AIF_OUT("ASI OUT", "DAC Capture", 0, SND_SOC_NOPM, 0, 0),
138 {"ASI OUT", NULL, "DMIC"}
146 if (!tas2552->component) in tas2552_sw_shutdown()
[all …]
H A Dtas2780.c1 // SPDX-License-Identifier: GPL-2.0
33 if (tas2780->reset_gpio) { in tas2780_reset()
34 gpiod_set_value_cansleep(tas2780->reset_gpio, 0); in tas2780_reset()
36 gpiod_set_value_cansleep(tas2780->reset_gpio, 1); in tas2780_reset()
40 ret = snd_soc_component_write(tas2780->component, TAS2780_SW_RST, in tas2780_reset()
43 dev_err(tas2780->dev, "%s:errCode:0x%x Reset error!\n", in tas2780_reset()
57 dev_err(tas2780->dev, "%s:errCode:0x%0x:power down error\n", in tas2780_codec_suspend()
62 regcache_cache_only(tas2780->regmap, true); in tas2780_codec_suspend()
63 regcache_mark_dirty(tas2780->regmap); in tas2780_codec_suspend()
78 dev_err(tas2780->dev, "%s:errCode:0x%0x:power down error\n", in tas2780_codec_resume()
[all …]
H A Dtas2562.c1 // SPDX-License-Identifier: GPL-2.0
20 #include <sound/soc-dapm.h>
129 dev_info(tas2562->dev, "%s, unsupported sample rate, %d\n", in tas2562_set_samplerate()
131 return -EINVAL; in tas2562_set_samplerate()
134 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
136 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
146 struct snd_soc_component *component = dai->component; in tas2562_set_dai_tdm_slot()
153 dev_err(component->dev, "tx masks must not be 0\n"); in tas2562_set_dai_tdm_slot()
154 return -EINVAL; in tas2562_set_dai_tdm_slot()
159 return -EINVAL; in tas2562_set_dai_tdm_slot()
[all …]
H A Dtlv320adcx140.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
40 "ti,gpo-config-1",
41 "ti,gpo-config-2",
42 "ti,gpo-config-3",
43 "ti,gpo-config-4",
162 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */
163 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0);
168 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */
169 static DECLARE_TLV_DB_SCALE(dre_thresh_tlv, -6600, 100, 0);
[all …]
/linux/arch/sparc/kernel/
H A 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 …]
H A 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 …]
/linux/sound/pci/asihpi/
H A 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 …]
H A 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 …]
H A Dasihpi.c1 // SPDX-License-Identifier: GPL-2.0-only
40 #define asihpi_dbg(format, args...) pr_debug(format, ##args) argument
42 #define asihpi_dbg(format, args...) do { } while (0) argument
45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* index 0-MAX */
141 struct hpi_format format; member
266 struct device *dev = substream->pcm->card->dev; in print_hwparams()
271 dev_dbg(dev, " samplerate=%dHz channels=%d format=%d subformat=%d\n", in print_hwparams()
283 #define INVALID_FORMAT (__force snd_pcm_format_t)(-1)
302 /* ALSA can't handle 3 byte sample size together with power-of-2
303 * constraint on buffer_bytes, so disable this format
[all …]
H A 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/Documentation/arch/sparc/oradax/
H A 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/drivers/scsi/aic94xx/
H A 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.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/arch/sparc/include/asm/
H A 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/sound/pci/hda/
H A 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 …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A 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 */
355 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate()
357 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate()
370 return band->bandtype == BRCM_BAND_5G ? APHY_SIFS_TIME : in get_sifs()
[all …]
/linux/Documentation/sound/
H A Dalsa-configuration.rst2 Advanced Linux Sound Architecture - Driver Configuration guide
38 ----------
47 limiting card index for auto-loading (1-8);
49 For auto-loading more than one card, specify this option
50 together with snd-card-X aliases.
63 Module snd-pcm-oss
64 ------------------
86 regarding opening the device. When this option is non-zero,
90 Module snd-rawmidi
91 ------------------
[all …]