Home
last modified time | relevance | path

Searched +full:use +full:- +full:ring +full:- +full:sense (Results 1 – 25 of 146) sorted by relevance

123456

/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs42l43.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
21 - $ref: dai-common.yaml#
26 - cirrus,cs42l43
31 vdd-p-supply:
35 vdd-a-supply:
39 vdd-d-supply:
43 vdd-io-supply:
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_asic.c9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44 * radeon_invalid_rreg - dummy reg read function
61 * radeon_invalid_wreg - dummy reg write function
78 * radeon_register_accessor_init - sets up the register accessor callbacks
87 rdev->mc_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init()
88 rdev->mc_wreg = &radeon_invalid_wreg; in radeon_register_accessor_init()
89 rdev->pll_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init()
90 rdev->pll_wreg = &radeon_invalid_wreg; in radeon_register_accessor_init()
91 rdev->pciep_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init()
[all …]
H A Dradeon_ring.c9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
37 * Most engines on the GPU are fed via ring buffers. Ring
43 * pointers are equal, the ring is idle. When the host
44 * writes commands to the ring buffer, it increments the
48 static void radeon_debugfs_ring_init(struct radeon_device *rdev, struct radeon_ring *ring);
51 * radeon_ring_supports_scratch_reg - check if the ring supports
55 * @ring: radeon_ring structure holding ring information
57 * Check if a specific ring supports writing to scratch registers (all asics).
58 * Returns true if the ring supports writing to scratch regs, false if not.
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dcs42l43-jack.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and
14 #include <linux/mfd/cs42l43-regs.h>
21 #include <sound/soc-component.h>
44 struct cs42l43 *cs42l43 = priv->core; in cs42l43_find_index()
47 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index()
48 if (ret != -EINVAL && ret < 0) { in cs42l43_find_index()
49 dev_err(priv->dev, "Property %s malformed: %d\n", prop, ret); in cs42l43_find_index()
60 dev_err(priv->dev, "Invalid value for property %s: %d\n", prop, defval); in cs42l43_find_index()
61 return -EINVAL; in cs42l43_find_index()
[all …]
/openbmc/linux/include/sound/ac97/
H A Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
44 /* range 0x3c-0x58 - MODEM */
59 /* range 0x5a-0x7b - Vendor Specific */
62 /* range 0x60-0x6f (page 1) - extended codec registers */
68 #define AC97_SENSE_INFO 0x6a /* Sense Details */
108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */
109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */
110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */
112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */
[all …]
/openbmc/qemu/hw/scsi/
H A Dvmw_pvscsi.c9 * http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg00729.html
17 * See the COPYING file in the top-level directory.
19 * NOTE about MSI-X:
20 * MSI-X support has been removed for the moment because it leads Windows OS
22 * MSI-X shared memory to be part of the same BAR used for rings state
24 * BAR created from MSI-X purposes. Windows driver fails to deal with 2 BARs.
30 #include "qemu/main-loop.h"
36 #include "hw/qdev-properties.h"
54 ldl_le_pci_dma(&container_of(m, PVSCSIState, rings)->parent_obj, \
55 (m)->rs_pa + offsetof(struct PVSCSIRingsState, field), \
[all …]
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dtulip.h5 Written/copyright 1994-2001 by Donald Becker.
57 MC_HASH_ONLY = 0x00020, /* Hash-only multicast filter. */
197 __le32 buffer2; /* We use only buffer 1. */
234 * Top three bits of 14 bit frame length (status bits 27-29) should
283 csr6_ho = (1<<2), /* Hash-only filtering mode: can't be set */
321 /* Keep the ring sizes a power of two for efficiency.
322 Making the Tx ring too large decreases the effectiveness of channel
324 There are no ill effects from too-large receive rings. */
337 #define TULIP_MIN_CACHE_LINE 8 /* in units of 32-bit words */
340 /* The UltraSparc PCI controllers will disconnect at every 64-byte
[all …]
/openbmc/linux/tools/include/linux/
H A Dring_buffer.h8 * Contract with kernel for walking the perf ring buffer from
17 * if (LOAD ->data_tail) { LOAD ->data_head
21 * STORE ->data_head STORE ->data_tail
27 * load of the ->data_tail and the stores of $data. In case
28 * ->data_tail indicates there is no room in the buffer to
37 * Note, instead of B, C, D we could also use smp_store_release()
40 * However, this optimization does not make sense for all kernel
59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head()
61 u64 head = READ_ONCE(base->data_head); in ring_buffer_read_head()
71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/openbmc/qemu/util/
H A Dfdmon-io_uring.c1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 * ring) is shared between the kernel and userspace. This allows
24 * use a separate io_uring so it does not make sense to unify the code.
28 * 1. IORING_OP_POLL_ADD - adds a file descriptor to be monitored.
29 * 2. IORING_OP_POLL_REMOVE - removes a file descriptor being monitored. When
31 * re-added with the new poll mask, so this operation is also used as part
33 * 3. IORING_OP_TIMEOUT - added every time a blocking syscall is made to wait
34 * for events. This operation self-cancels if another event completes
37 * io_uring calls the submission queue the "sq ring" and the completion queue
38 * the "cq ring". Ring entries are called "sqe" and "cqe", respectively.
[all …]
/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h2 * Copyright (c) 2006 - 2009 Mellanox Technology Inc. All rights reserved.
3 * Copyright (C) 2009 - 2010 Bart Van Assche <bvanassche@acm.org>.
11 * Redistribution and use in source and binary forms, with or
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
30 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
78 SRP_MTCH_ACTION = 0x03, /* MULTI-CHANNEL ACTION */
132 DEFAULT_MAX_RSP_SIZE = 256, /* leaves 220 bytes for sense data */
138 * enum srpt_command_state - SCSI command state managed by SRPT
162 * struct srpt_ioctx - shared SRPT I/O context information
[all …]
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h4 * Copyright (C) 2008-2022, VMware, Inc. All Rights Reserved.
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23 * Maintained by: pv-drivers@vmware.com
66 # define VMXNET3_DRIVER_VERSION_REPORT VMXNET3_DRIVER_VERSION_STRING"-NAPI(debug)"
68 # define VMXNET3_DRIVER_VERSION_REPORT VMXNET3_DRIVER_VERSION_STRING"-NAPI"
75 #define VMXNET3_DRIVER_VERSION_STRING "1.7.0.0-k"
77 /* Each byte of this 32-bit integer encodes a version number in
83 /* RSS only makes sense if MSI-X is supported. */
100 VMNET_CAP_SG = 0x0001, /* Can do scatter-gather transmits. */
116 VMNET_CAP_TX_CHAIN = 0x4000, /* Guest can use multiple tx entries
[all …]
/openbmc/linux/Documentation/process/
H A Dvolatile-considered-harmful.rst5 ------------------------------------------------
9 sometimes tempted to use it in kernel code when shared data structures are
11 as a sort of easy atomic variable, which they are not. The use of volatile in
19 all optimization-related problems in a more efficient way.
24 need to use volatile as well. If volatile is still necessary, there is
25 almost certainly a bug in the code somewhere. In properly-written kernel
38 primitives act as memory barriers - they are explicitly written to do so -
50 unnecessary - and potentially harmful.
52 The volatile storage class was originally meant for memory-mapped I/O
61 Another situation where one might be tempted to use volatile is
[all …]
/openbmc/qemu/hw/net/fsl_etsec/
H A Dregisters.c4 * Copyright (c) 2011-2013 AdaCore
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
41 {0x05C, "FIFO_RX_ALARM_SHUTOFF", "FIFO receive alarm shut-off threshold register", ACC_RW, 0x00000…
44 {0x09C, "FIFO_TX_STARVE_SHUTOFF", "FIFO transmit starve shut-off register", ACC_RW, 0x00000…
53 {0x140, "TR03WT", "TxBD Rings 0-3 round-robin weightings", ACC_RW, 0x00000000},
54 {0x144, "TR47WT", "TxBD Rings 4-7 round-robin weightings", ACC_RW, 0x00000000},
56 {0x184, "TBPTR0", "TxBD pointer for ring 0", ACC_RW, 0x00000000},
57 {0x18C, "TBPTR1", "TxBD pointer for ring 1", ACC_RW, 0x00000000},
58 {0x194, "TBPTR2", "TxBD pointer for ring 2", ACC_RW, 0x00000000},
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
18 #include <linux/i2c-algo-bit.h>
119 * PTHRESH - MAC will consider prefetch if it has fewer than this number of
122 * HTHRESH - MAC will only prefetch if there are at least this many descriptors
125 * WTHRESH - RX descriptor writeback threshold - MAC will delay writing back
129 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : 8)
131 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8)
133 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \
134 (adapter->flags & IGB_FLAG_HAS_MSIX)) ? 1 : 4)
[all …]
/openbmc/linux/drivers/net/ethernet/8390/
H A D8390.h1 /* SPDX-License-Identifier: GPL-1.0+ */
6 * under the same license. Auto-loading of 8390.o only in v2.2 - Paul G.
21 /* The 8390 specific per-packet-header format. */
34 /* Without I/O delay - non ISA or later chips */
70 /* You have one of these per-board */
85 unsigned word16:1; /* We have the 16-bit (vs 8-bit)
88 unsigned bigendian:1; /* 16-bit big endian mode. Do NOT
96 unsigned char interface_num; /* Net port (AUI, 10bT.) to use. */
98 short tx1, tx2; /* Packet lengths for ping-pong tx. */
102 unsigned char saved_irq; /* Original dev->irq value. */
[all …]
/openbmc/linux/drivers/scsi/
H A Dvmw_pvscsi.c2 * Linux driver for VMware's para-virtualized SCSI HBA.
4 * Copyright (C) 2008-2014, VMware, Inc. All Rights Reserved.
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
56 * 1-to-1 mapping completions back to requests.
114 MODULE_PARM_DESC(ring_pages, "Number of pages per req/cmp ring - (default="
121 MODULE_PARM_DESC(msg_ring_pages, "Number of pages for the msg ring - (default="
125 MODULE_PARM_DESC(cmd_per_lun, "Maximum commands per lun - (default="
129 MODULE_PARM_DESC(disable_msi, "Disable MSI use in driver - (default=0)");
132 MODULE_PARM_DESC(disable_msix, "Disable MSI-X use in driver - (default=0)");
135 MODULE_PARM_DESC(use_msg, "Use msg ring when available - (default=1)");
[all …]
/openbmc/qemu/hw/net/
H A Dne2000.c4 * Copyright (c) 2003-2004 Fabrice Bellard
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42 #define EN0_STARTPG 0x01 /* Starting page of ring bfr WR */
44 #define EN0_STOPPG 0x02 /* Ending page +1 of ring bfr WR */
45 #define EN0_BOUNDARY 0x03 /* Boundary page of ring bfr RD WR */
74 #define EN2_STARTPG 0x21 /* Starting page of ring bfr RD */
75 #define EN2_STOPPG 0x22 /* Ending page +1 of ring bfr RD */
90 #define E8390_PAGE1 0x40 /* using the two high-order bits */
93 /* Bits in EN0_ISR - Interrupt status register */
[all …]
/openbmc/linux/drivers/net/ipa/
H A Dgsi_trans.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2022 Linaro Ltd.
12 #include <linux/dma-direction.h>
26 * (A "operation" in this sense is either a data transfer or an IPA immediate
36 * for use in the transaction and the allocation succeeds. This way
37 * exhaustion of the available TREs in a channel ring is detected as early
53 * formats the content of the scatterlist array into the channel ring
73 /* An entry in a channel ring */
81 /* gsi_tre->flags mask values (in CPU byte order) */
[all …]
/openbmc/linux/include/trace/events/
H A Dio_uring.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 * io_uring_create - called after a new io_uring context was prepared
19 * @ctx: pointer to a ring context structure
22 * @flags: SQ ring flags, provided to io_uring_setup(2)
42 __entry->fd = fd;
43 __entry->ctx = ctx;
44 __entry->sq_entries = sq_entries;
45 __entry->cq_entries = cq_entries;
46 __entry->flags = flags;
49 TP_printk("ring %p, fd %d sq size %d, cq size %d, flags 0x%x",
[all …]
/openbmc/linux/Documentation/trace/
H A Dstm.rst1 .. SPDX-License-Identifier: GPL-2.0
18 order for the decoder to be able to make sense of the trace that
23 master 7 channel 15, while arbitrary user applications can use masters
34 associated with it, located in "stp-policy" subsystem directory in
40 $ ls /config/stp-policy/dummy_stm.my-policy/user
42 $ cat /config/stp-policy/dummy_stm.my-policy/user/masters
44 $ cat /config/stp-policy/dummy_stm.my-policy/user/channels
70 catch-all entry "default" will be used, if it exists. This entry also
81 and have better control over the un-identified sources.
84 to userspace for zero-copy writing. One mappable page (in terms of
[all …]
/openbmc/linux/Documentation/driver-api/media/drivers/
H A Dpvrusb2.rst1 .. SPDX-License-Identifier: GPL-2.0
9 ----------
13 Its history started with the reverse-engineering effort by Björn
29 1. Low level wire-protocol implementation with the device.
38 tear-down, arbitration, and interaction with high level
51 simultaneously access the driver. I have a strong sense of fairness
61 --------
70 --------------------------------------
76 pvrusb2-audio.[ch] - This is glue logic that resides between this
80 pvrusb2-context.[ch] - This module implements the context for an
[all …]
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunhme.h1 /* SPDX-License-Identifier: GPL-2.0 */
38 #define GREG_STAT_ACNTEXP 0x00000004 /* Align-error counter expired */
39 #define GREG_STAT_CCNTEXP 0x00000008 /* CRC-error counter expired */
40 #define GREG_STAT_LCNTEXP 0x00000010 /* Length-error counter expired */
42 #define GREG_STAT_CVCNTEXP 0x00000040 /* Code-violation counter expired */
46 #define GREG_STAT_MAXPKTERR 0x00000400 /* Max-packet size error */
47 #define GREG_STAT_NCNTEXP 0x00000800 /* Normal-collision counter expired */
48 #define GREG_STAT_ECNTEXP 0x00001000 /* Excess-collision counter expired */
49 #define GREG_STAT_LCCNTEXP 0x00002000 /* Late-collision counter expired */
50 #define GREG_STAT_FCNTEXP 0x00004000 /* First-collision counter expired */
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * fec.h -- Fast Ethernet Controller for Motorola ColdFire SoC
8 * (C) Copyright 2000-2005, Greg Ungerer (gerg@snapgear.com)
9 * (C) Copyright 2000-2001, Lineo (www.lineo.com)
23 #include <dt-bindings/firmware/imx/rsrc.h>
48 #define FEC_TXIC0 0x0f0 /* Tx Interrupt Coalescing for ring 0 */
49 #define FEC_TXIC1 0x0f4 /* Tx Interrupt Coalescing for ring 1 */
50 #define FEC_TXIC2 0x0f8 /* Tx Interrupt Coalescing for ring 2 */
51 #define FEC_RXIC0 0x100 /* Rx Interrupt Coalescing for ring 0 */
52 #define FEC_RXIC1 0x104 /* Rx Interrupt Coalescing for ring 1 */
[all …]
/openbmc/linux/Documentation/scsi/
H A DChangeLog.lpfc2 * Please read the associated RELEASE-NOTES file !!!
8 * Fixed build warning for 2.6.12-rc2 kernels: mempool_alloc now
19 * Removed FC_TRANSPORT_PATCHESxxx defines. They're in 2.6.12-rc1.
26 * Added PCI ID for LP10000-S.
31 * Zero-out response sense length in lpfc_scsi_prep_cmnd to prevent
32 interpretation of stale sense length when the command completes
33 - was causing spurious 0710 messages.
55 - stop using volatile. if you need special ordering use memory
57 - switch lpfc_sli_pcimem_bcopy to take void * arguments.
58 - remove typecast for constants - a U postfix marks them
[all …]
/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datl1.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
4 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com>
5 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com>
8 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
82 /* Wake-On-Lan control register */
215 /* RX/TX count-down timer to trigger CMB-write. 2us resolution. */
302 #define AUTONEG_ADVERTISE_SPEED_DEFAULT 0x002F /* All but 1000-Half */
431 * The L1 transmit packet descriptor is comprised of four 32-bit words.
434 * +---------------------------------------+
[all …]

123456