| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A 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/drivers/net/ethernet/amd/ |
| H A 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 …]
|
| H A 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 …]
|
| /linux/tools/virtio/ringtest/ |
| H A 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/drivers/scsi/ |
| H A 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 …]
|
| H A 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/drivers/net/ethernet/synopsys/ |
| H A 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/drivers/net/ethernet/i825xx/ |
| H A D | sun3_82586.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * copyrights (c) 1994 by Michael Hipp (hippm@informatik.uni-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/drivers/net/wan/ |
| H A 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/drivers/target/loopback/ |
| H A 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/drivers/target/ |
| H A 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 …]
|
| H A 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/drivers/dma/fsl-dpaa2-qdma/ |
| H A 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/drivers/net/wireless/ath/ath5k/ |
| H A 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/sound/pci/asihpi/ |
| H A 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/drivers/dma/hsu/ |
| H A 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/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe.h | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 11 #include <linux/dma-mapping.h> 28 #define XGBE_DRV_NAME "amd-xgbe" 31 /* Descriptor related defines */ 42 #define XGBE_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1)) 49 * - Maximum number of SKB frags 50 * - Maximum descriptors for contiguous TSO/GSO packet 51 * - Possible context descriptor 52 * - Possible TSO header descriptor [all …]
|
| /linux/fs/jfs/ |
| H A 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/scripts/ |
| H A 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 …]
|
| /linux/drivers/hid/ |
| H A D | hid-zydacron.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "hid-ids.h" 19 unsigned short last_key[4]; 24 * Zydacron remote control has an invalid HID report descriptor, 35 "fixing up zydacron remote control report descriptor\n"); in zc_report_fixup() 51 zc->input_ep81 = hi->input; in zc_input_mapping() 53 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in zc_input_mapping() 57 usage->hid & HID_USAGE); in zc_input_mapping() 59 switch (usage->hid & HID_USAGE) { in zc_input_mapping() 104 zc->last_key[i] = 0; in zc_input_mapping() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | rtas-work-area.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 * struct rtas_work_area - RTAS work area descriptor. 14 * Descriptor for a "work area" in PAPR terminology that satisfies 29 * rtas_work_area_alloc() - Acquire a work area of the requested size. 30 * @size_: Allocation size. Must be compile-time constant and not more 37 * is limited, and allocations should be short-lived. A good guideline 47 * Return: A &struct rtas_work_area descriptor for the allocated work area. 63 * rtas_work_area_free() - Release a work area. 64 * @area: Work area descriptor as returned from rtas_work_area_alloc(). 72 return area->buf; in rtas_work_area_raw_buf() [all …]
|
| H A D | cpm1.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * are needed. -- Dan 13 * On the MBX board, EPPC-Bug loads CPM microcode into the first 512 74 ushort smc_rbase; /* Rx Buffer descriptor base address */ 75 ushort smc_tbase; /* Tx Buffer descriptor base address */ 285 ushort scc_rbase; /* Rx Buffer descriptor base address */ 286 ushort scc_tbase; /* Tx Buffer descriptor base address */ 317 ushort sen_pads; /* Tx short frame pad character */ 331 uint sen_tbuf0data0; /* Save area 0 - current frame */ 332 uint sen_tbuf0data1; /* Save area 1 - current frame */ [all …]
|
| /linux/include/linux/usb/ |
| H A D | quirks.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 /* string descriptors must not be fetched using a 255-byte read */ 17 /* device can't handle Set-Interface requests */ 31 descriptor */ 38 * interval = 2 ^ (bInterval-1). 45 /* device can't handle device_qualifier descriptor requests */ 75 /* short SET_ADDRESS request timeout */ 78 /* skip BOS descriptor request */ 84 /* Use a 255 bytes config descriptor request mirroring windows behavior */
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | sunhme.h | 1 /* 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 …]
|
| /linux/arch/x86/realmode/rm/ |
| H A D | trampoline_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * with 16-bit addressing and 16-bit data. CS has some value 24 * --full-contents --reloc to make sure there are no relocation 33 #include <asm/processor-flags.h> 89 movw $__KERNEL_DS, %dx # Data segment descriptor 104 /* SEV-ES supports non-zero IP for entry points - no alignment needed */ 196 * paging and complete the switch to legacy 32-bit mode. 216 * APs start here on a direct transfer from 64-bit BIOS with identity 218 * 32-bit mode (to handle 4-level vs. 5-level paging), and to (re)load 231 /* Paging mode is correct proceed in 64-bit mode */ [all …]
|