| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | tx.c | 25 * Copyright (c) 2007-2008 Atheros Communications, Inc. 72 return (DIV_ROUND_UP(IEEE80211_MAX_FRAME_LEN, ar->fw.mem_block_size) > in is_mem_full() 73 atomic_read(&ar->mem_free_blocks)); in is_mem_full() 81 atomic_inc(&ar->tx_total_queued); in carl9170_tx_accounting() 84 spin_lock_bh(&ar->tx_stats_lock); in carl9170_tx_accounting() 90 * aggregated frames does not reject frames for this reason. in carl9170_tx_accounting() 92 ar->tx_stats[queue].len++; in carl9170_tx_accounting() 93 ar->tx_stats[queue].count++; in carl9170_tx_accounting() 96 for (i = 0; i < ar->hw->queues; i++) { in carl9170_tx_accounting() 97 if (mem_full || ar->tx_stats[i].len >= ar->tx_stats[i].limit) { in carl9170_tx_accounting() [all …]
|
| /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/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 /* --- [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/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/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 …]
|
| /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/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/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/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/batman-adv/ |
| H A D | mesh-interface.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "mesh-interface.h" 46 #include "distributed-arp-table.h" 48 #include "hard-interface.h" 51 #include "translation-table.h" 54 * batadv_skb_head_push() - Increase header size and move (push) head pointer 64 /* TODO: We must check if we can release all references to non-payload in batadv_skb_head_push() 67 * or write any data which is before the current position of skb->data in batadv_skb_head_push() 80 * batadv_sum_counter() - Sum the cpu-local counters for index 'idx' 84 * Return: sum of all cpu-local counters [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)->device == dev) in nr_kill_by_device() 151 if (!ax25cmp(&nr_sk(s)->source_addr, addr) && in nr_find_listener() 152 s->sk_state == TCP_LISTEN) { in nr_find_listener() 173 if (nr->my_index == index && nr->my_id == id) { in nr_find_socket() 196 if (nr->your_index == index && nr->your_id == id && in nr_find_peer() [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/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_vcap_impl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * https://github.com/microchip-ung/sparx-5_reginfo 17 #define SUPER_VCAP_BLK_SIZE 3072 /* addresses per Super VCAP block */ 50 .vtype = VCAP_TYPE_IS0, /* CLM-0 */ 56 .last_cid = SPARX5_VCAP_CID_IS0_L2 - 1, 57 .blockno = 8, /* Maps block 8-9 */ 62 .vtype = VCAP_TYPE_IS0, /* CLM-1 */ 68 .last_cid = SPARX5_VCAP_CID_IS0_L4 - 1, 69 .blockno = 6, /* Maps block 6-7 */ 74 .vtype = VCAP_TYPE_IS0, /* CLM-2 */ [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 …]
|
| H A D | f_ncm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_ncm.c -- USB CDC Network (NCM) link function driver 10 * Copyright (C) 2003-2005,2008 David Brownell 33 * NCM is intended to be used with high-speed network attachments. 40 /* to trigger crc/non-crc ndp signature */ 74 /* For multi-frame NDP TX */ 86 /*-------------------------------------------------------------------------*/ 89 * We cannot group frames so use just the minimal size which ok to put 90 * one max-size ethernet frame. 91 * If the host can group frames, allow it to do that, 16K is selected, [all …]
|
| /linux/drivers/media/usb/uvc/ |
| H A D | uvc_video.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * uvc_video.c -- USB Video Class driver - Video handling 5 * Copyright (C) 2005-2010 9 #include <linux/dma-mapping.h> 24 #include <media/v4l2-common.h> 28 /* ------------------------------------------------------------------------ 39 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl() 40 : usb_sndctrlpipe(dev->udev, 0); in __uvc_query_ctrl() 43 return usb_control_msg(dev->udev, pipe, query, type, cs << 8, in __uvc_query_ctrl() 89 * Most controls are little-endian integers, in which case the missing in uvc_query_ctrl() [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->chec in ip_send_check() [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/net/ethernet/ti/ |
| H A D | cpsw_new.c | 1 // SPDX-License-Identifier: GPL-2.0 68 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv() 69 return -1; in cpsw_slave_index_priv() 71 return priv->emac_port - 1; in cpsw_slave_index_priv() 76 return !cpsw->data.dual_emac; in cpsw_is_switch_en() 92 for (i = 0; i < cpsw->data.slaves; i++) in cpsw_set_promiscious() 93 if (cpsw->slaves[i].ndev && in cpsw_set_promiscious() 94 (cpsw->slaves[i].ndev->flags & IFF_PROMISC)) in cpsw_set_promiscious() 99 …dev_dbg(cpsw->dev, "promiscuity not disabled as the other interface is still in promiscuity mode\n… in cpsw_set_promiscious() 104 cpsw_ale_control_set(cpsw->ale, HOST_PORT_NUM, in cpsw_set_promiscious() [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> 124 /* Module-wide total cached dirents (in bytes) across all tcons */ 128 * Write-only module parameter to drop all cached directory entries across 129 * all CIFS mounts. Echo a non-zero value to trigger. 139 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in cifs_drop_all_dir_caches() 142 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) in cifs_drop_all_dir_caches() 203 * Bumps refcount for cifs super block. 204 * Note that it should be only called if a reference to VFS super block is 205 * already held, e.g. in open-type syscalls context. Otherwise it can race with [all …]
|