| /linux/include/uapi/linux/ |
| H A D | if_ether.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 12 * Donald Becker, <becker@super.org> 58 #define ETH_P_BATMAN 0x4305 /* B.A.T.M.A.N.-Advanced packet [ NOT AN OFFICIALLY REGISTERED ID ] */ 75 #define ETH_P_PAUSE 0x8808 /* IEEE Pause frames. See 802.3 31B */ 77 #define ETH_P_WCCP 0x883E /* Web-cache coordination protocol 78 * defined in draft-wilso [all...] |
| /linux/Documentation/arch/x86/ |
| H A D | entry_64.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 for 64-bit, arch/x86/entry/entry_32.S for 32-bit and finally 17 arch/x86/entry/entry_64_compat.S which implements the 32-bit compatibility 18 syscall entry points and thus provides for 32-bit processes the 19 ability to execute syscalls when running on 64-bit kernels. 25 - system_call: syscall instruction from 64-bit code. 27 - entry_INT80_compat: int 0x80 from 32-bit or 64-bit code; compat syscall 30 - entry_INT80_compat, ia32_sysenter: syscall and sysenter from 32-bit 33 - interrupt: An array of entries. Every IDT vector that doesn't 36 magically-generated functions that make their way to common_interrupt() [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 */ 35 * For high speed and super speed interrupt endpoints, the USB 2.0 and 38 * interval = 2 ^ (bInterval-1). 55 * Device reports its bInterval as linear frames instead of the
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_txrx.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 40 #define FUNETH_CQE_INFO_OFFSET (FUNETH_CQE_SIZE - sizeof(struct fun_cqe_info)) 55 /* Per packet tailroom. Present only for 1-frag packets. */ 84 u64 tx_tso; /* # of non-encapsulated TSO super-packets */ 85 u64 tx_encap_tso; /* # of encapsulated TSO super-packets */ 86 u64 tx_uso; /* # of non-encapsulated UDP LSO super-packets */ 93 u64 tx_tls_bytes; /* Tx bytes of HW-handled TLS payload */ 107 u32 mask; /* queue depth - 1 */ 112 volatile __be64 *hw_wb; /* HW write-back location */ 152 int node; /* page node, or -1 if it is PF_MEMALLOC */ [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
| H A D | vdec_vp9_if.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Kai-Sean Yang <kai-sean.yang@mediatek.com> 30 * struct vp9_dram_buf - contains buffer info for vpu 44 * struct vp9_fb_info - contains frame buffer info 54 * struct vp9_ref_cnt_buf - contains reference buffer information 65 * struct vp9_ref_buf - contains current frame's reference buffer information 77 * struct vp9_sf_ref_fb - contains frame buffer info 78 * @fb : super frame reference frame buffer 89 * struct vdec_vp9_vsi - shared buffer between host and VPU firmware 90 * AP-W/R : AP is writer/reader on this item [all …]
|
| /linux/net/bluetooth/ |
| H A D | l2cap_core.c | 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 Copyright (C) 2009-2010 Gustavo F. Padovan <gustavo@padovan.org> 80 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type() 85 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type() 88 /* ---- L2CAP channels ---- */ 95 list_for_each_entry(c, &conn->chan_l, list) { in __l2cap_get_chan_by_dcid() 96 if (c->dcid == cid) in __l2cap_get_chan_by_dcid() 107 list_for_each_entry(c, &conn->chan_l, list) { in __l2cap_get_chan_by_scid() 108 if (c->scid == cid) in __l2cap_get_chan_by_scid() [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_mouse.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 18 # workaround https://gitlab.freedesktop.org/libevdev/python-libevdev/issues/6 37 super().__init__(name, "Mouse", input_info=input_info, rdesc=rdesc) 86 return super().create_report(mouse, reportID=reportID) 128 0x15, 0x81, # ....Logical Minimum (-127) 42 140 super().__init__(rdesc, name, input_info) 157 x = max(-127, min(127, x)) 158 y = max(-127, min(127, y)) 186 0x15, 0x81, # ..Logical Minimum (-127) 38 [all …]
|
| /linux/drivers/message/fusion/ |
| H A D | mptbase.h | 8 * Copyright (c) 1999-2008 LSI Corporation 9 * (mailto:DL-MPTFusionLinux@lsi.com) 12 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 26 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 45 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 50 /*{-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 69 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 76 #define COPYRIGHT "Copyright (c) 1999-2008 " MODULEAUTHOR 80 #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.04.20" 86 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ [all …]
|
| H A D | mptbase.c | 8 * Copyright (c) 1999-2008 LSI Corporation 9 * (mailto:DL-MPTFusionLinux@lsi.com) 12 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 26 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 45 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 47 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 61 #include <linux/dma-mapping.h> 68 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 106 " debug level - refer to mptdebug.h - (default=0)"); 112 "Enable detection of Firmware fault and halt Firmware on fault - (default=0)"); [all …]
|
| /linux/drivers/media/usb/b2c2/ |
| H A D | flexcop-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * flexcop-usb.c - covers the USB part 8 #include "flexcop-usb.h" 9 #include "flexcop-common.h" 37 MODULE_PARM_DESC(debug, "set debugging level (1=info,ts=2,ctrl=4,i2c=8,v8mem=16 (or-able))." DEBSTA… 48 * PCI ADDRESS FORMAT: 0x71C -> 0000 0111 0001 1100 (the six bits used) 62 * - forget about this VENDOR_BUFFER_SIZE, read and write register 64 * - from now on, we don't support anything older than firm 1.00 71 struct flexcop_usb *fc_usb = fc->bus_specific; in flexcop_usb_readwrite_dw() 78 mutex_lock(&fc_usb->data_mutex); in flexcop_usb_readwrite_dw() [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 151 * SW processes frames based on certain classifications. Values 161 * A-MPDU frame but a stand alone MPDU. Interior MPDU in an 162 * A-MPDU shall have both first_mpdu and last_mpdu bits set to 185 * Set if packet is not a non-QoS data frame. Only set when 209 * Set if number of MSDUs in A-MSDU is above a threshold or if the 277 * Indicates that the MPDU was pre-maturely terminated 298 * A-MSDU could not be properly de-agregated. 588 * SW processes frames based on certain classifications. Values [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | netdev.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 5 doc: >- 9 - 11 name: xdp-act 12 render-max: true 14 - 16 doc: >- 19 - 21 doc: >- [all …]
|
| /linux/Documentation/networking/ |
| H A D | kcm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 +------------+ +------------+ +------------+ +------------+ 16 +------------+ +------------+ +------------+ +------------+ 18 +-----------+ | | +----------+ 20 +----------------------------------+ 22 +----------------------------------+ 24 +---------+ | | | ------------+ 26 +----------+ +----------+ +----------+ +----------+ +----------+ 28 +----------+ +----------+ +----------+ +----------+ +----------+ 30 +----------+ +----------+ +----------+ +----------+ +----------+ [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 257 * field in address search failure cache-only entry should 261 * If set, intra-BSS routing detection is enabled 279 * buffer management for WiFi-to-PPE routing. 282 * by a different subsystem, completely disabling WiFi-to-PPE 319 * When set, all frames (data only ?) shall be encrypted. If 358 * SW processes frames based on certain classifications. Values 492 * received MPDU in the PPDU and this MPDU gets filtered-in, [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | ath5k.h | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2007 Nick Kossifidis <mickflemm@gmail.com> 62 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */ 63 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV8 0x0058 /* AR5312 WMAC (AP43-030) */ 70 #define PCI_DEVICE_ID_ATHEROS_AR2413 0x001a /* AR2413 (Griffin-lite) */ 72 #define PCI_DEVICE_ID_ATHEROS_AR5424 0x001c /* AR5424 (Condor PCI-E) */ 189 #define AR5K_TUNE_NOISE_FLOOR -72 190 #define AR5K_TUNE_CCA_MAX_GOOD_VALUE -95 274 * enum ath5k_version - MAC Chips 286 * enum ath5k_radio - PHY Chips [all …]
|
| /linux/net/netrom/ |
| H A D | af_netrom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 68 * frames into AX.25 which will be sent through an AX.25 device, so form a 69 * special "super class" of normal net devices; split their locks off into a 79 lockdep_set_class(&txq->_xmit_lock, &nr_netdev_xmit_lock_key); in nr_set_lockdep_one() 84 lockdep_set_class(&dev->addr_list_lock, &nr_netdev_addr_lock_key); in nr_set_lockdep_key() 107 if (nr_sk(s)->devic in nr_kill_by_device() [all...] |
| /linux/include/uapi/drm/ |
| H A D | drm_fourcc.h | 39 * further describe the buffer's format - for example tiling or compression. 42 * ---------------- 56 * vendor-namespaced, and as such the relationship between a fourcc code and a 58 * may preserve meaning - such as number of planes - from the fourcc code, 64 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel 76 * - Kernel and user-space drivers: for drivers it's important that modifiers 80 * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users 93 * ----------------------- 98 * upstream in-kernel or open source userspace user does not apply. 225 * Half-Floating point - 16b/component [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_eem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_eem.c -- USB CDC Ethernet (EEM) link function driver 5 * Copyright (C) 2003-2005,2008 David Brownell 43 /*-------------------------------------------------------------------------*/ 113 /* super speed support: */ 160 .language = 0x0409, /* en-us */ 169 /*-------------------------------------------------------------------------*/ 173 struct usb_composite_dev *cdev = f->config->cdev; in eem_setup() 174 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup() 175 u16 w_value = le16_to_cpu(ctrl->wValue); in eem_setup() [all …]
|
| /linux/net/ipv4/ |
| H A D | ip_output.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * Donald Becker, <becker@super.org> 24 * Bradford Johnson: Fix faulty handling of some frames when 39 * silently drop skb instead of failing with -EPERM. 81 #include <linux/bpf-cgroup.h> 97 iph->check = 0; in ip_send_check() 98 iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); in ip_send_check() 108 iph_set_totlen(iph, skb->len); in __ip_local_out() 118 skb->protocol = htons(ETH_P_IP); in __ip_local_out() 140 int ttl = READ_ONCE(inet->uc_ttl); in ip_select_ttl() [all …]
|
| H A D | tcp_input.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 62 * Pasi Sarolahti: F-RTO for dealing with spurious RTOs 100 #define FLAG_DSACKING_ACK 0x800 /* SACK blocks contained D-SACK info */ 119 #define REXMIT_NEW 2 /* FRTO-style transmit of unsent/new packets */ 127 tp->tcp_clean_acked = cad; in clean_acked_data_enable() 135 tp->tcp_clean_acked = NULL; in clean_acked_data_disable() 149 bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown && in bpf_skops_parse_hdr() 163 switch (sk->sk_state) { in bpf_skops_parse_hdr() [all …]
|
| /linux/sound/usb/ |
| H A D | card.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 * - the linked URBs would be preferred but not used so far because of 17 * - type II is not supported properly. there is no device which supports 19 * indeed an AC3 stream packed in SPDIF frames (i.e. no real AC3 stream). 33 #include <linux/usb/audio-v2.h> 34 #include <linux/usb/audio-v3.h> 63 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 67 static int vid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 }; 68 static int pid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 }; 97 MODULE_PARM_DESC(autoclock, "Enable auto-clock selection for UAC2 devices (default: yes)."); [all …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-mem.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/dma-mapping.h> 18 #include "cdnsp-gadget.h" 19 #include "cdnsp-trace.h" 42 seg->trbs = dma_pool_zalloc(pdev->segment_pool, flags, &dma); in cdnsp_segment_alloc() 43 if (!seg->trbs) { in cdnsp_segment_alloc() 49 seg->bounce_buf = kzalloc(max_packet, flags | GFP_DMA); in cdnsp_segment_alloc() 50 if (!seg->bounce_buf) in cdnsp_segment_alloc() 57 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in cdnsp_segment_alloc() 59 seg->dma = dma; in cdnsp_segment_alloc() [all …]
|
| /linux/fs/smb/client/ |
| H A D | cifsfs.c | 1 // SPDX-License-Identifier: LGPL-2.1 32 #include <linux/key-type.h> 125 /* Module-wide total cached dirents (in bytes) across all tcons */ 129 * Write-only module parameter to drop all cached directory entries across 130 * all CIFS mounts. Echo a non-zero value to trigger. 140 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in cifs_drop_all_dir_caches() 143 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) in cifs_drop_all_dir_caches() 204 * Bumps refcount for cifs super block. 205 * Note that it should be only called if a reference to VFS super block is 206 * already held, e.g. in open-type syscalls context. Otherwise it can race with [all …]
|
| /linux/net/rose/ |
| H A D | af_rose.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 69 * frames into AX.25 which will be sent through an AX.25 device, so form a 70 * special "super class" of normal net devices; split their locks off into a 80 lockdep_set_class(&txq->_xmit_lock, &rose_netdev_xmit_lock_key); in rose_set_lockdep_one() 85 lockdep_set_class(&dev->addr_list_lock, &rose_netdev_addr_lock_key); in rose_set_lockdep_key() 94 if (addr->rose_addr[0] == 0x00 && addr->rose_addr[1] == 0x00 && in rose2asc() 95 addr->rose_addr[2] == 0x00 && addr->rose_addr[3] == 0x00 && in rose2asc() 96 addr->rose_addr[4] == 0x00) { in rose2asc() 99 sprintf(buf, "%02X%02X%02X%02X%02X", addr->rose_addr[0] & 0xFF, in rose2asc() 100 addr->rose_addr[1] & 0xFF, in rose2asc() [all …]
|
| /linux/drivers/usb/storage/ |
| H A D | unusual_devs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net) 26 * - a patch that adds the entry for your device, including your 29 * - a copy of /sys/kernel/debug/usb/devices with your device plugged in 31 * Send your submission to the USB development list <linux-usb@vger.kernel.org> 42 * In-kernel mode switching is deprecated. Do not add new devices to 71 "CD-Writer+", 74 /* Reported by Ben Efros <ben@pc-doctor.com> */ 82 * Reported by Grant Grundler <grundler@parisc-linux.org> 107 /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */ [all …]
|