Home
last modified time | relevance | path

Searched +full:short +full:- +full:descriptor (Results 1 – 25 of 1025) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.h1 /* 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 …]
/kernel/linux/common_modules/newip/src/common/
Dnip_addr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * Data: 2022-07-18
19 .NIP_ADDR_FIELD8[0] = 0xFF, /* 0xFF09 addr, big-endian */
25 .NIP_ADDR_FIELD8[0] = 0xFF, /* 0xFF04 addr, big-endian */
31 .NIP_ADDR_FIELD8[0] = 0xFF, /* 0xFF00 addr, big-endian */
36 NOT_CURRENT_ADDR = -1,
49 /* Short address range:
50 * 【1-byte】0 ~ 220
58 /* Short address range:
59 * 【2-byte】221 ~ 5119
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
D7990.h1 /* 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 …]
Da2065.h4 * (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 …]
Dni65.h7 * email: mhipp@student.uni-tuebingen.de
10 * crynwr-packet-driver
15 * (R=Readable) (W=Writeable) (S=Set on write) (C-Clear on write)
52 * Receive message descriptor bit definitions.
66 * Transmit message descriptor bit definitions.
81 #define XMIT_TDRMASK 0x03ff /* time-domain-reflectometer-value */
90 unsigned short mode;
93 /* bit 29-31: number of rmd's (power of 2) */
95 /* bit 29-31: number of tmd's (power of 2) */
99 struct rmd { /* Receive Message Descriptor */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/
D7990.h1 /* 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 …]
Da2065.h4 * (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 …]
/kernel/linux/linux-5.10/drivers/scsi/
D3w-9xxx.h2 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 …]
/kernel/linux/linux-5.10/tools/virtio/ringtest/
Dring.c1 // 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 …]
/kernel/linux/linux-6.6/tools/virtio/ringtest/
Dring.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/scsi/
D3w-9xxx.h2 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 …]
/kernel/linux/linux-5.10/drivers/target/loopback/
Dtcm_loop.h1 /* 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() */
36 unsigned short tl_tpgt;
37 unsigned short tl_transport_status;
/kernel/linux/linux-6.6/drivers/target/loopback/
Dtcm_loop.h1 /* 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;
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h5 * 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 */
46 #define XLGMAC_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
91 /* Helper macro for descriptor handling
92 * Always use XLGMAC_GET_DESC_DATA to access the descriptor data
96 ((_ring)->desc_data_head + \
97 ((idx) & ((_ring)->dma_desc_count - 1))); \
103 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h5 * 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 …]
/kernel/linux/linux-6.6/drivers/staging/vt6655/
Dmac.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Dmac.c1 // SPDX-License-Identifier: GPL-2.0+
15 * MACbIsRegBitsOff - Test if All test Bits Off
16 * MACbIsIntDisable - Test if MAC interrupt disable
17 * MACvSetShortRetryLimit - Set 802.11 Short Retry limit
18 * MACvSetLongRetryLimit - Set 802.11 Long Retry limit
19 * MACvSetLoopbackMode - Set MAC Loopback Mode
20 * MACvSaveContext - Save Context of MAC Registers
21 * MACvRestoreContext - Restore Context of MAC Registers
22 * MACbSoftwareReset - Software Reset MAC
23 * MACbSafeRxOff - Turn Off MAC Rx
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/
Dsun3_82586.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/
Dsun3_82586.h7 * 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 …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dhd64572.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/net/wan/
Dhd64572.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/target/
Dtarget_core_xcopy.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_xcopy.c1 // 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.
50 * target_xcopy_locate_se_dev_e4_iter - compare XCOPY NAA device identifiers
54 * @return: 1 on match, 0 on no-match
62 if (!se_dev->dev_attrib.emulate_3pc) { in target_xcopy_locate_se_dev_e4_iter()
72 pr_debug("XCOPY: skip non-matching: %*ph\n", in target_xcopy_locate_se_dev_e4_iter()
98 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4()
100 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in target_xcopy_locate_se_dev_e4()
104 this_lun = rcu_dereference(deve->se_lun); in target_xcopy_locate_se_dev_e4()
[all …]
/kernel/linux/linux-5.10/drivers/usb/core/
Dconfig.c1 // 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 …]

12345678910>>...41