Home
last modified time | relevance | path

Searched +full:- +full:chn +full:- +full:disabled (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dmt8195-afe-pcm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8195-afe-pcm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Trevor Wu <trevor.wu@mediatek.com>
14 const: mediatek,mt8195-audio
25 reset-names:
28 memory-region:
31 Shared memory region for AFE memif. A "shared-dma-pool".
32 See ../reserved-memory/reserved-memory.txt for details.
[all …]
Dmediatek,mt8188-afe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt8188-afe.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Trevor Wu <trevor.wu@mediatek.com>
14 const: mediatek,mt8188-afe
25 reset-names:
28 memory-region:
31 Shared memory region for AFE memif. A "shared-dma-pool".
32 See dtschema reserved-memory/shared-dma-pool.yaml for details.
[all …]
/linux-6.12.1/drivers/thermal/
Drockchip_thermal.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2016, Fuzhou Rockchip Electronics Co., Ltd
4 * Caesar Wang <wxt@rock-chips.com>
55 * struct chip_tsadc_table - hold information about chip-specific differences
69 * struct rockchip_tsadc_chip - hold the private data of tsadc chip
72 * @tshut_temp: the hardware-controlled shutdown temperature value
73 * @tshut_mode: the hardware-controlled shutdown mode (0:CRU 1:GPIO)
74 * @tshut_polarity: the hardware-controlled active polarity (0:LOW 1:HIGH)
80 * @set_tshut_temp: set the hardware-controlled shutdown temperature
81 * @set_tshut_mode: set the hardware-controlled shutdown mode
[all …]
/linux-6.12.1/sound/pci/emu10k1/
Dio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Lee Revell <rlrevell@joe-job.com>
5 * James Courtier-Dutton <James@superbug.co.uk>
23 if (snd_BUG_ON(reg & (emu->audigy ? (0xffff0000 & ~A_PTR_ADDRESS_MASK) in check_ptr_reg()
31 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) in snd_emu10k1_ptr_read() argument
37 regptr = (reg << 16) | chn; in snd_emu10k1_ptr_read()
41 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
42 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_read()
43 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read()
44 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
[all …]
/linux-6.12.1/include/uapi/linux/
Dsoundcard.h2 * Copyright by Hannu Savolainen 1993-1997
228 #define WAVE_UNSIGNED 0x02 /* bit 1 = Signed - Unsigned data. */
229 #define WAVE_LOOPING 0x04 /* bit 2 = looping enabled-1. */
233 #define WAVE_ENVELOPES 0x40 /* bit 6 = Enable envelopes - 1 */
269 int panning; /* -128=left, 127=right */
378 /* undefined 0x14 - 0x1f */
395 /* undefined 0x46 - 0x4f */
401 /* undefined 0x54 - 0x5a */
414 /* undefined 0x66 - 0x78 */
415 /* reserved 0x79 - 0x7f */
[all …]
/linux-6.12.1/include/sound/
Dwavefront.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Copyright (c) by Paul Barton-Davis <pbd@op.net>
19 /* Pseudo-commands not part of the WaveFront command set.
103 /* OR-values for MIDI status bits */
118 disabled. If they do show up as input, the results are unpredictable.
328 #define WF_SAMPLE_IS_8BIT(smpl) ((smpl)->SampleResolution&2)
334 never been copied (just mmap-ed into user space straight from the
335 disk), it would be nice to allow handling of multi-channel sample
336 data without forcing user-level extraction of the relevant bytes.
345 --- -------
[all …]
Demu10k1.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 #include <sound/pcm-indirect.h>
25 /* ------------------- DEFINES -------------------- */
33 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */
41 // This is used to define hardware bit-fields (sub-registers) by combining
44 // The non-concatenating (_NC) variant should be used directly only for
45 // sub-registers that do not follow the <register>_<field> naming pattern.
55 // Macros for manipulating values of bit-fields declared using the above macros.
59 // single sub-register at a time.
62 #define REG_MASK0(r) ((1U << REG_SIZE(r)) - 1U)
[all …]
/linux-6.12.1/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
32 #include <linux/dma/ti-cppi5.h>
33 #include <linux/dma/k3-udma-glue.h>
39 #include "am65-cpsw-nuss.h"
40 #include "am65-cpsw-switchdev.h"
41 #include "k3-cppi-desc-pool.h"
42 #include "am65-cpts.h"
125 /* The PTP event messages - Sync, Delay_Req, Pdelay_Req, and Pdelay_Resp. */
175 writel(mac_hi, slave->port_base + AM65_CPSW_PORTN_REG_SA_H); in am65_cpsw_port_set_sl_mac()
[all …]
/linux-6.12.1/sound/soc/pxa/
Dpxa-ssp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pxa-ssp.c -- ALSA Soc Audio Layer
30 #include <sound/pxa2xx-lib.h>
33 #include "pxa-ssp.h"
55 dev_dbg(ssp->dev, "SSCR0 0x%08x SSCR1 0x%08x SSTO 0x%08x\n", in dump_registers()
59 dev_dbg(ssp->dev, "SSPSP 0x%08x SSSR 0x%08x SSACD 0x%08x\n", in dump_registers()
67 dma->addr_width = width4 ? DMA_SLAVE_BUSWIDTH_4_BYTES : in pxa_ssp_set_dma_params()
69 dma->maxburst = 16; in pxa_ssp_set_dma_params()
70 dma->addr = ssp->phys_base + SSDR; in pxa_ssp_set_dma_params()
77 struct ssp_device *ssp = priv->ssp; in pxa_ssp_startup()
[all …]
/linux-6.12.1/Documentation/sound/cards/
Dhdspm.rst2 Software Interface ALSA-DSP MADI Driver
5 (translated from German, so no good English ;-),
7 2004 - winfried ritsch
11 the Controls and startup-options are ALSA-Standard and only the
19 ------------------
21 * number of channels -- depends on transmission mode
25 since unused DMA channels are disabled and less memory is
29 * Single Speed -- 1..64 channels
37 * Double Speed -- 1..32 channels
40 Note: Choosing the 56-channel mode for
[all …]
/linux-6.12.1/sound/pci/ca0106/
Dca0106.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
50 * Implement support for Line-in capture on SB Live 24bit.
73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */
93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
107 #define INTE_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
[all …]
/linux-6.12.1/sound/usb/
Dmixer_scarlett2.c1 // SPDX-License-Identifier: GPL-2.0
8 * - 6i6/18i8/18i20 Gen 2
9 * - Solo/2i2/4i4/8i6/18i8/18i20 Gen 3
10 * - Solo/2i2/4i4 Gen 4
11 * - Clarett 2Pre/4Pre/8Pre USB
12 * - Clarett+ 2Pre/4Pre/8Pre
14 * Copyright (c) 2018-2023 by Geoffrey D. Bennett <g at b4.vu>
15 * Copyright (c) 2020-2021 by Vladimir Sadovnikov <sadko4u@gmail.com>
35 * (firmware 1083) using usbmon in July-August 2018.
58 * and talkback added in May-June 2021.
[all …]
/linux-6.12.1/drivers/xen/events/
Devents_base.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * must dynamically map irqs<->event channels. The event channels
15 * 1. Inter-domain notifications. This includes all the virtual
16 * device events, since they're driven by front-ends in another domain
18 * 2. VIRQs, typically used for timers. These are per-cpu events.
20 * 4. PIRQs - Hardware interrupts.
59 #include <xen/xen-ops.h>
87 * type - enum xen_irq_type
88 * event channel - irq->event channel mapping
89 * cpu - cpu this event channel is bound to
[all …]
/linux-6.12.1/drivers/usb/dwc3/
Ddebugfs.c1 // SPDX-License-Identifier: GPL-2.0
3 * debugfs.c - DesignWare USB3 DRD Controller DebugFS file
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
287 struct dwc3 *dwc = s->private; in dwc3_host_lsp()
293 dbc_enabled = !!(dwc->hwparams.hwparams1 & DWC3_GHWPARAMS1_ENDBC); in dwc3_host_lsp()
295 sel = dwc->dbg_lsp_select; in dwc3_host_lsp()
303 dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg); in dwc3_host_lsp()
304 val = dwc3_readl(dwc->regs, DWC3_GDBGLSP); in dwc3_host_lsp()
309 dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg); in dwc3_host_lsp()
310 val = dwc3_readl(dwc->regs, DWC3_GDBGLSP); in dwc3_host_lsp()
[all …]
Dgadget.c1 // SPDX-License-Identifier: GPL-2.0
3 * gadget.c - DesignWare USB3 DRD Controller Gadget Framework Link
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
20 #include <linux/dma-mapping.h>
30 #define DWC3_ALIGN_FRAME(d, n) (((d)->frame_number + ((d)->interval * (n))) \
31 & ~((d)->interval - 1))
34 * dwc3_gadget_set_test_mode - enables usb2 test modes
39 * success or -EINVAL if wrong Test Selector is passed.
45 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_gadget_set_test_mode()
57 return -EINVAL; in dwc3_gadget_set_test_mode()
[all …]
/linux-6.12.1/drivers/tty/vt/
Dkeyboard.c1 // SPDX-License-Identifier: GPL-2.0
6 * Some additional features added by Christoph Niemann (ChN), March 1993
15 * 11-11-96: SAK should now work in the raw mode (Martin Mares)
18 * Merge with the m68k keyboard driver and split-off of the PC low-level
21 * 27-05-97: Added support for the Magic SysRq Key (Martin Mares)
22 * 30-07-98: Dead keys redone, aeb@cwi.nl.
23 * 21-08-02: Converted to input API, major cleanup. (Vojtech Pavlik)
116 [ KT_FN ] = ARRAY_SIZE(func_table) - 1,
117 [ KT_SPEC ] = ARRAY_SIZE(fn_handler) - 1,
118 [ KT_PAD ] = NR_PAD - 1,
[all …]
/linux-6.12.1/net/bluetooth/rfcomm/
Dcore.c44 static int channel_mtu = -1;
75 /* ---- RFCOMM frame parsing macros ---- */
83 #define __session_dir(s) ((s)->initiator ? 0x00 : 0x01)
87 #define __dlci(dir, chn) (((chn & 0x1f) << 1) | dir) argument
111 /* ---- RFCOMM FCS computation ---- */
113 /* reversed, 8-bit, poly=0x07 */
162 return 0xff - __crc(data); in __fcs()
168 return 0xff - rfcomm_crc_table[__crc(data) ^ data[2]]; in __fcs2()
182 /* ---- L2CAP callbacks ---- */
185 BT_DBG("%p state %d", sk, sk->sk_state); in rfcomm_l2state_change()
[all …]
/linux-6.12.1/drivers/hwmon/
Dit87.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * it87.c - Part of lm_sensors, Linux kernel modules for hardware
6 * The IT8705F is an LPC-based Super I/O part that contains UARTs, a
41 * Copyright (C) 2005-2010 Jean Delvare <jdelvare@suse.de>
53 #include <linux/hwmon-sysfs.h>
54 #include <linux/hwmon-vid.h>
126 return -EBUSY; in superio_enter()
212 /*----- The IT87 registers -----*/
222 * Super-I/O configuration space.
231 * for fan divisors. Later IT8712F revisions must use 16-bit tachometer
[all …]
/linux-6.12.1/Documentation/driver-api/usb/
Ddwc3.rst15 1. Peripheral-only configuration
16 2. Host-only configuration
17 3. Dual-Role configuration
46 pipe - ep0)
49 4. Scatter-list support
58 These features have all been exercised with many of the **in-tree**
67 for new-comers to read the code and understand how it behaves.
83 ---------------------------------
88 receive a Mass Storage *CBW* [#cbw]_, req->length must either be set
91 to a throw-away buffer for the remaining length. Without this, OUT
[all …]
/linux-6.12.1/sound/soc/mediatek/mt8195/
Dmt8195-dai-etdm.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "mt8195-afe-clk.h"
15 #include "mt8195-afe-common.h"
16 #include "mt8195-reg.h"
117 int cowork_slv_id[MT8195_AFE_IO_ETDM_NUM - 1]; //dai_id
180 return -EINVAL; in get_etdm_fs_timing()
201 etdm_reg->con0 = ETDM_IN1_CON0; in get_etdm_reg()
202 etdm_reg->con1 = ETDM_IN1_CON1; in get_etdm_reg()
203 etdm_reg->con2 = ETDM_IN1_CON2; in get_etdm_reg()
204 etdm_reg->con3 = ETDM_IN1_CON3; in get_etdm_reg()
[all …]
/linux-6.12.1/sound/soc/mediatek/mt8188/
Dmt8188-dai-etdm.c1 // SPDX-License-Identifier: GPL-2.0
8 * Chun-Chia Chiu <chun-chia.chiu@mediatek.com>
15 #include "mt8188-afe-clk.h"
16 #include "mt8188-afe-common.h"
17 #include "mt8188-reg.h"
109 int cowork_slv_id[MT8188_AFE_IO_ETDM_NUM - 1]; //dai_id
139 return -EINVAL; in get_etdm_fs_timing()
160 etdm_reg->con0 = ETDM_IN1_CON0; in get_etdm_reg()
161 etdm_reg->con1 = ETDM_IN1_CON1; in get_etdm_reg()
162 etdm_reg->con2 = ETDM_IN1_CON2; in get_etdm_reg()
[all …]
/linux-6.12.1/drivers/soundwire/
Dstream.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-18 Intel Corporation.
5 * stream.c - SoundWire Bus stream operations.
71 if (bus->params.next_bank) { in _sdw_program_slave_port_params()
72 addr1 = SDW_DPN_OFFSETCTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
73 addr2 = SDW_DPN_BLOCKCTRL3_B1(t_params->port_num); in _sdw_program_slave_port_params()
74 addr3 = SDW_DPN_SAMPLECTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
75 addr4 = SDW_DPN_HCTRL_B1(t_params->port_num); in _sdw_program_slave_port_params()
77 addr1 = SDW_DPN_OFFSETCTRL2_B0(t_params->port_num); in _sdw_program_slave_port_params()
78 addr2 = SDW_DPN_BLOCKCTRL3_B0(t_params->port_num); in _sdw_program_slave_port_params()
[all …]
/linux-6.12.1/drivers/perf/
Darm-cmn.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2016-2020 Arm Limited
3 // CMN-600 Coherent Mesh Network PMU driver
11 #include <linux/io-64-nonatomic-lo-hi.h>
36 #define CMN_MAX_DTMS (CMN_MAX_XPS + (CMN_MAX_DIMENSION - 1) * 4)
128 /* DTC counters are paired in 64-bit registers on a 16-byte stride. Yuck */
130 #define CMN_DT_PMEVCNT(dtc, n) ((dtc)->pmu_base + _CMN_DT_CNT_REG(n))
131 #define CMN_DT_PMCCNTR(dtc) ((dtc)->pmu_base + 0x40)
133 #define CMN_DT_PMEVCNTSR(dtc, n) ((dtc)->pmu_base + 0x50 + _CMN_DT_CNT_REG(n))
134 #define CMN_DT_PMCCNTRSR(dtc) ((dtc)->pmu_base + 0x90)
[all …]
/linux-6.12.1/drivers/firmware/
Dti_sci.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2022 Texas Instruments Incorporated - https://www.ti.com/
25 #include <linux/soc/ti/ti-msgmgr.h>
37 * struct ti_sci_xfer - Structure representing a message flow
41 * Since we work with request-ACK protocol, we can
54 * struct ti_sci_xfers_info - Structure to manage transfer information
72 * struct ti_sci_desc - Description of SoC integration
87 * struct ti_sci_info - Structure representing a TI SCI instance
127 * ti_sci_debug_show() - Helper to dump the debug log
135 struct ti_sci_info *info = s->private; in ti_sci_debug_show()
[all …]
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c4 * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
57 pos -= tb->skip_first; in seq_tab_get_idx()
58 return pos >= tb->rows ? NULL : &tb->data[pos * tb->width]; in seq_tab_get_idx()
63 struct seq_tab *tb = seq->private; in seq_tab_start()
65 if (tb->skip_first && *pos == 0) in seq_tab_start()
73 v = seq_tab_get_idx(seq->private, *pos + 1); in seq_tab_next()
84 const struct seq_tab *tb = seq->private; in seq_tab_show()
86 return tb->show(seq, v, ((char *)v - tb->data) / tb->width); in seq_tab_show()
[all …]