Home
last modified time | relevance | path

Searched +full:grant +full:- +full:dma (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/contrib/device-tree/Bindings/iommu/
H A Dxen,grant-dma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iommu/xen,grant
[all...]
/freebsd/sys/contrib/device-tree/Bindings/
H A DABI.rst1 .. SPDX-License-Identifier: GPL-2.0
7 I. Regarding stable bindings/ABI, we quote from the 2013 ARM mini-summit
13 frozen for all time. Grant said there are ways to change bindings that
26 2) Use specific compatible strings so that if we need to add a feature (DMA)
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/
H A Dmpc5200.txt2 ----------------------------
4 (c) 2006-2009 Secret Lab Technologies Ltd
5 Grant Likely <grant.likely@secretlab.ca>
8 ------------------
9 For mpc5200 on-chip devices, the format for each compatible value is
10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver
21 "fsl,mpc5200-<device>".
29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>";
34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec";
35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec";
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/
H A Dlite5200.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2006-2007 Secret Lab Technologies Ltd.
6 * Grant Likely <grant.likely@secretlab.ca>
9 /dts-v1/;
14 #address-cells = <1>;
15 #size-cells = <1>;
16 interrupt-parent = <&mpc5200_pic>;
19 #address-cells = <1>;
20 #size-cells = <0>;
25 d-cache-line-size = <32>;
[all …]
H A Dmpc5200b.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Grant Likely <grant@secretlab.ca>
10 /dts-v1/;
15 #address-cells = <1>;
16 #size-cells = <1>;
17 interrupt-parent = <&mpc5200_pic>;
20 #address-cells = <1>;
21 #size-cells = <0>;
26 d-cache-line-size = <32>;
27 i-cache-line-size = <32>;
[all …]
H A Damigaone.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 coherency-off;
14 #address-cells = <1>;
15 #size-cells = <1>;
19 #address-cells = <1>;
20 #size-cells = <0>;
25 d-cache-line-size = <32>; // 32 bytes
26 i-cache-line-size = <32>; // 32 bytes
27 d-cache-size = <32768>; // L1, 32K
[all …]
/freebsd/sys/dev/sound/pcm/
H A Dchannel_if.m1 #-
4 # Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org>
5 # Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006
6 # Copyright (c) 2000 Cameron Grant <cg@FreeBSD.org>
71 return -1;
183 * @param obj standard kobj object (usually @c channel->methods)
184 * @param data driver-specific data (usually @c channel->devinfo)
188 * @retval -1 Error; usually operation isn't supported.
202 * those rates primarily for when in-kernel rate adjustment is undesirable
203 * (e.g., application wants direct DMA access after setting a channel to run
[all …]
H A Dbuffer.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
44 int dmachan, dir; /* dma channel */
H A Dchannel.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org>
5 * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006
6 * Copyright (c) 1999 Cameron Grant <cg@FreeBSD.org>
8 * Copyright (c) 2024-2025 The FreeBSD Foundation
146 u_int16_t lpeak, rpeak; /**< Peak value from 0-32767. */
180 #define CHN_HEAD(x, y) &(x)->y.head
236 if (((y)->type w t->type) || \
237 (((y)->type == t->type) && ((y)->unit w t->unit))) \
[all …]
H A Dbuffer.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org>
5 * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006
6 * Copyright (c) 1999 Cameron Grant <cg@FreeBSD.org>
49 snprintf(b->name, SNDBUF_NAMELEN, "%s:%s", drv, desc); in sndbuf_create()
50 b->dev = dev; in sndbuf_create()
51 b->channel = channel; in sndbuf_create()
66 return (buf->buf_addr); in sndbuf_getbufaddr()
75 device_printf(b->dev, "sndbuf_setmap %lx, %lx; ", in sndbuf_setmap()
[all …]
/freebsd/share/man/man4/
H A Dpcm.42 .\" Copyright (c) 2009-2011 Joel Dahl <joel@FreeBSD.org>
39 .Bd -ragged -offset indent
60 driver are: multichannel audio, per-application
74 .Bl -bullet -compact
118 .Xr snd_uaudio 4 (auto-loaded on device plug)
145 .Bl -tag -width ".Va snd_driver_load" -offset indent
177 re-routing of channels.
198 Commonly used for ear-candy or frequency compensation due to the vast
232 .Bl -tag -width indent
255 .Bl -tag -width indent
[all …]
/freebsd/sys/dev/xen/blkfront/
H A Dblock.h4 * Copyright (c) 2010-2013 Spectra Logic Corporation
9 * Copyright (c) 2003-2004, Keir Fraser & Steve Hand
46 (((segs) - 1) * PAGE_SIZE)
63 * negotiated block-front/back communication channel. Allow enough
70 * block-front/back communication channel.
94 ((segs + XBD_MAX_SEGMENTS_PER_PAGE - 1) / XBD_MAX_SEGMENTS_PER_PAGE)
102 /* Bus DMA returned EINPROGRESS for this command. */
159 XBDF_GNT_SHORTAGE = 1 << 5, /* Grant ref resource shortage active */
194 * hot-unplug unless this is 0.
211 cmq = &sc->xbd_cm_q[index]; in xbd_added_qentry()
[all …]
H A Dblkfront.c4 * Copyright (c) 2010-2013 Spectra Logic Corporation
9 * Copyright (c) 2003-2004, Keir Fraser & Steve Hand
49 #include <xen/xen-os.h>
65 /*--------------------------- Forward Declarations ---------------------------*/
69 /*---------------------------------- Macros ----------------------------------*/
78 /*---------------------------- Global Static Data ----------------------------*/
87 /*---------------------------- Command Processing ----------------------------*/
91 if (xbd_flag != XBDF_NONE && (sc->xbd_flags & xbd_flag) != 0) in xbd_freeze()
94 sc->xbd_flags |= xbd_flag; in xbd_freeze()
95 sc->xbd_qfrozen_cnt++; in xbd_freeze()
[all …]
/freebsd/sys/dev/e1000/
H A De1000_defines.h2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
83 #define E1000_CTRL_EXT_DMA_DYN_CLK_EN 0x00080000 /* DMA Dynamic Clk Gating */
94 #define E1000_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */
122 #define E1000_RXD_STAT_PIF 0x80 /* passed in-exact filter */
172 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */
173 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */
261 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */
263 #define E1000_CTRL_ILOS 0x00000080 /* Invert Loss-Of Signal */
340 #define E1000_STATUS_PCIX_MODE 0x00002000 /* PCI-X mode */
[all …]
/freebsd/sys/dev/igc/
H A Digc_defines.h1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
68 #define IGC_CTRL_EXT_DMA_DYN_CLK_EN 0x00080000 /* DMA Dynamic Clk Gating */
72 #define IGC_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */
89 #define IGC_RXD_STAT_PIF 0x80 /* passed in-exact filter */
127 #define IGC_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */
128 #define IGC_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */
214 #define IGC_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */
216 #define IGC_CTRL_ILOS 0x00000080 /* Invert Loss-Of Signal */
278 /* 1000/H is not supported, nor spec-compliant. */
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_xmit.c46 if (AH9300(ah)->ah_tx_trig_level >= MAX_TX_FIFO_THRESHOLD && in ar9300_update_tx_trig_level()
55 omask = ar9300_set_interrupts(ah, ahp->ah_mask_reg &~ HAL_INT_GLOBAL, 0); in ar9300_update_tx_trig_level()
66 new_level--; in ar9300_update_tx_trig_level()
75 /* re-enable chip interrupts */ in ar9300_update_tx_trig_level()
78 AH9300(ah)->ah_tx_trig_level = new_level; in ar9300_update_tx_trig_level()
89 return (AH9300(ah)->ah_tx_trig_level); in ar9300_get_tx_trig_level()
100 HAL_CAPABILITIES *p_cap = &AH_PRIVATE(ah)->ah_caps; in ar9300_set_tx_queue_props()
102 if (q >= p_cap->halTotalQueues) { in ar9300_set_tx_queue_props()
106 return ath_hal_setTxQProps(ah, &ahp->ah_txq[q], q_info); in ar9300_set_tx_queue_props()
116 HAL_CAPABILITIES *p_cap = &AH_PRIVATE(ah)->ah_caps; in ar9300_get_tx_queue_props()
[all …]
/freebsd/sys/dev/sound/pci/
H A Dt4dwave.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
40 /* -------------------------------------------------------------------- */
48 /* For ALi M5451 the DMA transfer size appears to be fixed to 64k. */
58 * DX and NX chips can't handle DMA addresses located above 1GB as the
59 * LBA (loop begin address) register which holds the DMA base address
60 * is 32-bit, but the two MSBs are used for other purposes.
62 #define TR_MAXADDR ((1U << 30) - 1)
63 #define ALI_MAXADDR ((1U << 31) - 1)
[all …]
H A Dsolo.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
42 #define ABS(x) (((x) < 0)? -(x) : (x))
64 * Recording output is byte-swapped
103 #define ess_lock(_ess) snd_mtxlock((_ess)->lock)
104 #define ess_unlock(_ess) snd_mtxunlock((_ess)->lock)
105 #define ess_lock_assert(_ess) snd_mtxassert((_ess)->lock)
181 return port_rd(sc->sb, reg, 1); in ess_rd()
187 port_wr(sc->sb, reg, val, 1); in ess_wr()
[all …]
H A Dmaestro3.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
31 * Maestro-3/Allegro FreeBSD pcm sound driver
39 * (-) hardware volme controls don't work =-(
40 * (-) setblocksize() does nothing.
47 * Cameron Grant created the pcm framework used here nearly verbatim.
50 * Taku YAMAMOTO for his Maestro-1/2 FreeBSD driver and sanity reference.
51 * <taku@cent.saitama-u.ac.jp>
72 /* -------------------------------------------------------------------- */
74 enum {CHANGE=0, CALL=1, INTR=2, BORING=3, NONE=-1};
[all …]
H A Dich.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2001 Cameron Grant <cg@freebsd.org>
41 /* -------------------------------------------------------------------- */
80 #define ICH_LOCK(sc) snd_mtxlock((sc)->ich_lock)
81 #define ICH_UNLOCK(sc) snd_mtxunlock((sc)->ich_lock)
82 #define ICH_LOCK_ASSERT(sc) snd_mtxassert((sc)->ich_lock)
145 "AMD-768" },
147 "AMD-8111" }
202 /* -------------------------------------------------------------------- */
[all …]
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2004-2006 Kip Macy
64 #include <xen/xen-os.h>
241 struct netif_extra_info extras[XEN_NETIF_EXTRA_TYPE_MAX - 1];
244 #define XN_RX_LOCK(_q) mtx_lock(&(_q)->lock)
245 #define XN_RX_UNLOCK(_q) mtx_unlock(&(_q)->lock)
247 #define XN_TX_LOCK(_q) mtx_lock(&(_q)->lock)
248 #define XN_TX_TRYLOCK(_q) mtx_trylock(&(_q)->lock)
249 #define XN_TX_UNLOCK(_q) mtx_unlock(&(_q)->lock)
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_reset.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
33 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK)
72 * bChannelChange is used to preserve DMA/PCU registers across
122 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER14_1); in ar5416Reset()
144 * Don't do this for the AR9285 - it breaks RX for single in ar5416Reset()
173 (ah->ah_config.ah_force_full_reset)) in ar5416Reset()
192 AH5416(ah)->ah_writeIni(ah, chan); in ar5416Reset()
[all …]
/freebsd/sys/dev/bge/
H A Dif_bge.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
19 * 4. Neither the name of the author nor the names of any co-contributors
43 * two on-board MIPS R4000 CPUs and can have as much as 16MB of external
48 * of value-added firmware updates. Unlike the Tigon I and Tigon II,
52 * The BCM5700 supports the PCI v2.2 and PCI-X v1.0 standards, and will
53 * function in a 32-bit/64-bit 33/66Mhz bus, or a 64-bit/133Mhz bus.
55 * The BCM5701 is a single-chip solution incorporating both the BCM5700
60 * brand name, which is functionally similar but lacks PCI-X support.
119 #define ETHER_MIN_NOPAD (ETHER_MIN_LEN - ETHER_CRC_LEN) /* i.e., 60 */
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_reset.c1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
5 * Copyright (c) 2002-2008 Atheros Communications, Inc.
78 #define V(r, c) (ia)->data[((r)*(ia)->cols) + (c)] in write_common()
82 for (r = 0; r < ia->rows; r++) { in write_common()
113 * bChannelChange is used to preserve DMA/PCU registers across
141 HALASSERT(ah->ah_magic == AR5212_MAGIC); in ar5212Reset()
142 ee = AH_PRIVATE(ah)->ah_eeprom; in ar5212Reset()
171 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER3); in ar5212Reset()
[all …]
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc1 ---
9 ---
17 ---
23 ---
27 Displays nchash chain lengths. This is a read-only
30 ---
33 ---
41 ---
47 ---
54 ---
[all …]

12