/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/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-wilson-wrec-wccp-v2-00.txt */ 85 #define ETH_P_ATMFATE 0x8884 /* Frame-based ATM Transport 104 #define ETH_P_PRP 0x88FB /* IEC 62439-3 PRP/HSRv0 */ 111 #define ETH_P_HSR 0x892F /* IEC 62439-3 HSRv1 */ 120 #define ETH_P_IFE 0xED3E /* ForCES inter-FE LFB type */ [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/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 62 #define CH_WARN(adap, fmt, ...) dev_warn(adap->pdev_dev, fmt, ## __VA_ARGS__) 138 FEC_RS = 1 << 1, /* Reed-Solomon */ 139 FEC_BASER_RS = 1 << 2 /* BaseR/Reed-Solomon */ 206 u64 tx_octets; /* total # of octets in good frames */ 207 u64 tx_frames; /* all good frames */ 208 u64 tx_bcast_frames; /* all broadcast frames */ 209 u64 tx_mcast_frames; /* all multicast frames */ [all …]
|
/linux/net/ipv4/ |
H A D | ip_input.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Donald Becker, <becker@super.org> 22 * Alan Cox : Frames with >=MAX_ROUTE record routes, strict routes or loose routes 24 * Alan Cox : Frames to bad broadcast subnets are dumped 33 * Gerhard Koerting: Forward fragmented frames correctly. 34 * Gerhard Koerting: Fixes to my fix of the above 8-). 57 * Alan Cox : IP options adjust sk->priority. 76 * Alan Cox : Loopback didn't work right in original ip_build_xmit - fixed it. 79 * Alan Cox : Set saddr on raw output frames as per BSD. 151 u8 protocol = ip_hdr(skb)->protocol; in ip_call_ra_chain() [all …]
|
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. 80 #include <linux/bpf-cgroup.h> 95 iph->check = 0; in ip_send_check() 96 iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); in ip_send_check() 106 iph_set_totlen(iph, skb->len); in __ip_local_out() 116 skb->protocol = htons(ETH_P_IP); in __ip_local_out() 138 int ttl = READ_ONCE(inet->uc_ttl); in ip_select_ttl() [all …]
|
/linux/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 25 * Copyright (c) 2007-2008 Atheros Communications, Inc. 56 ar->fw.err_counter++; in carl9170_dbg_message() 57 if (ar->fw.err_counter > 3) { in carl9170_dbg_message() 64 ar->fw.bug_counter++; in carl9170_dbg_message() 70 wiphy_info(ar->hw->wiphy, "FW: %.*s\n", len, buf); in carl9170_dbg_message() 81 ps = le32_to_cpu(rsp->psm.state); in carl9170_handle_ps() 84 if (ar->ps.state != new_ps) { in carl9170_handle_ps() 86 ar->ps.sleep_ms = jiffies_to_msecs(jiffies - in carl9170_handle_ps() 87 ar->ps.last_action); in carl9170_handle_ps() 90 ar->ps.last_action = jiffies; in carl9170_handle_ps() [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/netlink/specs/ |
H A D | netdev.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 9 - 11 name: xdp-act 12 render-max: true 14 - 19 - 23 - 24 name: ndo-xmit 27 - [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/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/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 …]
|
H A D | wmi.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 2207 /* enum wmi_nss_ratio - NSS ratio received from FW during service ready ext 2209 * WMI_NSS_RATIO_1BY2_NSS -Max nss of 160MHz is equals to half of the max nss 2211 * WMI_NSS_RATIO_3BY4_NSS - Max nss of 160MHz is equals to 3/4 of the max nss 2213 * WMI_NSS_RATIO_1_NSS - Max nss of 160MHz is equals to the max nss of 80MHz 2214 * WMI_NSS_RATIO_2_NSS - Max nss of 160MHz is equals to two times the max 2323 u32 numss_m1; /** NSS - 1*/ 2449 * [7:0] - 2G band tx chain mask [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/batman-adv/ |
H A D | mesh-interface.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "mesh-interface.h" 45 #include "distributed-arp-table.h" 47 #include "hard-interface.h" 49 #include "network-coding.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' [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 * --------- [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/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 …]
|