| /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/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/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/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/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 44 /*-------------------------------------------------------------------------*/ 114 /* super speed support: */ 161 .language = 0x0409, /* en-us */ 170 /*-------------------------------------------------------------------------*/ 174 struct usb_composite_dev *cdev = f->config->cdev; in eem_setup() 175 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup() 176 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/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-v [all...] |
| /linux/sound/pci/echoaudio/ |
| H A D | echoaudio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2003-2004 Giuliano Pochini <pochini@shiny.it> 28 static const DECLARE_TLV_DB_SCALE(db_scale_output_gain, -12800, 100, 1); 38 if (chip->fw_cache[fw_index]) { in get_firmware() 39 dev_dbg(chip->card->dev, in get_firmware() 42 *fw_entry = chip->fw_cache[fw_index]; in get_firmware() 46 dev_dbg(chip->card->dev, in get_firmware() 49 err = request_firmware(fw_entry, name, &chip->pci->dev); in get_firmware() 51 dev_err(chip->card->dev, in get_firmware() 54 chip->fw_cache[fw_index] = *fw_entry; in get_firmware() [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | wmi.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 192 ptr - begin, len, sizeof(*tlv)); in ath11k_wmi_tlv_iter() 193 return -EINVAL; in ath11k_wmi_tlv_iter() 197 tlv_tag = FIELD_GET(WMI_TLV_TAG, tlv->header); in ath11k_wmi_tlv_iter() 198 tlv_len = FIELD_GET(WMI_TLV_LEN, tlv->header); in ath11k_wmi_tlv_iter() 200 len -= sizeof(*tlv); in ath11k_wmi_tlv_iter() 204 tlv_tag, ptr - begin, len, tlv_len); in ath11k_wmi_tlv_iter() 205 return -EINVAL; in ath11k_wmi_tlv_iter() 212 tlv_tag, ptr - begin, tlv_len, in ath11k_wmi_tlv_iter() [all …]
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endia [all...] |
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_link.c | 1 /* Copyright 2008-2013 Broadcom Corporation 8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL"). 43 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1) 205 (_phy)->def_md_devad, \ 211 (_phy)->def_md_devad, \ 239 * bnx2x_check_lfa - This function checks if link reinitialization is required, 251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() 254 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa() 257 /* NOTE: must be first condition checked - in bnx2x_check_lfa() 262 REG_WR(bp, params->lfa_base + in bnx2x_check_lfa() [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 19 #include <linux/dma-mapping.h> 39 return -ETIMEDOUT; in _il_poll_bit() 48 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_set_bit() 50 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_set_bit() 59 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_clear_bit() 61 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_clear_bit() 79 * to/from host DRAM when sleeping/waking for power-saving. in _il_grab_nic_access() [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | amifb.c | 2 * linux/drivers/video/amifb.c -- Amiga builtin chipset frame buffer device 4 * Copyright (C) 1995-2003 Geert Uytterhoeven 30 * - 24 Jul 96: Copper generates now vblank interrupt and 32 * - 14 Jul 96: Rework and hopefully last ECS bugs fixed 33 * - 7 Mar 96: Hardware sprite support by Roman Zippel 34 * - 18 Feb 96: OCS and ECS support by Roman Zippel 36 * - 2 Dec 95: AGA version by Geert Uytterhoeven 107 --------------------- 111 +----------+---------------------------------------------+----------+-------+ 115 +----------###############################################----------+-------+ [all …]
|
| /linux/arch/m68k/ifpsp060/src/ |
| H A D | pfpsp.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 97 mov.l %d0,-(%sp) 98 mov.l (_060FPSP_TABLE-0x80+_off_done,%pc),%d0 99 pea.l (_060FPSP_TABLE-0x80,%pc,%d0) 105 mov.l %d0,-(%sp) 106 mov.l (_060FPSP_TABLE-0x80+_off_ovfl,%pc),%d0 107 pea.l (_060FPSP_TABLE-0x80,%pc,%d0) 113 mov.l %d0,-(%sp) 114 mov.l (_060FPSP_TABLE-0x80+_off_unfl,%pc),%d0 [all …]
|
| H A D | fpsp.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 98 mov.l %d0,-(%sp) 99 mov.l (_060FPSP_TABLE-0x80+_off_done,%pc),%d0 100 pea.l (_060FPSP_TABLE-0x80,%pc,%d0) 106 mov.l %d0,-(%sp) 107 mov.l (_060FPSP_TABLE-0x80+_off_ovfl,%pc),%d0 108 pea.l (_060FPSP_TABLE-0x80,%pc,%d0) 114 mov.l %d0,-(%sp) 115 mov.l (_060FPSP_TABLE-0x80+_off_unfl,%pc),%d0 [all …]
|