/linux-6.14.4/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00queue.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2010 Ivo van Doorn <[email protected]> 68 * @SKBDESC_DESC_IN_SKB: The descriptor is at the start of the 80 * struct skb_frame_desc: Descriptor information for the skb buffer 86 * @desc_len: Length of the frame descriptor. 89 * @desc: Pointer to descriptor part of the frame. 91 * of the scope of the skb->data pointer. 93 * @skb_dma: (PCI-only) the DMA address associated with the sk buffer. 112 * get_skb_frame_desc - Obtain the rt2x00 frame descriptor from a sk_buff. 119 return (struct skb_frame_desc *)&IEEE80211_SKB_CB(skb)->driver_data; in get_skb_frame_desc() [all …]
|
/linux-6.14.4/drivers/net/ethernet/amd/ |
D | 7990.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * 7990.h -- LANCE ethernet IC generic routines. 11 * in particular a2065.[ch]. The AMD C-LANCE datasheet was also helpful. 32 * too long (and overflow the RAM on shared-memory cards like the HP LANCE. 41 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) 42 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) 49 /* Each receive buffer is described by a receive message descriptor (RMD) */ 51 volatile unsigned short rmd0; /* low address of packet */ 52 volatile unsigned char rmd1_bits; /* descriptor bits */ 54 volatile short length; /* This length is 2s complement (negative)! [all …]
|
D | a2065.h | 4 * (C) Copyright 1995 by Geert Uytterhoeven <geert@linux-m68k.org> 6 * --------------------------------------------------------------------------- 15 * Written 1993-94 by Donald Becker. 17 * Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller 21 * --------------------------------------------------------------------------- 27 * --------------------------------------------------------------------------- 29 * The A2065 is a Zorro-II board made by Commodore/Ameristar. It contains: 31 * - an Am7990 Local Area Network Controller for Ethernet (LANCE) with 32 * both 10BASE-2 (thin coax) and AUI (DB-15) connectors 41 unsigned short rdp; /* Register Data Port */ [all …]
|
D | declance.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * - PMAD-AA TURBOchannel Ethernet Module Functional Specification, 24 * v0.004: lance-regs is pointing at the right addresses, added prom 27 * v0.005: started to play around with LANCE-DMA. This driver will not 34 * access the init block. This looks like one (short) word at a 36 * (long) word. So we have a 2-2 padding here. Changed 37 * lance_init_block accordingly. The 16-16 padding for the buffers 80 MODULE_DESCRIPTION("DEC LANCE (DECstation onboard, PMAD-xx) driver"); 121 /* Receive message descriptor 1 */ 132 /* Transmit message descriptor 1 */ [all …]
|
/linux-6.14.4/tools/virtio/ringtest/ |
D | ring.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Simple descriptor-based ring. virtio 0.9 compatible event index is used for 15 /* Next - Where next entry will be written. 16 * Prev - "Next" value when event triggered previously. 17 * Event - Peer requested event after writing this entry. 19 static inline bool need_event(unsigned short event, in need_event() 20 unsigned short next, in need_event() 21 unsigned short prev) in need_event() 23 return (unsigned short)(next - event - 1) < (unsigned short)(next - prev); in need_event() 34 unsigned short flags; [all …]
|
/linux-6.14.4/drivers/scsi/ |
D | 3w-9xxx.h | 2 3w-9xxx.h -- 3ware 9000 Storage Controller device driver for Linux. 7 Copyright (C) 2004-2009 Applied Micro Circuits Corporation. 22 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 41 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 88 {0x0020, "Prepare for shutdown (power-off)"}, 111 {0x0037, "SO-DIMM incompatible"}, 112 {0x0038, "SO-DIMM not detected"}, 189 {0x0184, "DCB UDB (unit descriptor block) segment invalid"}, 233 {0x0242, "SO-DIMM parameter(s) incompatible using defaults"}, 234 {0x0243, "SO-DIMM unsupported"}, [all …]
|
D | st.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 /* Descriptor for analyzed sense data */ 36 /* The tape buffer descriptor. */ 39 unsigned short do_dio; /* direct i/o set up? */ 53 unsigned short use_sg; /* zero or max number of s/g segments for this adapter */ 54 unsigned short sg_segs; /* number of segments in s/g list */ 55 unsigned short frp_segs; /* number of buffer segments */ 67 short default_density; /* Forced density, -1 = no value */ 68 int default_blksize; /* Forced blocksize, -1 = no value */ 70 struct device *devs[2]; /* Auto-rewind and non-rewind devices */ [all …]
|
/linux-6.14.4/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac.h | 5 * This program is dual-licensed; you may select either version 2 of 21 #include <linux/dma-mapping.h> 29 #define XLGMAC_DRV_NAME "dwc-xlgmac" 33 /* Descriptor related parameters */ 47 #define XLGMAC_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1)) 92 /* Helper macro for descriptor handling 93 * Always use XLGMAC_GET_DESC_DATA to access the descriptor data 97 ((_ring)->desc_data_head + \ 98 ((idx) & ((_ring)->dma_desc_count - 1))); \ 104 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \ [all …]
|
/linux-6.14.4/drivers/net/ethernet/i825xx/ |
D | sun3_82586.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * copyrights (c) 1994 by Michael Hipp ([email protected]-tuebingen.de) 11 * crynwr-packet-driver by Russ Nelson 12 * Garret A. Wollman's i82586-driver for BSD 48 unsigned short zero_dum0; /* has to be zero */ 51 unsigned short zero_dum2; 52 unsigned short zero_dum3; 53 char *iscp; /* pointer to the iscp-block */ 64 unsigned short scb_offset; /* pointeroffset to the scb_base */ 65 char *scb_base; /* base-address of all 16-bit offsets */ [all …]
|
/linux-6.14.4/drivers/target/loopback/ |
D | tcm_loop.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #define TCM_LOOP_VERSION "v2.1-rc2" 11 /* State of Linux/SCSI CDB+Data descriptor */ 15 /* Pointer to the CDB+Data descriptor from Linux/SCSI subsystem */ 17 /* The TCM I/O descriptor that is accessed via container_of() */ 35 unsigned short tl_tpgt; 36 unsigned short tl_transport_status;
|
/linux-6.14.4/drivers/net/wan/ |
D | hd64572.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * hd64572.h Description of the Hitachi HD64572 (SCA-II), valid for 8 * Copyright: (c) 2000-2001 Cyclades Corp. 15 * PC300 initial CVS version (3.4.0-pre1) 98 #define TFN 0x143 /* Inter-transmit-frame Time Fill Ctl Reg */ 125 #define BOLR 0x0c /* Back-off Length Reg */ 143 #define DARL 0x80 /* Dest Addr Register L (single-block, RX only) */ 144 #define DARH 0x81 /* Dest Addr Register H (single-block, RX only) */ 145 #define DARB 0x82 /* Dest Addr Register B (single-block, RX only) */ 146 #define DARBH 0x83 /* Dest Addr Register BH (single-block, RX only) */ [all …]
|
/linux-6.14.4/drivers/target/ |
D | target_core_xcopy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * This file contains support for SPC-4 Extended-Copy offload with generic 8 * Copyright (c) 2011-2013 Datera, Inc. All rights reserved. 38 * target_xcopy_locate_se_dev_e4_iter - compare XCOPY NAA device identifiers 42 * @return: 1 on match, 0 on no-match 50 if (!se_dev->dev_attrib.emulate_3pc) { in target_xcopy_locate_se_dev_e4_iter() 60 pr_debug("XCOPY: skip non-matching: %*ph\n", in target_xcopy_locate_se_dev_e4_iter() 86 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4() 88 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in target_xcopy_locate_se_dev_e4() 92 this_lun = deve->se_lun; in target_xcopy_locate_se_dev_e4() [all …]
|
/linux-6.14.4/drivers/usb/core/ |
D | config.c | 1 // SPDX-License-Identifier: GPL-2.0 29 /* Find the next descriptor of type dt1 or dt2 */ in find_next_descriptor() 32 if (h->bDescriptorType == dt1 || h->bDescriptorType == dt2) in find_next_descriptor() 34 buffer += h->bLength; in find_next_descriptor() 35 size -= h->bLength; in find_next_descriptor() 43 return buffer - buffer0; in find_next_descriptor() 53 * The SuperSpeedPlus Isoc endpoint companion descriptor immediately in usb_parse_ssp_isoc_endpoint_companion() 54 * follows the SuperSpeed Endpoint Companion descriptor in usb_parse_ssp_isoc_endpoint_companion() 57 if (desc->bDescriptorType != USB_DT_SSP_ISOC_ENDPOINT_COMP || in usb_parse_ssp_isoc_endpoint_companion() 61 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ssp_isoc_endpoint_companion() [all …]
|
/linux-6.14.4/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 u32 rbpcmd; /* Route-by-port command */ 29 /* Source descriptor command read transaction type for RBP=0: */ 32 /* Destination descriptor command write transaction type for RBP=0: */ 40 #define QMAN_FD_SL_DISABLE (0) /* short lengthe disabled */ 41 #define QMAN_FD_SL_ENABLE BIT(14) /* short lengthe enabled */ 46 #define QDMA_FD_SHORT_FORMAT BIT(11) /* short format */ 66 #define QDMA_FL_SL_SHORT (0x1) /* short length */ 111 * dpaa2_qdma_priv - driver private data 146 /* FD pool size: one FD + 3 Frame list + 2 source/destination descriptor */
|
/linux-6.14.4/arch/x86/math-emu/ |
D | get_address.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 9 | Australia. E-mail [email protected] | 12 +---------------------------------------------------------------------------*/ 14 /*---------------------------------------------------------------------------+ 19 +---------------------------------------------------------------------------*/ 43 #define REG_(x) (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs)) 55 #define VM86_REG_(x) (*(unsigned short *) \ 56 (reg_offset_vm86[((unsigned)x)] + (u_char *)FPU_info->regs)) 68 #define PM_REG_(x) (*(unsigned short *) \ [all …]
|
/linux-6.14.4/arch/x86/lib/ |
D | insn-eval.c | 14 #include <asm/insn-eval.h> 29 * is_string_insn() - Determine if instruction is a string instruction 40 /* All string instructions have a 1-byte opcode. */ in is_string_insn() 41 if (insn->opcode.nbytes != 1) in is_string_insn() 44 switch (insn->opcode.bytes[0]) { in is_string_insn() 55 * insn_has_rep_prefix() - Determine if instruction has a REP prefix 78 * get_seg_reg_override_idx() - obtain segment register override index 89 * -EINVAL in case of error. 135 return -EINVAL; in get_seg_reg_override_idx() 141 * check_seg_overrides() - check if segment override prefixes are allowed [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath5k/ |
D | desc.h | 2 * Copyright (c) 2004-2008 Reyk Floeter <[email protected]> 3 * Copyright (c) 2006-2008 Nick Kossifidis <[email protected]> 20 * RX/TX descriptor structures 24 * struct ath5k_hw_rx_ctl - Common hardware RX control descriptor 38 * struct ath5k_hw_rx_status - Common hardware RX status descriptor 62 #define AR5K_5210_RX_DESC_STATUS1_DONE 0x00000001 /* descriptor complete */ 89 #define AR5K_5212_RX_DESC_STATUS1_DONE 0x00000001 /* descriptor complete */ 105 * enum ath5k_phy_error_code - PHY Error codes 151 * struct ath5k_hw_2w_tx_ctl - 5210/5211 hardware 2-word TX control descriptor 168 #define AR5K_2W_TX_DESC_CTL0_VEOL_5211 0x00800000 /* [5211] virtual end-of-list */ [all …]
|
/linux-6.14.4/drivers/infiniband/hw/efa/ |
D | efa_io_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ 3 * Copyright 2018-2024 Amazon.com, Inc. or its affiliates. All rights reserved. 58 /* Receiver SGL too short */ 62 /* Unresponsive remote - was previously responsive */ 66 /* Unreachable remote - never received a response */ 76 /* Verbs-generated Request ID */ 81 * 3:0 : op_type - enum efa_io_send_op_type 82 * 4 : has_imm - immediate_data field carries valid 84 * 5 : inline_msg - inline mode - inline message data 85 * follows this descriptor (no buffer descriptors). [all …]
|
/linux-6.14.4/sound/pci/asihpi/ |
D | hpidspcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 Copyright (C) 1997-2011 AudioScience Inc. <[email protected]> 44 /** Descriptor for dspcode from firmware loader */ 62 short hpi_dsp_code_open( 79 short hpi_dsp_code_read_word(struct dsp_code *ps_dsp_code, 80 /**< DSP code descriptor */ 90 short hpi_dsp_code_read_block(size_t words_requested,
|
/linux-6.14.4/drivers/atm/ |
D | iphase.h | 29 Complete the ABR logic of the driver, and added the ABR work- 32 Add the flow control logic to the driver to allow rate-limit VC. 127 #define ATM_DESC(skb) (skb->protocol) 128 #define IA_SKB_STATE(skb) (skb->protocol) 177 #define NRMCODE 5 /* 0 - 7 */ 178 #define TRMCODE 3 /* 0 - 7 */ 180 #define ATDFCODE 2 /* 0 - 15 */ 182 /*---------------------- Packet/Cell Memory ------------------------*/ 183 #define TX_PACKET_RAM 0x00000 /* start of Trasnmit Packet memory - 0 */ 186 - descriptor 0 unused */ [all …]
|
/linux-6.14.4/include/sound/ |
D | soc-acpi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013-15, Intel Corporation 22 /* codec name is used in DAIs is i2c-<HID>:00 with HID being 8 chars */ 61 * @acpi_ipc_irq_index: used for BYT-CR detection 64 * @dmic_num: number of SoC- or chipset-attached PDM digital microphones 87 unsigned short subsystem_vendor; 88 unsigned short subsystem_device; 89 unsigned short subsystem_rev; 95 * snd_soc_acpi_endpoint - endpoint descriptor 98 * @group_position: zero-based order (only when @aggregated is 1) [all …]
|
/linux-6.14.4/drivers/dma/hsu/ |
D | hsu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <linux/dma-mapping.h> 28 #include <linux/percpu-defs.h> 54 if (hsuc->direction == DMA_MEM_TO_DEV) in hsu_chan_enable() 56 else if (hsuc->direction == DMA_DEV_TO_MEM) in hsu_chan_enable() 64 struct dma_slave_config *config = &hsuc->config; in hsu_dma_chan_start() 65 struct hsu_dma_desc *desc = hsuc->desc; in hsu_dma_chan_start() 70 if (hsuc->direction == DMA_MEM_TO_DEV) { in hsu_dma_chan_start() 71 bsr = config->dst_maxburst; in hsu_dma_chan_start() 72 mtsr = config->dst_addr_width; in hsu_dma_chan_start() [all …]
|
/linux-6.14.4/fs/jfs/ |
D | jfs_incore.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) International Business Machines Corp., 2000-2004 4 * Portions Copyright (C) Christoph Hellwig, 2001-2002 25 * JFS-private inode information 29 uint mode2; /* jfs-specific mode */ 32 pxd_t ixpxd; /* inode extent descriptor */ 38 short btorder; /* access order */ 39 short btindex; /* btpage entry index*/ 109 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass) 110 #define IREAD_UNLOCK(ip) up_read(&JFS_IP(ip)->rdwrlock) [all …]
|
/linux-6.14.4/drivers/mmc/host/ |
D | sdhci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver 7 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 130 * VDD2 - UHS2 or PCIe/NVMe 208 #define SDHCI_INT_ALL_MASK ((unsigned int)-1) 233 #define SDHCI_CTRL_HS400 0x0005 /* Non-standard */ 286 #define SDHCI_CAN_VDD2_180 0x10000000 /* UHS-2 1.8V VDD2 */ 287 #define SDHCI_SUPPORT_HS400 0x80000000 /* Non-standard */ 298 /* 4C-4F reserved for more max current */ 306 /* 55-57 reserved */ [all …]
|
/linux-6.14.4/net/packet/ |
D | internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 unsigned short type; 12 unsigned short alen; 16 /* kbdq - kernel block descriptor queue */ 23 unsigned short kactive_blk_num; 24 unsigned short blk_sizeof_priv; 27 * trick to see if user-space has caught up 30 unsigned short last_kactive_blk_num; 47 unsigned short retire_blk_tov; 48 unsigned short version; [all …]
|