Home
last modified time | relevance | path

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

12

/openbmc/qemu/target/sparc/
H A Dldst_helper.c4 * Copyright (c) 2003-2005 Fabrice Bellard
25 #include "exec/helper-proto.h"
26 #include "exec/exec-all.h"
27 #include "exec/page-protection.h"
29 #include "asi.h"
53 do { printf("ASI: " fmt , ## __VA_ARGS__); } while (0)
65 #define AM_CHECK(env1) ((env1)->pstate & PS_AM)
82 int ctx = mmu->tag_access & 0x1fffULL; in ultrasparc_tsb_pointer()
83 uint64_t ctx_register = mmu->sun4v_ctx_config[ctx ? 1 : 0]; in ultrasparc_tsb_pointer()
88 tsb_register = mmu->sun4v_tsb_pointers[tsb_index]; in ultrasparc_tsb_pointer()
[all …]
H A Dcpu.h5 #include "cpu-qom.h"
6 #include "exec/cpu-defs.h"
7 #include "qemu/cpu-float.h"
244 #include "cpu-feature.h.inc"
251 #include "cpu-feature.h.inc"
316 #define TLB_UST1_IS_SUN4V_BIT (1ULL << 10) /* sun4u/sun4v TTE format switch */
323 #define SFSR_FT_ILL_BIT (1ULL << 10) /* illegal LDA/STA ASI */
332 #define SFSR_ASI_SHIFT 16 /* 23:16 ASI value */
417 * Z is represented as == 0; any non-zero value is !Z.
418 * For sparc64, the high 32-bits of icc.Z are garbage.
[all …]
H A Dcpu.c4 * Copyright (c) 2003-2005 Fabrice Bellard
24 #include "qemu/qemu-print.h"
25 #include "exec/exec-all.h"
26 #include "hw/qdev-properties.h"
39 if (scc->parent_phases.hold) { in sparc_cpu_reset_hold()
40 scc->parent_phases.hold(obj, type); in sparc_cpu_reset_hold()
44 env->cwp = 0; in sparc_cpu_reset_hold()
46 env->wim = 1; in sparc_cpu_reset_hold()
48 env->regwptr = env->regbase + (env->cwp * 16); in sparc_cpu_reset_hold()
51 env->cleanwin = env->nwindows - 2; in sparc_cpu_reset_hold()
[all …]
/openbmc/qemu/disas/
H A Dsparc.c3 * include/opcode/sparc.h, opcodes/sparc-opc.c, opcodes/sparc-dis.c
30 #include "disas/dis-asm.h"
33 the opcodes library in sparc-opc.c. If you change anything here, make
36 /* FIXME-someday: perhaps the ,a's and such should be embedded in the
43 returns non-zero.
44 The values are indices into `sparc_opcode_archs' defined in sparc-opc.c.
45 Don't change this without updating sparc-opc.c. */
62 #define SPARC_OPCODE_ARCH_MAX (SPARC_OPCODE_ARCH_BAD - 1)
68 /* Given a valid sparc_opcode_arch_val, return non-zero if it's v9. */
169 o %asi. (v9)
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
/openbmc/qemu/tests/unit/
H A Dtest-qobject-input-visitor.c2 * QObject Input Visitor unit-tests.
4 * Copyright (C) 2011-2016 Red Hat Inc.
11 * See the COPYING file in the top-level directory.
17 #include "qapi/qapi-visit-introspect.h"
18 #include "qapi/qobject-input-visitor.h"
19 #include "test-qapi-visit.h"
26 #include "test-qapi-introspect.h"
27 #include "qapi/qapi-introspect.h"
37 qobject_unref(data->obj); in visitor_input_teardown()
38 data->obj = NULL; in visitor_input_teardown()
[all …]
/openbmc/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>
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 …]
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 -
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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/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 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 …]
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 …]
H A Dchmc.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* chmc.c: Driver for UltraSPARC-III memory controller.
34 MODULE_DESCRIPTION("UltraSPARC-III memory controller driver");
49 /* OBP memory-layout property format. */
58 /* One max 8-byte string label per DIMM. Usually
148 /* One max 8-byte string label per DIMM. Usually
199 #define SYNDROME_MIN -1
210 syndrome_code -= (128 - 7); in syndrome_to_qword_code()
212 syndrome_code -= (128 + 9 - 4); in syndrome_to_qword_code()
214 syndrome_code -= (128 + 9 + 3); in syndrome_to_qword_code()
[all …]
/openbmc/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
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 …]
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 …]
/openbmc/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 …]
/openbmc/qemu/target/s390x/tcg/
H A Dinsn-data.h.inc11 * FMT = format of the opcode (defined in insn-format.h.inc)
13 * I1 = func in1_xx fills o->in1
14 * I2 = func in2_xx fills o->in2
15 * P = func prep_xx initializes o->*out*
16 * W = func wout_xx writes o->*out* somewhere
45 D(0xeb6a, ASI, SIY, GIE, la1, i2, new, 0, asi, adds32, MO_TESL)
48 D(0xeb7a, AGSI, SIY, GIE, la1, i2, new, 0, asi, adds64, MO_TEUQ)
77 D(0xeb6e, ALSI, SIY, GIE, la1, i2_32u, new, 0, asi, addu32, MO_TEUL)
150 /* ??? Format is SMI, but implemented as NOP, so we need no fields. */
153 /* ??? Format is MII, but implemented as NOP, so we need no fields. */
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 */
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 …]

12