/Linux-v6.1/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 <IvDoorn@gmail.com> 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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/staging/vt6655/ |
D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 * vt6655_mac_is_reg_bits_off - Test if All test Bits Off 14 * vt6655_mac_set_short_retry_limit - Set 802.11 Short Retry limit 15 * MACvSetLongRetryLimit - Set 802.11 Long Retry limit 16 * vt6655_mac_set_loopback_mode - Set MAC Loopback Mode 17 * vt6655_mac_save_context - Save Context of MAC Registers 18 * vt6655_mac_restore_context - Restore Context of MAC Registers 19 * MACbSoftwareReset - Software Reset MAC 20 * vt6655_mac_safe_rx_off - Turn Off MAC Rx 21 * vt6655_mac_safe_tx_off - Turn Off MAC Tx [all …]
|
/Linux-v6.1/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-v6.1/drivers/net/ethernet/i825xx/ |
D | sun3_82586.h | 7 * copyrights (c) 1994 by Michael Hipp (hippm@informatik.uni-tuebingen.de) 10 * crynwr-packet-driver by Russ Nelson 11 * Garret A. Wollman's i82586-driver for BSD 47 unsigned short zero_dum0; /* has to be zero */ 50 unsigned short zero_dum2; 51 unsigned short zero_dum3; 52 char *iscp; /* pointer to the iscp-block */ 63 unsigned short scb_offset; /* pointeroffset to the scb_base */ 64 char *scb_base; /* base-address of all 16-bit offsets */ 76 unsigned short cbl_offset; /* pointeroffset, command block list */ [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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. 37 * target_xcopy_locate_se_dev_e4_iter - compare XCOPY NAA device identifiers 41 * @return: 1 on match, 0 on no-match 49 if (!se_dev->dev_attrib.emulate_3pc) { in target_xcopy_locate_se_dev_e4_iter() 59 pr_debug("XCOPY: skip non-matching: %*ph\n", in target_xcopy_locate_se_dev_e4_iter() 85 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4() 87 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in target_xcopy_locate_se_dev_e4() 91 this_lun = deve->se_lun; in target_xcopy_locate_se_dev_e4() [all …]
|
D | target_core_xcopy.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * Table 150 — CSCD descriptor ID values 34 unsigned short stdi; 35 unsigned short dtdi; 36 unsigned short nolb;
|
/Linux-v6.1/drivers/usb/core/ |
D | config.c | 1 // SPDX-License-Identifier: GPL-2.0 34 /* Find the next descriptor of type dt1 or dt2 */ in find_next_descriptor() 37 if (h->bDescriptorType == dt1 || h->bDescriptorType == dt2) in find_next_descriptor() 39 buffer += h->bLength; in find_next_descriptor() 40 size -= h->bLength; in find_next_descriptor() 48 return buffer - buffer0; in find_next_descriptor() 58 * The SuperSpeedPlus Isoc endpoint companion descriptor immediately in usb_parse_ssp_isoc_endpoint_companion() 59 * follows the SuperSpeed Endpoint Companion descriptor in usb_parse_ssp_isoc_endpoint_companion() 62 if (desc->bDescriptorType != USB_DT_SSP_ISOC_ENDPOINT_COMP || in usb_parse_ssp_isoc_endpoint_companion() 66 cfgno, inum, asnum, ep->desc.bEndpointAddress); in usb_parse_ssp_isoc_endpoint_companion() [all …]
|
/Linux-v6.1/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 u32 rbpcmd; /* Route-by-port command */ 28 /* Source descriptor command read transaction type for RBP=0: */ 31 /* Destination descriptor command write transaction type for RBP=0: */ 39 #define QMAN_FD_SL_DISABLE (0) /* short lengthe disabled */ 40 #define QMAN_FD_SL_ENABLE BIT(14) /* short lengthe enabled */ 45 #define QDMA_FD_SHORT_FORMAT BIT(11) /* short format */ 65 #define QDMA_FL_SL_SHORT (0x1) /* short length */ 110 * dpaa2_qdma_priv - driver private data 145 /* FD pool size: one FD + 3 Frame list + 2 source/destination descriptor */
|
/Linux-v6.1/arch/x86/math-emu/ |
D | get_address.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 9 | Australia. E-mail billm@suburbia.net | 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-v6.1/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-v6.1/drivers/net/wireless/ath/ath5k/ |
D | desc.h | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 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-v6.1/sound/pci/asihpi/ |
D | hpidspcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com> 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-v6.1/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-v6.1/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-v6.1/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;
|
/Linux-v6.1/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-v6.1/scripts/ |
D | extract-module-sig.pl | 2 # SPDX-License-Identifier: GPL-2.0 4 # extract-mod-sig <part> <module-file> 9 # -0: The unsigned module, no signature data at all 10 # -a: All of the signature data, including magic number 11 # -d: Just the descriptor values as a sequence of numbers 12 # -n: Just the signer's name 13 # -k: Just the key ID 14 # -s: Just the crypto signature or PKCS#7 message 19 die "Format: $0 -[0adnks] module-file >out\n" 37 die "Short read on $modfile\n" unless ($len == $st[7]); [all …]
|