| /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 …]
|
| H A 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/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/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/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/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 …]
|
| /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/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/arch/x86/math-emu/ |
| H A 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/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/drivers/atm/ |
| H A 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/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/include/sound/ |
| H A D | soc-acpi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013-15, Intel Corporation 23 /* codec name is used in DAIs is i2c-<HID>:00 with HID being 8 chars */ 62 * @acpi_ipc_irq_index: used for BYT-CR detection 65 * @dmic_num: number of SoC- or chipset-attached PDM digital microphones 88 unsigned short subsystem_vendor; 89 unsigned short subsystem_device; 90 unsigned short subsystem_rev; 96 * snd_soc_acpi_endpoint - endpoint descriptor 99 * @group_position: zero-based order (only when @aggregated is 1) [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/drivers/usb/misc/ |
| H A D | usbtest.c | 1 // SPDX-License-Identifier: GPL-2.0 16 /*-------------------------------------------------------------------------*/ 18 static int override_alt = -1; 23 /*-------------------------------------------------------------------------*/ 30 __u32 test_num; /* 0..(TEST_CASES-1) */ 47 __u32 test_num; /* 0..(TEST_CASES-1) */ 63 /*-------------------------------------------------------------------------*/ 72 //#define KEYSPAN_19Qi /* grab un-renumerated serial adapter */ 74 /*-------------------------------------------------------------------------*/ 112 return interface_to_usbdev(test->intf); in testdev_to_usbdev() [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/net/packet/ |
| H A D | internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 unsigned short type; 12 unsigned short alen; 17 /* kbdq - kernel block descriptor queue */ 23 unsigned short kactive_blk_num; 24 unsigned short blk_sizeof_priv; 26 unsigned short versio [all...] |
| /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 …]
|